patch u-boot to add ubifs support

not that we're using it yet
This commit is contained in:
Daniel Barlow
2023-12-04 23:39:27 +00:00
parent d25a804f13
commit f08c10c8ba
2 changed files with 25 additions and 0 deletions

View File

@@ -199,4 +199,17 @@ extraPkgs // {
};
strace = prev.strace.override { libunwind = null; };
ubootQemuArm = final.buildUBoot {
defconfig = "qemu_arm_defconfig";
extraMeta.platforms = ["armv7l-linux"];
filesToInstall = ["u-boot.bin"];
# enable looking for boot files on ubifs. this is unused at
# present, but added in the expectation of a future test
extraPatches = [ ./pkgs/u-boot/0001-add-ubifs-to-boot-targets.patch ];
extraConfig = ''
CONFIG_CMD_UBI=y
CONFIG_CMD_UBIFS=y
'';
};
}