tegra: image: make bootscript standalone
Don't hard-code the PTUUID, use U-Boot commands to determine it, as some partitioning tools could rewrite PTUUID when modifying partitions. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
This commit is contained in:
committed by
Petr Štetiar
parent
fa77051037
commit
bbd665f38d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user