[Buildroot] [PATCH 09/10] board/sifive: hifive-unleashed: Update rootfs offset
Bin Meng
bmeng.cn at gmail.com
Mon Jun 26 16:00:29 UTC 2023
From: Bin Meng <bmeng at tinylab.org>
As the rootfs size is set to 60M, let's put it right on the 4M offset
in the SD card, so that the generated sdcard.img can be exactly 64M.
Signed-off-by: Bin Meng <bmeng at tinylab.org>
---
board/sifive/hifive-unleashed/genimage_sdcard.cfg | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/sifive/hifive-unleashed/genimage_sdcard.cfg b/board/sifive/hifive-unleashed/genimage_sdcard.cfg
index 079ac5ed26..99e3525a8c 100644
--- a/board/sifive/hifive-unleashed/genimage_sdcard.cfg
+++ b/board/sifive/hifive-unleashed/genimage_sdcard.cfg
@@ -17,6 +17,7 @@ image sdcard.img {
partition rootfs {
image = "rootfs.ext4"
+ offset = 4076K
partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4
bootable = true
}
--
2.34.1
More information about the buildroot
mailing list