WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 397b390

Browse files
committed
khadas-vim3l: u-boot: bump to v2026.01-rc2, enable BTRFS and more
- boot order: SD -> NVMe -> USB -> eMMC -> PXE - NVMe must come before USB, as initting USB kills NVMe
1 parent b6d4e33 commit 397b390

File tree

2 files changed

+30
-17
lines changed

2 files changed

+30
-17
lines changed

config/boards/khadas-vim3l.conf

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ BOOT_LOGO="desktop"
1212
BOOT_FDT_FILE="amlogic/meson-sm1-khadas-vim3l.dtb"
1313
ASOUND_STATE="asound.state.khadas-vim3l"
1414

15-
BOOTBRANCH_BOARD="tag:v2024.01"
16-
BOOTPATCHDIR="v2024.01" # this has 'board_khadas-vim3' which has a patch to boot USB/NVMe/SCSI first
15+
BOOTBRANCH_BOARD="tag:v2026.01-rc2"
16+
BOOTPATCHDIR="v2026.01" # this has 'board_khadas-vim3' which has a patch to boot USB/NVMe/SCSI first
1717

1818
declare -g KHADAS_OOWOW_BOARD_ID="VIM3L" # for use with EXT=output-image-oowow
1919

@@ -44,15 +44,30 @@ function post_uboot_custom_postprocess__khadas_vim3l_uboot() {
4444

4545
# Enable extra u-boot .config options, this way we avoid patching defconfig
4646
function post_config_uboot_target__extra_configs_for_khadas_vim3l() {
47+
display_alert "u-boot for ${BOARD}" "u-boot: enable EFI debugging command" "info"
48+
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
49+
run_host_command_logged scripts/config --enable CMD_NVEDIT_EFI
50+
51+
display_alert "u-boot for ${BOARD}" "u-boot: enable I2C support" "info"
52+
run_host_command_logged scripts/config --enable CONFIG_DM_I2C
53+
run_host_command_logged scripts/config --enable CONFIG_SYS_I2C_MESON
54+
run_host_command_logged scripts/config --enable CONFIG_CMD_I2C
55+
56+
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable more filesystems support" "info"
57+
run_host_command_logged scripts/config --enable CONFIG_CMD_BTRFS
58+
4759
display_alert "u-boot for ${BOARD}" "u-boot: enable more compression support" "info"
4860
run_host_command_logged scripts/config --enable CONFIG_LZO
4961
run_host_command_logged scripts/config --enable CONFIG_BZIP2
5062
run_host_command_logged scripts/config --enable CONFIG_ZSTD
63+
5164
display_alert "u-boot for ${BOARD}" "u-boot: enable kaslrseed support" "info"
5265
run_host_command_logged scripts/config --enable CONFIG_CMD_KASLRSEED
66+
5367
display_alert "u-boot for ${BOARD}" "u-boot: enable gpio LED support" "info"
5468
run_host_command_logged scripts/config --enable CONFIG_LED
5569
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
70+
5671
display_alert "u-boot for ${BOARD}" "u-boot: enable networking cmds" "info"
5772
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
5873
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET
Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: Ricardo Pardini <[email protected]>
3-
Date: Sun, 14 Jan 2024 13:44:58 +0100
4-
Subject: meson64: change `BOOT_TARGET_DEVICES` to try to boot USB, NVME and
5-
SCSI before SD, MMC, PXE, DHCP
3+
Date: Sat, 15 Nov 2025 00:04:36 +0100
4+
Subject: kvim3l: boot order: SD -> NVME -> USB -> eMMC -> PXE
65

76
---
8-
include/configs/meson64.h | 6 +++---
9-
1 file changed, 3 insertions(+), 3 deletions(-)
7+
include/configs/meson64.h | 6 ++++--
8+
1 file changed, 4 insertions(+), 2 deletions(-)
109

1110
diff --git a/include/configs/meson64.h b/include/configs/meson64.h
12-
index efab9a624dc5..32c25098e674 100644
11+
index f3275b37a51..85b06c0579d 100644
1312
--- a/include/configs/meson64.h
1413
+++ b/include/configs/meson64.h
15-
@@ -99,12 +99,12 @@
14+
@@ -119,10 +119,12 @@
1615
#define BOOT_TARGET_DEVICES(func) \
1716
func(ROMUSB, romusb, na) \
1817
func(USB_DFU, usbdfu, na) \
19-
- func(MMC, mmc, 0) \
20-
- func(MMC, mmc, 1) \
21-
- func(MMC, mmc, 2) \
22-
BOOT_TARGET_DEVICES_USB(func) \
18+
- BOOT_TARGET_MMC(func) \
19+
- BOOT_TARGET_DEVICES_USB(func) \
20+
+ func(MMC, mmc, 1) \
2321
BOOT_TARGET_NVME(func) \
22+
+ BOOT_TARGET_DEVICES_USB(func) \
2423
BOOT_TARGET_SCSI(func) \
25-
+ func(MMC, mmc, 0) \
26-
+ func(MMC, mmc, 1) \
2724
+ func(MMC, mmc, 2) \
28-
func(PXE, pxe, na) \
29-
func(DHCP, dhcp, na)
25+
+ func(MMC, mmc, 0) \
26+
BOOT_TARGET_PXE(func) \
27+
BOOT_TARGET_DHCP(func)
3028
#endif
3129
--
3230
Armbian

0 commit comments

Comments
 (0)