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

2015-12-07 Thread Stefano Babic
Hi Eric, On 07/12/2015 15:08, Eric Nelson 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

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

2015-12-07 Thread Eric Nelson
Hi Stefano, On 12/07/2015 02:55 AM, Stefano Babic wrote: > Hi Eric, > > On 05/12/2015 21:13, Eric Nelson wrote: >> Hi Stefano, >> >> On 12/04/2015 02:02 AM, Stefano Babic wrote: >>> Check for bmode before reading the boot device >>> to check if a serial downloader is started, >>> and returns UART

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

2015-12-07 Thread Stefano Babic
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 BOO

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

2015-12-07 Thread Stefano Babic
Hi Eric, On 05/12/2015 21:13, Eric Nelson wrote: > Hi Stefano, > > On 12/04/2015 02:02 AM, Stefano Babic wrote: >> Check for bmode before reading the boot device >> to check if a serial downloader is started, >> and returns UART if the serial downloader is set, >> letting SPL to wait for an image

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

2015-12-05 Thread Eric Nelson
Hi Stefano, On 12/04/2015 02:02 AM, Stefano Babic wrote: > Check for bmode before reading the boot device > to check if a serial downloader is started, > and returns UART if the serial downloader is set, > letting SPL to wait for an image if > CONFIG_SPL_YMODEM_SUPPORT is set. > > This allows to

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

2015-12-04 Thread Stefano Babic
On 04/12/2015 14:09, Stefan Roese wrote: > Hi Stefano, > > On 04.12.2015 12:49, Stefano Babic wrote: >> On 04/12/2015 11:51, Fabio Estevam wrote: >>> Hi Stefano, >>> >>> On Fri, Dec 4, 2015 at 7:02 AM, Stefano Babic wrote: Check for bmode before reading the boot device to check if a s

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

2015-12-04 Thread Tim Harvey
On Fri, Dec 4, 2015 at 5:09 AM, Stefan Roese wrote: > Hi Stefano, > > > On 04.12.2015 12:49, Stefano Babic wrote: >> >> On 04/12/2015 11:51, Fabio Estevam wrote: >>> >>> Hi Stefano, >>> >>> On Fri, Dec 4, 2015 at 7:02 AM, Stefano Babic wrote: Check for bmode before reading the boot devi

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

2015-12-04 Thread Stefan Roese
Hi Stefano, On 04.12.2015 12:49, Stefano Babic wrote: On 04/12/2015 11:51, Fabio Estevam wrote: Hi Stefano, On Fri, Dec 4, 2015 at 7:02 AM, Stefano Babic wrote: Check for bmode before reading the boot device to check if a serial downloader is started, and returns UART if the serial downloade

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

2015-12-04 Thread Stefano Babic
Hi Fabio, On 04/12/2015 11:51, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Dec 4, 2015 at 7:02 AM, Stefano Babic wrote: >> Check for bmode before reading the boot device >> to check if a serial downloader is started, >> and returns UART if the serial downloader is set, >> letting SPL to wait

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

2015-12-04 Thread Fabio Estevam
Hi Stefano, On Fri, Dec 4, 2015 at 7:02 AM, Stefano Babic wrote: > Check for bmode before reading the boot device > to check if a serial downloader is started, > and returns UART if the serial downloader is set, > letting SPL to wait for an image if > CONFIG_SPL_YMODEM_SUPPORT is set. > > This al

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

2015-12-04 Thread Stefano Babic
Check for bmode before reading the boot device to check if a serial downloader is started, and returns UART if the serial downloader is set, letting SPL to wait for an image if CONFIG_SPL_YMODEM_SUPPORT is set. This allows to load again a SPL based board with imx_usb_loader together with a tool su