Commit Graph

90 Commits

Author SHA1 Message Date
Tianling Shen
616efa5f15
rockchip: replace coherent pool hack with bootargs
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-14 16:44:44 +08:00
Tianling Shen
f1748b432e
rockchip: update rtw88 package
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-17 20:30:37 +08:00
Tianling Shen
606df19a72
rockchip: add pwmfan driver for radxa rock5a/b
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-14 17:39:25 +08:00
Tianling Shen
e0ab5b6aa8
rockchip: remove Hinlink support
Just ask the vendor for firmware.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 11:07:49 +08:00
Tianling Shen
e4d9899e5e
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-29 09:23:24 +08:00
Antonio Flores
f0138de3e5 rockchip: add support for PINE64 ROCK64
This add support for PINE64 ROCK64, rockchip rk3328 board.

Specifications:

 4 x ARM Cortex A53 cores @ 1.5 GHz
 ARM Mali 450 MP2 GPU
 LPDDR3 RAM (up to 4GB)
 Gigabit Ethernet
 Micro SD Slot
 eMMC module slot
 SPI Flash 128Mbit
 4K digital video out
 2x USB 2.0 Host
 1x USB 3.0 Host
 PI-2 bus
 PI-P5+ bus
 IR R/X port
 Real Time Clock (RTC) port
 Power Over Ethernet (POE) (when using optional HAT module)
 A/V jack
 Power, Reset and Recovery buttons
 3.5mm barrel power (5V 3A) port

To install write image to the sd using dd (dd if=*.img of=/*)

Signed-off-by: Antonio Flores <antflores627@gmail.com>
2023-08-27 19:20:11 +02:00
Tianling Shen
77763dd129
rockchip: re-order eth ports for fastrhino r68s
eth0 <-> eth1
eth2 <-> eth3

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-20 17:31:47 +08:00
Tianling Shen
7ce74cfbc2
rockchip: add Hilink OPC-H6XK support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-12 15:23:40 +08:00
Tianling Shen
45d361aedd
rockchip: add Rock 5A support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-10 17:42:48 +08:00
Tianling Shen
7fdd320512
rockchip: add NanoPC T6 support
Hardware
--------
RockChip RK3588 ARM64 (8 cores)
4/8/16GB LPDDR4X RAM
2x 2500 Base-T (PCIe, rtl8125b)
2 LEDs (POWER / WAN)
32/64/256GB eMMC on-board
Micro-SD Slot
USB 2.0 Port
Headphone
USB 3.0
USB PD 2.0
M.2 M-Key
M.2 E-Key
DC Jack 12V

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

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-07 01:21:34 +08:00
Lu jicong
06d5c773fa rockchip: enable wifi support for NanoPC T4
wifi module: AP6356S (BCM4356) SDIO

Signed-off-by: Lu jicong <jiconglu58@gmail.com>
2023-07-26 12:15:20 +02:00
Lu jicong
ac9a2d6a35 rockchip: add FriendlyARM NanoPC T4 support
Hardware
--------
RockChip RK3399 ARM64 (6 cores)
4GB LPDDR3 RAM
1x 1000 Base-T
1 GPIO LED (status)
HDMI 2.0
3.5mm TRRS AV jack
Micro-SD slot
16GB eMMC
1x USB 3.0 Port
2x USB 2.0 Port
1x USB Type-C Port
1x M.2 PCI-E Port
AP6356S (BCM4356) SDIO WiFi & Bluetooth adapter
--------
Note: AP6356S is not supported yet due to the lack of firmware and NVRAM

Signed-off-by: Lu jicong <jiconglu58@gmail.com>
2023-07-26 12:15:20 +02:00
Tianling Shen
ccbebe8a3b
rockchip: add wireless firmware to nanopi t4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-23 19:33:07 +08:00
Lu jicong
4689114669
rockchip: add FriendlyARM NanoPC T4 support
Hardware
--------
RockChip RK3399 ARM64 (6 cores)
4GB LPDDR3 RAM
1x 1000 Base-T
1 GPIO LED (status)
HDMI 2.0
3.5mm TRRS AV jack
Micro-SD slot
16GB eMMC
1x USB 3.0 Port
2x USB 2.0 Port
1x USB Type-C Port
1x M.2 PCI-E Port
AP6356S (BCM4356) SDIO WiFi & Bluetooth adapter
--------
Note: AP6356S is not supported yet due to the lack of firmware and NVRAM

Signed-off-by: Lu jicong <jiconglu58@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-23 19:03:00 +08:00
Tianling Shen
ba871510ef
rockchip: add NanoPi R6C support
Hardware
--------
RockChip RK3588S ARM64 (8 cores)
4/8GB LPDDR4X RAM
1000 Base-T (native, rtl8211f)
2500 Base-T (PCIe, rtl8125b)
4 LEDs (SYS / WAN / LAN / USER)
2 Button (GPIO Reset, MaskROM)
32GB eMMC on-board
Micro-SD Slot
USB 3.0 Port
USB 2.0 Port
HDMI 2.1
USB Type C PD 5/9/12/20V

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-15 17:31:44 +08:00
Tianling Shen
4194e38ac5
rockchip: add Station P2 support
Hardware
--------
RockChip RK3568 ARM64 (4 cores)
2/4/8GB LPDDR4 RAM
2x 1000 Base-T
Bluetooth 5.0
Dual-band Wi-Fi6
2 LEDs (POWER / USER)
32/64/128GB eMMC on-board
Micro-SD Slot
M.2 Slot
SATA 3.0 interfaces
HDMI 2.0
Headphone
2x USB 2.0 Port
USB 3.0 Port
DC 12V

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

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-12 21:41:12 +08:00
Tianling Shen
74c3699c02
rockchip: re-enable wifi for rockpi 4a
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-12 21:10:36 +08:00
Tianling Shen
816b7f95f0
rockchip: add Rock 5B support
Hardware
--------
RockChip RK3588 ARM64 (8 cores)
4/8/16GB LPDDR4X RAM
2500 Base-T (PCIe, rtl8125b)
RGB LED
8/16/32/64/128GB eMMC on-board
Micro-SD Slot
USB 2.0 Port
Headphone
USB PD 2.0 12/15/20V

Install
--------
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>
2023-07-12 19:14:17 +08:00
Tianling Shen
b6d8a0e65e
rockchip: add Rock Pi E support
Hardware
--------
RockChip RK3328 ARM64 (4 cores)
up to 4GB DDR3 RAM
100 Base-T
1000 Base-T
LED (status)
ADC button
Micro-SD slot
eMMC slot
USB 3.0 Port
Type-C power

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-17 15:18:36 +08:00
Tianling Shen
32d5921b8b rockchip: add Orange Pi R1 Plus LTS support
The OrangePi R1 Plus LTS is a minor variant of OrangePi R1 Plus with
the on-board NIC chip changed from rtl8211e to yt8531c, and otherwise
identical to OrangePi R1 Plus.

Tested-by: Volkan Yetik <no3iverson@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-31 21:41:46 +02:00
Tianling Shen
ab641efe69 rockchip: add Orange Pi R1 Plus support
Orange Pi R1 Plus is a Rockchip RK3328 based SBC by Xunlong.

This device is similar to the NanoPi R2S, and has a 16MB
SPI NOR (mx25l12805d). The reset button is changed to
directly reset the power supply, another detail is that
both network ports have independent MAC addresses.

Note: booting from SPI is currently unsupported, you have to install
the image on a SD card.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-31 21:41:46 +02:00
Tianling Shen
81d0182d18 rockchip: add GuangMiao G4C support
This board was designed as a clone of NanoPi R4S. However, it didn't
follow the spec and changed the power-supply system massively, and
because of it there's no way to soft reset this board currently.
For reboot, you must cut off the power and reengage it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-29 16:22:22 +08:00
Tianling Shen
d723634721 rockchip: add NanoPi R6S support
Hardware
--------
RockChip RK3588S ARM64 (8 cores)
8GB LPDDR4X RAM
1x 1000 Base-T (native, rtl8211f)
2x 2500 Base-T (PCIe, rtl8125b)
4 LEDs (SYS / WAN / LAN1 / LAN2)
2 Button (GPIO Reset, MaskROM)
32GB eMMC on-board
Micro-SD Slot
USB 3.0 Port
USB 2.0 Port
2x HDMI 2.1
IR receiver
USB Type C PD 5/9/12/20V

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-29 15:34:35 +08:00
Tianling Shen
8f578c15b3 rockchip: add NanoPi R2C support
The NanoPi R2C is a minor variant of NanoPi R2S with the on-board NIC
chip changed from rtl8211e to yt8521s, and otherwise identical to R2S.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 17:42:53 +02:00
Tianling Shen
afff2feb28 rockchip: move UBOOT_DEVICE_NAME to default
Simplify variable usage.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 17:42:53 +02:00
Tianling Shen
e35c7ab51f rockchip: merge bootscript
The bootscript for nanopi r2s/r4s only changes the serial address, so
make it auto detected in mmc bootscript rather than creating more
(redudant) files.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 17:42:53 +02:00
Tianling Shen
b032812ea1
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-13 18:00:41 +08:00
Tianling Shen
76ae895eb4
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-12 11:15:51 +08:00
Tianling Shen
dfdf755703
rockchip: simplify redudant commands
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-10 20:58:14 +08:00
Tianling Shen
a93967ec0b
rockchip: add NanoPi R2C Plus
The FriendlyARM NanoPi R2C Plus is a minor variant of R2C with a
on-board 8G eMMC flash.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-10 20:29:51 +08:00
Tianling Shen
a7d6cf0bb3 rockchip: add Firefly ROC-RK3328-CC support
Hardware
--------
RockChip RK3328 ARM64 (4 cores)
4GB DDR4 RAM
1x 1000 Base-T
2 LEDs (POWER / USER)
HDMI 2.0
3.5mm TRRS AV jack
Micro-SD slot
eMMC slot
1x USB 3.0 Port
2x USB 2.0 Port

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

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-09 13:30:22 +08:00
Tianling Shen
700b72c21a
uboot-rockchip: remove dtc hack patch
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-08 18:51:26 +08:00
Tianling Shen
1ef239173c
rockchip: add NanoPi R4SE
The FriendlyARM NanoPi R4SE is a minor variant of R4S with a on-board eMMC.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-30 14:55:59 +08:00
fujr
6466b13f1e
rockchip: add Mrkaio M68S support
Hardware
--------
RockChip RK3568 ARM64 (4 cores)
4GB LPDDR4 RAM
2x 1000 Base-T
2 LEDs (SATA / POWER)
32GB eMMC on-board
Micro-SD Slot
SATA slot
2x USB 3.0 Port
HDMI 2.0, MIPI DSI/CSI
USB Type C PD

[updated commit title/description, fixed dts syntax, set irq for it]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-28 12:55:44 +08:00
Tianling Shen
bed2c6c773
rockchip: fix supported device for firefly roc-rk3328-cc
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-04 20:05:08 +08:00
Tianling Shen
f05de85637
rockchip: add Firefly ROC-RK3328-CC support
Hardware
--------
RockChip RK3328 ARM64 (4 cores)
4GB DDR4 RAM
1x 1000 Base-T
2 LEDs (POWER / USER)
HDMI 2.0
3.5mm TRRS AV jack
Micro-SD slot
eMMC slot
1x USB 3.0 Port
2x USB 2.0 Port

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-04 01:51:27 +08:00
Tianling Shen
f5af73bcef
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-26 10:40:04 +08:00
Tianling Shen
705d40946d
rockchip: add wireless driver for NanoPi R5C
The NanoPi R5C has a (optional) wireless chip RTL8822CE connected to
the M.2 slot (PCIe2), add the driver for it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-22 10:17:54 +08:00
Tianling Shen
b4be6aa46f
rockchip: fix image build
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-20 12:20:10 +08:00
Tianling Shen
1df6a4e78c
rockchip: add NanoPi R5S support
Hardware
--------
RockChip RK3568 ARM64 (4 cores)
2GB or 4GB LPDDR4X RAM
1x 1000 Base-T
2x 2500 Base-T
4 LEDs (LAN1 / LAN2 / WAN / POWER)
8GB eMMC on-board
Micro-SD Slot
M.2 Slot
2x USB 3.0 Port

Installation
------------
Uncompress the ImmortalWrt sysupgrade and write it to a micro SD card using
dd.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-17 13:04:53 +08:00
Tianling Shen
34b89b34a7
rockchip: add NanoPi R5C support
Hardware
--------
RockChip RK3568 ARM64 (4 cores)
1GB or 4GB LPDDR4X RAM
2x 2500 Base-T
4 LEDs (LAN / WAN / WIFI / POWER)
1 Button (Reset)
8GB or 32GB eMMC on-board
Micro-SD Slot
M.2 Slot
2x USB 3.0 Port

Installation
------------
Uncompress the ImmortalWrt sysupgrade and write it to a micro SD card using
dd.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-15 17:14:37 +08:00
Tianling Shen
89186b3172
rockchip: build dedicated u-boot for nanopi r4s enterprise edition
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-14 23:33:38 +08:00
Tianling Shen
3f773f8d28
arm-trusted-firmware-rockchip: deprecated the usage of mainline ATF
The mainline support is totally outdated and only 2 boards use it,
switch to use rkbin for all.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-28 19:15:25 +08:00
Tianling Shen
032de6ef33
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-18 00:40:03 +08:00
Chuanhong Guo
c984fc7624
rockchip: use LZMA FIT for kernel image
Use LZMA compressed kernel to save some space in boot partition.

Fixes: #11197
Tested-by: Tianling Shen <cnsztl@immortalwrt.org> [NanoPi R2S]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2022-11-14 22:50:21 +08:00
Tianling Shen
0374a948b3
rockchip: add Fastrhino R68S support
Hardware
--------
RockChip RK3568 ARM64 (4 cores)
2GB or 4GB LPDDR4 RAM
2x 1000 Base-T
2x 2500 Base-T
2 LEDs (Power / Status)
2 Buttons (Reset / Recovery)
16 GB eMMC on-board
2x USB 3.0 Port

Installation
------------
See https://github.com/1715173329/blog/issues/4

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-01 17:29:12 +08:00
Tianling Shen
86e1977c45
rockchip: add NanoPi R4S Enterprise Edition
The only diffrence against the standrard edition is that the enterprise
one has a built-in EEPROM chip which stores a globally unique MAC address.

This patch removed the MAC address hack.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-16 20:18:34 +08:00
Tianling Shen
bd5154ed37
rockchip: add Fastrhino R66S support
Hardware
--------
RockChip RK3568 ARM64 (4 cores)
1GB or 2GB LPDDR4 RAM
2x 2500 Base-T
1 LED (Power)
1 Button (Reset)
Micro-SD Slot
2x USB 3.0 Port

Installation
------------
Uncompress the ImmortalWrt sysupgrade and write it to a micro SD card using
dd.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-27 09:48:46 +08:00
Lucian Cristian
058bdf0396
rockchip: enable lzma compression for kernel
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-29 23:39:45 +08:00
msylgj
8dbec6a2fe
r8168: allow build for kernel 5.10 2022-03-05 17:11:46 +08:00