Commit Graph

657 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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