-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump u-boot. Pulled in updated patches from siderolabs/pkgs#860 Signed-off-by: Noel Georgi <[email protected]>
- Loading branch information
Showing
5 changed files
with
41 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 17 additions & 36 deletions
53
artifacts/u-boot/patches/0002-rpi-add-NVMe-to-boot-order.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,25 @@ | ||
From 191b5f4e0408e40f35379fdaab6b37a7ad93e298 Mon Sep 17 00:00:00 2001 | ||
Message-Id: <191b5f4e0408e40f35379fdaab6b37a7ad93e298.1668448794.git.stefan@agner.ch> | ||
In-Reply-To: <135d886b4e5077c8fa96a5449a70d81ae9c1c3d0.1668448794.git.stefan@agner.ch> | ||
References: <135d886b4e5077c8fa96a5449a70d81ae9c1c3d0.1668448794.git.stefan@agner.ch> | ||
From: Stefan Agner <[email protected]> | ||
Date: Tue, 29 Dec 2020 23:34:52 +0100 | ||
From 0c4e4f9cce2bd329a2c607c28fc770586a503ab9 Mon Sep 17 00:00:00 2001 | ||
From: Tom Plant <[email protected]> | ||
Date: Sun, 3 Dec 2023 09:27:07 +0000 | ||
Subject: [PATCH] rpi: add NVMe to boot order | ||
|
||
The Compute Module 4 I/O Board can support a NVMe. Add NVMe to the boot | ||
order. | ||
|
||
Signed-off-by: Stefan Agner <[email protected]> | ||
Signed-off-by: Tom Plant <[email protected]> | ||
--- | ||
include/configs/rpi.h | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
board/raspberrypi/rpi/rpi.env | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/include/configs/rpi.h b/include/configs/rpi.h | ||
index cd8fe8b518..7257659932 100644 | ||
--- a/include/configs/rpi.h | ||
+++ b/include/configs/rpi.h | ||
@@ -131,6 +131,12 @@ | ||
#define BOOT_TARGET_MMC(func) | ||
#endif | ||
|
||
+#if CONFIG_IS_ENABLED(CMD_NVME) | ||
+ #define BOOT_TARGET_NVME(func) func(NVME, nvme, 0) | ||
+#else | ||
+ #define BOOT_TARGET_NVME(func) | ||
+#endif | ||
+ | ||
#if CONFIG_IS_ENABLED(CMD_USB) | ||
#define BOOT_TARGET_USB(func) func(USB, usb, 0) | ||
#else | ||
@@ -151,6 +157,7 @@ | ||
|
||
#define BOOT_TARGET_DEVICES(func) \ | ||
BOOT_TARGET_MMC(func) \ | ||
+ BOOT_TARGET_NVME(func) \ | ||
BOOT_TARGET_USB(func) \ | ||
BOOT_TARGET_PXE(func) \ | ||
BOOT_TARGET_DHCP(func) | ||
-- | ||
2.38.1 | ||
diff --git a/board/raspberrypi/rpi/rpi.env b/board/raspberrypi/rpi/rpi.env | ||
index 30228285ed..0226e31680 100644 | ||
--- a/board/raspberrypi/rpi/rpi.env | ||
+++ b/board/raspberrypi/rpi/rpi.env | ||
@@ -74,4 +74,4 @@ pxefile_addr_r=0x02500000 | ||
fdt_addr_r=0x02600000 | ||
ramdisk_addr_r=0x02700000 | ||
|
||
-boot_targets=mmc usb pxe dhcp | ||
+boot_targets=mmc usb pxe dhcp nvme | ||
-- | ||
2.39.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
From 04c8073b1ead282eac7b90432f39f104b006f824 Mon Sep 17 00:00:00 2001 | ||
From: Tom Plant <[email protected]> | ||
Date: Sun, 3 Dec 2023 09:33:24 +0000 | ||
Subject: [PATCH] rpi: enable NVMe and fixup EFI boot | ||
|
||
Signed-off-by: Tom Plant <[email protected]> | ||
--- | ||
configs/rpi_arm64_defconfig | 16 ++++++++++++++++ | ||
1 file changed, 16 insertions(+) | ||
|
||
diff --git a/configs/rpi_arm64_defconfig b/configs/rpi_arm64_defconfig | ||
index 031ed69ff0..f41d367238 100644 | ||
index f9dade18f6..f2394e4a52 100644 | ||
--- a/configs/rpi_arm64_defconfig | ||
+++ b/configs/rpi_arm64_defconfig | ||
@@ -57,3 +57,19 @@ CONFIG_VIDEO_BCM2835=y | ||
@@ -57,3 +57,19 @@ CONFIG_SYS_WHITE_ON_BLACK=y | ||
CONFIG_VIDEO_BCM2835=y | ||
CONFIG_CONSOLE_SCROLL_LINES=10 | ||
CONFIG_PHYS_TO_BUS=y | ||
CONFIG_OF_LIBFDT_OVERLAY=y | ||
+# Enable NVME | ||
+CONFIG_NVME_PCI=y | ||
+CONFIG_CMD_NVME=y | ||
|
@@ -22,3 +32,5 @@ index 031ed69ff0..f41d367238 100644 | |
+CONFIG_PXE_UTILS=n | ||
+# Disable EFI bootmanager (reserves memory on 0x00080000 -> prevents continuing after being successful) | ||
+CONFIG_CMD_BOOTEFI_BOOTMGR=n | ||
-- | ||
2.39.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters