Commit Graph

4036 Commits

Author SHA1 Message Date
Igor Pečovnik
de26797423 Move all legacy u-boot patches under one general legacy folder (#4386)
* Move all legacy u-boot patches under one general legacy folder

* Move 32b Rockchip under 2022.04 and legacy for Miqi

Tested

* Move Rock 3A patch dir under legacy

* Move / merge meson64 patch folder into v2022.07

Merge 2022.04 (mainly Rockchip 32) into 2022.07, tested

* Remove not needed patch

* Add last kernel version to config
2022-11-06 20:32:46 +01:00
Paolo
b5882bd596 rk322x: fix broadcast/multicast layer2 packets for ssv6051 (#4378)
* rk322x: fix layer2 broadcast/multicast packets handling

* rk322x: remove unapplicable patch
2022-11-05 07:54:34 +01:00
balbes150
4c3ad68a25 fix dts for rk3399-firefly 2022-11-03 09:19:09 +03:00
Joe Khoobyar
af24261cad AR-1301: add edge and desktop (#4377)
* add rockpi patches to linux-6.0.y

* enable desktop test builds
2022-11-02 10:45:35 -04:00
Igor Pečovnik
9780da320e Add Radxa ROCK Pi 4C Plus (#4129)
* Add Rockpi 4C+

* add newer patches:

- apply patches from RadxaNaoki <noaki@radxa.com>
  - ref 5652d6f9c2a4e2c50ac1040c0388859381b0616f: arm64: dts: rockchip: add gmac for ROCK 4C+ (#17)
- apply latest patches from Marcone <marco.nelissen@gmail.com>
  - ref e39da181b099a86f5440ed1c08fc699d4a65aed7: arm64: dts: rockchip: Make Rock Pi 4C+ ethernet actually work
  - ref 8c519612eeb852268371b3c596eec4622460e5bf: arm64: dts: rockchip: add Rock Pi 4C+ LEDs
  - ref 726441afe687ea6059bac37f145ff204b75430f7: arm64: dts: rockchip: enable Rock Pi 4C+ wifi
  - ref caad7bef3b5558e2598480c0a0089e2ac3cedcdd: arm64: dts: rockchip: enable Rock Pi 4C+ nvme
  - ref 6cdc3215d1691bcd2a407a30e88efa0cec179eb2: arm64: dts: rockchip: enable Rock Pi 4C+ OTG

* default top USB3 port to host mode

* get 2nd HDMI port to work at least. :)

* revert OTG USB3.1 port back to otg mode

* [rockpi4c+] update board def.  add usb host overlay.

* remove redundant HDMI clocks and voltages

* enable test builds for Rock PI 4 C+

* [rockpi4c+] add USB host overlay

Co-authored-by: Joe Khoobyar <fourheads@gmail.com>
2022-11-02 06:58:31 +01:00
Igor Pečovnik
9f7d9ff5c3 Add CSC Odroid M1 with legacy, current and edge kernel (#4368)
* `odroidm1`.wip: hk's `legacy`= 4.19 and `edge`= mainline+tobetter's 5.19 rebased; *requires* `skip_spiboot=true`

- @TODO: family/etc naming is terrible with vendor kernels. Sorry. Fight over it and let me know?
- @TODO: config is very probably incomplete.
- new `boot-rockchip64-vendor.cmd`:
  - does not use fixed load_addr, instead use ramdisk_addr_r for everything
  - load kernel and initrd as late as possible
  - look for overlays twice:
    - once: with prefix and folder
    - twice: without prefix, nor folder; helps with vendor provided overlays like hk's and tobetter's
- wip: edge: tobetter's patchset rebased against 5.19.3
- wip: edge: bump to tobetter's 5.19
- legacy: .config `CONFIG_ARM64_VA_BITS_48=y`
- wip m1: update legacy config from odroid
- odroidm1: container/bpf stuff in legacy config

* Update configs and enable beta build target

* Adjust current kernel

* Update targets

* Remove everything but EDGE kernel

* Cleanup

* Fix

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-30 21:09:16 +01:00
Igor Pečovnik
224b784d6c Revert "Add an attempt counter, which helps buggy PCIe links. (#4308)" (#4369)
This reverts commit 27bbf8bbaa.
2022-10-30 10:55:13 +01:00
Oleg
2cdfc4bf0b fix wifi\bt and analog sound for opi800 (#4364) 2022-10-29 10:51:18 +02:00
Julian Sikorski
4e615d8ead Update odroidxu4-current to 5.4.220 (#4362) 2022-10-28 21:53:18 +02:00
Oleg
4a563407d1 fix patch jetson nano (#4359) 2022-10-28 18:18:10 +02:00
David Manouchehri
27bbf8bbaa Add an attempt counter, which helps buggy PCIe links. (#4308)
* Add an attempt counter, which helps buggy PCIe links.

* Adjust patches

* Add PCIe retry patch for rockchip64-6.0.

Co-authored-by: Igor <igor@armbian.com>
2022-10-26 21:32:42 +02:00
David Manouchehri
0d67456651 Add kASLR for rk3399 u-boot (#4311)
* Add rk3399's rng to u-boot.

* Add kASLR support to the NanoPi R4S' u-boot.

* Fix rng for rk3399.

The manual clocks screw it up, so remove those.
2022-10-26 18:30:33 +02:00
Igor Pečovnik
63fa7cb0cc Bump sunxi to latest and remove deprecated patch (#4351) 2022-10-26 18:00:36 +02:00
hzyitc
01e5e2ca37 meson: edge: bump v6.0 (#4348)
* meson: edge: Bump v6.0

* meson: edge: refresh patches

* meson: edge: refresh config
2022-10-26 09:33:31 +02:00
Igor Pečovnik
901d699a58 Fix also patches in station patch directory (#4347) 2022-10-26 09:33:14 +02:00
Igor Pečovnik
85977f1091 Fixes for Media CURRENT and XU4 edge (#4346) 2022-10-25 21:50:42 +02:00
The-going
bd72c996b7 Bump sunxi to 6.0.y (#4282)
* sunxi-6.0: initial state: add megous patches to series

* sunxi-6.0: Switch to v6.0.1

* wifi: Limit the version 6.0 for Realtek 88x2cs chipsets

* Adjust kernel configs

* Remove not needed patches

* Adjust broken patches

Co-authored-by: Igor <igor@armbian.com>
2022-10-25 20:39:08 +02:00
Igor Pečovnik
f2c2bba069 Bump imx6 edge to 6.0.y (#4339) 2022-10-25 20:38:56 +02:00
Igor Pečovnik
5a82aea458 Bump UEFI edge kernels to 6.0.y (#4340) 2022-10-25 20:38:44 +02:00
Igor Pečovnik
1b12209ded Bump meson64 edge to 6.0.y (#4341)
* Bump meson64 edge to 6.0.y

* meson64: drop `pwm-gpio` unused patch from 5.19

* meson64: drop `pwm-gpio` unused patch from 6.0

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-25 20:38:31 +02:00
Igor Pečovnik
32a1b1409f Bump Rpi EDGE kernel to 6.0.y (#4338)
* Bump rpi to 6.0.y

* Add Kinetic
2022-10-25 17:53:55 +02:00
Igor Pečovnik
a6c02f5e05 Additional fixes for Rockchip64 EDGE kernel (#4343) 2022-10-25 17:53:38 +02:00
Igor Pečovnik
6765f734cc Bump rockchip64 edge to 6.0.y (#4337)
* Bump rockchip64 edge to 6.0.y

Build test passing

* Update kernel config, enable aufs, disable broken wireless, remove deprecated patch
2022-10-25 11:26:51 +02:00
Igor Pečovnik
e2765ce892 Adjust media edge kernel compilation (#4314) 2022-10-22 00:11:03 +02:00
Igor Pečovnik
0dcb2fdf56 Remove mvebu/mvebu64 legacy kernels (#4292) 2022-10-22 00:10:52 +02:00
David Manouchehri
504c8462f1 Fix filename typo. 2022-10-21 23:19:07 +02:00
David Manouchehri
78a406d73f Add rk3399's rng to kernel dts. 2022-10-21 23:19:07 +02:00
David Manouchehri
8662fdb2e0 Add rk3399's rng to u-boot. 2022-10-21 23:18:50 +02:00
hobbsAU
cd444a5d71 PWM fan fix for tegra (#4293)
* Fix tegra210 and other tegra PWM fan module

* Fix tegra210 and other tegra PWM fan module
2022-10-17 18:58:35 +02:00
Igor Pečovnik
3ed6c224f1 Remove deprecated kernels (#4283)
* Remove deprecated Odroid XU4 legacy 4.14.y branch

* Clean deprecated kernels from meson64 family

- legacy kernel 4.9 was removed
- current 5.10 was replaced with 5.19
- edge remains on 5.19 until someone bumps it to 6
- patches between 5.11 and 5.18 were removed, 5.10 will be kept for awhile

* Update configs
2022-10-15 19:32:53 +02:00
Julian Sikorski
a8b9799f66 Update odroidxu4-current to 5.4.218 (#4290) 2022-10-15 12:08:04 +02:00
brentr
f6f3f1b8b0 Restored Hardware Random Number Generator from legacy (4.4) kernel (#4286)
so boot no longer starves for entropy, delaying for up to 15 seconds
Advances kernel to v5.19.15
2022-10-15 10:46:04 +02:00
Igor Pečovnik
f99b356ff4 Bump Rockchip64 u-boot to 2022.07 (#4246) 2022-10-14 09:19:50 +02:00
brentr
d3a3afe385 Rockpis wifi fixes (#4008)
* RockPI-S board has no video I/O

* udev rule to fix MAC address of iface based on UUID

Deals with WiFi chip lacking any EEPROM to store its unique Ethernet MAC address
Generic mechanism -- could be utilized for other boards having similar issues

* Handy Device Tree overlays for the RockPI S

Use armbian-add-overlay to install these

Reduce CPU voltage for the RK3308 B-S
  Option to overclock RK3308 B-S to 1.3Ghz

Increase SDIO clock rate from 1Mhz to 10Mhz
  This increases WiFi throughput from 300K bytes/s to 2.4M bytes/s

* corrected comment

* No longer repeat standard opp's in this dts

Require that the standard bs dts already be installed

* User README for adding RockPI-S board variant specific dts overlays

* "enabled" --> "okay"

* added mention of sdnand.dts, fixed typo

* added p2p0 to interfaces whose MAC address should be "fixed"

* RK3308 CPU serial number in nvmem replaces UUID for derivation of fixed MAC addr
Restored use of install utility

* Use RK3308 specific CPU serial number

rather than rootfs UUID

* remove generic fixMACaddress

* Install fixMACaddr file-by-file via install utility

* Drive SDIO bus signals faster

setting RK3308_SOC_CON0_VCCIO3 reduces signal rise/fall times to WiFi SDIO chip
from 30ns to 5ns.
This odd fix forward ported from legacy kernel.
Allows Rock Pi-S WiFi to operate at full speed.

* Set RK3308 I/O voltage domains before SDIO initializes

This patch moves responibility form the io-domain to the pinctrl driver because
the io-domain driver is probed after the SDIO devices are discovered.
This was causing multiple SDIO I/O failures during boot.

A new pinctrl property is added:
io-1v8-domains
is a u32 interpreted as a bit mask where each set bit corresponds to
a 1.8V I/O domain (as opposed to the default of 3.3V for I/O)
The mask is writted to the RK3308_SOC_CON0 GRF register
(once) when the pinctrl driver starts

The default mask is 0x10 where only I/O domain 4 runs at 1.8V

This is necessary for the RockPI-S to run the SDIO clock at high (50Mhz) speed

* align whitespace

* factored rk3308bs overlays out up sdio speedup patch

* factored dts for RK3308 iodomains and pinctrl patches out of speedup patch

* remains of sdio speedup patch merely add iodomains support for rk3308

* factored rockpis dts modification out from rk3308 io voltage domains

replaced rk3308 support from iodomains with
new io-voltage-domains property added to pinctrl
io-voltage-domains specific to rk3308 for now, others SOCs may be added later.

* add sequence numbering to names of rk3308 patches

* corrected tab alignment
2022-10-13 18:34:43 +02:00
Paolo
f2ddee56a1 fix orangepi4-lts rk808 interrupt line, sdcard detection and wifi freq (#4278) 2022-10-13 18:17:46 +02:00
Werner
bdb941559a Revert "Add-h616-cpu-frequency-scaling (#4250)" (#4279)
This reverts commit c2186a506c.
2022-10-13 18:17:35 +02:00
Paolo
e799495de9 reinstate ipx.h header file for rockchip64 current 5.15 kernel (#4268) 2022-10-12 11:22:44 +02:00
Paolo
78bbdf44d0 rockchip64: add ssv6051p wifi driver for current and edge kernel (#4269)
* Add ssv6051p wifi driver for rockchip64 current and edge kernel

 * also reorders and tidies device tree overlays for rk3318-box

* increase ssv6051 sdio bus to 50MHz in the driver
2022-10-12 11:22:33 +02:00
hzyitc
f2a61e9888 meson: edge: bump v5.19 (#4272)
* meson: edge: Bump v5.19

* meson: edge: refresh patches

* meson: edge: refresh config
2022-10-12 11:22:14 +02:00
Paolo
cf8218a83a rk322x: fix usb otg port disabled by mistake (#4274) 2022-10-12 11:22:03 +02:00
Jannis
bd3466eef2 Fix mvebu current pwm timer patch (#4275) 2022-10-12 11:21:51 +02:00
AGM1968
c2186a506c Add-h616-cpu-frequency-scaling (#4250) 2022-10-12 11:21:25 +02:00
Julian Sikorski
27aae916f3 Update odroidxu4-current to 5.4.217 (#4265) 2022-10-07 22:16:17 +02:00
Oleg
3ff351cc52 move media current 5.19 and edge 6.0 (#4262)
* move media current 5.19 and edge 6.0

* del old patch
2022-10-06 18:07:36 +02:00
Igor Pečovnik
7c5d07d304 Bump sunxi and disable broken patch (#4261) 2022-10-06 12:54:20 +02:00
Paolo Sabatino
68140259e1 fix default sample phase for newer eMCP boards, remove unexisting leds
for led-conf6
2022-10-04 21:59:14 +02:00
Igor Pečovnik
15cab819fe Add support for Bananapi M5 / M2P (#4251)
* Add initial support for Bananapi M5 / M2P

* Move to a branch that was tested with eMMC
2022-10-04 10:50:00 +02:00
Julian Sikorski
99642606cb Update odroidxu4-current to 5.4.215 (#4249) 2022-10-04 06:40:04 +02:00
Paolo Sabatino
c5117ff37a rk322x: add esp8089 driver for mainline kernels 2022-10-03 14:34:13 +02:00
Paolo Sabatino
528cbb3ec2 rk322x: comment IPX code in rtl8723cs driver to avoid ipx.h complaints 2022-10-03 14:33:47 +02:00