Re: [U-Boot] [PATCH v6] board/fsl/lx2160a: Fix MC firmware loading during SD boot

From: Pankaj Bansal Sent: Wednesday, July 17, 2019 4:04 PM To: Prabhakar Kushwaha prabhakar.kushwaha@nxp.com; Meenakshi Aggarwal meenakshi.aggarwal@nxp.com Cc: Varun Sethi V.Sethi@nxp.com; u-boot@lists.denx.de Subject: [PATCH v6] 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 MC firmware and DPC are copied from SD card to DDR. Size reserved between MC and DPC firmware on DDR is 1MB. if the size of MC firmware(load address 0x80000000) is more than 1 MB then part of MC firmware will be overwritten by DPC firmware (load address 0x80100000).
so, Update the MC/DPL/DPC firmware's DDR address as per their respective addresses in SD card.
Signed-off-by: Pankaj Bansal pankaj.bansal@nxp.com
Slight updates in subject and description Applied to fsl-qoriq master, awaiting upstream.
Thanks priyankajain
participants (1)
-
Priyanka Jain