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

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 08:49:13 PM, Eric Nelson wrote: > On 12/11/2015 10:33 AM, Marek Vasut wrote: > > On Friday, December 11, 2015 at 03:58:35 PM, Stefano Babic wrote: > >> Hi Eric, > > >> On 11/12/2015 15:40, Eric Nelson wrote: > ... > > +/* > + * Check for B

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

2015-12-11 Thread Eric Nelson
On 12/11/2015 10:33 AM, Marek Vasut wrote: > On Friday, December 11, 2015 at 03:58:35 PM, Stefano Babic wrote: >> Hi Eric, >> >> On 11/12/2015 15:40, Eric Nelson wrote: ... + /* + * Check for BMODE if serial downloader is enabled + * BOOT_MODE - see IMX6DQRM Table 8-1 + *

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

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 03:58:35 PM, Stefano Babic wrote: > Hi Eric, > > On 11/12/2015 15:40, Eric Nelson wrote: > > Hi Stefano, > > > > On 12/11/2015 06:40 AM, Stefano Babic wrote: > >> Check for bmode before reading the boot device > >> to check if a serial downloader is started, > >> a

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

2015-12-11 Thread Stefano Babic
Hi Eric, On 11/12/2015 15:40, Eric Nelson wrote: > Hi Stefano, > > On 12/11/2015 06:40 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 imag

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

2015-12-11 Thread Eric Nelson
Hi Stefano, On 12/11/2015 06:40 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

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

2015-12-11 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