Commit Graph

3833 Commits

Author SHA1 Message Date
hzyitc
6328187c1f
meson: legacy: bump to 5.10.155 (#4451) 2022-11-16 18:39:36 +01:00
Ricardo Pardini
3e7789445c
odroidm1: use mainline 6.1-rc5, grab DTS only from mmind/v6.2-armsoc/dts64 as single patch; +armbian-nextify (#4452) 2022-11-16 18:39:25 +01:00
RadxaNaoki
c3db31bde2
enable es8316 audio properly (#4433)
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Co-authored-by: Igor <igor@armbian.com>
2022-11-16 11:32:03 +01:00
Paolo
ed2c6d3c67
rockchip: advance edge kernel to v6.0 (#4445) 2022-11-15 20:22:47 +01:00
Paolo
c95f5157f7
rockchip64: fix broken 6.0 drivers, reshape config (#4442) 2022-11-15 20:19:30 +01:00
Paolo
35db7a3995
rk322x: bump kernel to 6.0 (#4443)
* rk322x: advance edge kernel to 6.0

 * accomodate fixes to ssv6051, esp8089 and rtl8723cs drivers, dmc
   driver, mglru patch
 * update libreelec patches to latest bits

* import fix from ssv6051 driver for 64-bit
2022-11-15 20:19:17 +01:00
Igor Pečovnik
8b4a9f3296
Bump to most recent sunxi kernel (current) (#4440)
* Bump to most recent sunxi kernel (current)

* sunxi-5.15: rework for v5.15.78 (#4444)

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-11-15 22:08:16 +03:00
Ricardo Pardini
9ad65d83eb
More updates for Radxa's Amlogic boards (radxa-zero and radxa-zero2) (#4429)
* `meson64`: `6.0`: g12a and g12b pinmux patches from Radxa

* u-boot: `radxa-zero2`: Radxa's patches for the Zero2 on `v2022.10`

* u-boot: `radxa-zero2`: use `v2022.10` plus Radxa's patches

* `meson64` u-boot v2022.10: change `BOOT_TARGET_DEVICES` to try to boot USB, NVME and SCSI before SD, MMC, PXE, DHCP

* `radxa-zero`: include v2022.10 standard patches (eg: boot from USB first)
2022-11-14 14:59:45 +01:00
Paolo Sabatino
5cdd5cdd59 fix patch with broken hunk, update other patch from libreelec set 2022-11-14 00:19:38 +01:00
Paolo Sabatino
ae36e56171 add reset properties for rkvdec and iep nodes, minor fix to rkvdec 2022-11-14 00:19:38 +01:00
Oleg
c29e51c708
move kernel media-edge to 6.0.7 (#4405)
* move kernel media-edge to 6.0.7

* fix name
2022-11-12 10:51:25 +01:00
Oleg
738c161307
move kernel media-current to 5.19.17 (#4406)
* move kernel media-current to 5.19.17

* fix name
2022-11-12 10:11:22 +01:00
The-going
58b77e1cfd
Sunxi 6.0: update megous patches, switch to v6.0.8 (#4425)
* sunxi-6.0: update upstream megous patches to tag orange-pi-6.0-20221105-1830

* sunxi-6.0: rebase to v6.0.8

* sunxi-6.0: switch to v6.0.8
2022-11-12 10:54:18 +03:00
Ricardo Pardini
98c95c00ba
Updates for Radxa's Amlogic boards (radxa-zero and radxa-zero2) (#4420)
* `radxa-zero` &  `radxa-zero2`: set `BOOT_FDT_FILE` explicitly; no real changes

* `radxa-zero2`: `6.0`/`edge`: update Radxa Zero 2 DTS patch with Radxa's latest

* `radxa-zero`: `6.0`/`edge`:  update USB-C patch with "fix interrupt storm from fusb302"

* `radxa-zero`: use pure mainline v2022.10 u-boot with no patches
2022-11-11 19:29:48 +01:00
Vyacheslav
8ad4114bce
Add meson-gx mmc driver patches for use phase clock settings from dts (#4408)
Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2022-11-10 21:50:09 +01:00
Julian Sikorski
b395e2aa75
Update odroidxu4-current to 5.4.223 (#4389) 2022-11-06 21:49:32 +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
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
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
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
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
Igor Pečovnik
31ac6383e1
Bump sunxi kernels (#4226)
* Bump sunxi kernels

* sunxi-5.19: Remove pre-applied patch, adapt for series

* sunxi-5.15: Adapt patches to the series, remove previously applied

* Bump it again

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-09-28 22:00:34 +02:00
Oleg
6f125a95c5
fix usb for nanopc t4 (#4235) 2022-09-26 18:35:17 +02:00
aiamadeus
8648dde23f
rockchip: fixes support for orangepi-r1plus (#4215)
* rockchip: replace r8152 patches with openwrt

* rockchip: fixes support for orangepi-r1plus

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-22 10:25:28 +02:00
unifreq
ab70cb247f
rockchip-rk3588-legacy: kernel patch up to 5.10.72 (#4195)
* scripts: fix modpost & lld-version

* rockchip-rk4588-legacy: patch-5.10.69-70

* rockchip-rk3588-legacy: patch-5.10.70-71

* rockchip-rk3588-legacy: patch-5.10.71-72

* drv: usb: gadget: legacy: fix webcam.c compilation errors

    drv: usb: gadget: legacy: fix webcam.c compilation errors
    drivers/usb/gadget/legacy/webcam.c: In function ‘webcam_bind’:
    drivers/usb/gadget/legacy/webcam.c:386:37: error: ‘UVC_NUM_REQUESTS’ undeclared (first use in this function)
      386 |         uvc_opts->uvc_num_request = UVC_NUM_REQUESTS;
          |                                     ^~~~~~~~~~~~~~~~

* Update config

Co-authored-by: Igor <igor@armbian.com>
2022-09-20 21:34:48 +02:00
aiamadeus
d7ead89cc2
sunxi: add nanopi r1s h5 support (#4201)
* sunxi: add nanopi r1s h5 support

* sunxi: also disable debug log for rtl8189es

* Add nanopi-r1s-h5 to build targets

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-20 14:53:11 +02:00
Igor Pečovnik
2f1140edb1
Re-enable Neo3 in the EDGE kernel (#4193) 2022-09-20 08:50:23 +02:00
hzyitc
1ad2e6aeb0
meson: current and legacy: Support HDMI (#4177)
* meson: current: Support HDMI
* meson: legacy: Support HDMI
2022-09-14 16:33:44 +02:00
The-going
06a5344d1c sunxi-5.19: rebase patches to v5.19.8 2022-09-10 15:24:31 +03:00
The-going
4219126c3d sunxi-5.19: Add upstrem megous patches 2022-09-10 15:24:31 +03:00
Julian Sikorski
72543056b3
Update odroidxu4-current to 5.4.212 (#4161) 2022-09-07 20:53:46 +02:00
c0rnelius
f59a78a9ff
meson64: meson g12 gxl cma pool 896MB overlay (#4151)
G12/GXL boards with memory of 1GB or lower are unable to boot because the CMA memory pool is set to high. Leaving CMA at the default and providing an overlay for those who need or want the CMA higher, makes more sense than not supporting all possible memory options provided by said SoC(s).
2022-09-05 11:11:36 +02:00
The-going
ce9e47d397
sunxi-5.19: update megous patches and switch to v5.19.5 (#4134)
* sunxi-5.19: type: Delete lines of non-existent files

* sunxi-5.19: update the upstream megous patches

* sunxi-5.19: switch EDGE to v5.19.5

* Update sunxi64_common.inc

* Update sunxi_common.inc

* Update sunxi64_common.inc

* Update sunxi_common.inc

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-09-01 23:07:32 +02:00
Paolo
cd58683a75
rk322x: device tree tidying up, add cooling maps and ir remote maps (#4126)
* tidy up rk322x dtb for edge, add cooling maps

* tidy up rk322x dtb for current, add cooling maps

* add rk322x tvbox remote keymap for current kernel
2022-09-01 23:07:00 +02:00
Igor Pečovnik
03dbd9d3a7
Move header revert patch under misc patches (#4128)
* Move header revert patch under misc patches as its only related to extra wifi drivers

* Update text
2022-08-29 08:44:21 +02:00
Igor Pečovnik
2fb3aaaf86
Add patches needed for Pi-KVM on Rpi4 (#4127)
* Add patches needed for Pi-KVM on Rpi4

* Remove patch that does not belong here

* Update config

* Update edge config
2022-08-29 08:43:24 +02:00
hzyitc
7439ebbbeb
meson: edge: bump to mainline v5.18 (#4123)
* meson: edge: switch back to mainline linux-5.18.y

* meson: edge: Upgrade config
2022-08-28 07:59:45 +02:00
Igor Pečovnik
38df56fbf3
Move to tag and remove not needed patches (#4120) 2022-08-27 08:33:30 +02:00
Igor Pečovnik
7a3ad3afb2
Enable Docker up on Rock 5 (#4058)
* Attempt to bring Docker up

* Update txt

* Add few patches
2022-08-26 00:45:10 +02:00
Igor Pečovnik
3bb12e09a6
Bump sunxi to latest version (#4115)
* Bump sunxi

* sunxi-5.19: Delete unnecessary (#4116)

* sunxi-5.15: Delete unnecessary

* sunxi-5.15: fix rebase to v5.15.63

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-08-26 00:44:56 +02:00
Jianfeng Liu
4b89c64129
remove a patch making rk3288 vga flicker (#4111) 2022-08-24 09:00:48 +02:00
Paolo Sabatino
39760f3020 rockchip64: remove inno usb2 phy init code causing kernel fault 2022-08-23 21:36:43 +02:00
Oleg
fd3fec26d7
fix build 5.18.19 (#4106) 2022-08-22 15:11:52 +02:00
Igor Pečovnik
9333893d74
Bump sunxi to 5.19.3 (#4100)
* Bump sunxi to 5.19.y

* Bump sunxi (#4103)

* sunxi-5.19: Empty. Patch Adaptation

* sunxi-5.19: Add multiple patches from the megous upstream

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-08-21 20:45:11 +02:00
hzyitc
6ba59da07a
meson: bump kernel versions (#4102)
* meson: bump version

bump edge to thirdparty linux-5.18-rc7
bump current to linux-5.15
change legacy back to LTS linux-5.10

* Upgrade kernel config

* meson: edge and current: Enable NTFS3 driver
2022-08-21 20:44:50 +02:00
Igor Pecovnik
7a9991a650 Fix the same in lps170 driver and refresh kernel config 2022-08-21 14:40:58 +02:00
Paolo Sabatino
271a3ce056 rk322x: fix AMPDU costant for ssv6051 driver 2022-08-21 14:40:58 +02:00
Igor Pečovnik
aa99cb64c3
Solve compatibility issues for some of wifi patches (#4087)
* Solve compatibility issues for some of wifi patches, disable those that needs more work

* Fix 8812au

* Update to re-enable RTL88x2CS driver for 5.19.2+

* Add 8723ds and rename others

* Following naming convention

* Name

* Adjust UWE5622 for 5.19.2

* Update UWE5622 patch for sunxi

* Enable last one

* Fixes for 8723DU

Co-authored-by: Vyacheslav Bocharov <adeep@lexina.in>
2022-08-20 07:44:35 +02:00
Oleg
6123307c2a
fix buid kernel 5.19.2\5.18.8 (#4088) 2022-08-19 18:10:30 +02:00
The-going
65804f4f9e
Sunxi 5.19 (#4084)
* sunxi-5.19: EDGE: switch to v5.19.2

* sunxi-5.19: fix megous patches

* sunxi-5.19: adapt armbian patches to v5.19.2

* sunxi-5.19: update upstream megous patches
2022-08-19 07:53:06 +03:00
Paolo Sabatino
5326e1061f rk322x, rockchip64: fix edge patches preventing compilation 2022-08-18 16:32:43 +02:00
Paolo Sabatino
86e456e507 rk322x,rockchip: fix rkvdec patch due to mainlined changes 2022-08-18 14:53:25 +02:00
hzyitc
8358471816
Onecloud: some update (#4073)
* Onecloud: Rename back to csc

* meson: Adjust sources config

* Onecloud: disable u-boot compilation

* Onecloud: Add armbianEnv.txt
Onecloud: Use UUID to special rootfs

* Onecloud: bootscript lint

* Onecloud: bootscript support extraargs

* Onecloud: support output boot log to HDMI

* Onecloud: tweak VCC_CORE

* Typo
2022-08-17 19:44:55 +02:00
The-going
a3786270ba
Sunxi 5.19 update megous patches (#4078)
* sunxi-5.19: Add two patches from upstream megous

* combinediff 2 patches for uwe-bsp node, remove uwe-bsp node for sun50i-h6-orangepi-3-lts.dts
2022-08-17 20:43:38 +03:00
Julian Sikorski
63ad684261
Update odroidxu4 current to 5.4.210 and edge to 5.19.0 (#4068)
* Update odroidxu4-current to 5.4.210

* Adjust kernel configs and move EDGE to 5.19.y

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-13 21:17:19 +02:00
Vyacheslav Bocharov
6a3b49859e
JetHub: add JetHub D1/D1p new revisions support in meson64-5.10/5.19 kernel patchset 2022-08-11 12:50:31 +03:00
AGM1968
a3cfbf4dcc
Update arm64-dts-Add-sun50i-h616-orangepi-zero2-device.patch (#4051)
Reboot board. Change from regulator-boot-on to always on. 

+			reg_dcdce: dcdce {
+				regulator-always-on;
2022-08-08 08:19:02 +02:00
The-going
97c6e5e9dd
sunxi-5.19: Initial state for megous patches (#4048)
* sunxi-5.19: Initial state for megous patches

* Add the ability to do 5.19

* Move to 5.19

- tested both
- removed broken Opi Zero xradio driver https://armbian.atlassian.net/browse/AR-1280

* sunxi-5.19: fix tag for switch

* sunxi-5.19: Initial state for armbian patches

* sunxi-5.19: Add armbian patches to series.conf file

* sanxi-5.19: Add other 2 patches

* sunxi-5.19: Limit to use the 'wireless/xradio' module

Limit the kernel version to less than 5.19 to use
the 'wireless/xradio' module

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-05 21:23:49 +03:00
Ricardo Pardini
73691a9e24
meson64: edge: rework to kernel 5.19 (#3941)
* meson64-edge/5.19: use `tag:v5.19-rc2`, meson64 kernel config and kernel patches, by @adeepv

* meson64-edge/5.19: we don't need `CONFIG_ARCH_ROCKCHIP=y` for meson64, right?

* meson64-edge/5.19: remove `meson_drv_shutdown` revert patch, instead `CONFIG_DRM_MESON=y` and its dependencies in .config

- this allows other meson64's to shutdown properly, while allowing the N2(+) to reboot without kernel-side hangs

* meson64-edge/5.19: odroidn2(+): remove SD UHS modes patch for ODROID N2(+)

- it works when cold-booted
- but changes voltage to enable
- when rebooted, voltage persists and uboot can't read the SD anymore
- adding the "odroid,reboot" driver+dt that is supposed to fix this, doesn't
- so for now remove it

* meson64-edge/5.19: odroidn2(+): add dumb gpio fan at 30 celsius

- backport from rework in 5.10

* meson64-edge/5.19: odroidhc4: bring back `fan1_input` by adding fan details to DT

- yeah, I know; the cooling map is right there too, so empty, poor thing. for later.

* meson64-edge/5.19: bump to 5.19-rc3

* meson64-edge/5.19: radxa-zero: add patch to remove UHS mode so `wifi` works

- sent by @pyavitz: https://raw.githubusercontent.com/pyavitz/debian-image-builder/feature/patches/amlogic/radxazero/wifi/001-arm64-dts-amlogic-radxa-zero-sdio-card-speed.patch
- tested by @lanefu

* meson64-edge/5.19: bump to 5.19-rc4

* meson64-edge/5.19: bump to 5.19-rc5

* meson64-edge/5.19: bump to 5.19-rc7

* meson64-edge/5.19: bump to 5.19.y branch, which is 5.19.0 right now

* Add kernel config - tested on Odroid N2+

Co-authored-by: Vyacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-04 21:50:40 +02:00
Ricardo Pardini
43b302eff9
uefi-(arm64|x86)-edge/5.19: bump to 5.19.y (#4046)
- uefi-arm64-edge/5.19: add patch for ACPI enablement of PHYT0004 onboard network card
  - reworked 5.10 version of patch to 5.19, trivial datatype change
  - sent by Dragonbox/Pythium person via @lanefu
- uefi-(arm64|x86)-edge/5.19: split patch dir from x86, otherwise identical
2022-08-04 21:49:10 +02:00
Paolo
c87542aba2
rockchip: switch edge kernel to v5.19 (#4045) 2022-08-04 11:20:06 +02:00
Jianfeng Liu
8c6641e7b7
update rockchip64 edge to 5.19 (#4039) 2022-08-03 22:22:55 +02:00
Paolo Sabatino
d064b2dce2 rk322x: advance edge kernel to 5.19 2022-08-03 19:10:25 +02:00
Paolo Sabatino
fd6fffc943 rk322x: use backported mglru patch from 5.19 on 5.18 2022-08-03 19:10:25 +02:00
Julian Sikorski
79868e8c08
Update odroidxu4-current to 5.4.208 (#4037) 2022-07-31 16:45:43 +02:00
juanesf
0ddf255a7c
sun8i-r40-audio-codec (#4021) 2022-07-31 10:35:55 +02:00
Paolo Sabatino
6ba9883baa rockchip64: switch orangepi 4/LTS to mainline USB3 Type-C controller driver 2022-07-31 01:10:00 +02:00
Paolo
fa89975db7
rockchip64: remove inno-usb3 rk3328 driver from EDGE kernel, remove/rename affected board files (#4006) 2022-07-27 08:47:48 +02:00
Paolo
c91029dc10
rk322x: fixed minor things for device trees, fix rk322x-config script (#4020) 2022-07-27 08:46:09 +02:00
Oleg
7c00615de4
fix jetson-nano legacy and install btrfs emmc (#4024)
* fix jetson-nano legacy and install btrfs emmc

* fix initrd module
2022-07-27 08:44:43 +02:00
The-going
aaabfd3a17
fix: Change the format of the latest patch (#4019) 2022-07-27 08:41:19 +02:00
Oleg
cfc1a6a4fc
move jetson-nano to media (#4017)
* move jetson-nano to media

* fix kernel legacy jetson-nano

* fix u-boot HDMI
2022-07-25 11:38:42 +02:00
hzyitc
df1f0b4fdc
Onecloud: fix bugs (#4022)
* Support pwm regulator

* meson: Fix MAC
Remove useless codes from odroidc1

* Bugfix: xorg config

* dts: mark regulators always-on
2022-07-25 11:37:15 +02:00
The-going
b2b8b8848b
Adapt patches to kernel version 5.10.130 (#3990) 2022-07-14 15:33:02 +03:00
The-going
c9df315485
Sunxi 5.15 (#3992)
* Skip applying fixes for touchscreen: goodix.

This device is not supported by armbian.
Patch fixes cannot be tested on real hardware.

* Bring the patch format to the form git-format-patch

for application by the `git am` command.
2022-07-13 21:53:24 +03:00
Tony
44ac745ae3
Rockchip64-current: fix nanoPi NEO 3 DTS makefile (#3979)
Changes to the add-board patch did not get added to the makefile patch.  Fixed.
2022-07-10 02:14:03 -04:00
schwar3kat
bbc63edae8
Merge pull request #3969 from schwar3kat/orangepi-r1-lts-refactored-dts
Refactored orangepi-r1plus-lts dts in kernel add board patch
2022-07-10 16:07:13 +12:00
Paolo
0310f95505
rockchip64: fix rk3318-box cpu voltages (#3976) 2022-07-09 16:30:16 +02:00
arnaldovalente
06a8a7cb67
Orangepi One Plus Rollback to i2c (#3964)
Co-authored-by: gleam2003 <gleam2003@msn.com>
2022-07-09 11:39:27 +02:00
brentr
3ff231d9a0
Brentr (#3966)
* This disables support for the RockPI-S "SDNAND" soldered on EMMC storage

Without it, SDNAND functions
There are no issues on boards that lack the EMMC storage option
In this case, the kernel probes the chip, quietly fails and continues without
creating the corresponding /dev/mmcblk* nodes

* This patch attempts to enable CPU operating points that are not defined.

The result is that the cpufreq-dt driver aborts when attempting to process these incompletely defined nodes.
The CPU ends up running at a constant clock rate, without cpufreq support.
Simply removing the patch restores proper cpufreq operation.
Note, however, that the CPU operating points are still overvolted for the newer RK3308B-S SOC.

See:
https://dl.radxa.com/rockpis/docs/sw/RK3308B-S&RK3308H-S_Software_Compatibility_Introduction_V1.0.0_20211016.pdf
2022-07-09 11:35:51 +02:00
Julian Sikorski
35e509a040
Update odroidxu4-current to 5.4.204 (#3970) 2022-07-09 11:35:34 +02:00
Paolo Sabatino
07775b59d4 rk322x: fix for MXQ_PRO board wifi 2022-07-09 11:12:48 +02:00
schwar3kat
a16699260f
Refactored orangepi-r1plus-lts dts in kernel add board patch
Renamed patch to match rockchip64 boards

Nanopi dependencies removed
2022-07-08 22:35:59 +12:00
Oleg
993f2e6bbf
Merge pull request #3959 from 150balbes/media-20220704
move kernel media to current 5.18 and edge 5.19
2022-07-08 09:52:24 +03:00
Tony
76192f1fa8
RK3328 cleanup (#3963)
* Rockchip64 rk3328 cleanup

* Rockchip64 remove unneeded RK3328 USB3 PHY driver
2022-07-06 10:38:09 -04:00
balbes150
5b5b6a010a fix USB BPIr2pro 2022-07-05 11:23:33 +03:00
Tony
1077af2d98
RK3328 fix USB3 5.15 (#3957) 2022-07-04 09:28:32 -04:00
balbes150
2e1b4eed73 move kernel media to current 5.18 and edge 5.19 2022-07-04 16:18:31 +03:00
Igor Pečovnik
2a1863f2f5
Bump sunxi version to latest and add upstream patches for odroid xu4 (#3954)
* Typo in packaga name

* Bump sunxi version to latest and add upstream patches for odroid xu4
2022-07-03 08:25:49 +02:00
Tony
9680fc46a0
Roc rk3399 pc enable type C (#3953)
* roc-rk3399-pc remove outdated patch

* roc-rk3399-pc enable type-c
2022-07-02 19:51:26 -04:00
The-going
7b0c873f4d
Sunxi 5.18: add megous patches: tag: orange-pi-5.18-20220627-1924 (#3946)
* sunxi-5.18: add megous patches: tag: orange-pi-5.18-20220627-1924

* tools: mk_format_patch: ignore-matching-lines git version

* sunxi-5.18: re-extracted armbian patches after being applied to 5.18.8

* sunxi-5.18: switch to version tag=v5.18.8
2022-07-01 01:02:59 +02:00
Paolo Sabatino
19d1ce656e rockchip64: fix pwm regulators that use pinctrl "active" configuration 2022-06-26 15:14:53 +02:00
Paolo Sabatino
381cc372db rockchip64: disable pwm patch because broken 2022-06-23 10:33:02 +00:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
The-going
176c05d4b0
Sunxi 5.18 (#3908)
* sunxi-5.18: add new megous patches

* switch to v5.18.5: exclude a previously applied patch

* fix: tools/mk_format_patch: numbered=false by default

* sunxi-5.18: rebasing and extraction using the mk_format_patch script
2022-06-20 15:31:38 +02:00
Paolo
c47922f71e
rockchip64: reworked PWM patch due to breakage in existing pwm dtbs (#3913) 2022-06-19 12:38:17 +02:00
EBK21
1a2800f384
workaround for orangepi 3 lts ethernet problem (#3906)
Method from uboot Odroid C2 fix, same problem same workaround.
2022-06-19 12:38:06 +02:00
Piotr Szczepanik
df2d09c8a2
Adjust rk3399-legacy patches - fixes missing NanoPi dtb files (#3912) 2022-06-18 21:07:55 +02:00
Paolo Sabatino
70bb7c48b2 rk322x: update MGLRU armhf patch for kernel v5.17 and v5.18 2022-06-18 14:13:11 +02:00
Julian Sikorski
26d0168546
Update odroidxu4-current to 5.4.199 (#3907) 2022-06-17 19:17:08 +02:00
Paolo Sabatino
8ab3567c81 rockchip64: fix orangepi4 LTS bluetooth initialization 2022-06-17 10:07:06 +02:00
Paolo Sabatino
b88a8a7dce rockchip64: orangepi4 LTS sdmmc bus pins strength increased for better stability with UHS modes 2022-06-17 10:07:06 +02:00
Paolo
388e9bbf5e
Support for OrangePi4 LTS board (#3770)
* orange pi 4 LTS support added (uwe5622 wifi driver, es8316c codec)

* add orangepi 4 LTS device tree
* add uwe5622 driver to 5.15 and 5.18 rockchip64 patches
* add wpasupplicant to jammy cli packages
* fix es8316c asound.state (zeroing stereo enhancement which causes distortion)

* Add build targets

* Move from WIP state

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:11:33 +02:00
Paolo Sabatino
ae2f91d4ee rockchip64: fix tinkerboard 2 missing register in dts 2022-06-14 09:33:41 +02:00
Paolo Sabatino
17b4fb913c rockchip64: bump edge kernel config to 5.18, disable csgpio patch due to mainline clashing 2022-06-14 09:33:41 +02:00
hzyitc
a863b5a242
Onecloud: fix some bugs (#3873)
* Refactor patches

* Fix bug: the USB closed to the HDMI doesn't work

* Fix bug: cpufreq doesn't work

* Fix bug: thermal_zone doesn't work

* More frequency governors

* Add bootscript

* Fix bug: add missing dependency
needed for gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
2022-06-11 18:03:03 +02:00
Igor Pečovnik
85958994b5
Adjust broken patches and move sunxi to latest tag (#3876)
* Bump sunxi kernels

* Adjust remaining patches
2022-06-11 18:01:32 +02:00
The-going
07d263283e
sunxi-5.15: Switch version to the v5.15.46 tag (#3886) 2022-06-11 19:00:06 +03:00
Oleg
7799a89f31
fix build media kernel 5.17 (#3881) 2022-06-11 08:46:27 +02:00
Paolo
cff049a92b
fix rk322x, rockchip mainlined patches for kernel v5.18, adjust xt-q8l-v10 remote makefile (#3877) 2022-06-10 21:50:57 +02:00
The-going
25e60a726b
Sunxi 5.18 (#3879)
* sunxi-5.18: rebase megous patces to v5.18.3

* sunxi-5.18: Add upstream patches - tag: orange-pi-5.18-20220609-1318

* Check applicability to version 5.18.3

* sunxi-5.18: switch to version 5.18.3
2022-06-10 21:50:37 +02:00
Igor Pečovnik
8ba7b7e214
Switching the rest to 5.18.y (#3860)
* Update kernel configs

* Switch sunxi edge to 5.18.y

* Move sunxi to 5.18.y and re-enable AUFS

* Change version - temporally to make a build from here

* Update config

* 88xx was fixed in the mean time.

* Put version back

* Fix sunxi legacy, disable aufs on 5.10.y since its broken

* Upstream changed in the mean time

* Add a patch to enable 8821cu compilation at 5.18

https://github.com/armbian/build/pull/3814

* Re-enable CONFIG_RTL8822BU in edge

* Update CONFIG_RTL8XXXU

* Bump imx6

* Bump uefi kernels to 5.18.y

* Bump mvebu64 and switch odroid xu4 to 5.18
2022-06-07 07:49:08 +02:00
Vyacheslav
f1937f83a3
Update meson64-edge/general-meson-aiu-Fix-HDMI-codec-control-selection.patch patch for Kernel 5.15.7+ (#3849) 2022-06-03 18:58:56 -04:00
Jannis
4c0cc1e778
Fix mvebu pwm patch (#3847) 2022-06-03 18:51:39 +02:00
The-going
0c438d8c56
sunxi-5.18: Add armbian patches (#3846)
* sunxi-5.18 Initial state for armbian patches

* Adapting patches to the new kernel, sort, add new megous patches

* DEBUG

* Add the latest patches

* fix: compile error

drivers/spi/spi.c:3548:3: note: in expansion of macro ‘dev_info’
   dev_info(&spi->dev, "spi_setup / gpio_is_valid(%d) ... doing gpio_request ...\n", spi->cs_gpio);
   ^~~~~~~~
drivers/spi/spi.c:3549:9: error:
 implicit declaration of function ‘gpio_request’;
 did you mean ‘gpio_to_desc’? [-Werror=implicit-function-declaration]
   ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev));
         ^~~~~~~~~~~~
         gpio_to_desc
drivers/spi/spi.c:3549:27: error:
 ‘struct spi_device’ has no member named ‘cs_gpio’;
 did you mean ‘cs_gpiod’?
   ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev));
                           ^~~~~~~
                           cs_gpiod
drivers/spi/spi.c:3554:4: error:
 implicit declaration of function ‘gpio_direction_output’;
 did you mean ‘gpiod_direction_output’? [-Werror=implicit-function-declaration]
    gpio_direction_output(spi->cs_gpio,
    ^~~~~~~~~~~~~~~~~~~~~
    gpiod_direction_output
drivers/spi/spi.c:3554:31: error:
	‘struct spi_device’ has no member named ‘cs_gpio’;
	did you mean ‘cs_gpiod’?
    gpio_direction_output(spi->cs_gpio,
                               ^~~~~~~
                               cs_gpiod
In file included from ./include/linux/device.h:15,
                 from drivers/spi/spi.c:8:
drivers/spi/spi.c:3556:79: error:
 ‘struct spi_device’ has no member named ‘cs_gpio’;
 did you mean ‘cs_gpiod’?

* Remove pre-applied patches
2022-06-01 17:10:19 +02:00
The-going
e8e149ead2
sunxi-5.17: fix: cpu opp table sun8i-a83t (#3829)
cpu opp table for sun8i-a83t can only be a multiple
of the integer 24 * 8 * n
2022-05-29 17:28:22 +02:00
Paolo
809ce98a75
rk322x: move edge kernel to v5.18 (#3844)
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-05-29 17:26:16 +02:00
Jianfeng Liu
0981c9eccd
add rock-3a emmc support (#3841) 2022-05-29 17:18:46 +02:00
Paolo
3c4189e311
rockchip: upgrade edge kernel to v5.18 (#3842) 2022-05-29 17:15:36 +02:00
Tony
e7bd9b8f13
Add Spidev workarounds and clean patches (WIP) (#3812)
* [ Meson64 ] Add Spidev workaround for 5.15+, remove unnecessary patch

* [ Rockchip64 ] Add spidev workaround for 5.15+

* [ Rockchip ] Add spidev workaround for 5.15+

* [ overlays ] align overlays to new spidev device handle
2022-05-28 08:56:19 +02:00
Jianfeng Liu
597d2dac11
update rockchip64-edge to 5.18 (#3814) 2022-05-28 07:56:22 +02:00
The-going
082234b497
sunxi-5.15: adapting patches for the version 5.15.43 (#3827)
* sunxi-5.15: adapting patches for the version 5.15.43

* fix: cpu opp table sun8i-a83t
2022-05-27 21:17:58 +03:00
The-going
3048cc2107
Sunxi 5.18 (#3826)
* sunxi-5.18: initial state: add patches megous

* sunxi-5.18: Adapt patches for error-free application

* remove unused patches

* Add the ability to compile sunxi-5.18
2022-05-27 11:47:16 +03:00
The-going
ee6f0f8bd1
sunxi-5.17: update and switch to version 5.17.11 (#3816)
* sunxi-5.17: update and switch to version 5.17.11

* remove the patch that appeared in the upstream kernel

upstream commit c06a99a6605f524ff5ef096646e9501fc905366e
2022-05-27 09:48:50 +03:00
Julian Sikorski
147a9d19f8
Update odroidxu4-current to 5.4.196 (#3823) 2022-05-26 19:39:29 +02:00
The-going
4145e3fb29
sunxi-5.17: tag: orange-pi-5.17-20220510-1956: add patches (#3809) 2022-05-25 17:41:24 +02:00
Oleg
ba7912c0c9
move kernel media 5.17.9 and 5.18-rc7 (#3792)
* move kernel media 5.17.9 and 5.18-rc7

* kernel edge 5.18
2022-05-23 16:17:09 +02:00
The-going
ddc00a9af1
Sunxi 5.15 (#3798)
* fix: A lost patch. Should be here: #(6a53633703)

* fix: sunxi-5.15: Align two series files
2022-05-23 16:15:40 +02:00
crocinsocks
37e898332a
WaveShare Touchscreen Driver Fix (Odroid) "disable_vu7" (#3799)
* Update boot-meson64.cmd

Fix disable_vu7 functionality by enabling usbhid quirks when set to false

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update hardkernel-0015-COMMON-input-touchscreen-Add-D-WAV-Multitouch.patch

* Update general-input-touchscreen-Add-D-WAV-Multitouch.patch
2022-05-23 16:15:25 +02:00
hzyitc
c4b62f848f
meson8b: Support HDMI (#3794)
* meson8b: Support HDMI

* meson8b: drm: Forcefully enable XRGB format

* Bump kernel version

* Upgrade configs

* Swap current and edge
2022-05-23 15:58:38 +02:00
Julian Sikorski
2c0a0a5e23
Update odroidxu4-current to 5.4.195 (#3791)
* Update odroidxu4-current to 5.4.193

* Update odroidxu4-current to 5.4.195

* Update kernel config
2022-05-18 22:47:48 +02:00
hzyitc
965ce372de
Support Xunlei Onecloud (#3749)
* Support Xunlei Onecloud

* meson: more led triggers
2022-05-12 19:12:21 +02:00
The-going
ca478cc4e5
Bugfix spidev (#3737)
* sunxi-5.17: Fix include uapi spi spidev module

* add a compatible string alias "spi-dev" for spidev module

* overlay: Change the string compatible "spidev" to "spi-dev"

* remove unused patches

* drv: spi: spidev: fix header uapi

* Add alias "spi-dev" for module spidev

Add the armbian alias "spi-dev" to load and
initialize the spidev module from the device tree.

* Move patches for orangepi3-lts to series

* Remove unused patches
2022-05-12 19:11:40 +02:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
Jianfeng Liu
68729a3aa6
change rock-3a mainline dtb filename to rk3568-rock-3a.dtb (#3775)
* change rock-3a mainline dtb filename to rk3568-rock-3a.dtb

* add rock3a DT link for backward compatibility

* change rock3a default dtb name to mainline

* add rock-3a legacy dtb filename rock-3-a
2022-05-11 19:42:30 +02:00
schwar3kat
5e477fd42c
Enable rockchip64: XHCI HCD USB TRB ENT quirk for RK3328 (#3763)
This resolves a bug that affects r8153b USB network interface causing the RX interface to hang on load.

On some xHCI controllers (e.g. Rockchip RK3399/RK3328/RK1808),
they need to enable the ENT flag in the TRB data structure
to force xHC to prefetch the next TRB of a TD.
The quirk patch is already applied to dwc3 xhci usb on rockchip64.

Enable the quirk on RK3328 through device tree node properties in rk3328.dtsi
2022-05-07 15:51:38 +02:00
catalinii
fc66f374e8
Merge rk35xx-edge into rockchip64-edge (#3765)
* Merge rk35xx boards into rockchip64

* Fix kernel configs
2022-05-07 15:51:11 +02:00
Oleg
0f7606e653
move 5.18-rc5 support jetson-nano (#3754) 2022-05-04 16:16:40 +02:00
Basel Sayeh
c7d7039b51
Update the rtl8189fs patch (#3697) 2022-05-03 23:11:45 +02:00
Igor Pečovnik
897674aa74
Bump and freeze kernel at last known working versions (#3736)
* Freeze kernel at last known working versions

* Fix media kernel

* Update rockchip64 to 5.17.y

* Move patches up

* Re-ad aufs

* Fix rpi kernels
2022-05-03 08:27:32 +02:00
Oleg
57428044ec
move kernel media-current to 5.17 and media-edge to 5.18 (#3726) 2022-05-02 11:36:59 +02:00
Igor Pečovnik
727990ae0e
Bump rpi, imx6 and mvebu EDGE to 5.17.y (#3712) 2022-04-30 18:54:25 +02:00
The-going
4a80910d6c
Update sunxi-5.17 (#3725)
* update sunxi-5.17: tag: orange-pi-5.17-20220424-2152

* Update sunxi-5.17: orange-pi-5.17-20220427-0710
2022-04-28 23:05:28 +03:00
Paolo Sabatino
ef51fd2096 rk322x: updated libreelec patches, add rk322x generic tv box remote keymap 2022-04-25 22:29:00 +02:00
Paolo Sabatino
bbe4414786 Remove mainlined RGA trivial patch for rk322x, rockchip, rockchip64 2022-04-25 22:28:00 +02:00
Oleg
0afe24c957
move kernel media edge to 5.17 (#3704) 2022-04-24 22:33:47 +02:00
Julian Sikorski
c092c0123b
Update odroidxu4-current to 5.4.190 (#3707)
* Update odroidxu4-current to 5.4.188

* Update odroidxu4-current to 5.4.190
2022-04-24 22:32:46 +02:00
AmadeusGhost
283d7f38ae
rockchip: rock-3a: remove unused nodes (#3700) 2022-04-20 18:20:29 -07:00
Paolo Sabatino
365f7bd1e2 rockchip: remove mainlined RGA patch 2022-04-20 21:33:42 +02:00
The-going
c7b11b839b
Sunxi 5.17 (#3701)
* sunxi-5.17: Add series patches rtw88, rtw89 drivers

* Fix sunxi-5.17 for v5.17.4 version

* Print the error message and its contents

* rtl8822bs: used if kernel version less 5.16

Restrict the use of the wifi driver" "rtl8822bs" for
the kernel version less than 5.16
2022-04-20 22:01:33 +03:00
Jianfeng Liu
d04155533c
add patch to fix rk3568 vop in kernel 5.17.3 (#3699) 2022-04-19 20:28:48 +02:00
The-going
7c2f24d46c
Move sunxi 5.16 to 5.17 (#3696)
* Add reg_ahci_5v status okay for bananapro board

* Bananapro: add AXP209 regulators

* Fix series.conf, Disable the patch that is not being applied.

* Fix linux-sunxi64-edge.config for v5.17.3

* Fix linux-sunxi-edge.config to v5.17.3

* Switch EDGE to core 5.17 for sunxi

* Remove the old rtl8723cs driver which is incompatible with the new kernel and cannot be used.

* Use AUFS if the kernel version is less than 5.16

* Print the last 20 lines of the log if the kernel compilation failed.

* Set KERNEL_VERSION_LEVEL to 5.17

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-18 23:26:29 +02:00
The-going
519b01a0b4
Bugfix uwe5622 (#3693)
* Fix new file mode 100755 to 100644 for uwe5622 driver

* Fix error: implicit declaration PDE_DATA
2022-04-18 11:41:06 +03:00
The-going
9217407f22
bugfix for build sunxi with implicitly selected configuration parameters (#3690)
* Fix the AC200 driver selection for sunxi-5.17

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.16

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.15

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.10

This eliminates incorrect configuration and compilation errors.

* Configure CURRENT: Build: EXTRAWIFI=no AUFS=no SKIP_BOOTSPLASH=yes

* Revert "Configure CURRENT: Build: EXTRAWIFI=no AUFS=no SKIP_BOOTSPLASH=yes"

This reverts commit 243d90041f.

* Configure kernel: CURRENT: build default options
2022-04-17 10:31:08 +03:00
The-going
9ebd3600c6
Sunxi 5.17 (#3687)
* Add 88 new patches to series. tag: orange-pi-5.17-20220409-0454

* Fix the applicability of patches.megous to the v5.17.3 kernel

* Fix series.conf. Disable the patch that is not being applied

* Add support for sun50i-h6-orangepi-3-lts

* Check the applicability in the series

* Move to a patches.armbian folder

* Bananapro: add AXP209 regulators

* fix-gpio-kconfig remove if EXPERT to allow normal build

* sunxi-5.17: Remove unused patches
2022-04-16 18:20:04 +03:00
Derek
9bd2e3cb1a
Espressobin patch cleanup (#3681)
* alias defined in patch 0007 is part of armada-372x.dtsi, so unnecessary in 37xx

* u-boot patch to dts shouldn't disable emmc or overwrite sdhci1

* update u-boot
2022-04-16 09:13:33 +02:00
The-going
ea83eca959
Sunxi 5.15 (#3676)
* sunxi-5.15: Add reg_ahci_5v status okay for bananapro board

* Bananapro: add AXP209 regulators

* Fix series.conf, Disable the patch that is not being applied.
2022-04-13 21:50:16 +03:00
Ukhellfire
2a8e1ecac1
Add Orange Pi 3 LTS Support (#3628)
* Orange Pi 3 LTS
* Enable build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-12 20:13:37 +02:00
The-going
fca652aa43
Sunxi 5.10 (#3672)
* sun7i-a20-bananapro: add reg_ahci_5v for sunxi-5.10

* sun7i-a20-bananapro: Add more regulators

* Rename patches for correct apply

* Disable the patch that is not being applied.

The patch is initially a crude hack. It solves one problem but creates
other problems. I don't know how to resolve the conflict correctly yet,
so I just disabled it.
2022-04-12 20:06:01 +03:00
Paolo Sabatino
d572c1823a rockchip: move edge kernel to v5.17, remove mainlined pacthes/hunks 2022-04-11 22:05:28 +02:00
Paolo Sabatino
49b2aba891 rockchip: copy patch archive from 5.16 to 5.17 2022-04-11 22:05:28 +02:00
Paolo Sabatino
0777be9e75 rk322x: move edge flavour to kernel 5.17, adapt patches were necessary 2022-04-10 16:45:06 +02:00
Jianfeng Liu
a454c462f2
add radxa rock3a pcie3x2 support (#3646) 2022-04-07 09:52:28 -07:00
schwar3kat
bf0289eb23
restore sunxi gpio-sysfs to build (#3635)
add CONFIG_GPIO_SYSFS=y to linux-sunxi64-current.config and linux-sunxi64-edge.config

remove  if EXPERT from /sys/class/gpio/... (sysfs interface) in /drivers/gpio/Kconfig
2022-04-06 06:56:34 +02:00
Oleg
eb54a13b05
update kernel 5.17.1 station-p2-edge (#3637) 2022-04-05 16:18:38 +02:00
chbgdn
82d80d4a15 Bump meson64-edge to 5.17 2022-04-04 12:34:29 +03:00
Jianfeng Liu
be9b5156a4
add rk809 codec sound support to radxa rock3a (#3621) 2022-04-02 09:57:24 -07:00
The-going
b32bc0934b
Fix patch applicability for the sun50i-h5-orangepi-zero-plus board (#3623) 2022-04-02 14:55:15 +03:00
Jianfeng Liu
dad2d913f1
change rk35xx edge to 5.17.y (#3614)
Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-04-01 21:11:55 -07:00
The-going
0f7200c793
Sunxi 5.17 (#3613)
* The initial state of a series of patches for sunxi-5.17

tag orange-pi-5.17-20220323-1423

* DEBUG for sunxi-5.17

* Add Armbian patches to 5.17

* Fix duplicate nodes for sun50i-h5-orangepi-pc2

* Fix reg_ahci_5v to status okay for bananapro board

* Remove an unused patch for an unsupported sun50i-h6-tanix-tx6 board
2022-03-31 20:32:04 +03:00
The-going
6a53633703
sunxi-5.15: Fix duplicate nodes for sun50i-h5-orangepi-pc2 board. (#3588)
* Fix duplicate nodes for sun50i-h5-orangepi-pc2

* Remove unused patch for pinctrl: sunxi: Fix deadlock.

This fix duplicates the upstream commit
896d1b8a36129c3f1378fbbafd7c394a877635b5 of the linux-5.15.y branch

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

============================================
WARNING: possible recursive locking detected
5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
...

* Add to series.armbian Fix-duplicate-nodes-for-sun50i-h5-orangepi-pc2.patch

The problem with duplicate nodes in the device tree is that the first
one in the queue will be applied. The subsequent one will be ignored,
not replaced.

Fix spi-nor node initialization error for orangepi-pc2

[    1.288263] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.306391] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845203] Freeing initrd memory: 10824K
[    1.855263] sun6i-spi 1c68000.spi: chipselect 0 already in use
[    1.861159] spi_master spi0: spi_device register error /soc/spi@1c68000/spi-flash@0
[    1.868842] spi_master spi0: Failed to create SPI device for /soc/spi@1c68000/spi-flash@0

Remove duplicate nodes from applied patches for the board
sun50i-h5-orangepi-pc2. After this fix:

[    1.290252] sun50i-h5-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    1.291250] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.310397] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845686] Freeing initrd memory: 10824K
[    1.854333] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.854369] Creating 2 MTD partitions on "spi0.0":
[    1.854381] 0x000000000000-0x000000100000 : "uboot"
[    1.855679] 0x000000100000-0x000000200000 : "env"
2022-03-28 01:18:17 +02:00
The-going
0b6dd13295
sunxi-5.16: Fix spi-nor node initialization error for orangepi-pc2 (#3597)
* Remove unused pinctrl-sunxi-Fix-misleading-lockdep-deadlock-warnin.patch

The problem was solved in the upstream kernel.

commit e221ef82d9f5e97bca61f7c25e2b58b04466de87 linux-5.16.y branch.
commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

============================================
WARNING: possible recursive locking detected
5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
...

* Fix spi-nor node initialization error for orangepi-pc2

[    1.288263] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.306391] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845203] Freeing initrd memory: 10824K
[    1.855263] sun6i-spi 1c68000.spi: chipselect 0 already in use
[    1.861159] spi_master spi0: spi_device register error /soc/spi@1c68000/spi-flash@0
[    1.868842] spi_master spi0: Failed to create SPI device for /soc/spi@1c68000/spi-flash@0

Remove duplicate nodes from applied patches for the board
sun50i-h5-orangepi-pc2. After this fix:

[    1.290252] sun50i-h5-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    1.291250] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.310397] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845686] Freeing initrd memory: 10824K
[    1.854333] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.854369] Creating 2 MTD partitions on "spi0.0":
[    1.854381] 0x000000000000-0x000000100000 : "uboot"
[    1.855679] 0x000000100000-0x000000200000 : "env"
2022-03-28 01:15:47 +02:00
Paolo Sabatino
2fe1ddfe45 rockchip: add tinkerboard overlays for current 5.15 kernel 2022-03-26 17:59:23 +00:00
Oleg
03ef96715e
fix emmc nano-pc-t4 (#3557)
* fix emmc nano-pc-t4
* fix node and del not used patch
2022-03-25 20:51:03 +01:00
Jianfeng Liu
03115888c3
fix radxa rock3a usb regulator and clean useless info in patches (#3559)
Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-03-24 12:44:58 -07:00
Paolo Sabatino
a20be324b9 rockchip: enable bluetooth serdev for tinkerboard and disable userland binaries 2022-03-24 09:22:47 +00:00
Oleg
f52a4193d0
Adding Pine64 Quartz64a as WIP target (#3539)
* add Quartz64a

* quartz64 to wip

* add m2\p2 current

* move patch archive
2022-03-20 22:58:21 +01:00
Yuntian Zhang
e63b8044b1
Reduce Radxa Zero's SDIO frequency (#3543)
This fixes the issue where some boards have increased difficulty to initialize Wi-Fi hardware under the cold weather.
2022-03-19 16:47:08 +01:00
Jianfeng Liu
88464cc412
Radxa rock3a gpu support (#3547)
* Refresh the vop2 patch from catalinii

* add SCMI related config to support rk3568 gpu

Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-03-19 07:10:37 -04:00
Paolo Sabatino
13469fd8a9 rk322x: add overlay for USB OTG peripheral mode, add current and edge kernel config options 2022-03-18 17:26:46 +01:00
Paolo Sabatino
c6a8ca6d1a rk322x: add disabled patch for not-yet-working rknand mainline driver 2022-03-18 17:26:46 +01:00
Julian Sikorski
73e878d49f
Update odroidxu4-current to 5.4.185 (#3540) 2022-03-16 17:53:04 +01:00
Julian Sikorski
e1b93257f2
Update odroidxu4-current to 5.4.184 (#3536) 2022-03-15 08:59:14 +01:00
iav
6fee4247f9
add patch to avoid meson64 random reboots under load (#3520)
patch source https://lore.kernel.org/linux-amlogic/1c71a7c1e58590811094ebdd0e1abc54@agner.ch/T/#t
2022-03-12 23:16:29 +01:00
Vyacheslav
42617c23f8
Add meson64 patch net: phy: meson-gxl: fix interrupt handling in forced mode (#3524)
* Add meson64 patch net: phy: meson-gxl: fix interrupt handling in forced mode

https://patchwork.kernel.org/project/linux-amlogic/patch/04cac530-ea1b-850e-6cfa-144a55c4d75d@gmail.com/

This PHY doesn't support a link-up interrupt source. If aneg is enabled
we use the "aneg complete" interrupt for this purpose, but if aneg is
disabled link-up isn't signaled currently.
According to a vendor driver there's an additional "energy detect"
interrupt source that can be used to signal link-up if aneg is disabled.
We can safely ignore this interrupt source if aneg is enabled.

This patch was tested on a TX3 Mini TV box with S905W (even though
boot message says it's a S905D).

This issue has been existing longer, but due to changes in phylib and
the driver the patch applies only from the commit marked as fixed.

Fixes: 84c8f773d2dc ("net: phy: meson-gxl: remove the use of .ack_callback()")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

* Add meson64 kernel patch: net: phy: meson-gxl: improve link-up behavior

https://patchwork.kernel.org/project/linux-amlogic/patch/e3473452-a1f9-efcf-5fdd-02b6f44c3fcd@gmail.com/

Sometimes the link comes up but no data flows. This patch fixes
this behavior. It's not clear what's the root cause of the issue.

According to the tests one other link-up issue remains.
In very rare cases the link isn't even reported as up.

Fixes: 84c8f773d2dc ("net: phy: meson-gxl: remove the use of .ack_callback()")
Tested-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/phy/meson-gxl.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
2022-03-12 23:16:17 +01:00
The-going
c58d048a0a
Fixed the application of an unnecessary patch (#3534)
* This is already contained in the 5.15.27 kernel

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit 896d1b8a36129c3f1378fbbafd7c394a877635b5 linux-5.15.y
commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

     ============================================
     WARNING: possible recursive locking detected
     5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
     --------------------------------------------
     init/307 is trying to acquire lock:
     c2dfe27c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     but task is already holding lock:
     c3c0ac7c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     other info that might help us debug this:
      Possible unsafe locking scenario:

            CPU0
            ----
       lock(&irq_desc_lock_class);
       lock(&irq_desc_lock_class);

      *** DEADLOCK ***

      May be due to missing lock nesting notation

     4 locks held by init/307:
      #0: c1f29f18 (system_transition_mutex){+.+.}-{3:3}, at: __do_sys_reboot+0x90/0x23c
      #1: c20f7760 (&dev->mutex){....}-{3:3}, at: device_shutdown+0xf4/0x224
      #2: c2e804d8 (&dev->mutex){....}-{3:3}, at: device_shutdown+0x104/0x224
      #3: c3c0ac7c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     stack backtrace:
     CPU: 0 PID: 307 Comm: init Not tainted 5.17.0-rc3-00394-gc849047c2473 #1
     Hardware name: Allwinner sun8i Family
      unwind_backtrace from show_stack+0x10/0x14
      show_stack from dump_stack_lvl+0x68/0x90
      dump_stack_lvl from __lock_acquire+0x1680/0x31a0
      __lock_acquire from lock_acquire+0x148/0x3dc
      lock_acquire from _raw_spin_lock_irqsave+0x50/0x6c
      _raw_spin_lock_irqsave from __irq_get_desc_lock+0x58/0xa0
      __irq_get_desc_lock from irq_set_irq_wake+0x2c/0x19c
      irq_set_irq_wake from irq_set_irq_wake+0x13c/0x19c
        [tail call from sunxi_pinctrl_irq_set_wake]
      irq_set_irq_wake from gpio_keys_suspend+0x80/0x1a4
      gpio_keys_suspend from gpio_keys_shutdown+0x10/0x2c
      gpio_keys_shutdown from device_shutdown+0x180/0x224
      device_shutdown from __do_sys_reboot+0x134/0x23c
      __do_sys_reboot from ret_fast_syscall+0x0/0x1c

    However, this can never deadlock because the upstream and downstream
    IRQs are never the same (nor do they even involve the same irqchip).

    Silence this erroneous lockdep splat by applying what appears to be the
    usual fix of moving the GPIO IRQs to separate lockdep classes.

    Fixes: a59c99d9eaf9 ("pinctrl: sunxi: Forward calls to irq_set_irq_wake")
    Reported-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Samuel Holland <samuel@sholland.org>
    Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
    Tested-by: Guenter Roeck <linux@roeck-us.net>
    Link: https://lore.kernel.org/r/20220216040037.22730-1-samuel@sholland.org
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

* This is already contained in the 5.16.13 kernel

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit e221ef82d9f5e97bca61f7c25e2b58b04466de87 linux-5.16.y.
commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

============================================
WARNING: possible recursive locking detected
5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
--------------------------------------------
....
2022-03-12 23:15:35 +01:00
Heisath
f9abfd60d2 Fix mvebu patch 2022-03-09 14:46:59 +01:00
Igor Pecovnik
716022ce46
Disable broken patch
@heisath Check if any part of it is still needed.
2022-03-09 09:20:02 +01:00
Paolo
05a3b46393
Rk restore drm patches (#3516)
* rk322x: restore drm patches, rework a couple of hunks due to upstream changes

* rockchip: restore drm patches, rework hunks due to upstreamed patch

* Revert also on media kernel

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 17:56:52 +01:00
The-going
9b611efc21
Update a series of patches for sunxi-5.16 and fix on the tag=v5.16.11 for release (#3513)
* Add megous files for 5.16, tag orange-pi-5.16-20220216-2000

* Optimize the selection of a set of patches

* Remove unused patches

* Fix the state on the version tag=v5.16.11

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:04:00 +01:00
schwar3kat
6ff15fe54f
Add orangepi r1 plus lts (#3514)
* Rockchip64 Linux-5.10y - drivers for Motorcomm YT8531
renamed the previous "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" to "net-phy-Add-driver-for-Motorcomm-1-YT85xx-PHYs.patch" to fix patch order and added a new patch "net-phy-Add-driver-for-Motorcomm-2-YT8531-PHYs.patch"
The new YT8531 patch is sourced from from Lean's OpenWrt source rockchip/patches-5.10/601-net-phy-Add-driver-for-Motorcomm-YT8531-PHYs.patch.
It is intended to extend a patch identical to Armbian's "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" and is used without alteration.

* Add new board OrangePi R1 LTS (rk3328)
Includes uBoot and support for Linux-5.10y

* Rockchip64 Linux-5.15y drivers for YT8531 and other Motorcomm chips

YT8010, YT8510, YT8511, YT8512, YT8521. The driver patch set is sourced from Xunlong-OrangePi OpenWRT and is used as is, with only a name and makefile change.
A single patch set uses the same underlying source code as the Armbian Linux-5.10y set, but uses inbuilt logic to apply tweaks that depend on the Linux kernel version.
The patch is renamed similarly to the 5.10 patch set, net-phy-Add-driver-for-Motorcomm-T85xx+PHYs.patch to imply code base continuity with the previous similar Armbian patch sets.

* Rockchip64 Linux-5.15y support for Orange Pi R1 Plus LTS

Includes DTS and makefile changes. A driver for net phy YT8531C is in a separate commit

* change orangepi-r1plus-lts.csc to orangepi-r1plus-lts.conf

board is now supported

* - add patch also to 5.16.y
- fix wrong patch permission

* Fix Makefile patch

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:03:33 +01:00
Igor Pečovnik
594cf5c3d1
Merge rockhip drm patches into one, adjust configs (#3515) 2022-02-26 14:04:38 +01:00
Piotr Szczepanik
ac8fc43855
Switch rockchip64 current to linux 5.15.y (#3489)
* Switched rockchip64-current to linux 5.15

* Backported and adjusted patches from rockchip64-current

* Switched rockchip64 edge to 5.16.y (#3499)

* Initial rockchip64-edge at 5.16.y
* Bunch of fixes for rockchip64-edge at 5.16.y

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-02-26 07:46:44 +01:00
Yuntian Zhang
3da96b2d77
Add support for Radxa Zero 2 (#3413)
Radxa Zero 2 is a small form factor SBC based on the Amlogic A311D
chipset that ships in a number of eMMC configurations:

- Amlogic A311D (Quad A73 + Dual A53) CPU
- 4GB LPDDR4 RAM
- 32/64/128GB eMMC
- Mali G52-MP4 GPU
- HDMI 2.1 output (micro)
- BCM4345 WiFi (2.4/5GHz a/b/g/n/ac) and BT 5.0
- 1x USB 2.0 port - Type C (OTG)
- 1x USB 3.0 port - Type C (Host)
- 1x micro SD Card slot
- 40 Pin GPIO header

Signed-off-by: Yuntian Zhang <yt@radxa.com>
2022-02-25 19:27:41 +01:00
Oleg
06c410860b
fix station m2 edge NVME and Wifi (#3505) 2022-02-25 19:27:22 +01:00
Vyacheslav
3816d768fe
Remove patch already included in kernel 5.15-stable (#3509) 2022-02-25 19:27:10 +01:00
Julian Sikorski
9d5e1151fa
Update odroidxu4-current to 5.4.181 (#3510) 2022-02-25 19:26:56 +01:00
Leif
27771d0e8a
Remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays (#3495)
* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

Co-authored-by: Leif Sawyer <leif@akhepcat.com>
2022-02-17 22:06:54 +01:00
Igor Pečovnik
cfa4188d4e
Bump UEFI current & edge kernels to 5.15.y / 5.16.y (#3491) 2022-02-14 23:34:40 +01:00
Oleg
c51857b67a
fix USB and SATA p2 (#3486) 2022-02-14 19:05:37 +01:00
Igor Pečovnik
88a56ef3b7
Add Odroid xu4 current patches (#3490) 2022-02-14 18:59:29 +01:00
Jannis
3c1dde938c
Merge pull request #3474 from armbian/mvebu-updates
Bump mvebu-current to 5.15 and mvebu-edge to 5.16
2022-02-11 12:16:36 +01:00
Heisath
4de4c42e6f Bump mvebu-current to 5.15 and mvebu-edge to 5.16 2022-02-11 11:00:57 +01:00
Igor Pečovnik
1e37959e53
Bumping sunxi/64, xu4, rockchip and mvebu64 to 5.16.y (#3453)
* Prepare xu4 edge for 5.16.y, move current of imx6 to 5.15.y and edge to 5.16.y

- fix bootsplash on 5.16.y

* rk322x: advance current to 5.15 and edge to 5.16

* rockchip: advance current kernel to 5.15, edge to 5.16

* - adjust configs
- fix bootsplash patches
- adjust aufs

* Switch sunxi / sunxi64 current to 5.15.y, edge to 5.16.y

- cleanup bootsplash patches
- adjust configs

* Update mvebu64

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-02-10 20:32:58 +01:00
The-going
fbe942b150
Patching sunxi (#3463)
* Add new patches from the tag orange-pi-5.16-20220205-1958

* Remove mutually exclusive patches

* Add, sort next patches for series armbian  5.16

* Add next armbian patches to series.conf

* Swich BRANCH for sunxi: legacy=5.10 current=5.15 edge=5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Add upstream megous 5.16 patch to 5.15

* Add wifi rtl8723cs patches to series armbian

* Add a new one, remove old patches that are already in the kernel

* Add redesigned patches for 5.15 to the armbian series

* Remove unused patches

* Finish line

* The old rtl8723cs driver is disabled by default.

* Enable the old rtl8723cs driver by default.

* Comment enable\disable the old driver rtl8723cs-old

* Revert "Swich BRANCH for sunxi: legacy=5.10 current=5.15 edge=5.16"

This reverts commit aad1e92b5e.
2022-02-10 15:08:01 +01:00
The-going
990798c3fb
Patching sunxi 5.15 (#3460)
* Remove an aged patch from use #3443

Allwinner-Add-frame-inversion-to-correct-audio-chann.patch

* Rename and prepare for the series 5.15

* Split and rename files for sun50i-h616-dtsi

* Split and rename files for sunxi overlays

* Remove mutually exclusive patches

* Add fifty redesigned patches to the series

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove fifty-four old patches

* Fix compile error

* Delete unused ones and sort if possible for megous series

* sunxi-5.15: Sort, fix compile warning, remove unused

* Rework print log for patching
2022-02-05 21:53:26 +01:00
Julian Sikorski
1d499d9ac2
Update odroidxu4-current to 5.4.176 (#3458)
* Update odroidxu4-current to 5.4.176
* Update odroidxu4-current to 5.4.177
2022-02-05 18:05:47 +01:00
The-going
f80117f21c
Recycling of megous v5.16.4 patches (#3449)
* Recycling of megous v5.16.4 patches

The patches were sorted as far as possible. Some patches are renamed
according to their place of application. The length of the patch name
has been changed to improve readability using
the `git format-patch --filename-max-length=75` method.

The folder containing the patches will have the name `patches.name`
and the corresponding file `series.name` for the convenience
of processing and moving them upstream. But the control file remains
`series.conf`.


Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Add a series of armbian patches for 5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove patches whose fixes are already in the kernel

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-02-02 11:03:44 +01:00
catalinii
188d6d0a8a
Support edge kernel for Rock 3A and rk35xx (#3371)
* Support edge kernel for Rock 3A and rk35xx

* Removing patch email headers

There is also some script floating around to do this automatically when pooling from patchwork

* Update rk356x-usb2-support.patch

* Remove email headers

* Remove email headers

* Remove email headers

* Update config and change edge branch

* Enable edge beta build

* Refresh the rk35xx patches and update the dts
Remove also previous wireless patches related to IPX removal

* Removing hirsute target

deprecated

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-01 22:53:43 +01:00
The-going
d885bfc97d
Patching sunxi (#3445)
* waiter_local_repo: Fixed incomplete logic

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* A series of patches for sunxi v5.15.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* DEBUG

* check 70

* check 101

* Add 101 Armbian patches as series

Patches are renamed using the logic of the file structure
and the essence of the changes, sorted in the order
of their receipt. Fixed a lot of incorrect overlay
of some pieces in patches. Several small patches are
combined, because they changed one file.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove old patches that have been reworked into a series

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix for apply to v5.15.17

* Two Bluetooth-BTRTL patches for sunxi will be applied in the series.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* check 113

* Fix print output

* Revert "DEBUG"

This reverts commit 49e2c7fdc0.
2022-01-28 19:08:04 +01:00
Igor Pecovnik
8fda8d4852
Remove deprecated patches that breaks meson64 edge 2022-01-28 14:00:34 +01:00
Paolo Sabatino
ce0899e1e5
rockchip64: add broadcom bluetooth serdev workaround against default MAC address for edge 5.15 kernel 2022-01-27 14:21:09 +00:00
Paolo
d1e8c0d27b
rockchip64: add realtek rtl8723cs and rtl8703bs wifi and serdev bluetooth support for edge 5.15 kernel (#3422) 2022-01-22 19:48:34 +01:00
Julian Sikorski
deda43aca8
Update odroidxu4-current to 5.4.173 (#3423) 2022-01-22 19:29:35 +01:00
Yao Fei
2f6ccd12c8
Add OrangePi 3 pps-gpio (#3081) 2022-01-20 14:48:41 +01:00
Vyacheslav
8ae85b9eca
JetHome: JetHub D1 fix patch: sdio: update JetHub D1 regulators for SDIO (#3389)
Fix the dts to match board's reference design:
- update vddio_boot regulator to 3.3v (Wi-Fi SDIO module)
- add vccq_1v8 regulator with 1.8v for eMMC SDIO

In the first revision of JetHub D1 the vccq_1v8 regulator was 3.3v.
All installed eMMC modules were tested to work in HS200 mode at 3.3v
supply voltage. In the next revisions of the device eMMC will be
powered with 1.8v according to the standard.
2022-01-17 18:10:10 +01:00
The-going
8331e8b9dc
Add initial series patches for sunxi-5.16 (#3392)
* Add initial series patches for sunxi-5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Now all patches are applied to the v5.16 kernel without errors

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Handle an exception if the initial tag is the top of the branch.

Remove the handling of the old exception.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* sunxi64_common.inc: Fix for 5.16

* sunxi-common.inc: Fix for 5.16

* Revert debug for EDGE: KERNEL_VERSION_LEVEL to "5.15"

* Add new patches from megous and switch to v5.16.1

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* waiter_local_repo: Fixed comment

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-01-17 14:19:53 +01:00
Igor Pecovnik
b568c3aa68
Patch adjustements 2022-01-16 17:57:24 +01:00
Igor Pečovnik
2b8fc08eeb
Adjust broken patches and remove deprecated (#3403) 2022-01-16 14:53:14 +01:00
Igor Pecovnik
e9fb9542c7
Remove deprecated patch for functionality we don't need (Rpi wiring compatibility)
Closing https://github.com/armbian/build/issues/3400
2022-01-12 19:47:30 +01:00
Oleg
ea5bfeff0a
fix kernel media-edge (#3396) 2022-01-12 08:07:54 +01:00
Igor Pečovnik
3196fac0d1
Maintenance (#3395)
* Upstream patches and bug fixes

* Move to CSC
2022-01-11 18:53:52 +01:00
Oleg
6b490e1694
move kernel edge to 5.16 (#3387) 2022-01-11 15:26:11 +01:00
Igor Pečovnik
4ffef325ba
Several improvements for RPi builds (#3391)
* Several improvements for RPi builds

- attach to RPi kernels
- current (ubuntu) -> legacy
- current -> 5.10.y, edge, 5.15.y

* Move current Rpi to 5.15.y and edge to 5.16.y
2022-01-11 15:25:58 +01:00
Paolo Sabatino
f3388b9aee add ssv6051 driver for kernel 5.10 and 5.15 2022-01-07 11:29:20 +01:00
Igor Pečovnik
d7794cc7b1
Add upstream patches (#3380) 2022-01-06 11:50:58 +01:00
Oleg
e453e4dfba
fix kernel legacy for firefly-rk3399 (#3369) 2021-12-27 08:27:01 +01:00
catalinii
f6143eff67
Fix the uboot for rock-3a (#3271)
* Sync kernel config with radxa and remove packaging patch

* Merge the rockchip64 legacy config as well

* Lower priority of EFI partitioning against DOS partitioning which is used by Armbian

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-12-25 11:57:26 -05:00
Julian Sikorski
acfbbd9660
Update odroidxu4-current to 5.4.168 (#3365) 2021-12-22 20:55:43 +01:00
Igor Pečovnik
e1c96e5257
Attempt to fix kernel OOPS (#3358) 2021-12-20 09:42:53 +01:00
The-going
94e17628c3
Fix megouse patches for 5.15.10 2021-12-17 20:48:45 +03:00
Dan Pasanen
7be9e8b995
rockchip-[current,edge]: add pcie hack and lsi scsi/sas support (#3351)
* build: kernel: rockchip64-[current,edge]: add pcie bus scan delay patches

These are needed for cards like the LSI SAS2008 which needs a little
extra time to initialize or they'll cause a kernel panic.

References:
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/master/0013-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/master/0022-arm64-dts-rockchip-Add-pcie-bus-scan-delay-to-rockpr.patch

* config: linux-rockchip64-[current,edge]: enable lsi sata/sas support
2021-12-16 05:17:33 -05:00
Vyacheslav
5efc78b531
JetHome JetHub D1/H1 patch/bsp updates (#3348)
* JetHome: Update u-boot patches: fix emmc work on JetHub D1
* JetHome: update kernel patches with last updates for JetHub devices.
* JetHome: Update Bluetooth init script to more stable start.
2021-12-14 12:08:26 +01:00
Paolo Sabatino
e1a88959f8 rk322x: add bluetooth overlay, updated rk322x-config 2021-12-10 21:53:57 +01:00
Paolo Sabatino
c8f48d8368 rk322x: add rtl8723cs and rtl8703bs serdev bluetooth support 2021-12-10 21:53:57 +01:00
The-going
146803353c
Remove the garbage from the install.log file (#3333)
* Remove the garbage from the `install.log` file

You cannot use `--info=progress2` for the `rsync`
command when all output is sent to a file.
This creates a large garbage file.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Changes megous reverse commit. Just disable the patch

commit bd592ec43b76b298be29126e667850113b84376d (tag: orange-pi-5.15-20211125-1352)
Author: Ondrej Jirman <megous@megous.com>
Date:   Thu Nov 25 13:51:59 2021 +0100

    Revert "rtw88: Add more channels"

    This reverts commit cb1e3839822d4f782a9af6c27568540414093ba6.
2021-12-10 08:32:44 +01:00
Paolo
d876b9a5e1
rk322x: minor device tree fixes and upgrades (#3334)
Introduced a couple of device tree sets for MXQ_PRO and R29_MXQ boards
2021-12-10 00:08:03 +01:00
Igor Pečovnik
7783a2fe6b
Odroid XU4 - remove deprecated patches that were breaking build process (#3332) 2021-12-09 11:42:08 +01:00
The-going
c86dd24180
Sunxi 5.10: Fix ISO C90 forbids mixed declarations and code (#3329)
* Revert "Calculate patches changes only on first level since this fails when including subfolder. Bug in sort. Needs to be reworked once"

 Return `megous` patches

This reverts commit 2eae831889.

* Sunxi 5.10: Fix ISO C90 forbids mixed declarations and code
2021-12-08 16:15:41 +01:00
Paolo Sabatino
6506575e53
rk322x: restored 8723cs driver for edge kernel 2021-12-08 13:39:51 +00:00
Paolo Sabatino
0d5182e848
rk322x: remove mainlined hunks from kernel 5.15 patchset 2021-12-08 11:07:48 +00:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
Igor Pecovnik
2eae831889
Calculate patches changes only on first level since this fails when including subfolder. Bug in sort. Needs to be reworked once
Also cleanup few patches we don't need.
2021-12-05 16:53:08 +01:00
Julian Sikorski
aed2717909
Update odroidxu4-current to 5.4.163 (#3308) 2021-12-02 20:26:36 +01:00
Vyacheslav
39263b5e76
JetHome: fix thermal zones in JetHub D1 dts file (#3301) 2021-11-30 19:00:19 +01:00
The-going
bfe0300700
Fix warning: "IEEE80211_MAX_AMPDU_BUF" redefined if rtl8723cs module build (#3286)
All warning:
debug> grep warning: compilation.log | wc -l
152
A large number of garbage warnings:
debug> grep warning: compilation.log | grep IEEE80211_MAX_AMPDU_BUF | wc -l
103

After v4.19 linux kernel, this definition is not required.

Check:
list="$(find drivers/net/wireless/realtek/ -type f)"
for f in $list;do awk -v f=$f '/IEEE80211_MAX_AMPDU_BUF/{print f}' $f;done
drivers/net/wireless/realtek/rtlwifi/base.c
drivers/net/wireless/realtek/rtl8723cs/include/wifi.h

Only one drivers/net/wireless/realtek/rtlwifi/base.c file uses
the definition IEEE80211_MAX_AMPDU_BUF_HT.
or
See `git log -p b8042b3da925f390c1482b -3` command in
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-11-28 21:32:07 +01:00
The-going
ada47377b5
Patches megous current branch to v5.10.82 (#3294)
* Kernel switch tag: v5.10.82
* Rework series megouse for v5.10.82
* Switch new packaging for kernel 5.10 and more
2021-11-28 21:31:24 +01:00
The-going
33c413c679
Patches megous 5.15.5 (#3295)
* Rework patches for sunxi 5.15.4

* Rework patches sunxi for 5.15.5

* Kernel switch tag=v5.15.5 for sunxi EDGE

* Temporarily disabled, requires rework.

drivers/clk/sunxi-ng/sun8i-de33.c: In function ‘sunxi_de33_clk_probe’:
drivers/clk/sunxi-ng/sun8i-de33.c:155:8:
 error: implicit declaration of function ‘sunxi_ccu_probe’;
 did you mean ‘of_sunxi_ccu_probe’? [-Werror=implicit-function-declarati>
  ret = sunxi_ccu_probe(pdev->dev.of_node, reg, ccu_desc);
        ^~~~~~~~~~~~~~~
        of_sunxi_ccu_probe
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:277:
         drivers/clk/sunxi-ng/sun8i-de33.o] Error 1
make[2]: *** [scripts/Makefile.build:540: drivers/clk/sunxi-ng] Error 2

* Correct the comment.
2021-11-28 16:48:47 +01:00
The-going
7964a578f5
Patches megous 5.10 (#3293)
* Add a series of patches for sunxi 5.10

Patches from the repository
https://github.com/megous/linux branches of orange-pi-5.10

* Patches adapted to the kernel version v5.10.81

* Remove unnecessary patches 5.10.19-5.10.75

* Kernel switch tag=v5.10.81 for the current sunxi

* Adjust broken patches, build tested on sunxi and sunxi64

* Remove patch added by mistake

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-11-27 00:48:30 +01:00
Heisath
d861f37a9f Fix mvebu patches once more 2021-11-25 09:05:55 +01:00
Oleg
9204ef6f81
fix dts firefly-rk3399 for edge (#3287) 2021-11-23 23:10:17 +01:00
Igor Pecovnik
cf2b423b5c
Disabling two broken patches that prevent kernel recompilation
@heisath
2021-11-23 23:07:37 +01:00
Paolo Sabatino
e9fe8fe177
rockchip64: remove mainlined patches/hunks for current 5.10 kernel 2021-11-23 14:51:15 +00:00
Heisath
caa68d4085 Update mvebu patches 2021-11-22 08:46:18 +01:00
Igor Pecovnik
9dbb72b01c
Adjusting patches due to upstream changes to make mvbe family operational again
@heisath
2021-11-21 17:58:03 +01:00
Piotr Szczepanik
3b1812c002
Fixed rockchip64 current compilation - broken since c67b70aa3d 2021-11-20 22:38:34 +01:00
Oleg
c67b70aa3d
fix SD for firefly-rk3399 (#3268) 2021-11-20 19:49:42 +01:00
simple
401fb1fde4
Fixed rt5651 codec build module (#3270) 2021-11-20 19:49:22 +01:00
The-going
864ae626a8
Switch sources for sunxi 5.15 to the mainline kernel source. (#3272)
* Add new function apply_patch_series
* Apply a series of patches if a series.conf file exists
* Add all megous orange-pi-5.15 branch patches as series
* Add an Exception for version 5.15 for sanxi
* Adjust the switch for sunxi
* Fix megous patches series for v5.15.3
* Switch version to 5.15.3 for sunxi
* Check the exception for 5.15 sunxi
2021-11-20 19:48:51 +01:00
Igor Pecovnik
f889bc775c
Fixing broken Orangpi Zero2 legacy build due to upstream changes 2021-11-20 17:12:49 +01:00
Igor Pečovnik
d3386b5480
Upstream patches (#3267) 2021-11-17 23:59:00 +01:00
Igor Pečovnik
1ecdf0af57
Remove upstream patches to workaround libc bug (#3261) 2021-11-16 19:40:51 +01:00
Igor Pečovnik
9d8609d965
Add critical patches from Khadas repository (#3255) 2021-11-15 12:42:57 +01:00
tonymac32
9ccb9966e3 Fix UART speed for K2 BT
if you don't set the max speed, it doesn't run well.
2021-11-14 20:40:38 -05:00
tonymac32
2a78d51306 NanoPi K2 add BT support
NanoPi K2 has built-in wifi/BT, add BT DT entry.
Firmware has been added to armbian/firmware repo
2021-11-14 19:14:04 -05:00
Julian Sikorski
958a95b933
Update odroidxu4-current to 5.4.159 (#3249) 2021-11-12 21:15:17 +01:00
catalinii
4b246221e0
Fix the build on rk35xx platform (#3247)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-11-12 06:17:07 +01:00
Paolo Sabatino
29335b0c99 rk3328: dmc driver fixes:
* rework to fix regulator and frequency issues
 * rework nanopi-r2s, roc-cc and roc-pc patches to accomodate dmc dtsi changes
 * map gpu as cooling device
 * fix dmc 600 Mhz opp node min voltage
2021-11-11 22:31:07 +01:00
Paolo
4c3dcbf4fc
Rockchip 5.15 (#3242)
* rockchip: bump to kernel 5.15, reworked mainlined patches

* rk322x: bump edge kernel to 5.15, reworked mainlined patches

* rk322x: update edge kernel config

* rockchip: remove some debug config options due to chatty dmesg

* Add patches to revert ipx.h header file remove in 5.15 kernel
2021-11-09 21:58:35 +01:00
Igor Pečovnik
dd51f9f2af
Bump imx6, xu4, rockchip64 and jetson-nano to 5.15 (#3238)
* Bump to 5.15.y imx6, xu4, rocchip64, jetson-nano

* Sunxi patches cleanup

Thanks @jernejsk

* Bump Meson64 to 5.15.y

* Bump mvebu* to 5.15.y

@heisath

Disable 13-net-mvneta.patch - double check.

* Add uppstram patch for opi zero2 legacy kernel

* Update mvebu mvneta patch

* Orangepi Zero2 reboot fix

Co-authored-by: Heisath <jannis@imserv.org>
2021-11-09 18:06:34 +01:00
Igor Pečovnik
36c06fec28
Bump sunxi to 5.15.y (#3236) 2021-11-07 00:04:02 +01:00
Piotr Szczepanik
d178ad02bf
Disabled regulator supply validation in rockchi64 current
Works around all those "Failed to register regulator: -517" errors
2021-11-06 22:08:48 +01:00
Igor Pecovnik
a74ef8778f
Update upstream patches 2021-10-28 19:37:09 +02:00
Paolo Sabatino
5fa022603c rockchip64: provide rkvdec node for rk3328 2021-10-23 16:54:56 +02:00
Paolo Sabatino
f9275135aa rk3328: add rga node, fix probe 2021-10-22 19:58:33 +02:00
Paolo
682e4085ab
rockchip64: add IEP driver (#3215)
* rockchip64: add IEP driver
* enable IEP driver as kernel module
2021-10-21 22:55:25 +02:00
Igor Pečovnik
5ba09b73cd
Add upstream patches, remove deprecated (#3214) 2021-10-21 18:55:58 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Igor Pecovnik
c83bb5c3b2 Remove deprecated patch 2021-10-19 10:44:36 +02:00
Igor Pečovnik
c9afbb26b9
Add upstream patches (#3203) 2021-10-18 19:52:23 +02:00
Oleg
286eed02f7
fix jetson-nano (#3199) 2021-10-15 14:19:00 +02:00
Igor Pečovnik
997c103c26
Upstream patches and a patch name correction (#3194)
* Just upstream patches and a patch name correction

* Add configs
2021-10-14 00:01:42 +02:00
Igor Pečovnik
51ee548ab4
Delete 0381-drivrs-mmc-revert-g103a5348c-to-fix-some-wifi.patch
https://github.com/armbian/build/pull/3192
2021-10-13 13:18:19 +02:00
Vyacheslav
ae7c00689e
Remove unnecessary patch as backported to kernel 5.10.72 (#3192)
commit e5cb3680b958ed3eb66504c0865f767d760cc9cd
Author: Neil Armstrong <narmstrong@baylibre.com>
Date:   Tue Sep 28 09:36:52 2021 +0200

    mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk

    commit 8a38a4d51c5055d0201542e5ea3c0cb287f6e223 upstream.

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-13 12:49:41 +02:00
Paolo Sabatino
a1d044de8e rockchip: update support for edge kernel 5.14
* imported Rockchip project patches from libreelec
	* disable duplicate/unapplicable patches and rework others
	* add patches for tinkerboard, miqi and xt-q8l-v10 to enable hevc, hevc_mmu and rga nodes
2021-10-12 15:59:01 +02:00
Heisath
d972daac50 Update net dsa mv886xxx patch 2021-10-10 21:31:27 +02:00
Heisath
d45499694e Update mvebu-edge 5.14 patches with version from http://git.armlinux.org.uk/cgit/linux-arm.git/log/?h=clearfog 2021-10-10 21:31:14 +02:00
Heisath
5a8513360c Switch mvebu-edge to kernel 5.14 2021-10-10 21:30:56 +02:00
Heisath
4b87543863 Add PCIe Wifi quirks patch for Atheros and Qualcomm cards
https://lore.kernel.org/linux-pci/20210505163357.16012-1-pali@kernel.org/
2021-10-10 09:21:02 +02:00
Igor Pečovnik
a38a3ff77b
Upstream patch (#3183) 2021-10-09 17:58:25 +02:00
Igor Pečovnik
c74b8ea582
Orangepi Zero 2 legacy - add upstream patches (#3180) 2021-10-09 17:57:33 +02:00
Igor Pečovnik
cd7131cd86
Add upstream patches for sunxi (#3177) 2021-10-07 18:53:56 +02:00
Oleg
b2d54059f7
fix analog sound station-p1 (#3166) 2021-10-07 16:48:09 +02:00
Igor Pečovnik
5059acac6a
Add upstream patches (#3175) 2021-10-07 01:08:09 +02:00
Haraade
cab962caa5
Odroidxu4 upstream 5.4.149 (#3170) 2021-10-04 18:20:25 +02:00
Paolo Sabatino
03ef2ce9ac
rockchip64: raise voltage on rk3328 gpu opp table for stability with high-speed ddrbins on edge kernel 2021-09-27 19:12:34 +00:00
Ricardo Pardini
956c1606de
meson64: current (5.10.y): ODROID N2(+) patchset rework for mainline u-boot, stability and rebootability (#3154)
- starting from Home Assistant OS (HASSOS) setup/patchset, which is stable with pure-mainline
  - *huge thanks* to Stefan Agner (@agners) from Home Assistant for his work and help with this
  - CONFIG_DRM_MESON=y fixes the order of shutdown callbacks, allowing it to reboot without patches
    - this increases the kernel size a bit, due to some dependencies like DRM=y
    - remove the shutdown revert patch, allowing other meson64 boards to mainline-reboot
  - add fdt/no-map patch fixing the dreaded "SError Interrupt on CPU4" panics that plagued the N2
- move the N2 to mainline u-boot on current (rebased, already done)
  - add SPI-enabling DTB variants, which allow writing to SPI NOR flash (and usage instructions in comments)
    - add UBOOT_TARGET_MAP and write_uboot_platform_mtd to current, for nand-sata-install to SPI/USB goodness
  - remove the UHS-enabling patch, to avoid 1.8v vs 3.3v mess. Make sure to use only A1-rated SD cards as recommended.
- change default cpufreq governor for 24h+ stability
- other patch cleanups:
  - move deprecated/non-applying patch to need-check
  - remove the HardKernel ODROID-specific reboot driver and DTS patches (odroid-reboot.c) which are now useless.
  - remove documentation-only patches (we have enough patches in meson64 without those)
  - remove duplicated SAR ADC patches
  - remove multiple different and conflicting patches for DTS and emulated-PWM GPIO fan
    - now using simple on/off GPIO fan at 30 celsius, unrelated to passive cooling
2021-09-26 21:44:28 +02:00
Igor Pecovnik
5ba4159b17
Upstream patches and config adjustements 2021-09-26 20:06:31 +02:00
Igor Pecovnik
fbaeb940ca
Consolidate wireless driver related patch
Fixing troubles in https://github.com/armbian/build/pull/3154
2021-09-26 17:25:52 +02:00
Paolo Sabatino
a71ef23575 rockchip64: tidy up rk3328 patches
* remove 0-rever-rk3328.dtsi-.patch
 * split rk3328-dtsi-mmc-vdec-usb3-tweaks.patch into different specific patches (sdmmc-ext, mmc-reset, power domains, usb3 resets)
 * split rk3328-audio-and-renegade-supplies.patch into specific roc-cc audio and supplies patch and general rk3328 spdif patch
 * add "dtsi" infix to rk3328 patches that deal with dtsi files
 * add back mali gpu operating points patch
2021-09-26 08:35:58 +00:00
Igor Pecovnik
17507962f5
Maintenance - add and remove upstream patches 2021-09-25 08:30:11 +02:00
Werner
7dfc3e34f6
Create 9999-revert-net-stmmac-dwmac-rk-fix-unbalanced-pm_runtime_enab… (#3149)
* Create 9999-revert-net-stmmac-dwmac-rk-fix-unbalanced-pm_runtime_enable-warnings.patch

Temporary fix for rk3399 eth issue introduced with 5.14.y
https://forum.armbian.com/topic/18956-hirsute-no-ethernet-after-update/?do=findComment&comment=128876

* wrong archive

* Create revert-fix-unbalanced-pm_runtime_enable-warnings.patch

Reverts 2d26f6e39a
https://forum.armbian.com/topic/18956-hirsute-no-ethernet-after-update/?tab=comments#comment-128877
2021-09-24 19:00:01 +02:00
Paolo Sabatino
a25ce2e075
rk322x: remove mainlined patches 2021-09-19 16:58:15 +00:00
Igor Pecovnik
2fb7ad52e0 Update upstream patch for sunxi edge 2021-09-19 15:14:47 +02:00
Kali Prasad
b29527c697
Thermal sensor support for H616 SoC. (#3153)
Signed-off-by: Kali Prasad <kprasadvnsi@protonmail.com>
2021-09-19 12:10:59 +02:00
Piotr Szczepanik
a105cd2756
Removed mainlined (5.10.67+, 5.14.6+) rockchip_i2s_tdm changes for ROCK Pi S 2021-09-18 22:48:20 +02:00
Paolo Sabatino
5710008358 rk322x: add rga probe patch for edge kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
176fa36df4 rk322x: disable rtl8723cs wifi patch for edge kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
5474cba740 rk322x: fix sdio wifi pinctrl on IPB900 board 2021-09-18 10:29:57 +00:00
Paolo Sabatino
dd1d2ba781 rk322x: hardware cursor for current kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
b39c367a35 rk322x: prefer 8-bit hdmi output over YCbCr 2021-09-18 10:29:57 +00:00
Paolo Sabatino
31d238930b rockchip: enable broadcom serdev bluetooth for current and edge kernels
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected)
	* enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev
	  facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel.
	  Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
2021-09-16 17:51:34 +00:00
Paolo Sabatino
8409f1bfcb rockchip: fix rga probe function 2021-09-16 14:38:44 +00:00
Chris McGee
bc7dfd1dd6
Bring forward and update pinecube sound patch for kernel 5.14 (#3144) 2021-09-15 22:21:21 +02:00
Ruikai (Rick) Liu
687c363918
Add NanoPi R2C support (#3138)
* Add NanoPi R2C support
* Bring NanoPi R2C, R2S to edge
2021-09-15 22:20:35 +02:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
simple
15819f00e2
general add panel simple dsi (#3140)
* Backporting patch to 5.10 kernel makes sense. Lets do it.

Co-authored-by: iamdrq <iamdrq@qq.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-09-12 20:06:02 +02:00
Paolo Sabatino
bef4992ac1 rk322x: analog audio codec for edge kernel 2021-09-12 14:26:18 +00:00
Paolo Sabatino
85a0682229 rk322x: enable yuv modes for win1, enable 10bit modes for both win0/1 2021-09-11 17:56:26 +00:00
Paolo Sabatino
f15bc37276 rk322x: add back edge kernel patches lost in the process, hardware cursor dedicated plane 2021-09-11 12:51:28 +00:00
Paolo Sabatino
6f95a75542 rk322x: fix edge kernel dtb patch 2021-09-11 12:51:28 +00:00
Igor Pečovnik
5672f0fa5d
Add Odroid XU4 current upstream patches and enable Mali kernel driver (#3137) 2021-09-10 08:25:03 +02:00
Paolo
4425589e15
rk322x: bump edge kernel to 5.14, u-boot to 2021.07 (#3133) 2021-09-09 22:59:12 +02:00
Igor Pecovnik
96dd55548e
Add patches which were deleted by mistake. Also add upstream patch for sunxi 2021-09-08 20:13:00 +02:00
Igor Pečovnik
744ea89a58
Bumping EDGE kernel to 5.14.y (#3125)
* Bumping EDGE kernel to 5.14.y

Meson64:
- removing Odroid reboot shutdown patch since its probably not needed anymore

Rockchip64:
- removing Rockpi S. No interest to maintain this any further
- removing PBP suspend. Doesn’t align. Need inspection if some other way was mainstreamed
- temporally removing Orangepi R1

* Re-adding rockpis, pbp suspend, HFLPS170 wifi and cleanup

* Removing deprecated patch, fixing ap6256 wifi

* Re-enable Opi R1 plus, untest

* Add and fix Radxa Zero
2021-09-08 17:51:34 +02:00
Oleg
a33445c910
fix kernel station current (#3127) 2021-09-08 17:50:23 +02:00
Igor Pečovnik
abbe87a450
Add Radxa Zero initial support (#3128)
* Add support for Radxa Zero

u-boot: new patch based on v2021.04
kernel: use patches sent to kernel list by chewitt

Tested with minimal build and cinnamon desktop:
- SD/eMMC, ok
- USB3, works in USB 2 mode
- HDMI, ok
- WiFi/BT, ok

Signed-off-by: Jack Ma <jack@radxa.com>

* Add build targets

* Cleanup and set min speed to 666000

* Change to WIP target

Support status undetermined

Co-authored-by: Jack Ma <jack@radxa.com>
2021-09-08 17:50:05 +02:00
Piotr Szczepanik
5f2e23e908
Disabled hs400 on Helios64 (hopefully only temporarily) (#3126) 2021-09-08 09:54:06 +02:00
Chris McGee
72def00d8c
Pinecube: add i2s device to the sound patch (#3122) 2021-09-03 18:28:26 +02:00
Chris McGee
97f9725033
Add enable pinecube sound to 5.13 (#3120)
This brings the patch forward from 5.11 to the new edge 5.13 kernel
2021-09-02 20:44:45 +02:00
Ricardo Pardini
334d847512
ODROID N2(+): chewitt's uboot + SPI-NOR enable via extra DTBs = SPI Boot to USB, no more hangs. (#3119)
- fix/dup bootscript, since new u-boot fixed n2_plus to n2-plus variant
- g12b: if n2 and edge, enable new u-boot; include non-SD version as SPI binary; write_uboot_platform_mtd
- Kernel DTS patch to add SPI-flash-enabled DTBs (slower eMMC), produces -spi .dtbs for n2 and n2-plus
  - This could also be an overlay, but I dunno overlays.
- SPI+USB3 boot works with "pendrive" storage, untested with cabled/high power USB->SATA or USB->NVMe

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-02 20:44:19 +02:00
Stefan
c6c1981631
fix bananapro dts for using lima driver (#3117)
https://forum.armbian.com/topic/14180-bananapro-lima-driver-problems/
2021-09-02 20:44:01 +02:00
Kali Prasad
eca69597d7
Fix h616-RTC patches that are breaking builds for armhf (#3118)
* Fix h616-RTC patches that are breaking builds for armhf
* Place fixed patches inline

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-09-02 20:41:53 +02:00
Haraade
b67ac420a2
Upstream Hardkernel 5.4.134 (#3116)
* Upstream Hardkernel 5.4.134

Upstream Hardkernel 5.4.134

* Upstream 5.4.142

Upstream hardkernel 5.4.142
2021-08-27 13:31:24 +02:00
Igor Pecovnik
c9785ba958
Upstream patches 2021-08-24 09:21:03 +02:00
Igor Pecovnik
9a478d4376
Adding and removing upstream patches 2021-08-19 18:29:03 +02:00
Igor Pecovnik
f55584f9e9 Remove deprecated patches 2021-08-19 18:16:18 +02:00
Igor Pečovnik
6d82498bec
Remove deprecated patch (#3097) 2021-08-16 20:32:22 +02:00
Igor Pecovnik
5402a2770b Add upstream patches 2021-08-16 12:53:22 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Igor Pecovnik
14a04e66b5 Upstream patches 2021-08-12 19:17:29 +02:00
Tony
c5edfdcc6d
Delete board-nanopi-k2-ethernet-fix.patch
This patch is no longer relevant and interferes with Ethernet in newer kernels.
2021-08-12 12:24:47 -04:00
Paolo Sabatino
cba37d6b47 rk322x: fix mainlined patches 2021-08-09 20:17:28 +00:00
Tony
f3a8c1769e
Fixing ethernet on K2, audio on C2 and patch cleanup (#3089)
* [ meson64 ] nanopi K2 ethernet fix

Fix NanoPi K2 Ethernet issues

Do some cleanup of the Meson64 folder while at it

* [ Meson64 ] revert accidental delete of C2 audio patch
2021-08-09 08:27:39 +02:00
Tony
ee610096bc
RK3328 GPU DMC OPP tables (#3088)
* [ RK3328 ] boost GPU voltages to avoid starving Memory controller

The RK3328 has the dynamic memory controller and GPU on the same power rail.
Both are able to be dynamically clocked, both have opp tables.

 - DMC min voltage:  1.075V
 - GPU min voltage:  0.950V

On boards with only the GPU enabled, they memory controller can be under-voltaged.
On boards attempting to use both, the disagreeing opps result in the GPU failing to init

This patch applies a mV range opp to the GPU and fixed opps to the DMC on rk3328-roc-cc
to allow everything to get alongin all possible devfreq situations.

* [ rockchip64 ] clean up disabled patches

* [ rock64 ] add mali supply and remove unused 5V supply

- New Mali opps will keep from starving ram controller

- extra supply was causing dmesg errors.

As it shares enable with another supply and both were marked "always on"
I removed the second.  Neither are referenced by any ports/devices.
2021-08-09 08:24:51 +02:00
Igor Pecovnik
d1aaa70511 Upstream patches add and remove 2021-08-08 14:12:06 +02:00
Tony
01f67a51dc
Merge pull request #3065 from armbian/rk3328-usb3
Move Rk3328 usb3 to mainline
2021-08-06 19:48:04 -04:00
Igor Pecovnik
4bc2dd27b1 Bugfix - disable wireless driver for older kernels and add a few upstream patches for meson64 legacy
Kernel was only tested for building.
2021-08-06 18:27:23 +02:00
Igor Pecovnik
7f44207062 Add upstream patches and re-add Orangepi3 to u-boot 2021-08-05 01:15:36 +02:00
Igor Pečovnik
f317cd72b4
Upstream patches (#3071)
* Upstream patches

* Adjust configs

* Revert xu4 config
2021-07-29 17:24:52 +02:00
Ricardo Pardini
13329ebcd0
Odroid HC4: pick 5.13's patches for SPI-NOR dts and XT25F128B flash chip (#3069)
- add mtd-utils to PACKAGE_LIST_BOARD.
- this should be enough to wipe Petitboot;
- more investigative work and u-boot building is needed for SPI+SATA boot

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-28 21:54:35 -04:00
tonymac32
3205bb1d90 [ rockchip64 ] Rock64 and roc-cc usb3 2021-07-27 01:31:17 -04:00
tonymac32
d8dbefd618 [ rockchip64 ] rk3328 change to mainline USB3 2021-07-27 00:05:09 -04:00
Paolo Sabatino
74561e9800 rockchip64: remove patches committed by accident 2021-07-26 15:45:17 +00:00
Oleg
4a1e862ebd
fix 5.10.53 (#3059) 2021-07-26 14:55:32 +02:00
Werner
eaea7142be
Fix ebin SATA (#3057)
* Create 0001-pci-Add-Max-Payload-Size-quirk-for-ASMedia-ASM1062-SATA-controller.patch

* Removing email headers from patch

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-07-26 10:06:20 +02:00
Igor Pecovnik
885a99fe66 Adjust and add upstream patches
- reenable 8723ds on K5.13 and remove deprecated wifi patches
- adjust rockchip audio and vdec patches in 5.13.y as in 5.10.y
2021-07-26 07:54:09 +00:00
tonymac32
4c52601d52 [ rockchip64 ] remove superceded pacth
Kernel 5.10.51 --> 5.10.52 fixed this in mainline
2021-07-25 16:06:54 -04:00
tonymac32
67599e3dbb [ rockchip64 ] fix RK3328 build issues
5.10.52 --> 5.10.53 changed all power doamin names, and bugfixed the sdmmc regulator states
2021-07-25 16:02:44 -04:00
Haraade
d348851e70
Upstream Hardkernel 5.4.134 (#3049)
Upstream Hardkernel 5.4.134
2021-07-23 10:07:51 +02:00
Paolo Sabatino
5023beb1e5 rk322x: remove upstreamed patch 2021-07-22 15:21:24 +00:00
Igor Pecovnik
f83100f9af Orangepi Lite 2 - fixing HDMI and removing bits that are already mainlined
Thanks to Jernej:
https://forum.armbian.com/topic/12862-orange-pi-lite2-no-more-1920x1080-kernel-55x/?do=findComment&comment=127157
2021-07-22 09:06:01 +02:00
Igor Pečovnik
e7377248b3
Second part of EDGE bumping to 5.13.y (#3045)
* Bump Meson64 EDGE to 5.13
* Bump Rockchip64 EDGE to 5.13.y
* Bump Odroid Xu4 edge to 5.13.y
* Bump rockchip edge to 5.13.y
2021-07-22 00:15:54 +02:00
Igor Pecovnik
e7177f3b9b Adjust sunxi-current patches - remove broken, add upstream 2021-07-21 17:46:55 +00:00
Oleg
30e8fc7d83
fix station-current 5.10.52 (#3043) 2021-07-21 14:31:34 +02:00
Igor Pečovnik
e21e82b546
Upgrading sunxi, sunxi64, imx6, jetson-nano, mvebu and mvebu64 EDGE to 5.13 (#3042)
* Upgrading sunxi and sunxi64 EDGE to 5.13

Both variants tested for building

* Bump imx6 to 5.13.y

Tested

* Bump Jetson nano kernel to 5.13.y

* Move mvebu and mvebu64 edge to 5.13.y
2021-07-21 00:46:51 +02:00
Igor Pecovnik
06a8324977 Bugfix for rockchip64 current kernel compilation and upstream patches 2021-07-19 15:59:58 +00:00
Oleg
1c7b8ab10d
fix kernel 5.10.51 (#3034) 2021-07-19 13:41:46 +02:00
Paolo Sabatino
fe4f00ecdc rk322x: fix deferred voltage regulator, gpu opp table and dmc missing regulator for edge kernel 2021-07-18 15:31:49 +00:00
Paolo Sabatino
e4add7b8fd rk322x: update rk322x-edge kernel config, add DMC patches and overlays 2021-07-18 14:06:35 +00:00
Paolo Sabatino
baf9815f8b rk322x: add DMC driver and runtime clock adjust, change rk322x-config emmc options
* add DFI driver to provide hardware-based memory controller load
     * adapted DRAM Memory Controller driver from rk3328, add necessary headers
     * provide device tree overlays to enable DDR3 clock scaling
     * adapted rk322x-box to allow DDR speed bin selection to user
     * add ipb900 board gpio configuration
     * add rtl8723cs driver to linux-current kernel
     * use ddrbin v1.10 set to 330 Mhz at boot
     * provide overlays for ddr3 at 330, 528, 660 and 800 mhz
     * split emmc overlays to enable options by user choice
     * modified rk322x-config to support dmc, emmc overlays
     * remove optee trust os in favor of rockchip proprietary blob
       for dmc functionality
2021-07-17 15:21:48 +00:00
Paolo Sabatino
429136e062 rk322x: rework patch for kernel 5.12 2021-07-17 13:52:30 +00:00
Paolo Sabatino
a2942247ca rk322x: adjust patches for kernel 5.10 2021-07-17 13:52:30 +00:00
Igor Pecovnik
2e093e4309 Adjusting broken patches on RK332x
@paolosabatino review if somethint too much was removed
2021-07-16 15:59:00 +00:00
Oleg
ff310a7980
fix kernel station-current 5.10.50 (#3017) 2021-07-16 11:26:06 +02:00
Tony
2d8db84c90
Tinker Board 2 WIP (#3011)
* [ Rockchip64 ] Add Tinker Board 2

Using Mainline ATF/U-boot/Kernel

What works:

- USB (NOT TYPE C)
- PCIe
- LED's
- Ethernet
- HDMI

TODO:

- Type-C (fusb302 stuff)
- Type-C DP
- Regulators for big cores and GPU (sitting at default values now, no DVFS)
- Formware/driver for RTL8822CE

U-boot spits out some trash right after handing off control from SPL to U-Boot,
but doesn't impact boot.  Needs looked at.

* [ rockchip64 ] remove unrelated changes to 369ab2decdc5a3c49973d8eeb783c95558dcc41a

* [ rockchip64 ] fix merge mess from symlinks step 1

* [ rockchip64 ] fix merge mess from symlinks step 2

* [ rockchip64 ] fix merge mess from symlinks step 3

* [ rockchip64 ] add asus driver for FAN53200 regulator

* Rename tinkerboard.conf to tinkerboard.wip

set as WIP for merge to trunk.  Not ready for images just yet.

* revert rename to wip

wrong tinkerboard

* Rename tinkerboard-2.conf to tinkerboard-2.wip

prepare for merge to trunk.  Not ready for images

* Tinker Board 2 GPU and Type-C

Support USB3 over type-C connector.  display Port is still non-functional, framework in device tree however

Enable GPU

* Tinkerboard 2 DTS tweaks

Added this round:

Type-C DP now works
thermal sensors enabled  (oops)

* Tinker Board 2 update config

-Adds wifi support for the RTL8822
2021-07-15 21:29:27 -04:00
Igor Pecovnik
aeeb837b4e Upstream patches 2021-07-15 22:50:36 +02:00
Igor Pecovnik
6a20227e1c Add upstream patches 2021-07-12 10:51:31 +02:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Igor Pecovnik
ad53cc2d15 Add upstream patches and adjust configs 2021-07-07 20:16:06 +02:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
Oleg
5b0dc2d7c5
add support wifi rtl8822bs for kernel 4.4 and 5.x (#2980) 2021-07-07 16:04:27 +02:00
Igor Pecovnik
95f4afd3b2 Adjust upstream patches and configs 2021-07-02 13:00:09 +02:00
tonymac32
c3747cf0a9 [ rockchip64 ] remove disabled roc-pc patch 2021-07-01 01:12:54 -04:00
tonymac32
a53eadc325 Merge branch 'master' of github.com:armbian/build 2021-06-28 01:16:02 -04:00
tonymac32
a00fabe6c3 [ Rockchip64 ] correct patch names 2021-06-28 01:15:24 -04:00
Icenowy Zheng
e6c4287246
Pine A64 LTS v2 support (#2919)
* remove obsolete and broken patch for pine64so u-boot

This prevents the image from being built.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: fix pine64so phy-mode and add yt8511 support

Pine A64-LTS board should have RGMII-TXID mode instead of RGMII-ID (the
Realtek PHY chip's RXID is sometimes broken).

In addition, new Pine A64-LTS v2 board will use YT8511 instead of
RTL8211E, which still works under RGMII-TXID mode.

Backport YT8511 driver and phy-mode change from linux-next.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-06-28 07:04:53 +02:00
Igor Pecovnik
2d3976065f Adding meson64 shutdown patch to edge kernels
Like https://github.com/armbian/build/pull/2821
2021-06-27 22:17:05 +02:00
Igor Pecovnik
15b4278a99 Adjusting broken patch and update kernel config for meson64 family 2021-06-27 20:49:20 +02:00
Tony
239367ff17
Update board-rockpis-0017-WIP-Sync-rockchip_i2s_tdm-to-BSP-tree.patch (#2920)
The patch got rid of a check for a 0 frequency, causing the mclk log error.  eliminate the code.
2021-06-25 23:34:47 +02:00
Igor Pečovnik
219f2bcbd9
Remove deprecated patches (#2922)
* Remove deprecated patches. They broke Pine H64 booting

* Update kernel config
2021-06-25 23:32:14 +02:00
Igor Pecovnik
55a86663e0 Upstream patches and small kernel config adjustements 2021-06-23 20:23:36 +02:00
Igor Pecovnik
7325cc57d7 Upstream patches add / remove and config adjustements 2021-06-21 23:01:14 +02:00
Igor Pecovnik
428a208767 Bugfix - h616 patches break armhf. Did notice when adding to sunxi-edge. Move forward to 5.13.y - can be used for manual inclusion 2021-06-21 16:58:33 +02:00
Werner
f3dd19f890
Bump Zero2 (H616) (#2907)
* Update sun50iw6.conf

* Extract patches from private kernel branch, remove 5.10, cleanup

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:05:49 +02:00
Oleg
f484fb7a8b
fix dts for firefly-rk3399 legacy (#2902) 2021-06-16 19:47:19 +02:00
Igor Pecovnik
f34f322eef Adjust broken patch that fixes reboot troubles on meson64 family 2021-06-15 21:02:18 +02:00
Lane Jennison
8cc20a2c6b remove duplicate patches 2021-06-15 09:07:46 -04:00
lanefu
4d56b824c2
Sunxi patchforward (#2898)
* bump patches 5.10.41 - 5.10.43
2021-06-15 07:30:17 -04:00
Piotr Szczepanik
8c6662280c
Fix NanoPi R4S USB ports by moving NanoPC device tree specific changes (#2877) 2021-06-14 21:27:35 +02:00
Igor Pečovnik
fb823a032d
Patches adjustments for Jetson, XU4 and Meson64 legacy (#2895)
* Move Jetson patches to right location, add upstream patch

Also add upstream patch for sunxi

* Add upstream patches for Odroidxu4 current

* Add meson64 upstream patches
2021-06-12 10:06:37 +02:00
Oleg
a3f2777f52
add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
Jannis
b6cf5ab6e8
Merge pull request #2871 from armbian/helios4-pwm
Update 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch for lk5.12 (edge)
2021-06-09 07:36:35 +02:00
The-going
c8a8d2d61f
These patches have aged. (#2879)
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-06-06 20:51:57 +02:00
Heisath
ebc3997e4b Update 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch for lk5.12
Tested with helios4, pwm working on both channels
2021-06-03 12:37:10 +02:00
Igor Pečovnik
bc32f1913d
Small bugfixes to buildall, remove patch that is not needed (#2869) 2021-06-02 10:55:17 +02:00
Jack Chen
fe34d972dc
rockchip: add missing rk3288-tinker-s.dts file (#2862)
fix the kernel 4.4 boot issue introduced by 3f30b48

Signed-off-by: Jack Chen <redchenjs@live.com>
2021-06-01 19:48:57 +02:00
juanesf
be412d2ddd
Bpi-M2-Ultra enable audio on branches (#2866)
* Remove unnecessary patch

- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.

* Add enable-audio-codec-bpim2ultra-kernel.patch

- Add patch to enable audio codec in bpi-m2-ultra with h3 compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)

* Bpi-M2-Ultra enable audio on branches

- This finishes enabling the audio codec in the other kernels (5.4 - 5.10 - 5.11)
- Remove patch from u-boot folder (my bug)
- Compiled and tested in their respective kernel with debian buster

* Bpi-M2-Ultra enable audio kernel 5.12

- add patch to kernel 5.12
2021-06-01 19:48:04 +02:00
Paolo Sabatino
8ba48305e1 rk3328: revert mali opp table patch for rockchip64-5.11 2021-05-30 23:21:02 +02:00
Paolo Sabatino
a7d3086f8a rk3328: add missing gpu opp table, lima driver does not complain anymore 2021-05-30 14:30:21 +00:00
Igor Pecovnik
e1f63c571c Add upstream patches and remove deprecated patch
sunxi, odroidxu4
2021-05-28 14:17:47 +02:00
Igor Pecovnik
0d76096d8e Add upstream patch 2021-05-28 08:59:13 +02:00
Igor Pecovnik
39f703ea85 Add upstream patches 2021-05-27 20:47:53 +02:00
Igor Pecovnik
1473cd31fc Add sunxi upstream patches 2021-05-24 12:42:26 +02:00
Igor Pečovnik
e78cb4ce2a
Extract Odroid related patches from Tobetter branch and move sources to mainline (#2847)
Also temoporally remove overlay support which is broken
2021-05-23 17:28:33 +02:00
Uglymotha
314061c3c3
Improve sunxi fix-a64-timejump.patch (#2824)
* Improve sunxi fix-a64-timejump.patch

Current patch still throws BUG:
WARNING: CPU: 2 PID: 31 at drivers/clocksource/arm_arch_timer.c:364 sun50i_a64_read_cntpct_el0+0x2c/0x38

Cause: Timer values are required to be exactly the same, while it may increase in between reads. Seems to happen especially during boot
Timer values are like: x2 : 0000000015014561 - x0 : 0000000015014567

Solution: Normalize timer values and return normalized value.

* Add patch for 5.12.y

Note. Small changes on upstream solution:
GENMASK(9, 0 ... -> GENMASK(8, 0 ...

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-05-23 00:06:52 +02:00
Igor Pecovnik
8665e44f20 Upstream patches for Odroid XU4 current 2021-05-22 17:15:08 +02:00
Igor Pečovnik
3b3d85e25c
Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y

* Bump odroid xu4 edge to 5.12.y

* Bump Jetson nano edge to 5.12.y

* WIP: Bump sunxi to 5.12.y

- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing

* Adjust wireless patches to build on 5.12.y

* Remove template wireless patch

* Move Espressobin edge to 5.12.y

* Bump mvebu to 5.12

- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds

* Adjust sunxi / sunxi64 edge to compile

* Fix kernel config for Jetson nano edge

* bump meson64 to 5.12.y

* bump rockchip edge to 5.12.y

* Bump rockchip64 to 5.12.y

* Bump rk322x edge to 5.12.y

@paolosabatino

* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y

* Update odroidxu4 edge links

* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules

* Cleanup: remove deprecated config

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2021-05-22 17:08:44 +02:00
Julian Sikorski
ba87e0cfb8
Update odroidxu4-current to 5.4.120 (#2843) 2021-05-21 07:49:45 +02:00
Igor Pecovnik
c96918d6c4 Remove wrong link 2021-05-19 07:27:02 +02:00
Piotr Szczepanik
8eece74eb5
Re-enabled accidentally disabled xhci trb quirk in rockchip64-current 2021-05-16 13:35:47 +02:00
Igor Pecovnik
a09e90dad8 Merge branch 'master' of https://github.com/armbian/build 2021-05-15 18:52:03 +02:00
Igor Pecovnik
503245afeb Add and remove upstream patches 2021-05-15 18:51:44 +02:00
juanesf
53c98cd6ca
Pinecube swap audio patch (#2830)
* Remove unnecessary patch

- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.

* Add enable-sound-pinecube-kernel.patch

- Add patch to enable audio codec in pinecube with v3s compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)
2021-05-15 18:33:43 +02:00
Igor Pecovnik
81d1de321a Bugfix - adjust patches 2021-05-14 15:04:50 +02:00
Igor Pecovnik
aaaad16bb2 mvebu - remove deprecated patches 2021-05-14 14:31:18 +02:00
Igor Pecovnik
96227680c9 Bugfix - build failed when compiling rockchip64-current
small patch adjustement
2021-05-14 13:07:06 +02:00
Igor Pecovnik
fa2de2a3a2 Add upstream patches 2021-05-13 12:58:16 +02:00
Ricardo Pardini
1f79933197
meson64 vs hardkernel "meson_drv_shutdown" patch debacle (#2821)
A long story short:
- patch 'meson64_add_shutdown_function_to_meson_drv.patch' (adds meson_drv_shutdown) added on 04/03/2021
- same patch renamed to '.patch_disabled' on 07/03/2021, since it broke what it was supposed to fix
- kernel 5.10.24 upstream merged similar version of patch, which indeed fixed some khadas stuff, but broke odroid, at least HC4
- now I add this patch to revert upstream.
- also remove the .patch_disabled to avoid confusion
- to say the truth, the HC4 is not reboot-proof, it still hangs sometimes. so this is not the end of it.
  - ps: without this revert, HC4 hangs 100% of the time.
- ps2: did not test on edge 5.11 yet, but it looks like the same

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-05-12 21:43:12 +02:00
Danny
d553e2eba6
Support for capture selection, for Allwinner A20 Audio Codec (#2818) 2021-05-11 20:27:57 +02:00
Igor Pecovnik
9c185c596b Remove deprecated patch 2021-05-07 11:53:33 +02:00
Igor Pecovnik
e3a7b902ce Add upstream patches 2021-05-06 11:51:34 +02:00
Igor Pecovnik
bb3fee0952 Upstream patches 2021-05-06 11:07:21 +02:00
Igor Pecovnik
049121c17b Add upstream patches 2021-05-02 10:52:22 +02:00
Jack Chen
27175e3e55
rockchip: fix emmc busy loop on Tinkerboard (#2791)
There are already emmc nodes in rk3288-tinker-s.dts, adding these nodes
to rk3288-tinker.dtsi will cause emmc busy loop on original Tinkerboard.

Signed-off-by: Jack Chen <redchenjs@live.com>
2021-05-01 19:20:41 +02:00
lanefu
9737c2171e
Merge pull request #2759 from tparys/microzed
Adds Xilinx Bootgen tools to build environment (alongside sunxi-tools, etc ..)
Adds new SoC family Zynq (7000 series, not MP/UltraScale)
Adds new board Avnet MicroZed
2021-05-01 11:38:06 -04:00
Paolo Sabatino
fb0f8f73bd rk322x: add led/gpio config for T066 boards, updates to rk322x-config 2021-04-25 11:55:45 +00:00
Paolo Sabatino
70c8774c1e rk322x: small increase in logic voltage for better stability 2021-04-23 19:19:27 +00:00
Oleg
ee26078972
fix rk3399-roc-ps-plus (#2786) 2021-04-21 10:10:56 +02:00
Igor Pecovnik
bad7362189 Remove deprecated upstream patches 2021-04-19 19:30:13 +02:00
Igor Pečovnik
510e348202
150balbes fix station legacy (#2782)
* Fix Legacy Stations

Co-authored-by: balbes150 <balbes-150@yandex.ru>
2021-04-18 22:48:56 +02:00
Paolo Sabatino
9a211110ea rk322x: restored trust reserved memory in device tree 2021-04-15 19:50:55 +00:00
Igor Pecovnik
57041c99a8 sunxi edge - add upstream patches 2021-04-14 21:32:54 +02:00
Igor Pecovnik
61b1c311dc Add upstream patches 2021-04-14 10:38:10 +02:00
Julian Sikorski
dc2076e99f
Update odroidxu4-current to 5.4.111 (#2771) 2021-04-14 00:42:22 +02:00
Werner
87f911ceb8
add upstream patches (#2743)
* add upstream patches

* Add more patches

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-04-13 00:19:18 +02:00
Igor Pečovnik
b46f603355
Improvements for Jetson Nano (#2752)
* Further improvements

- merge general config options
- add edge branch with 5.11.y
- enabled zram
- verified docker dependencies

* Enabled EDGE CLI target
2021-04-12 22:33:27 +02:00
AmadeusGhost
05a72b8954
rockchip: add Orange Pi R1 Plus support (#2755)
* rockchip: add Orange Pi R1 Plus support

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

* rockchip: nanopi-r2s: add gpio for the lan/wan leds
2021-04-12 22:32:21 +02:00
Oleg
4ab06060a3
fix firefly-rk3399 (#2758) 2021-04-12 22:23:15 +02:00
tim
f60920a2b7 Add Avnet MicroZed 2021-04-10 20:39:31 -04:00
Igor Pecovnik
fc47e24f21 sunxi - remove deprecated patches 2021-04-06 11:11:53 +02:00
JMCC
23e571cb4a NanoPC-T4 legacy: Disable edp and move it to overlay 2021-04-03 16:07:19 +02:00
Igor Pecovnik
82030ce3da Add upstream patches for Odroid XU4 current 2021-04-01 23:24:19 +02:00
Igor Pecovnik
d8746795cd Add upstream patches for sunxi and adjust configs 2021-03-31 00:17:15 +02:00
Paolo Sabatino
087cb0e86a rk322x: improving stability for some boards, add missing wireguard module
* add device tree overlays to handle boards with power regulation issues,
* fix misconfiguration issues in overlays
* add missing wireguard module for rk322x-current and -edge
2021-03-30 18:02:36 +00:00
hellfi
872ff9a35e
orangepi device tree addition/re-enabling for 5.10.y (#2750)
* Add files via upload

* same orangepi dts as for 5.10
2021-03-30 16:33:30 +02:00
Igor Pečovnik
a761fc33a7
Fixing AP mode on Tinkerboard (#2748) 2021-03-29 22:03:54 +02:00
Igor Pecovnik
fc2efcb873 sunxi - remove deprecated patch 2021-03-28 12:19:22 +02:00
Igor Pecovnik
d761841c7d sunxi edge - add upstream patch 2021-03-26 15:52:05 +01:00
Igor Pecovnik
6eb2650e79 Remove deprecated patch 2021-03-24 20:49:07 +01:00
Igor Pecovnik
76c06deb24 Add sunxi upstream patches and adjust CLI beta target DEV -> EDGE 2021-03-24 20:24:33 +01:00
Igor Pecovnik
eb5715e37d Adjust upstream patches 2021-03-24 20:17:54 +01:00
Igor Pečovnik
fd5688314c
Fix network connection (#2738) 2021-03-24 19:07:23 +01:00
Igor Pečovnik
0cdffb29b0
Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00
Gauthier Provost
5e69351b3d
Re-enable network checksum TX offload on rockchip64 family (#2623)
* Re-enable network checksum TX offload on rockchip64 family

* Adjust gmac PBL setting for rk3399 legacy to fix network issues with MTU 1500

* Adjust gmac PBL setting for rk3328 in rockchip64-legacy to fix network issues with MTU 1500

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2021-03-23 08:00:10 +01:00
Piotr Szczepanik
08dca8c6ab
Fix trb ent quirk patch for rockchip64 (current/dev) and make it more resilient (#2728)
* Fix trb ent quirk patch for rockchip64 (current/dev) and make it more resilient

* Re-enabled the trb ent patch in dev too
2021-03-23 07:57:05 +01:00
Heisath
849569a528 mvebu remove upstreamed patches 2021-03-20 22:26:01 +01:00
Igor Pecovnik
1cff7fa285 Remove broken patch 2021-03-20 15:27:24 +01:00
Igor Pecovnik
2c987b7a09 Remove broken patch 2021-03-18 11:17:43 +01:00
Martin Ayotte
d57bf0ce73 fix Pinebook-A64 LCD 2021-03-17 17:07:48 -04:00
Martin Ayotte
1089e88627 delete useless patch 5.11.3-4/5.11.4-5/5.11.5-6 2021-03-17 17:05:11 -04:00
Igor Pecovnik
3c96df8d25 Disable broken patch 2021-03-17 21:27:32 +01:00
Martin Ayotte
d49be78b70 fix Pinebook-A64 LCD 2021-03-17 12:42:30 -04:00
Igor Pecovnik
044083c45e Disable potentially broken upstream patches 2021-03-15 00:05:08 +01:00
Paolo Sabatino
adde0e26a6 rk322x-dev: adapted and enabled patch to fix various clocks (hdmi, internals) 2021-03-14 18:47:52 +00:00
Igor Pecovnik
a4c26108a8 Allwinner upstream patches 2021-03-12 22:19:41 +01:00
Paolo Sabatino
95425c27b9 Changes and fixes to rk322x uboot and kernel config
- Enabled nfc on rk322x-dev and disable on rk322x-current (need further development)
- Tidied up rk322x-current device tree
- enabled nfc rockchip driver enabled in rk322x-dev kernel config
- Enabled EHCI controller in u-boot (added patch for inno-phy, device tree and config bits), better device detection for dwc2 usb otg port
- Removed SPL_FIT_GENERATOR from u-boot configuration, fixed .its file to use binman
- fixed rk322x its file (now includes dtb), reverted u-boot to v2020.10 and changed dev_* into log_debug() calls
2021-03-12 20:20:12 +00:00
Igor Pečovnik
fb3a676261
Adjust compiler fixes that it builds on more modern build host (#2699) 2021-03-11 23:59:23 +01:00
Igor Pecovnik
0e8a4464c8 odroidxu4 current add upstream patch 2021-03-08 09:00:39 +01:00
Igor Pečovnik
0e025f4cf3
Bump meson64 DEV to 5.11.y (#2695) 2021-03-08 08:58:18 +01:00
Igor Pecovnik
ada2a6eeb8 sunxi - add upstream patch 2021-03-07 17:26:59 +01:00
Igor Pecovnik
a3d29f4082 bugfix - some rockchip64 patches needed adjustments
They were breaking compilation. Tested for building
2021-03-07 15:40:10 +01:00
Igor Pecovnik
7989d036cb meson64 disable shutdown fucntion since it works rihht the opposite
It always hangs, disabling enable reboot back on - not sure if this is proper solution. We need to make many reboots ...
2021-03-07 14:41:23 +01:00
Igor Pecovnik
9e84ec6535 meson64-legacy: add upstream patches 2021-03-07 14:40:41 +01:00
Igor Pecovnik
c05b4ccddb sunxi - add upstream patch 2021-03-07 11:06:20 +01:00
Igor Pecovnik
ed787f4a16 Add upstream patch 2021-03-06 21:27:38 +01:00
Igor Pecovnik
1e73637a7a Remove deprecated patch 2021-03-04 16:48:21 +01:00
Igor Pecovnik
b355a31109 meson64 - fix random stucks on reboot stage 2021-03-04 15:05:35 +01:00
Aditya Prayoga
eefad69215
Attempt to improve stability on Helios64 (#2680)
* Adjust the RK808 buck step to improve stability

* Adjust vdd_log and enable vdd_center init voltage

For some reason, regulator-init-microvolt property under PMIC does not applied. Set the voltage on board file.
2021-03-04 10:39:40 +07:00
Tony
4971535c77
RK3399 Typec DP (#2676)
* RK3399 NanoPC-T4 Add Type-C alt mode DP
* rk3399 rockpi 4C add mini-DP (WIP)
* [ rockchip64 ] revert rockPi 4C DP patch

Add an extension to disable it, but leave for future work.
2021-03-03 07:59:25 +01:00
Aditya Prayoga
4bda055a9b
Restore eMMC HS400 on Helios64 (#2677)
* slightly reduce eMMC clock to improve signal integrity
* restore eMMC HS400 ES support
2021-03-03 09:12:38 +07:00
Igor Pecovnik
8d6ce7ce05 Odroid C4 / HC4 / N2 legacy upstream patches 2021-03-02 23:46:40 +01:00
Piotr Szczepanik
a6ee913fae
NanoPi M4V2 stability fix for current and dev (#2663)
* Explicitly set vdd_log voltage for NanoPi M4V2 - possibly fix stability issues

* Regulator tweaks for NanoPi M4V2

* Add vdd_log to kernel and switch vdd_center back to 900mV

* Switch vdd_center to 0.95

* Make rk80x bucks voltage steps shorter to make the NanoPi M4V2 stable

* Tweak u-boot config for NanoPi M4V2

* Made the rk808 voltage steps configurable and configured 50mV for NanoPi M4V2
2021-03-02 21:07:22 +01:00
Martin Ayotte
61ba606f4a fix realtek-8723cs for 5.11.y 2021-03-01 18:05:12 -05:00
Martin Ayotte
2db9ad158d delete rtl8189xx patch for 5.11.y since it is been merged bt CGarces in original branch 2021-02-28 20:26:17 -05:00
Martin Ayotte
6fe97da4ac fix a glitch in rtl8189xx patch for 5.11.y 2021-02-28 19:38:58 -05:00
Martin Ayotte
ec36591108 fix a glitch in rtl8189xx patch for 5.11.y 2021-02-28 18:23:50 -05:00
Martin Ayotte
3f480669e3 fix a glitch in rtl8189xx patch for 5.11.y 2021-02-28 17:40:44 -05:00
Martin Ayotte
bba53d4644 fix rtl8189xx for 5.11.y 2021-02-28 16:03:23 -05:00
Igor Pecovnik
d8d391aaf1 Odroid XU4 current - add upstream patch 2021-02-28 21:13:57 +01:00
Igor Pečovnik
3a74abe43d
Merge desktop branch (#2662)
Co-authored-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Richard Neese <r.neese@gmail.com>
Co-authored-by: iav <iav@iav.lv>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
Co-authored-by: Oleg <balbes-150@yandex.ru>
Co-authored-by: Lane Jennison <lane@lane-fu.com>
Co-authored-by: JMCC <jmcc1@gmx.com>
2021-02-24 18:19:09 +01:00
Igor Pecovnik
789fe94137 Update broken upstream patches 2021-02-23 22:45:37 +01:00
Igor Pecovnik
973407893a Maintenance: update configs and add upstream patches 2021-02-23 19:23:22 +01:00
Mi-cc5ec
4fa59fe0b3
* Corrected the order of WAN and LAN LEDs to correspond to the tag on the official metal case. (#2657)
Co-authored-by: chenchanglin1 <chenchanglin1@xiaomi.com>
2021-02-23 11:52:42 +01:00
Jannis
0b8b5f1de6
Merge pull request #2651 from armbian/AR-648
[AR-648] mvebu-dev: Adjust gpio-pwm patch
2021-02-23 08:11:07 +01:00
Heisath
7534f3aa4d mvebu-dev: Add gpio-pwm patch description 2021-02-22 12:56:05 +01:00
Heisath
ccd8b12eb4 mvebu-dev: Update gpio-pwm patch
Revert 0829882144
2021-02-22 12:49:09 +01:00
Heisath
bb335a70e4 mvebu-dev: Adjust gpio-pwm patch
- shorten & combine old patches
- adjusted patches to work on lk5.11
2021-02-22 11:42:04 +01:00
Igor Pecovnik
d1bed529fa Fix errors in HDMI sound for Allwinner A10-A31
https://github.com/armbian/build/pull/2096
2021-02-22 09:30:13 +01:00
Paolo Sabatino
04670580ea Moved rk322x-dev to linux kernel 5.11
Added led configuration dtbo for rk322x targets
2021-02-20 20:48:42 +00:00
JMCC
34f1ce7aa0 NanoPC-T4 legacy: enable USB-C DisplayPort out 2021-02-18 20:09:37 +01:00
Igor Pecovnik
dd82638982 Remove deprecated patches 2021-02-18 15:21:51 +01:00
Igor Pecovnik
f2c0b634f4 Remove deprecated patches 2021-02-17 08:19:45 +01:00
Igor Pečovnik
54bc65b3bb
Bump DEV kernels to 5.11.y (#2636)
* Bump rockchip DEV 32b to 5.11.y

* Move mvebu64 DEV to 5.11.y

* Move Rockchip64 DEV to 5.11.y

Disabling general-rkvdec_nv15.patch - need more attention

* Add Meson DEV / Odroid C1

* Move OdroidXU4 DEV to tobetter's 5.11.y branch

* Bump sunxi DEV to 5.11.y

* Bump mvebu DEV to 5.11.y
2021-02-17 01:36:25 +01:00
Martin Ayotte
dff89835c6 fix rtl8812au for 5.11.y 2021-02-16 14:33:29 -05:00
Igor Pecovnik
d1e90ddaa9 odroids: remove or adjust upstream patches 2021-02-16 08:41:15 +01:00
Igor Pečovnik
d28c170a23
RTL 8811CU: Add support for K5.11.y (#2638)
* RTL 8811cu: Add support for K5.11.y
* Update configs and remove deprecated patches
2021-02-15 16:25:19 +01:00
Igor Pecovnik
d5917f2379 Odroidxu4 - upstream patch 2021-02-14 15:57:06 +01:00
Igor Pecovnik
13badaf334 sunxi - add upstream patch 2021-02-13 22:30:59 +01:00
Igor Pecovnik
d2fe129f3a Update kernel config, add upstream patches 2021-02-11 17:23:41 +01:00
Igor Pečovnik
dc98eeb264
Add upstream patches (#2630) 2021-02-11 00:11:44 +01:00
Igor Pečovnik
4763a457c1
Add missing overclocking opp for N2+ (#2629) 2021-02-10 18:31:58 +01:00
Igor Pecovnik
2b1306443d Remove deprecated patch 2021-02-05 11:27:39 +01:00
gentoo-root
7c85ffe28c
mvebu: Patch kernel to fix SATA write performance regression (#2595)
* mvebu: Patch kernel to fix SATA write performance regression

Add an upstream patch that fixes SATA write speed regression that
appeared in kernel 5.9.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>

* Create 0001-Revert-block-simplify-set_init_blocksize-to-regain-l.patch

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-02-03 20:21:38 +01:00
Igor Pečovnik
8afc6b6280
Add DVFS fixes to current branch and change to mainline u-boot (#2598) 2021-02-03 20:18:28 +01:00
Igor Pečovnik
f900d9b636
Upgrade Odroid XU4 DEV to 5.10.y (#2607) 2021-02-02 19:33:28 +01:00
Igor Pecovnik
dc13e7ec4f Add upstream patches 2021-02-01 09:33:35 +01:00
Igor Pecovnik
0829882144 Fix compilation errors on mvebu current / dev
Fixed by reverting https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpio?h=v5.10.12&id=43f2e6077f441d681f0337ab91f7c4c2d4c62761 which needs closer examination when time permits.
2021-01-30 19:17:25 +01:00
Ricardo Pardini
de89592d84
meson64: hwmon: (pwm-fan) add fan pwmX_enable attribute for pwm's exposed via hwmon (#2587)
- for manual/auto control of pwm fan (in the ODROID HC4 for example)
- original is at 8a63de9e2a
- discussion https://patchwork.kernel.org/project/linux-hwmon/patch/20201125163242.GA1264232@paju/
- I'd be much happier with a cooling map in the DTB, but this makes my fans spin correctly via fancontrol
- this affects all of meson64, but only for PWMs that are already exposed to hwmon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-01-30 09:53:17 +01:00
paolo
d3ffc4ac7c [rk322x] Moved rk322x-current to kernel 5.10.y, added alternative wlan wiring for some boards 2021-01-29 19:20:50 +00:00
Ricardo Pardini
c503193934
meson-64: Expose Amlogic thermal as HWMON devices (#2586)
- this lets lm-sensors see the ddr/cpu temps, on HC4 at least

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-01-28 15:14:31 +01:00
Ricardo Pardini
4a829f1501
Odroid HC4: add red led to DTS (#2585)
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-01-28 15:14:10 +01:00
Piotr Szczepanik
804c57dd59
Enable RTC (hym8563) for Station P1 in mainline (renaming DT in process) (#2577)
* Enable RTC (hym8563) for Station P1 in mainline (renaming DT in process)

* Switch Station P1 to rockchip64

* Fix linking for Station P1 device tree in legacy
2021-01-26 21:22:37 +01:00
Piotr Szczepanik
2788adcced
Enable DMC for Station M1 in current and dev (#2575)
* Enable DMC for Station M1 in current and dev

* Disable unstable 924MHz in Station M1 DMC
2021-01-26 21:22:04 +01:00
guidol70
f5a9a1f227 Changing the ethernet eth0 phy-mode from rgmii to rgmii-id (like on Neo2 H5)
because only with mode rgmii-id the onboard ethernet-port can be used with kernel 5.9.x up to 5.10.10
Tested successfully on new compiled armbian buster current/dev images (on armbian-build-system)

see also https://forum.armbian.com/topic/16892-nanopi-a64-doesnt-connect-with-onboard-ethernetwifi-with-new-compiled-currentdev-image/?do=findComment&comment=118128
2021-01-26 17:12:09 +01:00
Piotr Szczepanik
5bc190864e
Adjusted mtu validation disabling patch in rockchip64 (for kernel 5.10.10+) 2021-01-23 22:16:15 +01:00
JMCC
438563b665 Station M1 Legacy: Enable 1.51Ghz OPP 2021-01-22 20:34:45 +01:00
Jannis
bd4c2c67f0
[AR-609] Switch mvebu-current to 5.10.y (reusing config and patches from -dev) (#2547)
* mvebu-current move to lk5.10.y

* mvebu-current update patches based on -dev

* mvebu-current update kernel config
2021-01-22 13:20:44 +01:00
Igor Pečovnik
46ea2050fd
Move mvebu64 current to 5.10.y (#2565) 2021-01-22 13:13:18 +01:00
zhouzhiwen2000
b388750162
fix problems with mmc modules (#2566) 2021-01-22 13:12:49 +01:00
Aditya Prayoga
568d8472b3
Fix 2.5G Ethernet on Helios64 Mainline kernel (#2567)
* rockchip64: Added XHCI HCD USB TRB ENT quirk

On some xHCI controllers (e.g. Rockchip RK3399/RK3328/RK1808), they need
to enable the ENT flag in the TRB data structure to force xHC to
prefetch the next TRB of a TD.

Enable the quirk on RK3399 through device tree node properties.

Ported from Rockchip Linux 4.19

* add to dev branch
2021-01-22 13:12:09 +01:00
Julian Sikorski
63e0a1ec08
Update odroidxu4 current kernel to 5.4.91 (#2569) 2021-01-22 12:58:02 +01:00
Igor Pečovnik
677ac38998
Bump rockchip to 5.10.y (#2570) 2021-01-22 12:57:22 +01:00
Piotr Szczepanik
bd60eb7596
Enable network link triggers for NanoPi R4S leds (#2571) 2021-01-22 12:57:01 +01:00
Igor Pecovnik
7b8f6ed403 Remove deprecated patch 2021-01-19 08:23:01 +01:00
Piotr Szczepanik
25e0f16334
Adjusted power and pmic configuration for Station M1 in current/dev 2021-01-18 23:21:40 +01:00
The-going
9af2eafac1
the patch-5.10.6-7 has aged and is no longer needed (#2554) 2021-01-18 15:29:39 +01:00
Piotr Szczepanik
091d91468e
Switched rockchip64-current to 5.10.y (and synced -dev config/patches) (#2546) 2021-01-17 19:07:59 +01:00
paolo
3a037e899b Adding pll hdmi timing to rockchip64-dev too
Fixed rk3328 mali node, shortening memory range to 0x30000 as per-stated in official documentation
2021-01-17 10:20:21 +00:00
paolo
a70a0df064 Removed emmc pwrseq for xt-q8l-v10 from rockchip current and dev kernel dtbs
Polished and fixed xt-q8lv-10 rockchip-legacy dtb
Reworked act8846 reboot patch for rockchip-legacy (applies, but not yet working though)
Renamed kernel updated patches in rockchip-legacy directory adding "04-" prefix to make them uniform with existing
2021-01-17 10:07:48 +00:00
Igor Pecovnik
8849b83ec6 Add upstream patches 2021-01-14 22:00:34 +01:00
Igor Pečovnik
fc9c312f79
Bump Meson64 current to 5.10.y (#2544) 2021-01-14 01:36:40 +01:00
JMCC
f8b2b97f14 rockchip64-legacy: Fixes to OV5647 driver 2021-01-12 23:53:06 +01:00
Igor Pecovnik
db7de90b24 Remove deprecated patches 2021-01-12 20:13:12 +01:00
Igor Pecovnik
151414ef49 Allwinner - add upstream patches 2021-01-10 16:16:58 +01:00
Piotr Szczepanik
d5ab47bff7
Minor tweaks to NanoPi R4S configuration (#2543) 2021-01-10 12:40:11 +01:00
Jannis
93bad09e93
Merge pull request #2540 from neheb/i2c
Update mvebu-dev patches
2021-01-10 09:19:28 +01:00
Rosen Penev
55df911a0d
mvebu: remove upstreamed patch
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-09 18:04:38 -08:00
Igor Pecovnik
16b1e43be8 Cleanup few kernel configs, remove deprecated patches 2021-01-10 01:48:30 +01:00
Igor Pecovnik
24097de258 Meson64 legacy - add support for SATA and add upstream patches 2021-01-10 00:08:31 +01:00