aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/tegra/image/generic-bootscript
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tomek_n@o2.pl>2019-04-01 19:25:38 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-04-06 14:48:46 +0200
commit42f96ed9413a3483b0448581374feeb3343f6f6a (patch)
tree64dcc9c3a418ecec29a6654d75746574e4c0902a /target/linux/tegra/image/generic-bootscript
parentde3eb0d8a060b1eb4e4027ebc435bb412ce8e096 (diff)
downloadupstream-42f96ed9413a3483b0448581374feeb3343f6f6a.tar.gz
upstream-42f96ed9413a3483b0448581374feeb3343f6f6a.tar.bz2
upstream-42f96ed9413a3483b0448581374feeb3343f6f6a.zip
tegra: add new target
New target introduces initial support for NVIDIA Tegra SoC based devices. It focuses on Tegra 2 CPUs, for successors supporting NEON instruction set the target should be split in two subtargets. This initial commit doesn't create any device image, it's groundwork for further additions. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'target/linux/tegra/image/generic-bootscript')
-rw-r--r--target/linux/tegra/image/generic-bootscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/tegra/image/generic-bootscript b/target/linux/tegra/image/generic-bootscript
new file mode 100644
index 0000000000..7e86afdf5f
--- /dev/null
+++ b/target/linux/tegra/image/generic-bootscript
@@ -0,0 +1,6 @@
+setenv bootargs "root=PARTUUID=@ROOT@-02 rw rootwait console=ttyS0,115200 console=tty0"
+
+load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /@KERNEL@
+load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /${soc}-${board}.dtb
+
+bootz ${kernel_addr_r} - ${fdt_addr_r}