Bug 9746

Summary: ext4 image generated by Buildroot is not working properly with U-Boot
Product: buildroot Reporter: Sébastien Szymanski <sebastien.szymanski>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Sébastien Szymanski 2017-03-14 14:08:25 UTC
The ext4 image generated by Buildroot can make U-Boot crash once you wrote the image and then try to write a file into it. Notice this is hardware independent as it is reproducible on the U-Boot sandbox. See [1] for more details and the steps to reproduce it.
U-Boot works fine if the ext4 image is generated with mkfs.ext4
(Hence my patch to use mkfs.ext4 instead of genextfs [2])

[1] https://lists.denx.de/pipermail/u-boot/2017-January/278827.html
[2] https://patchwork.ozlabs.org/patch/734525/
Comment 1 Thomas Petazzoni 2017-07-19 20:27:33 UTC
This is fixed now that we use mkfs.ext4, since commit https://git.buildroot.org/buildroot/commit/fs/ext2?id=67aaa90d3bbe6ad5b5ffa9e66cdb0a1928448eb9.

Thanks!