Commit Graph

58 Commits

Author SHA1 Message Date
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
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
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
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
Tianling Shen
5fa0c4a823
rockchip: remove default wireless config for Rockpi 4A
This is actually broken.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-01 21:06:04 +08:00
Tianling Shen
9d64b55c2e
rockchip: add OrangePi R1 Plus LTS support
This board is a fork of OrangePi R1 Plus, with native NIC changed.

Hardware
--------
RockChip RK3328 ARM64 (4 cores)
1GB DDR4 RAM
2x 1000 Base-T
3 LEDs (LAN / WAN / SYS)
1 Button (Reset)
Micro-SD slot
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>
2022-02-13 20:34:48 +08:00
Tianling Shen
cf49626f45
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-12 14:39:40 +08:00
Adrian Schmutzler
91eed5d9fb rockchip: rename "Rock Pi 4" to "Rock Pi 4A"
Kernel has added the different variants of the Rock Pi 4 in commit
b5edb0467370 ("arm64: dts: rockchip: Mark rock-pi-4 as rock-pi-4a
dts"). The former Rock Pi 4 is now Rock Pi 4A.

For compatibility with kernel 5.4, this rename has been held back
so far. Having switched to kernel 5.10 now, we can finally apply
it in our tree as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-10-10 00:57:56 +02:00
Tianling Shen
c251e97ffb
rockchip: add NanoPi R2C support
This board is a fork of NanoPi R2S, with the native NIC changed.

Hardware
--------
RockChip RK3328 ARM64 (4 cores)
1GB DDR4 RAM
2x 1000 Base-T
3 LEDs (LAN / WAN / SYS)
1 Button (Reset)
Micro-SD slot
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>
(cherry picked from commit d9cb05957d)
2021-08-13 03:23:36 +08:00
Tianling Shen
ffad2f5a30
uboot-rockchip: use rkbin for nanopi r4s
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit a2759b1be2)
2021-08-08 20:23:13 +08:00
Tianling Shen
b721579842 rockchip: add NanoPi R4S support
Hardware
--------
RockChip RK3399 ARM64 (6 cores)
4GB LPDDR4 RAM
2x 1000 Base-T
3 LEDs (LAN / WAN / SYS)
1 Button (Reset)
Micro-SD slot
2x USB 3.0 Port

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

=====================================
NOTICE FOR USERS WHO USE 1GB VERSION:
     BY NOW IT IS NOT SUPPORTED
====================================

[initialed target]
Co-developed-by: Marty Jones <mj8263788@gmail.com>
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[fixed bootscript]
Co-developed-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-10 10:34:44 +02:00
AmadeusGhost
65bdd1f5a7
rockchip: add support for OrangePi R1 Plus
Hardware Specification:
  CPU: RockChip RK3328 (4 cores)
  RAM: 1GB DDR4
  Ethernet: 2x 1000 Base-T
  Flash: SPI-NOR 16 MB (mx25l12835f)
  LED: SYS, LAN, WAN
  MicroSD Slot x 1
  Button: Reset
  USB:1x 2.0
  Serial1: 13 Pin pin-header
  Serial2: 3 Pin debug port
  Type-C: for power input
  Power Supply: DC 5V/2A

Installation:
  Write the image to SD Card with dd.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-29 23:36:46 +08:00
Tianling Shen
0169fc1e45
target/rockchip: rockpi4: fix typo err
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-13 01:44:06 +08:00
AmadeusGhost
d6e8809097
uboot-rockchip: add support for building with rockchip ddrloader
Referred to http://opensource.rock-chips.com/wiki_Boot_option#Boot_flow.

Signed-off-by: AmadeusGhost <amadeus@immortalwrt.org>
[fixed format issue]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 17:13:51 +08:00
CN_SZTL
c389cf708e
rockchip: remove urngd package for rk3399
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-21 15:45:10 +08:00
CN_SZTL
a6f091a27a
rockchip: apply own patches
Included:
 - Hack for support MTWiFi
 - HWRNG driver for RK3328 & RK3399
 - Fix for hot reboot
 - I2C screen support for NanoPi R2S
 - Overclocking support for RK3328 and NanoPi4 series
 - Ethernet compat node for NanoPi R2S
 - Support for NanoPi R4S

Minor adjustments:
 - Used r8169 driver for NanoPi R4S by default as r8168 is broken on newer kernel

Refreshed all patches.

Reviewed-by: AmadeusGhost <amadeus@project-openwrt.eu.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-21 15:34:54 +08:00
CN_SZTL
f2db3b8456
Revert "rockchip: use LZMA compressed FIT image for NanoPi R2S"
This reverts commit 0f57324f48.
Prepare for the upcoming kernel 5.10 support.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-17 21:57:57 +08:00
AmadeusGhost
0b234c70ec Merge Official Source 2021-02-15 12:05:10 +08:00
Adrian Schmutzler
598b29585e target: use SPDX license identifiers on Makefiles
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-02-10 15:47:18 +01:00
CN_SZTL
1db9bd9bcd
Merge Official Source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 19:39:04 +08:00
Marty Jones
9c29165a4c rockchip: fix SUPPORTED_DEVICES for Radxa ROCK Pi 4
This sets SUPPORTED_DEVICES to match the compatible in the DTS.

While at it, synchronize the capitalization in DEVICE_MODEL and
DTS model.

Signed-off-by: Marty Jones <mj8263788@gmail.com>
[commit title/message facelift, move variable in armv8.mk]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-27 21:31:20 +01:00
Tianling Shen
fbe88f5790
rockchip: use vendor driver for NanoPi R4S
However, mainline driver doesn't work very well on RTL8111
devices, so let's move to vendor driver for better performance.

Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-01-09 16:56:45 +08:00
AmadeusGhost
18a097c5f7 Merge Official Source 2021-01-05 21:11:00 +08:00
AmadeusGhost
5b1717efdd rockchip: r2s: fix typo error of the image definition 2021-01-03 23:56:23 +08:00
Tianling Shen
259cf3b7e3 rockchip: add NanoPi R4S support
Hardware
--------
RockChip RK3399 ARM64 (6 cores)
1GB DDR3 or 4GB LPDDR4 RAM
2x 1000 Base-T
3 LEDs (LAN / WAN / SYS)
1 Button (Reset)
Micro-SD slot
2x USB 3.0 Port

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

Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Co-authored-by: Jensen Huang <jensenhuang@friendlyarm.com>
Signed-off-by: Jensen Huang <jensenhuang@friendlyarm.com>
Co-authored-by: Marty Jones <mj8263788@gmail.com>
Signed-off-by: Marty Jones <mj8263788@gmail.com>
2020-12-27 14:00:31 +08:00
Tianling Shen
83f5e253a2
Revert "rockchip: make sysupgrade image generation reusable"
This reverts commit 6039577c0b.
2020-12-20 12:49:38 +08:00
Marty Jones
d3f876fb0d
rockchip: enable WiFi on ROCK Pi 4
Signed-off-by: Marty Jones <mj8263788@gmail.com>
2020-10-04 22:24:17 +08:00
CN_SZTL
0f6392c262
Merge Official Source 2020-10-04 22:23:18 +08:00