aboutsummaryrefslogtreecommitdiff
path: root/board/solidrun/mx6cubox/boot.scr.txt
diff options
context:
space:
mode:
authorGravatar Fabio Estevam <fabio.estevam@nxp.com>2016-09-14 09:49:07 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-09-14 22:58:31 +0200
commitf2d98f374434b7510c73cc9e90d9a045230e659e (patch)
tree42b3f574569daca24d2019386fca3567f68233be /board/solidrun/mx6cubox/boot.scr.txt
parent96165841a7eab926765c10569fccf73a5fd9b9c8 (diff)
downloadbuildroot-f2d98f374434b7510c73cc9e90d9a045230e659e.tar.gz
buildroot-f2d98f374434b7510c73cc9e90d9a045230e659e.tar.bz2
configs: Add support for Solidrun's MX6 Cubox/Hummingboard
Add support for Solidrun's MX6 Cubox/Hummingboard. For more information about these boards, please check: https://www.solid-run.com/freescale-imx6-family/hummingboard/ https://www.solid-run.com/freescale-imx6-family/cubox-i/ U-Boot is capable of detecting the version of the board in run-time and loads the correct dtb. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/solidrun/mx6cubox/boot.scr.txt')
-rw-r--r--board/solidrun/mx6cubox/boot.scr.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/solidrun/mx6cubox/boot.scr.txt b/board/solidrun/mx6cubox/boot.scr.txt
new file mode 100644
index 0000000000..7a8aa4bd54
--- /dev/null
+++ b/board/solidrun/mx6cubox/boot.scr.txt
@@ -0,0 +1,7 @@
+setenv finduuid "part uuid mmc 0:1 uuid"
+run finduuid
+run findfdt
+setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4"
+load mmc 0:1 ${fdt_addr} boot/${fdtfile}
+load mmc 0:1 ${loadaddr} boot/zImage
+bootz ${loadaddr} - ${fdt_addr}