[U-Boot] imximage on the MX50
Andre Renaud
andre at bluewatersys.com
Wed Oct 2 21:41:29 CEST 2013
Hi Stefano,
>> Specifically, the dcd_ptr in the v2 imx header points to an address in
>> DDR, however I would have thought that on power-up the DCD is loaded
>> somewhere in iRAM (since the DDR isn't running at this stage), and
>> then only once this has been interpreted is the full image loaded into
>> DDR. The tools/imximage.c code appears to only work with DDR
>> addresses, and I'm assuming that this same system works fine on the
>> MX53.
>>
>> Can anyone shed any light on this?
>
> The bootROM copies the DCD data into an area that is not specified, but
> we can assume is in the IRAM. As part of the boot process, the bootROM
> copies the image into a DEST memory - this is as it is called in the
> manuals, and this after the DCD table is parsed and executed. That means
> that is possible to set dcd_ptr pointint to DDR if the DCD table is
> programmed to set up the DDR controller, as it is actually done for
> i.MX51/i.MX53/i.MX6 in u-boot.
Can you recommend any mechanism for debugging the boot rom execution?
I can see on the SPI bus that it is trying to read from the boot
flash, and it is getting the correct data (ie, the u-boot.imx image is
programmed properly). However it is still failing and ending up in USB
fall-back mode. Given your comments about the dcd_ptr, I can assume
that isn't the problem, which leaves me at a bit of a dead end.
Regards,
Andre
More information about the U-Boot
mailing list