> -----Original Message-----
> From: Pankaj Bansal
> Sent: Tuesday, March 12, 2019 12:02 PM
> To: Meenakshi Aggarwal <meenakshi.aggar...@nxp.com>; Priyanka Jain
> <priyanka.j...@nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushw...@nxp.com>
> Cc: u-boot@lists.denx.de; Pankaj Bansal <pankaj.ban...@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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to