Skip to content
Snippets Groups Projects
Commit adc30892 authored by Detlev Casanova's avatar Detlev Casanova
Browse files

renesas: Set CONFIG_BOOCOMMAND to distro_bootcmd


Signed-off-by: default avatarDetlev Casanova <detlev.casanova@collabora.com>
parent f24aab44
No related branches found
No related tags found
4 merge requests!105Merge changes from apertis/v2023-updates into apertis/v2023,!103[v2023 <- v2024dev2] d/patches: rcar: Add ATF overlay and select correct linux dtb,!101Update from debian/bookworm for apertis/v2024dev2,!97d/patches: rcar: Add ATF overlay and select correct linux dtb
From: Detlev Casanova <detlev.casanova@collabora.com>
Date: Wed, 12 Apr 2023 10:23:49 -0400
Subject: renesas: rcar: Set CONFIG_BOOTCOMMAND to distro_bootcmd
The u-boot env is stored on the eMMC.
When upgrading u-boot, it is recommended to restore the default
environment and save it fresh for on the eMMC. That is necessary when
the environment embedded in the u-boot binary has changed.
In Apertis, we use distro boot, so make sure that the default
BOOTCOMMAND is set to use distro boot by default so that it is set to
the right value when when reseting the env on the eMMC.
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
configs/rcar3_ulcb_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/rcar3_ulcb_defconfig b/configs/rcar3_ulcb_defconfig
index dfb1e62..6b0faa0 100644
--- a/configs/rcar3_ulcb_defconfig
+++ b/configs/rcar3_ulcb_defconfig
@@ -20,7 +20,7 @@ CONFIG_SUPPORT_RAW_INITRD=y
CONFIG_SYS_MONITOR_BASE=0x00000000
CONFIG_USE_BOOTARGS=y
CONFIG_USE_BOOTCOMMAND=y
-CONFIG_BOOTCOMMAND="tftp 0x48080000 Image; tftp 0x48000000 Image-r8a77950-ulcb.dtb; booti 0x48080000 - 0x48000000"
+CONFIG_BOOTCOMMAND="run distro_bootcmd"
CONFIG_DEFAULT_FDT_FILE="renesas/r8a77950-ulcb.dtb"
CONFIG_LEGACY_FDT_FILE="renesas/r8a7795-h3ulcb.dtb"
CONFIG_SYS_MALLOC_BOOTPARAMS=y
......@@ -59,6 +59,7 @@ apertis/renesas/0058-Disable-CMD_SPI-config-option.patch
apertis/renesas/0101-ARM-rcar_gen3-boot-with-legacy-FDT.patch
apertis/renesas/0102-Kconfig-define-LEGACY_FDT_FILE-option.patch
apertis/renesas/0103-renesas-set-legacy-FDT-name.patch
apertis/renesas/0104-renesas-rcar-Set-CONFIG_BOOTCOMMAND-to-distro_bootcm.patch
# Configuration for Raspberry Pi 3/4
apertis/rpi/0001-RPi-use-alternative-boot-for-rollback.patch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment