[U-Boot] [PATCH] ARM: mx6: Enable MMC FS boot support

Stefano Babic sbabic at denx.de
Thu Apr 28 15:36:03 CEST 2016


Hi Marek,

On 28/04/2016 13:03, Marek Vasut wrote:
> On 04/28/2016 07:59 AM, Stefano Babic wrote:
>> Hi Marek,
>>
>> On 28/04/2016 04:24, Peng Fan wrote:
>>> Hi Marek,
>>>
>>> On Thu, Apr 28, 2016 at 01:06:07AM +0200, Marek Vasut wrote:
>>>> Enable support for booting U-Boot image from filesystem instead of some
>>>> random offset on the SD card. This makes the board usable by putting the
>>>> u-boot.img to first partition of the SD card and writing the SPL this way:
>>>> $ dd if=u-boot-with-spl.imx of=/dev/sdX seek=2 bs=512
>>>
>>> I once want to enable this for i.MX6UL, but was rejected.
>>> Anyway I prefer load u-boot.img from filesystem.
>>>
>>
>> Right - we have this discussion some times ago. The agreement we reach
>> was to maintain SPL loading only from a raw image.
>>
>> https://www.mail-archive.com/u-boot@lists.denx.de/msg185432.html
> 
> The feeling I get from the discussion you linked above and the
> discussion here is that because user can be an idiot and delete
> files at random, we should move back to the 80s 

No U-Boot in the 80s.

> and store files
> like on the casette tapes, at random offset. User can also delete
> kernel image and yet, we store it on the filesystem. Maybe we should
> also store the kernel image at another raw offset ... and hey, maybe
> we should ditch filesystem altogether, just tar everything up and
> store it at yet another offset, since user might delete files at
> random, just imaging he'd delete libc ...

wandboard has a market quite similar to the Raspi and yes, there is a
lot of inexperienced people using it.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list