2020-04-12 11:57:25 +00:00
|
|
|
part uuid mmc ${devnum}:2 uuid
|
|
|
|
|
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 16:40:37 +00:00
|
|
|
setenv bootargs "console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32${serial_addr} root=PARTUUID=${uuid} rw rootwait";
|
2020-04-12 11:57:25 +00:00
|
|
|
|
|
|
|
load mmc ${devnum}:1 ${kernel_addr_r} kernel.img
|
|
|
|
|
2022-11-13 13:29:26 +00:00
|
|
|
bootm ${kernel_addr_r}
|