#992544 Please enable CONFIG_FS_BTRFS=y and CONFIG_CMD_BTRFS=y

#992544#5
Date:
2021-08-19 22:46:09 UTC
From:
To:
Hi,

the current u-boot-packages (at least up to 2021.07+dfsg-1 in experimental) lack btrfs support which makes it impossible to boot from a btrfs partition – even though u-boot itself has btrfs support, it's just not enabled in Debian's packages. Please consider enabling btrfs support via the options CONFIG_FS_BTRFS=y and CONFIG_CMD_BTRFS=y. I have tested these options with local builds of u-boot-sunxi on two of my Allwinner A20 based single board computers for about half a year now (on top of 2021.01+dfsg-5 as well as 2021.07+dfsg-1) and it works well. It allows me to boot from a single btrfs root partition without the need for a separate boot partition which is useful for example if you use btrfs snapshots so the root filesystem and the boot files are in sync when you boot an older snapshot.

Thanks!

Timo

#992544#10
Date:
2021-09-09 01:45:02 UTC
From:
To:
Great!

How much does btrfs support increase the size of the various u-boot
targets? If it grows too much, some platforms may have difficulting
installing to their default locations. Weather this is an issue is
probably platform-dependent, so might be tricky to enable globally.

Would you consider taking this upstream? I'd prefer not to diverge too
much from default configurations, though in some cases might consider it
if it makes things more consistant across supported platforms on
Debian. It might make sense to add to the list of features enabled when
CONFIG_DISTRO_DEFAULT=y.


live well,
  vagrant