2021-02-10 13:52:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2020-04-12 11:57:25 +00:00
|
|
|
#
|
2024-08-28 22:46:30 +00:00
|
|
|
# Copyright (C) 2020 Sarah Maedel
|
2020-07-16 08:08:57 +00:00
|
|
|
|
2022-11-13 13:29:26 +00:00
|
|
|
# FIT will be loaded at 0x02080000. Leave 16M for that, align it to 2M and load the kernel after it.
|
|
|
|
KERNEL_LOADADDR := 0x03200000
|
|
|
|
|
2024-09-23 05:46:22 +00:00
|
|
|
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
|
|
|
|
|
2023-04-07 15:50:49 +00:00
|
|
|
define Device/firefly_roc-rk3328-cc
|
|
|
|
DEVICE_VENDOR := Firefly
|
|
|
|
DEVICE_MODEL := ROC-RK3328-CC
|
|
|
|
SOC := rk3328
|
|
|
|
DEVICE_DTS := rockchip/rk3328-roc-cc
|
|
|
|
UBOOT_DEVICE_NAME := roc-cc-rk3328
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += firefly_roc-rk3328-cc
|
|
|
|
|
2023-07-24 07:22:42 +00:00
|
|
|
define Device/friendlyarm_nanopc-t4
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPC T4
|
|
|
|
SOC := rk3399
|
2023-07-24 08:11:28 +00:00
|
|
|
DEVICE_PACKAGES := kmod-brcmfmac brcmfmac-nvram-4356-sdio cypress-firmware-4356-sdio
|
2023-07-24 07:22:42 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopc-t4
|
|
|
|
|
2024-08-21 06:40:27 +00:00
|
|
|
define Device/friendlyarm_nanopc-t6
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPC T6
|
|
|
|
SOC := rk3588
|
|
|
|
DEVICE_PACKAGES := kmod-r8169
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopc-t6
|
|
|
|
|
2023-05-13 05:54:38 +00:00
|
|
|
define Device/friendlyarm_nanopi-r2c
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R2C
|
|
|
|
SOC := rk3328
|
|
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r2c
|
|
|
|
|
2024-02-16 06:34:40 +00:00
|
|
|
define Device/friendlyarm_nanopi-r2c-plus
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R2C Plus
|
|
|
|
SOC := rk3328
|
|
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r2c-plus
|
|
|
|
|
2020-07-16 08:08:57 +00:00
|
|
|
define Device/friendlyarm_nanopi-r2s
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R2S
|
|
|
|
SOC := rk3328
|
2020-08-05 10:03:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
2020-07-16 08:08:57 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r2s
|
|
|
|
|
2020-12-25 12:03:14 +00:00
|
|
|
define Device/friendlyarm_nanopi-r4s
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R4S
|
|
|
|
DEVICE_VARIANT := 4GB LPDDR4
|
|
|
|
SOC := rk3399
|
|
|
|
DEVICE_PACKAGES := kmod-r8169
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r4s
|
|
|
|
|
2024-02-17 05:54:36 +00:00
|
|
|
define Device/friendlyarm_nanopi-r4s-enterprise
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R4S Enterprise Edition
|
|
|
|
DEVICE_VARIANT := 4GB LPDDR4
|
|
|
|
SOC := rk3399
|
|
|
|
UBOOT_DEVICE_NAME := nanopi-r4s-rk3399
|
2024-02-25 04:36:02 +00:00
|
|
|
DEVICE_PACKAGES := kmod-r8169
|
2024-02-17 05:54:36 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r4s-enterprise
|
|
|
|
|
2023-06-25 16:37:31 +00:00
|
|
|
define Device/friendlyarm_nanopi-r5c
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R5C
|
|
|
|
SOC := rk3568
|
|
|
|
DEVICE_PACKAGES := kmod-r8169 kmod-rtw88-8822ce rtl8822ce-firmware wpad-basic-mbedtls
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r5c
|
|
|
|
|
2023-06-25 16:37:30 +00:00
|
|
|
define Device/friendlyarm_nanopi-r5s
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R5S
|
|
|
|
SOC := rk3568
|
|
|
|
DEVICE_PACKAGES := kmod-r8169
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r5s
|
|
|
|
|
rockchip: add FriendlyElec NanoPi R6C
Hardware Spec
-SoC: Rockchip RK3588S
CPU: Quad-core ARM Cortex-A76(up to 2.4GHz) and quad-core Cortex-A55 CPU (up to 1.8GHz)
GPU: Mali-G610 MP4, compatible with OpenGLES 1.1, 2.0, and 3.2, OpenCL up to 2.2 and Vulkan1.2
VPU: 8K@60fps H.265 and VP9 decoder, 8K@30fps H.264 decoder, 4K@60fps AV1 decoder, 8K@30fps H.264 and H.265
NPU: 6TOPs, supports INT4/INT8/INT16/FP16
-RAM: 64-bit 4GB/8GB LPDDR4X at 2133MHz
-Flash: 32GB/None eMMC, at HS400 mode
-Ethernet: one Native Gigabit Ethernet, and one PCIe 2.5G Ethernet
-USB: one USB 3.0 Type-A and one USB 2.0 Type-A
-PCIe: one M.2 Key M connector with PCIe 2.1 x1
-HDMI:
compatible with HDMI2.1, HDMI2.0, and HDMI1.4 operation
support up to 7680x4320@60Hz
Support RGB/YUV(up to 10bit) format
-microSD: support up to SDR104 mode
-GPIO:
30-pin 2.54mm header connector
up to 1x SPI, 3x UARTs, 3x I2Cs, 2x SPDIFs, 1x I2Ss, 3x PWMs, 20x GPIOs
-Debug: UART via 3-Pin 2.54mm header, or on-board USB-C to UART
-LEDs: 4 x GPIO Controlled LED (SYS, WAN, LAN, LED1)
-others:
2 Pin 1.27/1.25mm RTC battery input connector for low power RTC IC HYM8563TS
MASK button for eMMC update
one user button
-Power supply: USB-C, support PD, 5V/9V/12V/20V input
-PCB: 8 Layer, 62x90x1.6mm
-Ambient Operating Temperature: 0℃ to 70℃
Installation:
Uncompress the OpenWrt sysupgrade and write image to the SD card using dd (dd if=*.img of=/*)
eMMC Installation:
Boot from the SD card
Uncompress the OpenWrt sysupgrade image
fash to eMMC : dd if=*.img of=/dev/mmcblk1
sync
remove SD card
reboot
Signed-off-by: Antonio Flores <antflores627@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16275
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-08-27 20:36:02 +00:00
|
|
|
define Device/friendlyarm_nanopi-r6c
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R6C
|
|
|
|
SOC := rk3588s
|
|
|
|
DEVICE_PACKAGES := kmod-r8169
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r6c
|
|
|
|
|
2024-06-04 18:22:45 +00:00
|
|
|
define Device/friendlyarm_nanopi-r6s
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi R6S
|
|
|
|
SOC := rk3588s
|
|
|
|
DEVICE_PACKAGES := kmod-r8169
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r6s
|
|
|
|
|
2023-07-08 17:31:49 +00:00
|
|
|
define Device/pine64_rock64
|
|
|
|
DEVICE_VENDOR := Pine64
|
|
|
|
DEVICE_MODEL := Rock64
|
|
|
|
SOC := rk3328
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += pine64_rock64
|
|
|
|
|
2020-04-12 11:57:25 +00:00
|
|
|
define Device/pine64_rockpro64
|
|
|
|
DEVICE_VENDOR := Pine64
|
|
|
|
DEVICE_MODEL := RockPro64
|
|
|
|
SOC := rk3399
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += pine64_rockpro64
|
2020-09-25 18:00:40 +00:00
|
|
|
|
2024-02-20 14:34:43 +00:00
|
|
|
define Device/radxa_cm3-io
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := CM3 IO
|
|
|
|
SOC := rk3566
|
|
|
|
DEVICE_DTS := rockchip/rk3566-radxa-cm3-io
|
|
|
|
UBOOT_DEVICE_NAME := radxa-cm3-io-rk3566
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_cm3-io
|
|
|
|
|
2024-02-28 09:39:44 +00:00
|
|
|
define Device/radxa_e25
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := E25
|
|
|
|
SOC := rk3568
|
|
|
|
DEVICE_DTS := rockchip/rk3568-radxa-e25
|
2024-07-04 13:09:03 +00:00
|
|
|
BOOT_SCRIPT := radxa-e25
|
2024-02-28 09:39:44 +00:00
|
|
|
UBOOT_DEVICE_NAME := radxa-e25-rk3568
|
2024-07-10 21:20:21 +00:00
|
|
|
DEVICE_PACKAGES := kmod-r8169 kmod-ata-ahci-dwc
|
2024-02-28 09:39:44 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_e25
|
|
|
|
|
2024-07-24 05:48:09 +00:00
|
|
|
define Device/radxa_rock-3a
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ROCK 3A
|
|
|
|
SOC := rk3568
|
2024-08-03 19:16:15 +00:00
|
|
|
SUPPORTED_DEVICES := radxa,rock3a
|
2024-07-24 05:48:09 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_rock-3a
|
|
|
|
|
2024-08-14 21:49:13 +00:00
|
|
|
define Device/radxa_rock-3b
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ROCK 3B
|
|
|
|
SOC := rk3568
|
|
|
|
DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_rock-3b
|
|
|
|
|
2024-08-14 02:26:48 +00:00
|
|
|
define Device/radxa_rock-3c
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ROCK 3C
|
|
|
|
SOC := rk3566
|
|
|
|
DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_rock-3c
|
|
|
|
|
2024-08-05 08:22:47 +00:00
|
|
|
define Device/radxa_rock-5a
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ROCK 5A
|
|
|
|
SOC := rk3588s
|
|
|
|
UBOOT_DEVICE_NAME := rock5a-rk3588s
|
|
|
|
DEVICE_PACKAGES := kmod-hwmon-pwmfan
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_rock-5a
|
|
|
|
|
2024-08-05 08:51:25 +00:00
|
|
|
define Device/radxa_rock-5b
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ROCK 5B
|
|
|
|
SOC := rk3588
|
|
|
|
UBOOT_DEVICE_NAME := rock5b-rk3588
|
|
|
|
DEVICE_PACKAGES := kmod-r8169 kmod-hwmon-pwmfan
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_rock-5b
|
|
|
|
|
2021-10-02 15:36:48 +00:00
|
|
|
define Device/radxa_rock-pi-4a
|
2020-09-25 18:00:40 +00:00
|
|
|
DEVICE_VENDOR := Radxa
|
2021-10-02 15:36:48 +00:00
|
|
|
DEVICE_MODEL := ROCK Pi 4A
|
2020-09-25 18:00:40 +00:00
|
|
|
SOC := rk3399
|
2021-10-02 15:36:48 +00:00
|
|
|
SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
|
2020-09-25 18:00:40 +00:00
|
|
|
UBOOT_DEVICE_NAME := rock-pi-4-rk3399
|
|
|
|
endef
|
2021-10-02 15:36:48 +00:00
|
|
|
TARGET_DEVICES += radxa_rock-pi-4a
|
2023-05-30 04:59:07 +00:00
|
|
|
|
2023-08-29 18:23:30 +00:00
|
|
|
define Device/radxa_rock-pi-e
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ROCK Pi E
|
|
|
|
SOC := rk3328
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_rock-pi-e
|
|
|
|
|
2024-07-28 23:38:25 +00:00
|
|
|
define Device/radxa_rock-pi-e-v3
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ROCK Pi E v3.0
|
|
|
|
SOC := rk3328
|
|
|
|
DEVICE_DTS := rockchip/rk3328-rock-pi-e
|
2024-07-25 22:03:21 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rtw88-8723du kmod-usb-net-cdc-ncm kmod-usb-net-rndis wpad-basic-mbedtls
|
2024-07-28 23:38:25 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_rock-pi-e-v3
|
|
|
|
|
2024-07-21 23:01:56 +00:00
|
|
|
define Device/radxa_rock-pi-s
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ROCK Pi S
|
|
|
|
SOC := rk3308
|
2024-08-14 01:20:12 +00:00
|
|
|
SUPPORTED_DEVICES := radxa,rockpis
|
2024-07-21 23:01:56 +00:00
|
|
|
BOOT_SCRIPT := rock-pi-s
|
2024-07-25 22:03:18 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rtw88-8723ds kmod-usb-net-cdc-ncm kmod-usb-net-rndis wpad-basic-mbedtls
|
2024-07-21 23:01:56 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_rock-pi-s
|
|
|
|
|
2024-08-22 01:09:21 +00:00
|
|
|
define Device/radxa_zero-3e
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ZERO 3E
|
|
|
|
SOC := rk3566
|
|
|
|
DEVICE_DTS := rockchip/rk3566-radxa-zero-3e
|
|
|
|
UBOOT_DEVICE_NAME := radxa-zero-3-rk3566
|
|
|
|
DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_zero-3e
|
|
|
|
|
|
|
|
define Device/radxa_zero-3w
|
|
|
|
DEVICE_VENDOR := Radxa
|
|
|
|
DEVICE_MODEL := ZERO 3W
|
|
|
|
SOC := rk3566
|
|
|
|
DEVICE_DTS := rockchip/rk3566-radxa-zero-3w
|
|
|
|
UBOOT_DEVICE_NAME := radxa-zero-3-rk3566
|
|
|
|
DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += radxa_zero-3w
|
|
|
|
|
2024-04-11 16:35:00 +00:00
|
|
|
define Device/sinovoip_bpi-r2-pro
|
|
|
|
DEVICE_VENDOR := Sinovoip
|
|
|
|
DEVICE_MODEL := Bananapi-R2 Pro
|
|
|
|
SOC := rk3568
|
|
|
|
SUPPORTED_DEVICES := sinovoip,rk3568-bpi-r2pro
|
|
|
|
DEVICE_PACKAGES := kmod-ata-ahci-dwc
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += sinovoip_bpi-r2-pro
|
|
|
|
|
2023-05-30 04:59:07 +00:00
|
|
|
define Device/xunlong_orangepi-r1-plus
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
DEVICE_MODEL := Orange Pi R1 Plus
|
|
|
|
SOC := rk3328
|
|
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-r1-plus
|
2023-05-30 04:59:07 +00:00
|
|
|
|
|
|
|
define Device/xunlong_orangepi-r1-plus-lts
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
DEVICE_MODEL := Orange Pi R1 Plus LTS
|
|
|
|
SOC := rk3328
|
|
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-r1-plus-lts
|