Skip to content

Commit

Permalink
rockchip: add ArmSoM Sige7 support
Browse files Browse the repository at this point in the history
This board is also as known as Bananapi BPi-M7.

Hardware
--------
RockChip RK3588 ARM64 (8 cores)
8/16/32GB LPDDR4/LPDDR4x RAM
2x 2500 Base-T (PCIe, rtl8125b)
2 LEDs (RED / GREEN)
16GB/32GB/64GB/128GB eMMC on-board
Micro-SD Slot
USB 2.0 Port
USB 3.0 Port
M.2 M-Key
40-Pin Header
USB PD 2.0 9/12/15V Power

Installation
------------
Uncompress the OpenWrt sysupgrade and write it to a micro SD card or
internal eMMC using dd.

Signed-off-by: Tianling Shen <[email protected]>
Link: openwrt#16462
Signed-off-by: Nick Hainke <[email protected]>
  • Loading branch information
1715173329 authored and PolynomialDivision committed Sep 23, 2024
1 parent 0c1332d commit 76a75b4
Show file tree
Hide file tree
Showing 7 changed files with 862 additions and 6 deletions.
14 changes: 8 additions & 6 deletions target/linux/rockchip/armv8/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ rockchip_setup_interfaces()
local board="$1"

case "$board" in
friendlyarm,nanopc-t6|\
friendlyarm,nanopi-r5c|\
radxa,e25|\
radxa,rock-3b)
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
;;
armsom,sige7|\
friendlyarm,nanopi-r2c|\
friendlyarm,nanopi-r2c-plus|\
friendlyarm,nanopi-r2s|\
Expand All @@ -24,6 +19,12 @@ rockchip_setup_interfaces()
xunlong,orangepi-r1-plus-lts)
ucidef_set_interfaces_lan_wan 'eth1' 'eth0'
;;
friendlyarm,nanopc-t6|\
friendlyarm,nanopi-r5c|\
radxa,e25|\
radxa,rock-3b)
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
;;
friendlyarm,nanopi-r5s)
ucidef_set_interfaces_lan_wan 'eth1 eth2' 'eth0'
;;
Expand All @@ -47,6 +48,7 @@ rockchip_setup_macs()
local label_mac=""

case "$board" in
armsom,sige7|\
friendlyarm,nanopc-t6|\
friendlyarm,nanopi-r2c|\
friendlyarm,nanopi-r2s)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ set_interface_core() {
}

case "$(board_name)" in
armsom,sige7|\
friendlyarm,nanopc-t6|\
friendlyarm,nanopi-r5c|\
friendlyarm,nanopi-r6c|\
Expand Down
11 changes: 11 additions & 0 deletions target/linux/rockchip/image/armv8.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
# FIT will be loaded at 0x02080000. Leave 16M for that, align it to 2M and load the kernel after it.
KERNEL_LOADADDR := 0x03200000

define Device/armsom_sige7
DEVICE_VENDOR := ArmSoM
DEVICE_MODEL := Sige7
DEVICE_ALT0_VENDOR := Bananapi
DEVICE_ALT0_MODEL := BPi-M7
SOC := rk3588
DEVICE_DTS := rockchip/rk3588-armsom-sige7
DEVICE_PACKAGES := kmod-r8169
endef
TARGET_DEVICES += armsom_sige7

define Device/firefly_roc-rk3328-cc
DEVICE_VENDOR := Firefly
DEVICE_MODEL := ROC-RK3328-CC
Expand Down
Loading

0 comments on commit 76a75b4

Please sign in to comment.