UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 69759

2017.1-2017.4 Zynq UltraScale+ MPSoC: Device tree generator does not generate NAND partition node according to arasan NAND template.

描述

PetaLinux does not generate a NAND partition node according to the arasan NAND template, and Linux does not recognize the partitions defined in petalinux-config.

https://github.com/Xilinx/linux-xlnx/blob/master/Documentation/devicetree/bindings/mtd/arasan_nfc.txt

解决方案

To work around this issue, delete the flash partitions in petalinux-config and add the NAND partition node to <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi

For example:

&nand0 {
    #size-cells = <0x0>;
    arasan,has-mdma;
    nand@0 {
        reg = <0x0>;
        #address-cells = <0x2>;
        #size-cells = <0x1>;
        partition@0 {
            label = "nand-fsbl-uboot";
            reg = <0x0 0x0 0xC000000>;
        };
        partition@1 {
            label = "nand-linux";
            reg = <0x0 0xC000000 0x10000000>;
        };
        partition@2 {
            label = "nand-device-tree";
            reg = <0x0 0x1C000000 0x4000000>;
        };
        partition@3 {
            label = "nand-rootfs";
            reg = <0x0 0x20000000 0x20000000>;
        };
        partition@4 {
            label = "nand-bitstream";
            reg = <0x0 0x40000000 0x8000000>;
        };
        partition@5 {
            label = "nand-misc";
            reg = <0x0 0x48000000 0xA000000>;
        };
    };
};
AR# 69759
日期 03/09/2018
状态 Active
Type 综合文章
器件
  • Zynq UltraScale+ MPSoC
Tools
  • PetaLinux - 2017.1
  • PetaLinux - 2017.2
  • PetaLinux - 2017.3
  • PetaLinux - 2017.4
的页面