From: Vagrant Cascadian <vagrant@debian.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 3/4] arm: odroid: Enable distro_bootcmd support.
Date: Wed, 25 Jul 2018 11:18:34 +0800 [thread overview]
Message-ID: <20180725031835.5666-4-vagrant@debian.org> (raw)
In-Reply-To: <20180725031835.5666-1-vagrant@debian.org>
Enable distro_bootcmd for a standardized boot process across multiple
platforms.
Acked-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
---
Changes in v2: None
include/configs/odroid.h | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 07882aca9a..a4d1a76c36 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -41,7 +41,7 @@
/* Console configuration */
-#define CONFIG_BOOTCOMMAND "run autoboot"
+#define CONFIG_BOOTCOMMAND "run distro_bootcmd ; run autoboot"
#define CONFIG_DEFAULT_CONSOLE "ttySAC1,115200n8"
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR \
@@ -83,6 +83,12 @@
"bl2 raw 0x1f 0x1d;" \
"tzsw raw 0x83f 0x138\0"
+#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 1) \
+ func(MMC, mmc, 0)
+
+#include <config_distro_bootcmd.h>
+
/*
* Bootable media layout:
* dev: SD eMMC(part boot)
@@ -167,7 +173,8 @@
"ramdisk_addr_r=0x42000000\0" \
"scriptaddr=0x42000000\0" \
"fdt_addr_r=0x40800000\0" \
- "kernel_addr_r=0x41000000\0"
+ "kernel_addr_r=0x41000000\0" \
+ BOOTENV
/* GPT */
--
2.11.0
next prev parent reply other threads:[~2018-07-25 3:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-25 3:18 [U-Boot] [PATCH v2 0/4] arm: odroid: Convert to distro_bootcmd Vagrant Cascadian
2018-07-25 3:18 ` [U-Boot] [PATCH v2 1/4] arm: odroid: Use standard environment variable names kernel_addr_r, ramdisk_addr_r and fdt_addr_r Vagrant Cascadian
2018-07-25 3:18 ` [U-Boot] [PATCH v2 2/4] arm: odroid: Increase default env size in preparation for distro_bootcmd Vagrant Cascadian
2018-07-25 3:18 ` Vagrant Cascadian [this message]
2018-07-25 3:18 ` [U-Boot] [PATCH v2 4/4] arm: odroid: Inherit default value for bootdelay from distro_bootcmd Vagrant Cascadian
2018-07-25 7:25 ` [U-Boot] [PATCH v2 0/4] arm: odroid: Convert to distro_bootcmd Lukasz Majewski
2018-07-25 7:45 ` Minkyu Kang
2018-07-27 6:55 ` Minkyu Kang
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=20180725031835.5666-4-vagrant@debian.org \
--to=vagrant@debian.org \
--cc=u-boot@lists.denx.de \
/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