2024-01-13 20:28:57 +00:00
|
|
|
part uuid ${devtype} ${devnum}:2 uuid
|
2020-04-12 11:57:25 +00:00
|
|
|
|
2023-05-13 04:19:52 +00:00
|
|
|
if test $stdout = 'serial@fe660000' ;
|
|
|
|
then serial_addr=',0xfe660000';
|
|
|
|
elif test $stdout = 'serial@ff130000' ;
|
|
|
|
then serial_addr=',0xff130000';
|
|
|
|
elif test $stdout = 'serial@ff1a0000' ;
|
|
|
|
then serial_addr=',0xff1a0000';
|
|
|
|
fi;
|
|
|
|
|
2024-03-25 18:25:42 +00:00
|
|
|
setenv bootargs "console=ttyS2,1500000 earlycon=uart8250,mmio32${serial_addr} root=PARTUUID=${uuid} rw rootwait";
|
2020-04-12 11:57:25 +00:00
|
|
|
|
2024-01-13 20:28:57 +00:00
|
|
|
load ${devtype} ${devnum}:1 ${kernel_addr_r} kernel.img
|
2020-04-12 11:57:25 +00:00
|
|
|
|
2022-11-13 13:29:26 +00:00
|
|
|
bootm ${kernel_addr_r}
|