[U-Boot] [PATCH v5 4/7] ls2080ardb: Convert to distro boot

Alexander Graf agraf at suse.de
Mon Oct 17 08:54:00 CEST 2016



On 15.10.16 18:56, york sun wrote:
> On 10/15/2016 03:03 AM, Alexander Graf wrote:
>> Most new systems in U-Boot these days make use of the generic "distro"
>> framework which allows a user to have U-Boot scan for a bootable OS
>> on all available media types.
>>
>> This patch extends the LS2080ARDB board to use that framework if the
>> hard coded NOR flash location does not contain a bootable image.
>>
>> Signed-off-by: Alexander Graf <agraf at suse.de>
>>
>> ---
>>
>> v1 -> v2:
>>
>>   - Boot NOR flash before distro boot
>>
>> v2 -> v3:
>>
>>   - Actually run distro boot (s/&&/||/ after bootm)
>>
>> v3 -> v4:
>>
>>   - Add CONFIG_CMD_FS_GENERIC to defconfig
>>
>> v4 -> v5:
>>
>>   - Add qspi board
>>   - Don't overwrite ethact
> 
> Alex,
> 
> Don't we have an issue to run distro boot right after this patch? I 
> think this patch should be the last in this set. Don't you agree?

Distro boot is much more than just efi_loader boot. It also has extlinux
support for example. So while at this point efi_loader doesn't work yet,
the other bits do indeed work :).

It doesn't hurt to move this patch at the end of the queue though, so
I'll do that nevertheless.


Alex


More information about the U-Boot mailing list