Commit Graph

55 Commits

Author SHA1 Message Date
KLT007
9a50fdefc9
rockchip:add arm64-dts-doornet1-add-rk3328-dmc-relate-node (#8092)
* Delete 809-arm64-dts-DoorNet1-add-dmc-and-dram-timing.patch

* Add files via upload

* Update 809-arm64-dts-doornet1-add-rk3328-dmc-relate-node.patch
2021-10-20 17:24:04 +08:00
Boos4721
50cce804be
kernel: bump 5.10 to 5.10.73 (#8064)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-17 14:53:09 +08:00
KLT007
17997a3ba9
DoorNet1:Missing file (#8062)
* Delete 809-arm64-dts-DoorNet1-add-dmc-and-dram-timing.patch

* Add files via upload

缺少一个文件
2021-10-16 14:58:13 +08:00
KLT007
1a4f339cb5
DoorNet1-add-dmc-and-dram-timing (#8053)
* Add files via upload

* Update 809-arm64-dts-DoorNet1-add-dmc.patch

* Update 809-arm64-dts-DoorNet1-add-dmc.patch

* Update 809-arm64-dts-DoorNet1-add-dmc.patch

* Update 809-arm64-dts-DoorNet1-add-dmc.patch

多一个空地方,防止在打补丁的时候顺序导致失败

* Delete 809-arm64-dts-DoorNet1-add-dmc.patch

* Add files via upload
2021-10-15 19:42:17 +08:00
AmadeusGhost
fb8a887bdf rockchip: revert upgrade part change again
Fixes: b1b36c86af
2021-10-15 13:30:47 +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
lean
8c900f879c rockchip: add default pacakge 2021-09-29 17:46:04 +08:00
Tianling Shen
0af413d211
rockchip: update binary name of idbloader (#7957)
In rockchip's proprietary ddrloader, the idbloader can be general and
no longer limited to the specific device.
This matches the behavior in arm-trusted-firmware-rockchip-vendor.

Fixes: dd71a38acb ("uboot-rockchip: update package")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-29 11:06:17 +08:00
lean
50d98983c2 rockchip: add NanoPi R2C support 2021-09-23 14:47:55 +08:00
hejiawencc
c2309f3515
rockchip: fix DoorNet1 dts and drop unneeded files (#7906)
* rockchip: drop unneeded files

* rockchip: fix DoorNet1 dts missing wifi enable pin
2021-09-23 00:46:24 +08:00
KLT007
12d4b91c8b
fix rockchip (#7846)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete 0001-Added-support-for-DoorNet1.patch

* Add files via upload

* Delete 0001-feat-rockchip-add-support-EmbedFire-DoorNet1-for-kernel-5.10.patch

* Add files via upload
2021-09-11 19:15:21 +08:00
KLT007
2480f819d1
rockchip add support EmbedFire DoorNet1 for kernel-5.10 (#7839)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete 0001-Added-support-for-DoorNet1.patch

* Add files via upload
2021-09-10 18:28:52 +08:00
KLT007
52c8a137ac
Added support for DoorNet1 devices (#7834)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete 0001-Added-support-for-DoorNet1.patch
2021-09-09 00:42:08 +08:00
AmadeusGhost
eed97b08c8
kernel: bump 5.4 to 5.4.140 (#7685)
* kernel: bump 5.4 to 5.4.139

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

* kernel: bump 5.4 to 5.4.140

Removed upstreamed bcm27xx/patches-5.4:
    950-0977-USB-gadget-f_hid-avoid-crashes-and-log-spam.patch
    950-0980-SQUASH-USB-gadget-f_hid-remove-more-spam.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-08-17 23:29:42 +08:00
coolsnowwolf
6c52a8ba07 kernel: bump 5.10 to 5.10.57 2021-08-15 15:08:57 +08:00
AmadeusGhost
1bd237de15
rockchip: revert upgrade part change (#7540) 2021-08-07 15:56:57 +08:00
coolsnowwolf
2e96602901 rockchip: import patch from immortalwrt 2021-08-06 23:05:53 +08:00
Yangbo
e6ec503071
fix RK3328 compile error on kernel 5.10.51 (#7505) 2021-07-24 15:56:52 +08:00
Rui Salvaterra
8575f72a6b kernel: bump 5.10 to 5.10.51
No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-22 23:55:59 +08:00
Beginner
32419ee4e4
Revert "kernel: bump 5.10 to 5.10.51 (#7437)" (#7473)
This reverts commit a8ad0940bf.
2021-07-22 17:53:15 +08:00
Beginner
a8ad0940bf
kernel: bump 5.10 to 5.10.51 (#7437)
* kernel: bump 5.10 to 5.10.51

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* linux/rockchip: update the USB 3.0 controller node patch

This has been added in Linux 5.10.51 [1], but it's broken/incomplete. Update our
patch and refresh the remaining patches.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.51&id=421aff50af5e4cdc56b3ac8d6b670e09697bc8ac

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-21 05:33:35 +00:00
AmadeusGhost
e6f03100aa
rockchip: fixes re-boot with UHS cards (#6482) (#7380)
Some boards have SD card connectors where the power rail cannot be switched
off by the driver. If the card has not been power cycled, it may still be
using 1.8V signaling after a warm re-boot. Bootroms expecting 3.3V signaling
will fail to boot from a UHS card that continue to use 1.8V signaling.

Set initial signal voltage in mmc_power_off() to allow re-boot to function.

This fixes re-boot with UHS cards on Asus Tinker Board (Rockchip RK3288),
same issue have been seen on some Rockchip RK3399 boards.

Signed-off-by: CN_SZTL <cnsztl@immortalwrt.org>

Co-authored-by: CN_SZTL <22235437+1715173329@users.noreply.github.com>
2021-07-14 21:57:15 +08:00
lean
55d545b926 luci-app-cpufreq : move to target 2021-06-21 15:44:56 +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
HF
6aa3ed2b19
fix Orangepi R1 Plus boot (#6707)
* Update 103-rockchip-rk3328-Add-support-for-Orangepi-R1-Plus.patch

修复一下编译后不能用的问题(用的是Orangepi官方发布的代码)

* Update 202-rockchip-rk3328-Add-support-for-OrangePi-R1-Plus.patch

修复编译固件之后不可用的问题(用的是Orangepi官方项目的代码)
2021-04-18 10:08:57 +08:00
lean
a10aead5be kernel: bump 5.4 to 5.4.109 2021-04-03 17:02:54 +08:00
AmadeusGhost
ee6fb24811
rockchip: add support for OrangePi R1 Plus (#6620)
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>
2021-03-30 14:03:34 +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
5317abee94
rockchip: nanopi-r4s: refresh latest patches accepted by upstream (#6583)
Link: https://lore.kernel.org/r/20210319051627.814-2-cnsztl@gmail.com
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 13:12:59 +08:00
CN_SZTL
757e42d707
rockchip: add execute permission for network setup script (#6566)
Fixes: f4b1b358fe ("rockchip: sync latest codes from ImmortalWrt (#6522)")

Closes: #6534
Closes: #6548
Closes: #6563

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-03-20 01:13:40 +08:00
CN_SZTL
779cf0f600
rockchip: leds: fix boardname for NanoPi R4S (#6535)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 13:19:39 +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
1b93a9705f
rockchip: nanopi-r4s: use vendor driver for PCIe ethernet adapter (#6512)
Vendor driver seems to be better than the one from kernel mainline.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 15:26:35 +08:00
CN_SZTL
a38300a096
rockchip: fixes re-boot with UHS cards (#6482)
Some boards have SD card connectors where the power rail cannot be switched
off by the driver. If the card has not been power cycled, it may still be
using 1.8V signaling after a warm re-boot. Bootroms expecting 3.3V signaling
will fail to boot from a UHS card that continue to use 1.8V signaling.

Set initial signal voltage in mmc_power_off() to allow re-boot to function.

This fixes re-boot with UHS cards on Asus Tinker Board (Rockchip RK3288),
same issue have been seen on some Rockchip RK3399 boards.

Backport from https://lore.kernel.org/linux-rockchip/AM3PR03MB09664161A7FA2BD68B2800A7AC620@AM3PR03MB0966.eurprd03.prod.outlook.com/

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 10:09:35 +08:00
AmadeusGhost
5b1838d04d
kernel: bump 5.4 to 5.4.95 (#6340) 2021-02-08 17:13:28 +08:00
lean
48f9978555 rockchip: use USB host by default on R4S 2020-12-23 00:29:53 +08:00
lean
2a0b915c53 rockchip: add support for FriendlyARM NanoPi R4S (not stable) 2020-12-21 18:45:26 +08:00
Beginner
f8035eb8a1
kernel: bump 5.4 to 5.4.84 (#6066) 2020-12-21 11:00:13 +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
lean
6edffa8419 rockchip: add support for NanoPi R4S 2020-12-11 10:33:58 +08:00
CN_SZTL
67198ef5be
rockchip: increase volt of 1.5ghz to 1.5v for stability (#5703) 2020-11-10 14:54:32 +08:00
coolsnowwolf
126df018db rockchip: R2S cpu freq limite to 1512mhz 2020-10-20 13:49:13 +08:00
CN_SZTL
c39177efcf
autocore: add cpu freq & temp display for some arm devices (#5657)
* autocore: add cpu freq & temp display for some arm devices

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>

* Revert "show CPU Temperature for NanoPi R2S (#5612)"

This reverts commit 099439f051.

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-10-13 01:07:17 +08:00
6667933
6fac299e61
remove 82_show_temp to resolve r2s start up problems (#5656) 2020-10-13 01:04:11 +08:00
Yangbo
099439f051
show CPU Temperature for NanoPi R2S (#5612)
Co-authored-by: Yangbo Wei <467815891@qq.com>
2020-10-07 23:25:41 +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
b5fa901e0b
rockchip: improve FriendlyElec NanoPi R2S support (#5578)
* rockchip: refresh NanoPi R2S patches

Update the patches for the NanoPi R2S to the v3 sent (and accepted)
upstream.

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

* rockchip: rk3328: add compatible to NanoPi R2S ethernet PHY

This adds the compatible property to the NanoPi R2S ethernet PHY node.
Otherwise, the PHY might not be probed, as the PHY ID reads all 0xff
when it is still in reset.

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

* uboot-rockchip: update NanoPi R2S patches

Update the patches required for the NanoPi R2S to match the DTS accepted
for upstream Linux. The U-Boot patch meanwhile is still pending
upstream.

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

* rockchip: refresh target patches

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
Co-authored-by: wevsty <ty@wevs.org>

* rockchip: fix NanoPi R2S PHY ID

Fix the PHY ID for the NanoPi R2S PHY compatible to match the used PHY.
The ID was wrong as I've accidentally picked the wrong upstream patch.

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

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: wevsty <ty@wevs.org>
2020-10-03 00:27:34 +08:00
AmadeusGhost
404209f6c4
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
  431fb8c mac80211: add AQL improvements
  6bdd4c9 mac80211: add missing backports for building with 4.14 kernels
  0106820 mac80211: add missing return code checks in AQL improvements
  e7f7101 mac80211: rework encapsulation offload support

[package]
  base-files: add function for generating random MAC
  dnsmasq: abort dhcp_check on interface state
  boot: sync upstream source code
  ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD

[script]
  download: add China Mirror Station

[target]
  Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape,
        mediatek, mvebu, octeon, oxnas, pistachio, uml
  Sync most of the target patches.

Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
2020-08-26 11:31:50 +08:00