mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] RDU2: add support to boot from SD card autonomosly
@ 2019-12-17 11:28 Lucas Stach
  2019-12-17 11:28 ` [PATCH 2/3] ARM: rdu2: don't reduce i2c frequency for eGalax touch Lucas Stach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lucas Stach @ 2019-12-17 11:28 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-18  7:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-17 11:28 [PATCH 1/3] RDU2: add support to boot from SD card autonomosly Lucas Stach
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox