AnsweredAssumed Answered

Why does NAND flash have only 0x1300000(20MB or so) address mapping on ls1043a-rdb board?

Question asked by zumeng chen on Aug 11, 2016
Latest reply on Aug 11, 2016 by zumeng chen

Hi experts,

 

My board ls1043a-rdb with REV B1 serial number: TR15260008

According to the board schematic and the kernel driver as follows:

 

nand: device found, Manufacturer ID: 0x2c, Chip ID:0xac

nand: Micron MT29F4G08ABBDAH4

nand: 512MiB, SLC, page size: 2048, OOB size: 64

 

So I think MT29F4G08ABBDAH4 has been equipped within the board, and I noticed

there is a address mapping in dts definition of arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts

 

    /* NOR, NAND Flashes and FPGA on board */
    ranges = <0x0 0x0 0x0 0x60000000 0x08000000
              0x1 0x0 0x0 0x7e800000 0x00010000
              0x2 0x0 0x0 0x7fb00000 0x00000100>;

 

But it seems there is only 0x1300000(20MB or so), I wonder if this has a relationship with FPGA?

or this NAND is used to be memory for FPGA?

 

How culd Linux kernel use all 512MB ?

 

Cheers,

Zumeng

Outcomes