
Dear Marek Vasut,
On 12/17/2011 05:17 AM, Marek Vasut wrote:
Hi Fabio,
On 12/16/2011 12:07 AM, Fabio Estevam wrote:
Tested boot via SD card and by loading a kernel via TFTP through the FEC interface.
Have you any idea why this works from SD card but not by USB recovery using exactly same sb file?
By quick look it seems that control is not passed back to the ROM properly after SPL or ROM is unable to load/run U-Boot after SPL.
What do you mean? The SPL only inits the hardware and then lets the bootrom do whatever it wants again with the next file in u-boot.bd.
U-Boot doesn't start up after SPL, that is what I see.
I don't have tools or knowledge to investigate this further but here are steps to replicate the issue: 1) make mx28evk_config 2) make u-boot.sb 3) set dip switches to usb0 bootmode 4) connect micro-USB cable 5) try to load u-boot.sb using mfgtool (Windows) or imx_hid_recovery (Linux) [1]
I tested USB powered mode and 5V wall adapter without difference.
-- Veli-Pekka Peltola
[1] http://git.pengutronix.de/?p=mxs-utils.git;a=commit;h=87692449099ae85922842f...