[U-Boot] [PATCH] imx: mx6ull: fix USB bmode for i.MX 6UL and 6ULL

Stefan Agner stefan at agner.ch
Tue Jun 13 02:26:39 UTC 2017


On 2017-06-12 01:51, Esponde, Joel wrote:
> Hi Stefan,
> 
> Why did you take the value 0x20 in the table entry instead of the
> value 0x00 as it is, for example, in the NXP U-Boot?

0x00 would mean b0000, which is WEIM (OneNAND/NOR flash, which is
probably a likely boot device).

0x20 is no defined boot device, and since it works, it will make sure
that bmode usb works for all users of i.MX 6UL/ULL...

--
Stefan

> 
> Is it because this boot mode does not exist in the iMX6UL SOC?
> 
> Joël Esponde
> Honeywell | Safety and Productivity Solutions
> 
>> -----Message d'origine-----
>> De : Fabio Estevam [mailto:festevam at gmail.com]
>> Envoyé : samedi 10 juin 2017 00:10
>> À : Stefan Agner <stefan at agner.ch>; Esponde, Joel
>> <Joel.Esponde at Honeywell.com>
>> Cc : Stefano Babic <sbabic at denx.de>; Fabio Estevam
>> <fabio.estevam at nxp.com>; Stefan Agner <stefan.agner at toradex.com>; U-
>> Boot-Denx <u-boot at lists.denx.de>
>> Objet : Re: [U-Boot] [PATCH] imx: mx6ull: fix USB bmode for i.MX 6UL and
>> 6ULL
>>
>> On Fri, Jun 9, 2017 at 5:13 PM, Stefan Agner <stefan at agner.ch> wrote:
>> > From: Stefan Agner <stefan.agner at toradex.com>
>> >
>> > i.MX 6UL and 6ULL have different boot device capabilities and use
>> > therefor use a different boot device selection table than other i.MX 6
>> > devices. Particularly, the value which has been used so far (b0001) is
>> > assigned to QSPI boot for these two devices.
>> >
>> > There is no common reserved value for all i.MX 6devices. Use
>> > b0010 for i.MX 6UL and 6ULL via compile time ifdef.
>> >
>> > Reported-by: Joël Esponde <joel.esponde at honeywell.com>
>> > Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
>>
>> Thanks for the patch.
>>
>> Joël, could you please test it and reply with your Tested-by?
>>
>> Thanks


More information about the U-Boot mailing list