[U-Boot] Problem loading boot script from ext4 mmc on sunxi H3

Robert Nelson robertcnelson at gmail.com
Thu Jun 30 19:13:53 CEST 2016


On Wed, Jun 29, 2016 at 5:30 AM, Michal Suchanek <hramrach at gmail.com> wrote:
> Hello,
>
> On 29 June 2016 at 10:45, Karsten Merker <merker at debian.org> wrote:
>> On Wed, Jun 29, 2016 at 09:30:33AM +0200, Michal Suchanek wrote:
>>
>>> I tried loading system with recent u-boot but it does not work.
>>>
>>> Trying some ext4ls shows there is some problem accessing the filesystem.
>>>
>>> Not sure if this should be attributed to the ext driver or to the mmc
>>> driver or something else entirely.
>>
>> I haven't tested that myself, but I have seen reports on other
>> platforms that the u-boot ext4 driver has problems with ext4
>> filesystems which use the "flex_bg" filesystem feature, as that
>> causes certain changes to the on-disk layout compared to ext4
>> without this feature.  From what people have reported, it appears
>> that "flex_bg" is enabled by default on ext4 filesystems created
>> with a recent mkfs.ext4 version.
>>
>
> Reformatting without flex_bg does not seem to have any effect.
>
> However, ls seems to give some random stuff for directories other than
> / so some similar remapping feature could cause this.

it's csum/64bit, disable it:

mkfs.ext4 -O ^metadata_csum,^64bit

Regards,

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


More information about the U-Boot mailing list