aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/tegra/image/generic-bootscript
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tmn505@gmail.com>2020-11-25 17:10:05 +0100
committerPetr Štetiar <ynezz@true.cz>2020-12-22 18:59:10 +0100
commit4423b2753f27cdb4d5daf3d1fa91ec79a7724ba1 (patch)
tree7aed76c0daba8cd1a8e9399719f845ecf72852dd /target/linux/tegra/image/generic-bootscript
parentbbd665f38d6b48e56bb5ef38ee0eeceb02a8e129 (diff)
downloadupstream-4423b2753f27cdb4d5daf3d1fa91ec79a7724ba1.tar.gz
upstream-4423b2753f27cdb4d5daf3d1fa91ec79a7724ba1.tar.bz2
upstream-4423b2753f27cdb4d5daf3d1fa91ec79a7724ba1.zip
tegra: image: remove unnecessary assumptions from bootscript
'bootz' expects gziped kernel image anyway, so hard-code it to zImage, and remove root path from 'load' commands, by default the files are searched in root directory. This will make the bootscript static, so the command which modified it when image was created can now be removed. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Diffstat (limited to 'target/linux/tegra/image/generic-bootscript')
-rw-r--r--target/linux/tegra/image/generic-bootscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/tegra/image/generic-bootscript b/target/linux/tegra/image/generic-bootscript
index 0908025d5d..0e7816490d 100644
--- a/target/linux/tegra/image/generic-bootscript
+++ b/target/linux/tegra/image/generic-bootscript
@@ -2,7 +2,7 @@ part uuid ${devtype} ${devnum}:2 ptuuid
setenv bootargs "root=PARTUUID=${ptuuid} 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
+load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} zImage
+load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} ${soc}-${board}.dtb
bootz ${kernel_addr_r} - ${fdt_addr_r}