From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/3] RDU2: add support to boot from SD card autonomosly
Date: Tue, 17 Dec 2019 12:28:14 +0100 [thread overview]
Message-ID: <20191217112816.13305-1-l.stach@pengutronix.de> (raw)
From: "Ruslan V. Sushko" <ruslan.sushko@zii.aero>
Signed-off-by: Ruslan Sushko <Ruslan.Sushko@zii.aero>
---
.../boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default b/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default
index f391d91eba4c..e3406d554373 100644
--- a/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default
+++ b/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default
@@ -2,6 +2,10 @@
backlight0.brightness=0
if [ "$bootsource" = "spi-nor" ]; then
+ echo Boot source is SPI NOR, booting SD card firmware with rootfs on SD card
+ boot mmc1
+elif [ "$bootsource" = "mmc" ] && [ "$bootsource_instance" = "1" ]; then
+ echo Boot source is SD card, booting SD card firmware with rootfs on SD card
boot mmc1
else
detect mmc3
--
2.20.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2019-12-17 11:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 11:28 Lucas Stach [this message]
2019-12-17 11:28 ` [PATCH 2/3] ARM: rdu2: don't reduce i2c frequency for eGalax touch Lucas Stach
2019-12-17 11:28 ` [PATCH 3/3] ARM: rdu2: fixup touchscreen alias Lucas Stach
2019-12-18 7:31 ` [PATCH 1/3] RDU2: add support to boot from SD card autonomosly Sascha Hauer
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=20191217112816.13305-1-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=barebox@lists.infradead.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