mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-10-10 19:20:47 +00:00
Hardware -------- RockChip RK3576 ARM64 (8 cores) 2/4/8/16GB LPDDR5 RAM 1x 1000 Base-T (with optional PoE support) 2x LEDs (POWER / USER) eMMC/UFS connector Micro-SD Slot HDMI OUT PCIe FPC connector 2x USB 2.0 Port 2x USB 3.0 Port USB Type-C PD Power Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/20041 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
20 lines
711 B
Plaintext
20 lines
711 B
Plaintext
part uuid ${devtype} ${devnum}:2 uuid
|
|
|
|
if test $stdout = 'serial@2ad40000' ;
|
|
then serial_addr=',0x2ad40000'; serial_port='ttyS0';
|
|
elif test $stdout = 'serial@fe660000' ;
|
|
then serial_addr=',0xfe660000'; serial_port='ttyS2';
|
|
elif test $stdout = 'serial@feb50000' ;
|
|
then serial_addr=',0xfeb50000'; serial_port='ttyS2';
|
|
elif test $stdout = 'serial@ff130000' ;
|
|
then serial_addr=',0xff130000'; serial_port='ttyS2';
|
|
elif test $stdout = 'serial@ff1a0000' ;
|
|
then serial_addr=',0xff1a0000'; serial_port='ttyS2';
|
|
fi;
|
|
|
|
setenv bootargs "console=${serial_port},1500000 earlycon=uart8250,mmio32${serial_addr} root=PARTUUID=${uuid} rw rootwait";
|
|
|
|
load ${devtype} ${devnum}:1 ${kernel_addr_r} kernel.img
|
|
|
|
bootm ${kernel_addr_r}
|