From: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5] board/fsl/lx2160a: Fix MC firmware loading during SD boot
Date: Wed, 27 Mar 2019 06:19:43 +0000 [thread overview]
Message-ID: <VI1PR0402MB38544795FC560BCC11D55A1A97580@VI1PR0402MB3854.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20190325172147.21963-1-pankaj.bansal@nxp.com>
> -----Original Message-----
> From: Pankaj Bansal
> Sent: Monday, March 25, 2019 5:28 PM
> To: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>; Priyanka Jain
> <priyanka.jain@nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha@nxp.com>
> Cc: u-boot at lists.denx.de; Pankaj Bansal <pankaj.bansal@nxp.com>
> Subject: [PATCH v5] 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/dpl/dpc addresses as per their addresses in SD card.
> Assuming that SD card block size is 512 bytes and 0x0 block in SD card would
> get loaded at 0x80000000 (DDR base address), this gives following addresses
> for various binaries:
>
> Binary | SD block | DDR offset
> ------------------------------
> MC | 0x5000 | 0x80a00000
> DPL | 0x6800 | 0x80d00000
> DPC | 0x7000 | 0x80e00000
>
This info should be part of README present in board folder.
No need to add in commit message.
--pk
next prev parent reply other threads:[~2019-03-27 6:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-25 11:57 [U-Boot] [PATCH v5] board/fsl/lx2160a: Fix MC firmware loading during SD boot Pankaj Bansal
2019-03-27 6:19 ` Prabhakar Kushwaha [this message]
2019-04-15 4:09 ` Pankaj Bansal
2019-05-22 17:43 ` Prabhakar Kushwaha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=VI1PR0402MB38544795FC560BCC11D55A1A97580@VI1PR0402MB3854.eurprd04.prod.outlook.com \
--to=prabhakar.kushwaha@nxp.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.