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

Harald Geyer harald at ccbib.org
Thu Apr 9 11:07:53 EDT 2015


Zoltan HERPAI writes:
> 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.
> >>     
> [snip]
> 
> > Acked-by: Michael Heimpold <mhei at heimpold.de>
> >   
> With Michael's acks, I'll add this code (and the other patch) back in.

Thanks.

> 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.

I probably won't use the SDcard image, so I can't give you real input
on that.

I personally use 
1: u-boot (0x53)
2: rootfs + kernel/dtb in /boot (0x83)
3: data (0x0b) - FAT seems more tolerant to unclean shutdown (black out)
                 a flash friendly filesystem would be even better
4: unused / debian chroot on development boards

So I don't have any feelings to either of your proposals as long as
including the kernel/dtbs in the rootfs works.

best regards,
Harald
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list