Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Subject: [Buildroot] [PATCH v2 4/6] configs/sipeed_lichee_rv*: bump u-boot to current top of d1-wip
Date: Mon,  2 Nov 2026 16:22:56 +0100	[thread overview]
Message-ID: <20261102152258.1948796-4-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20261102152258.1948796-1-angelo.compagnucci@gmail.com>

This is now based on U-Boot 2024.01-rc1, as in the nezha defconfig.
The D1 boards are still not supported by mainline U-Boot.

This U-Boot runs "usb start" as preboot command, to support a USB
keyboard, scanning the four USB buses for about 5 seconds, and its
distro boot command scans all the boot devices: both must be disabled
to have a simple and fast boot. Add a config fragment emptying the
preboot command (USB can still be started by hand) and booting
extlinux.conf directly from the first partition of the SD card.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v1 -> v2:
- none

 board/sipeed/lichee_rv/u-boot.fragment  | 2 ++
 configs/sipeed_lichee_rv_defconfig      | 3 ++-
 configs/sipeed_lichee_rv_dock_defconfig | 3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)
 create mode 100644 board/sipeed/lichee_rv/u-boot.fragment

diff --git a/board/sipeed/lichee_rv/u-boot.fragment b/board/sipeed/lichee_rv/u-boot.fragment
new file mode 100644
index 0000000000..8f80c0a264
--- /dev/null
+++ b/board/sipeed/lichee_rv/u-boot.fragment
@@ -0,0 +1,2 @@
+CONFIG_PREBOOT=""
+CONFIG_BOOTCOMMAND="sysboot mmc 0:1 any ${scriptaddr} /boot/extlinux/extlinux.conf"
diff --git a/configs/sipeed_lichee_rv_defconfig b/configs/sipeed_lichee_rv_defconfig
index 0a443b59fc..15d1d40d14 100644
--- a/configs/sipeed_lichee_rv_defconfig
+++ b/configs/sipeed_lichee_rv_defconfig
@@ -23,8 +23,9 @@ BR2_TARGET_OPENSBI_PLAT="generic"
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,528ae9bc6c55edd3ffe642734b4132a8246ea777)/uboot-528ae9bc6c55edd3ffe642734b4132a8246ea777.tar.gz"
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,2e89b706f5c956a70c989cd31665f1429e9a0b48)/uboot-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="lichee_rv_dock"
+BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/sipeed/lichee_rv/u-boot.fragment"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_NEEDS_OPENSBI=y
diff --git a/configs/sipeed_lichee_rv_dock_defconfig b/configs/sipeed_lichee_rv_dock_defconfig
index aa21afe5a9..ed36a4d115 100644
--- a/configs/sipeed_lichee_rv_dock_defconfig
+++ b/configs/sipeed_lichee_rv_dock_defconfig
@@ -31,8 +31,9 @@ BR2_TARGET_OPENSBI_PLAT="generic"
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,528ae9bc6c55edd3ffe642734b4132a8246ea777)/uboot-528ae9bc6c55edd3ffe642734b4132a8246ea777.tar.gz"
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,2e89b706f5c956a70c989cd31665f1429e9a0b48)/uboot-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="lichee_rv_dock"
+BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/sipeed/lichee_rv/u-boot.fragment"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_NEEDS_OPENSBI=y
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2026-11-02 15:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 15:22 [Buildroot] [PATCH v2 1/6] configs/sipeed_lichee_rv*: require pkg_resources for binman Angelo Compagnucci
2026-11-02 15:22 ` [Buildroot] [PATCH v2 2/6] configs/sipeed_lichee_rv*: switch to Bootlin glibc toolchain Angelo Compagnucci
2026-11-02 15:22 ` [Buildroot] [PATCH v2 3/6] configs/sipeed_lichee_rv*: use OpenSBI 1.8.1 Angelo Compagnucci
2026-11-02 15:22 ` Angelo Compagnucci [this message]
2026-11-02 15:22 ` [Buildroot] [PATCH v2 5/6] configs/sipeed_lichee_rv*: use mainline Linux 6.18.60 Angelo Compagnucci
2026-11-02 15:22 ` [Buildroot] [PATCH v2 6/6] configs/sipeed_lichee_rv*: add hashes for Linux/opensbi/u-boot Angelo Compagnucci

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261102152258.1948796-4-angelo.compagnucci@gmail.com \
    --to=angelo.compagnucci@gmail.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox