[OpenWrt-Devel] [PATCH] mxs: fix ext4 image

Zoltan HERPAI wigyori at uid0.hu
Thu Apr 9 09:29:19 EDT 2015

Michael Heimpold wrote:
> Am Sonntag, 5. April 2015, 12:01:48 schrieb Harald Geyer:
>> commit 597a84e52d9eff8d4686c40cd8be4f7a9b47679d with
>> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45052 3c298f89-4303-0410-b956-a3cf2f4a3e73
>> made the ext4 rootfs image unavailable for download from snapshots.
>> Only a SD-card image with u-boot and everything is available. This is
>> annoying for people who either have their own custom partition layout
>> or want to upgrade the rootfs without losing the u-boot configuration.
>> The same commit also broke the inclusion of dtbs in the root filesystem.
>> Note: I don't know if this is the right way to implement this. I'm just
>> adding code back that was there before.

> Acked-by: Michael Heimpold <mhei at heimpold.de>
With Michael's acks, I'll add this code (and the other patch) back in.

One more thing which we discussed with Michael, that the SDcard image 
for Duckbill could use the following partitions:

u-boot (0x53), rootfs1 for kernel/dtb (0x83), rootfs2 (0x83), data(0x83)

F.e. the second partition would be ext2 instead of fat, which could be supported with updating the uboot config to use ext2load instead of fatload. While this would be for Duckbill mainly, if people won't get annoyed this would be the default for the Olinuxino too.

Zoltan H
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list