[U-Boot] [PATCH] udoo: Switch to SPL support

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Aug 4 20:50:50 CEST 2015


On Tue, Aug 4, 2015 at 3:42 PM, Robert Nelson <robertcnelson at gmail.com> wrote:
> Just a quick comment, otherwise tested on my udoo quad/dual..
>
>> diff --git a/include/configs/udoo.h b/include/configs/udoo.h
>> index 910bf01..f93b67a 100644
>> --- a/include/configs/udoo.h
>> +++ b/include/configs/udoo.h
>> @@ -11,6 +11,10 @@
>>
>>  #include "mx6_common.h"
>>
>> +#define CONFIG_SPL_MMC_SUPPORT
>> +#define CONFIG_SPL_FAT_SUPPORT
>
> So ^ this forces use to include "u-boot.img" in a "FAT" partition..
> For extX, you'd have to add:
>
> #define CONFIG_SPL_EXT_SUPPORT
>
> But, this also breaks if you had dd'ed SPL/u-boot.img..
>
> U-Boot SPL 2015.10-rc1-00001-gc195aa3 (Aug 03 2015 - 17:48:55)
> spl_register_fat_device: fat register err - -1
> spl_load_image_fat: error reading image u-boot.img, err - -1
> spl: mmc: no boot mode left to try
> ### ERROR ### Please RESET the board ###
>
> sudo dd if=./u-boot/SPL of=${DISK} seek=1 bs=1k
> sudo dd if=./u-boot/u-boot.img of=${DISK} seek=69 bs=1k
>
> Shouldn't we just not enable either and do like the wandboard and just
> dd SPL/u-boot.img?

Agreed; this is also makes integration into Yocto Project easier ;-)

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list