From 8aac0672f55bc58cb187829129a666b78ee73e3d Mon Sep 17 00:00:00 2001 From: Sven Rademakers Date: Tue, 7 May 2024 18:06:54 +0100 Subject: [PATCH] Accommodate for bigger boot-loaders to be written --- src/bin/sdcard.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/sdcard.rs b/src/bin/sdcard.rs index 152622d..6854c1b 100644 --- a/src/bin/sdcard.rs +++ b/src/bin/sdcard.rs @@ -64,7 +64,7 @@ const KEYS_EVDEV_PATH: &str = "/dev/input/event0"; const ROOTFS_PATH: &str = "/dev/mmcblk0p2"; const BOOTLOADER_PATH: &str = "/dev/mmcblk0"; const BOOTLOADER_OFFSET: u64 = 8192; // Boot ROM expects this offset, so it will never change -const BOOTLOADER_SIZE: u64 = 5 * 64 * 2048; +const BOOTLOADER_SIZE: u64 = 6 * 64 * 2048; /// Set up the basic environment (e.g. mount points). fn setup_initramfs() -> anyhow::Result<()> {