Skip to content

Commit

Permalink
rockchip: add seewo srcm3588/expand support
Browse files Browse the repository at this point in the history
  • Loading branch information
aiamadeus committed Oct 22, 2024
1 parent 2eb1836 commit 6269d0f
Show file tree
Hide file tree
Showing 6 changed files with 938 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package/boot/uboot-rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,9 @@ define U-Boot/generic-rk3588
$(U-Boot/rk3588/Default)
NAME:=Generic RK3588
BUILD_DEVICES:= \
hinlink_owl-h88k
hinlink_owl-h88k \
seewo_srcm3588-io \
seewo_srcm3588-sw
endef

define U-Boot/nanopc-t6-rk3588
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ rockchip_setup_interfaces()
friendlyarm,nanopi-r6c|\
hinlink,opc-h66k|\
rocktech,mpc1903|\
seewo,srcm3588-io|\
sharevdi,h3399pc|\
sharevdi,guangmiao-g4c|\
xunlong,orangepi-r1-plus|\
Expand All @@ -46,7 +47,8 @@ rockchip_setup_interfaces()
hinlink,opc-h68k)
ucidef_set_interfaces_lan_wan 'eth0 eth2 eth3' 'eth1'
;;
friendlyarm,nanopi-r6s)
friendlyarm,nanopi-r6s|\
seewo,srcm3588-sw)
ucidef_set_interfaces_lan_wan 'eth0 eth2' 'eth1'
;;
hinlink,opc-h69k|\
Expand Down Expand Up @@ -109,6 +111,7 @@ rockchip_setup_macs()
hinlink,opc-h69k|\
rocktech,mpc1903|\
rumu3f,fine-3399|\
seewo,srcm3588-*|\
sharevdi,h3399pc)
wan_mac=$(macaddr_generate_from_mmc_cid mmcblk0)
lan_mac=$(macaddr_add "$wan_mac" +1)
Expand Down
11 changes: 11 additions & 0 deletions target/linux/rockchip/armv8/base-files/etc/init.d/bootcount
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh /etc/rc.common

START=99

boot() {
case $(board_name) in
seewo,srcm3588*)
echo 1 > /sys/bus/pci/rescan
;;
esac
}
Loading

0 comments on commit 6269d0f

Please sign in to comment.