aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/tegra/image/generic-bootscript
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/tegra/image/generic-bootscript')
-rw-r--r--target/linux/tegra/image/generic-bootscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/tegra/image/generic-bootscript b/target/linux/tegra/image/generic-bootscript
index 7e86afdf5f..0908025d5d 100644
--- a/target/linux/tegra/image/generic-bootscript
+++ b/target/linux/tegra/image/generic-bootscript
@@ -1,4 +1,6 @@
-setenv bootargs "root=PARTUUID=@ROOT@-02 rw rootwait console=ttyS0,115200 console=tty0"
+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