From mboxrd@z Thu Jan 1 00:00:00 1970 From: Veli-Pekka Peltola Date: Mon, 19 Dec 2011 16:10:42 +0200 Subject: [U-Boot] [PATCH v5 3/3] mx28evk: Add initial support for MX28EVK board In-Reply-To: <201112170417.37646.marek.vasut@gmail.com> References: <1323966067-28333-1-git-send-email-fabio.estevam@freescale.com> <1323986861-21808-3-git-send-email-festevam@gmail.com> <4EEB5BDA.7070202@bluegiga.com> <201112170417.37646.marek.vasut@gmail.com> Message-ID: <4EEF45E2.3060100@bluegiga.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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=87692449099ae85922842f7f01acc0ab71e382d7