Tianling Shen
6bed850e06
bcm27xx: build with automount by default
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-15 19:02:12 +08:00
Tianling Shen
dd215c9f04
ipq40xx/806x: build with automount by default
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-06 03:46:46 +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
a9eece5285
rockchip: replace local dts with upstreamed patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-31 20:08:23 +08:00
Tianling Shen
12d1a08c3d
rockchip: replace local files with upstreamed patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-23 22:39:07 +08:00
Tianling Shen
83d7742764
rockchip: nanopi r5s: fix gmac reset gpios
...
Move reset gpios to gmac node otherwise the dwmac driver will fail to
lookup ethernet phy:
> [ 10.398514] rk_gmac-dwmac fe2a0000.ethernet eth0: no phy found
> [ 10.399061] rk_gmac-dwmac fe2a0000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-04 16:17:00 +08:00
Tianling Shen
3556faa43c
rockchip: nanopi r5s: fix gmac phy address
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-04 09:59:46 +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
ca6c827879
rockchip: enable PTP support
...
The Kconfig `PTP_1588_CLOCK_OPTIONAL` does not work for unknown reason,
when kmod-ptp was built as a module, it would break the ethernet.
While at it, refreshed Kconfigs.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-22 09:57:05 +08:00
Tianling Shen
80007df604
rockchip: refresh Motorcomm patches
...
Fixed a typo error when updating dts files.
While at it, backported a trivial fix, also made the LED blinking again.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-22 09:55:53 +08:00
Tianling Shen
1b080245fb
Revert "rockchip: revert motorcomm driver"
...
Finally, let's land on this new mainline driver.
This reverts commit d93bb3feea .
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-21 20:10:26 +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
d93bb3feea
rockchip: revert motorcomm driver
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-17 12:31:49 +08:00
Tianling Shen
68dd426a5d
rockchip: adjust irq affinity for fastrhino r68s
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-17 10:58:58 +08:00
Tianling Shen
62b45ed79e
rockchip: backport a fix for snps pcie3 driver
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-16 17:47:46 +08:00
Tianling Shen
b282530d83
rockchip: nanopi r5c: use on-board emmc cid to calc mac addr
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-15 17:59:51 +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
a10804f84d
rockchip: backport a fix for DRM register names
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-15 15:57:34 +08:00
Tianling Shen
9229b66c09
rockchip: update motorcomm patchset
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-06 04:24:46 +08:00
Tianling Shen
192753ad4b
rockchip: rk3328: use 1.45v for 1512MHz overclocking
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-29 20:44:46 +08:00
AmadeusGhost
9fe5813aa9
rockchip: increase default cma size to 64MB
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-18 23:01:59 +08:00
Tianling Shen
b2f44badc2
rockchip: fix init motorcomm ethernet
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-15 17:15:42 +08:00
Tianling Shen
ef405c488e
Revert "Revert "rockchip: replace local motorcomm driver with upstreamed patches""
...
Let's backport upstream fixes.
This reverts commit 141446a4d9 .
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-15 17:09:53 +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
6ca0d3d43b
rockchip: backport upstreamed OrangePi R1 Plus dts
...
Refreshed all rockchip patches while at it.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-14 19:16:03 +08:00
Tianling Shen
141446a4d9
Revert "rockchip: replace local motorcomm driver with upstreamed patches"
...
This driver doesn't work properly on NanoPi R2C at least, revert till
the issues get addressed.
This reverts commit 2c376339f7 .
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-14 19:13:42 +08:00
Tianling Shen
8190433295
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-07 16:43:13 +08:00
Rafał Miłecki
69ea580882
treewide: update NVMEM symbols
...
Fixes: 8dfe69cdfc ("kernel: update nvmem subsystem to the latest upstream")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2023-01-07 01:30:31 +01:00
Tianling Shen
0acb9dc71b
rockchip: fastrhino r68s: add reset pin for gmac
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-05 10:19:05 +08:00
Tianling Shen
5f894a4d85
rockchip: remove unused NO_GKI Kconfig from gic patch
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-29 18:22:29 +08:00
Tianling Shen
49afa2233b
rockchip: remove MSI hack for fastrhino r6xs
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-29 17:57:51 +08:00
AmadeusGhost
bba53dd541
rockchip: force enable rk3568 msi interrupt
...
Since the interrupt of RK3568 has hardware bug,
we need a workaround to enable msi interrupt.
Without this, the r8125 will not be stable.
2022-12-29 17:57:47 +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
2c376339f7
rockchip: replace local motorcomm driver with upstreamed patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-28 19:15:24 +08:00
AmadeusGhost
91ecf3e589
rockchip: backport eMMC HS200 fixes
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-28 19:15:24 +08:00
Tianling Shen
c2c9e3a1ab
rockchip: cleanup rockchip patches
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-28 19:15:06 +08:00
Tianling Shen
6ce6e055f4
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-25 15:08:44 +08:00
Jan-Niklas Burfeind
c7d3bbb909
sunxi: ensure NanoPi R1 has unique MAC address
...
Ensure the MAC address for all NanoPi R1 boards is assigned uniquely for
each board.
The vendor ships the device in two variants; one with and one without
eMMC; but both without static mac-addresses.
In order to assign both board types unique MAC addresses, fall back on
the same method used for the NanoPi R2S and R4S in case the EEPROM
chip is not present by generating the board MAC from the SD card CID.
[0] https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R1#Hardware_Spec
Similar too and based on:
commit b5675f500d ("rockchip: ensure NanoPi R4S has unique MAC address")
Co-authored-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
2022-12-25 02:27:55 +01:00
John Audia
90120a1552
kernel: bump 5.10 to 5.10.159
...
Removed upstreamed:
backport-5.10/888-v6.1-ca8210-Fix-crash-by-zero-initializing-data.patch[1]
All patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.159&id=0a8e66e375736ea12c11f0ef238ba2a8efec460b
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
2022-12-14 23:37:28 +01:00
Tianling Shen
a9089e4c14
rockchip: distribute R66S net interrupts
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-07 00:53:51 +08:00
Tianling Shen
758fe33877
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-06 02:58:58 +08:00
Kien Truong
d11d93b9ae
rockchip: enable watchdog driver
...
Enable Synopsys DesignWare watchdog driver for rockchip device
Tested on NanoPi R2S
Signed-off-by: Kien Truong <duckientruong@gmail.com>
2022-12-04 15:21:12 +08:00
Tianling Shen
c68eba039f
rockchip: move upstreamed header to files-5.15
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-27 19:01:06 +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
975b21fe93
rockchip: enable ONDEMAND cpu scaling gov
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-10 16:22:49 +08:00
Tianling Shen
141b784c4f
rockchip: remove unused old Kconfigs
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-11-10 16:19:49 +08:00