On Wed, Jan 31, 2018 at 8:28 PM, Stuart Longland <stua...@longlandclan.id.au> wrote: > On 01/02/18 12:20, Robert Nelson wrote: >>> Actually U-Boot has btrfs support as of v2018.01 (even ZLIB >>> compression! lzo is broken). >>> >>> We got a patch merged in v2018.03-rc1 that fixes (lzo compression..) >> if you want to give it a go, use this base image: >> >> https://rcn-ee.net/rootfs/bb.org/testing/2018-01-28/buster-iot/bone-debian-buster-iot-armhf-2018-01-28-4gb.img.xz >> >> it's one partition btrfs. > > Ohh brilliant… I was in the process of porting some of my U-boot patches > for another platform over to the latest release (they were built atop a > 2014 release), but hadn't gotten around to actually playing with it. > > Does this include the U-Boot environment as well?
CONFIG_FS_BTRFS=y CONFIG_CMD_BTRFS=y It's build off of the generic commands: CONFIG_CMD_FS_GENERIC so you can use the generic "load" commands.. I did have to get a little creative as the load command uses ext first, and so it would annoying print out this non-error: diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c index dac9545365..a8e6fdef51 100644 --- a/fs/ext4/ext4_common.c +++ b/fs/ext4/ext4_common.c @@ -2378,7 +2378,7 @@ int ext4fs_mount(unsigned part_length) return 1; fail: - printf("Failed to mount ext2 filesystem...\n"); + //printf("Failed to mount ext2 filesystem...\n"); free(data); ext4fs_root = NULL; Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYi7nkz%3DaQ1WZ5g_qV70E3bb%3D_Qjuu0%2BZig5GNtfcnqa9A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.