[U-Boot] [PATCH] imx_common: check for Serial Downloader in spl_boot_device

Stefano Babic sbabic at denx.de
Mon Dec 7 12:59:32 CET 2015


Hi Eric,

On 07/12/2015 10:55, Stefano Babic wrote:

> 
> I agree with you, in fact it does not work  - but I do not see a way to
> inform the ROM that next time it should run with USB as boot device.
> From the fusemap, I tried to set BOOT_CFG4 as 0x40 ("Reserved for serial
> ROM"), and fixing BOOT_CFG1 to 0x30, but it was only a try. In fact, we
> need to change BMODE from internal to serial, and I do not see a way in
> the "official" documentation.

Ok, it was quite confused - forget it ;-).

Anyway, the fact is that when "bmode usb" is issued, the board announces
itself correctly to the USB bus, but reading SBMR2 we get again internal
mode. It is like another information to be stored, we should require a
bit in some of the GPR registers to store it.

Regards,
Stefano


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list