Commit Graph

450 Commits

Author SHA1 Message Date
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
df4507d339
rockchip: refactor yt8521 LED configuration using OF
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-23 17:24:52 +08:00
Tianling Shen
06900b328d
rockchip: add LED configuration for Hinlink H68K/H69K
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-23 13:24:42 +08:00
Tianling Shen
0a4d4cc209
rockchip: add LED configuration for Mrkaio M68S
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-23 13:23:17 +08:00
Tianling Shen
6f7eddb42c
rockchip: add LED configuration for NanoPi R5S
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-23 13:20:42 +08:00
Tianling Shen
7564d4123a
rockchip: add LED configuration for FastRhino R68S
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-23 12:45:07 +08:00
AmadeusGhost
1289211440
rockchip: add LED configuration from OF for rtl8211f 2023-08-23 12:44:41 +08:00
Tianling Shen
3711ed503b
rockchip: fix pcie address for fastrhino r68s
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-20 18:04:27 +08: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
9353f90342
rockchip: stmmac: add devname configuration from OF
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-20 15:14:37 +08:00
Tianling Shen
a947097954
rockchip: set fixed mac addr for h6xk
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-13 06:49:34 +08:00
Tianling Shen
977ac5e603
rockchip: refresh kernel patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-12 15:41:34 +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
0621dc232d
rockchip: lower mmc speed for rock 5a/5b
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-10 17:43:01 +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
56613c1d91
rockchip: remove outdated version switch
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-09 15:20:57 +08:00
Tianling Shen
ed2528ba75
rockchip: lower mmc speed for nanopc t6
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-08 11:24:26 +08:00
Tianling Shen
1f0b2735a0
rockchip: enable rockchip 3588001 erratum workaround for rk3588s
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-07 01:47:59 +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
Tianling Shen
5cafe51ad8
rockchip: update nanopi r6s dt
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-07 01:15:34 +08:00
Tianling Shen
04b1bf934c
rockchip: revert rk3588 clk patches
This causes clk driver panic.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-07 01:14:30 +08:00
Tianling Shen
bca580a383
rockchip: backport latest rk3588 patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-06 09:32:20 +08:00
Tianling Shen
60e6e250cb
rockchip: refreshed rk3588 patchset
- Added PCIe3/USB3 support for Rock 5B
- Updated sdmmc properties for Rock 5A/5B

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-27 04:20:37 +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
cdd8d41166
rockchip: refresh rk3588 patchset
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-15 16:28:21 +08:00
Tianling Shen
d8b07e76b3
rockchip: exchange power and user LEDs for station p2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-14 22:05:07 +08:00
Tianling Shen
8c751d42c0
rockchip: add missing network setup for station p2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-14 21:56:03 +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
5acf2d56af
rockchip: refresh rk3588 patchset
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-12 17:20:57 +08:00
Tianling Shen
dec8c4080e
rockchip: refresh LED patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-10 17:07:58 +08:00
Tianling Shen
68fd8e92b2
rockchip: refresh kernel patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-08 16:27:26 +08:00
Tianling Shen
c3c09cd994
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-26 00:34:16 +08:00
Stefan Kalscheuer
b308bd50ef kernel: migrate FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER for 6.1
The flag FORCE_MAX_ZONEORDER was renamed to ARCH_FORCE_MAX_ORDER in
Kernel 6.1 [1]. Rename the flag in generic Kconfig and remove it from
target configs.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0192445cb2f7ed1cd7a95a0fc8c7645480baba25

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
2023-06-25 11:26:50 +02:00
Tianling Shen
31497457df
rockchip: enable scmi sensors
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-20 16:13:05 +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
44832c677b
rockchip: refresh upstreamed rk3588 patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-17 14:37:25 +08:00
Tianling Shen
d312f12b1a rockchip: fix setup network config for nanopi r2c
Without it the WAN port won't be initialized properly.

Fixes: 8f578c15b3 ("rockchip: add NanoPi R2C support")
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-17 12:20:10 +02:00
AmadeusGhost
7be1e397c7
rockchip: backport mmc fixes from kernel 6.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-08 18:08:45 +08:00
Tianling Shen
dae139a209
rockchip: refresh upstreamed patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-08 18:08:41 +08:00
Tianling Shen
459ed9762c
rockchip: refresh rk3588 clk/iio patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-04 17:32:33 +08:00
Tianling Shen
95d86d92c9
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-02 19:52:24 +08:00
Hauke Mehrtens
16a20512d8
kernel: Set CONFIG_FRAME_WARN depending on target
This set the CONFIG_FRAME_WARN option depending on some target settings.
It will use the default from the upstream kernel and not the hard coded
value of 1024 now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2023-06-02 11:19:32 +02:00
Tianling Shen
6a9aea21ed
rockchip: nanopi r6s: fix boot from eMMC
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-02 15:48:35 +08:00