]> git.ipfire.org Git - thirdparty/openwrt.git/commit
rockchip: fix set default serial_{addr,port} in boot script 21610/head
authorTianling Shen <cnsztl@immortalwrt.org>
Tue, 20 Jan 2026 02:12:12 +0000 (10:12 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 21 Jan 2026 22:56:42 +0000 (23:56 +0100)
commit609deedd87ed66718653a799a68fa3b52da844f7
tree58fc24b892d6a5c5b884e6e5f13c5c543faabce9
parenta82738d83f3f1ec08b0d8f2d1fa5415f6f468d4c
rockchip: fix set default serial_{addr,port} in boot script

On some SoCs like RK3399, U-Boot no longer export the serial
address in $stdout variable, it has been changed to something like
`stdout=serial,vidconsole` since video supported was added. So
detect $soc variable instead, this also makes the script more clear.

Addtional note: rk3566 is reported as rk3568, rk3582 is reported as
rk3588 in $soc.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/21610
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/rockchip/image/default.bootscript