Bug 9746 - ext4 image generated by Buildroot is not working properly with U-Boot
Summary: ext4 image generated by Buildroot is not working properly with U-Boot
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 14:08 UTC by Sébastien Szymanski
Modified: 2017-07-19 20:27 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!