> Am 04.12.2017 um 12:52 schrieb Stefan Roese <[email protected]>:
> 
> Hi Alex,
> 
> On 04.12.2017 09:59, Alexander Graf wrote:
>>> When trying to load an image from a non-existent USB key, U-Boot v2017.11
>>> crashes on my x86 platform:
>>> 
>>> => load usb 0:1 03000000 abc
>>> General Protection
>>> EIP: 0010:[<7b59030d>] EFLAGS: 00010286
>>> Original EIP :[<fff4330d>]
>>> ...
>>> 
>>> This used to work in v2017.09. Testing has shown, that this bug was
>>> introduced with patch 95c5553e [efi_loader: refactor boot device and
>>> loaded_image handling].
>>> 
>>> This patch now checks if a valid "desc" is returned from blk_get_dev()
>>> and only continues when "desc" is available. Resulting in this cmd
>>> output (again):
>>> 
>>> => load usb 0:1 03000000 abc
>>> ** Bad device usb 0 **
>>> 
>>> Signed-off-by: Stefan Roese <[email protected]>
>>> Cc: Rob Clark <[email protected]>
>>> Cc: Heinrich Schuchardt <[email protected]>
>>> Cc: Alexander Graf <[email protected]>
>>> Cc: Marek Vasut <[email protected]>
>>> Cc: Bin Meng <[email protected]>
>>> Reviewed-by: Heinrich Schuchardt <[email protected]>
>> Thanks, applied to efi-next
> 
> Thanks. Does "efi-next" mean this patch will not go into v2018.01?

Yes, sorry for the confusion :)

Alex

> As it fixes a regression, I would really like to see it included in
> the release.
> 
> Thanks,
> Stefan
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to