Commit Graph

19 Commits

Author SHA1 Message Date
Kien Truong
80ccee5b7e rockchip: disable all kernel preemption
This setting is more suitable for device running OpenWRT.
Most OpenWRT targets are already default to this configuration,
and it has shown better performance in VPN (wireguard).

Signed-off-by: Kien Truong <duckientruong@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-01-12 22:20:09 +08:00
Hauke Mehrtens
324be47ffd 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-03 21:50:27 +08:00
coolsnowwolf
f57ce2a85e rockchip: add USB3.0 phy support for RK3328 2023-04-11 16:36:24 +08:00
AmadeusGhost
dd6c384a06 rockchip: increase default cma size to 64MB 2023-01-18 21:00:54 +08:00
AmadeusGhost
22d08ddd3d rockchip: revert to origin defaults
The current target code is too chaotic, the patches are
messy and disorderly, and there are still many duplicate
code. Pack it back to half a year ago.
2022-09-01 11:28:49 +08:00
AmadeusGhost
89cea59694 rockchip: drop all ugly phy hack code
These junk code breaks other phy drivers, just remove it.
2022-08-21 15:18:14 +08:00
google-you-ok?
972c8aed91
kernel:rockchip:phy add JLSemi jl2xxx driver (#9563)
* drv-net-phy-add-JLSemi-jl2xxx-driver

* drv-net-phy-add-JLSemi-jl2xxx-driver

* drv-net-phy-add-JLSemi-jl2xxx-driver

* Enable JL201 config

* Enable JL201 config

* Enable JL201 config

* change default driver

Since the mac80211 driver cannot turn on the wireless, it can only be turned off by default.
2022-06-14 02:23:49 +08:00
lean
4d7056dd7e rockchip: add missing symbol 2021-10-08 16:42:22 +08:00
lean
b1b36c86af rockchip: add yt85xx eth support for R2C 2021-10-08 16:22:39 +08:00
coolsnowwolf
2e96602901 rockchip: import patch from immortalwrt 2021-08-06 23:05:53 +08:00
lean
72f3ab2009 rockchip: sync upstream 2021-06-16 15:04:58 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
lean
f341ef96fe rockchip: add DRM driver for R2S/R4S (Jellyfin HW decode and encode 2021-03-27 15:08:00 +08:00
CN_SZTL
f4b1b358fe
rockchip: sync latest codes from ImmortalWrt (#6522)
uboot:
 - immortalwrt/immortalwrt@7a042afdee uboot-rockchip: fix RockPro64 boot from eMMC
 - immortalwrt/immortalwrt@f450acefb0 uboot-rockchip: update to v2021.01
 - immortalwrt/immortalwrt@5cc1d3df78 rockchip: improve support for NanoPi R4S
 - immortalwrt/immortalwrt@83d3fb9634 uboot-rockchip: add NanoPi R4S support
 - immortalwrt/immortalwrt@3d86ffedd7 uboot-rockchip: update to v2020.10
 - immortalwrt/immortalwrt@fe5fa0c7ab Revert "uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards"

target:
 - immortalwrt/immortalwrt@f67522e532 rockchip: add support for Radxa Rock Pi 4
 - immortalwrt/immortalwrt@cd7fd0c77b rockchip: add NanoPi R4S support
 - immortalwrt/immortalwrt@02395293a2 rockchip: fix SUPPORTED_DEVICES for Radxa ROCK Pi 4
 - immortalwrt/immortalwrt@c7b200b8a2 rockchip: re-order patches
 - immortalwrt/immortalwrt@aee038e773 rockchip: refresh Kconfig
 - immortalwrt/immortalwrt@22061b2880 kernel: enable CONFIG_LEDS_TRIGGER_HEARTBEAT
 - immortalwrt/immortalwrt@b1150de9e4 rockchip: add missing Kconfig symbols
 - immortalwrt/immortalwrt@ab28d07c3b treewide: fix spelling 'seperate' -> 'separate'
 - immortalwrt/immortalwrt@6401fca74d rockchip: use native mac address for NanoPi R4S

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 11:52:00 +08:00
CN_SZTL
37836e0c3d
rockchip: enable hwRNG for rk3399 by default and remove R4S support (#5916)
* Revert "rockchip: add support for NanoPi R4S"

This reverts commit 6edffa8419.

* rockchip: move hwRNG driver to files

* rockchip: drop hwRNG support for NanoPi R2S

* rockchip: enable hwRNG on rk3399 by default

* rockchip: enable hwRNG crypto engine in Kconfig

* rockchip: sync upstream patch

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-12-12 11:33:26 +08:00
CN_SZTL
0bfbe98823
Revert "uboot-rockchip: update NanoPi R2S patches" (#5596)
* Revert "uboot-rockchip: update NanoPi R2S patches"

This reverts commit bda6f6572be630bcf9a1c8a429e40d8a53033af5.

This commit breaks the onboard ethernet on some units. Revert it for
now.

Signed-off-by: David Bauer <mail@david-bauer.net>

* rockchip: enable Realtek PHY support

The NanoPi R2S features a Realtek Gigabit Ethernet PHY. Enable the
Realtek specific PHY driver to correctly configure internal delays.

Signed-off-by: David Bauer <mail@david-bauer.net>

* uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards

Add regulator-boot-on parameters to vcc_sd.
Add startup-delay-us parameters to vcc_sdio.
This will improve the problem that in some SD cards are failing to boot up.

Signed-off-by: Yuan Tao <ty@wevs.org>

* rockchip: fix NanoPi R2S GMAC clock name

This commit fixes the name for the GMAC clock to gmac_clkin, as this is
the name of the clock provided by the rk3328-clk driver.

Without this commit, the GMAC will not work in TX direction.

Suggested-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: Yuan Tao <ty@wevs.org>
2020-10-07 23:22:52 +08:00
CN_SZTL
093cfcf243
target/rockchip: drop ugly hacks (sync with official) (#5218) 2020-07-29 19:02:51 +08:00
coolsnowwolf
c7c02dfae9 rockchip: add support for NanoPi R2S arm64 router board 2020-07-02 23:34:55 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00