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

Robert Nelson robertcnelson at gmail.com
Tue Aug 4 20:42:17 CEST 2015


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?

Regards,

-- 
Robert Nelson
https://rcn-ee.com/


More information about the U-Boot mailing list