[U-Boot] [PATCH v3] board/fsl/lx2160a: Fix MC firmware loading during SD boot
Prabhakar Kushwaha
prabhakar.kushwaha at nxp.com
Fri Mar 22 11:08:45 UTC 2019
> -----Original Message-----
> From: Pankaj Bansal
> Sent: Tuesday, March 12, 2019 12:02 PM
> To: Meenakshi Aggarwal <meenakshi.aggarwal at nxp.com>; Priyanka Jain
> <priyanka.jain at nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha at nxp.com>
> Cc: u-boot at lists.denx.de; Pankaj Bansal <pankaj.bansal at nxp.com>
> Subject: [PATCH v3] board/fsl/lx2160a: Fix MC firmware loading during SD
> boot
>
> during SD boot, following error comes:
> MMC read: dev # 0, block # 20480, count 2048 ... 2048 blocks read: OK
>
> MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK
> fsl-mc: ERR: Bad firmware image (bad FIT header)
> Hit any key to stop autoboot: 0
>
> it's occurring because mc 10.14.3 file size is 1064880, which means 0x820 SD
> blocks which is more than 0x800 blocks (1MB). This results in DPC loading
> address 0x80100000 overlapping with MC loading address 0x80000000.
>
> so, update the MC and dpc address as per their addresses in XSPI flash.
> i.e. in xspi flash MC address is 0x20a00000 so corresponding address in dram
> when loading MC firmware from mmc is 0x80a00000. similarly dpc is @
> 0x20e00000 in xspi flash and 0x80e00000 in dram when loaded from mmc.
>
You need to updated MC and DPC address in MMC memory map(README) and changes address on that basis
FSPI memory map is nowhere related to MMC.
--pk
More information about the U-Boot
mailing list