Commit Graph

3525 Commits

Author SHA1 Message Date
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
Rosen Penev
dca4f6ab3c
mvebu: refresh patches based on 5.10.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-08 19:11:02 -08:00
Rosen Penev
a3374fd984
mvebu: split pci clearfot patch as done in original git
This is how Russell King has it in his tree instead of one patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-08 19:02:03 -08:00
Rosen Penev
b48dfeb99d
mvebu: update SFP info patch to latest version
Pulled from Russell King's latest 5.10 git.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-08 18:51:58 -08:00
Rosen Penev
d4d05b07c0
mvebu: remove i2c patch
This patch (most likely taken from OpenWrt) only applies to ARMADA-XP
hardware, none of which is supported by Armbian.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-08 18:28:57 -08:00
Piotr Szczepanik
18cf7aff70
Consolidate all dts Makefile changes in a single patch in rockchip64-current (#2535) 2021-01-05 23:35:03 +01:00
Igor Pecovnik
535650da96 Fix broken ethernet on Orangepi 2 2021-01-05 22:54:58 +01:00
Igor Pecovnik
95b0b601b7 Fix broken ethernet on Bananapi Pro 2021-01-05 22:45:51 +01:00
Igor Pecovnik
53bc9e481a Fix broken ethernet on FriendlyARM K1+
https://forum.armbian.com/topic/16691-again-a-no-ethernet-after-update-this-time-nanopi-k1-plus-with-5104-dev/
2021-01-05 21:38:07 +01:00
JMCC
8b83866e16 rockchip-legacy: Enable RGA for RK3288 2021-01-04 22:53:12 +01:00
JMCC
bc6acc5b0a rockchip64/rk3399 legacy: Enable RGA for 64-bit Rockchips 2021-01-04 15:41:36 +01:00
Oleg
a1e96e68d8 add station legacy (#2521) 2021-01-04 11:51:43 +01:00
Jannis
a33df03a8d
[mvebu-dev] Disable DFS (#2524) 2021-01-04 01:03:43 +01:00
Igor Pečovnik
01024e20d5
Move sunxi current to 5.10.y (#2525) 2021-01-02 21:56:56 +01:00
Igor Pečovnik
3c793e66ed
Add initial config for R4S (#2415)
* Add initial config for R4S
* Enabled r8169 module for rockchip64-current
* NanoPi R4S board configuration file tweaks
* Add u-boot configuration
* Update PCI speed
* Add DT to DEV kernel
* Enable build targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-12-31 01:17:45 +01:00
Igor Pecovnik
0c8279a764 Rockchip64 DEV - Remove deprecated patch 2020-12-30 23:03:53 +01:00
Igor Pecovnik
70dc9f6cdc Meson64 - adjust broken patch 2020-12-30 22:23:01 +01:00
Igor Pecovnik
fffaf17048 sunxi-dev add upstream patch 2020-12-30 20:19:39 +01:00
Alex van Vucht
0c0a164e5c
Enable HDMI sound for Miqi & Miqi clones (#2519)
Sound node recovered from Pull Request #408
Sound node name changed in line with tinkerboard & xt-q8l, cf. issue #1367
Also added missing i2s node, cf. http://rockchip.wikidot.com/hdmi-audio
HDMI audio now confirmed working on Miqi clone, Openhour Chameleon
2020-12-30 17:43:20 +01:00
Igor Pecovnik
c4fd841e5e Merge Opizero2 phymode patch to dts patch 2020-12-30 17:40:50 +01:00
lanefu
7bb5101977
AR-512 OPI3 ethernet related stuff (#2473)
* remove tx-rx delay patch

* remove rx-tx patch for sunxi-dev

* updated additional phy-mode configurations

* cleaned up erroneous patch

* fixed phy-mode for orangepi-zero-plus H5

* fixed phy-mode for zeropi and opi zero2 

Co-authored-by: 5kft <5kft@users.noreply.github.com>
2020-12-30 11:17:25 -05:00
Lane Jennison
864170f0e8 add phymode fix for zeropi and orangepi-zero2 2020-12-30 11:10:36 -05:00
JMCC
a02924b1b0 rk3399's legacy: Add RPi cameras and touchscreen overlays 2020-12-29 23:06:50 +01:00
JMCC
1645254dcc rk3399's legacy: add OC overlays 2020-12-29 23:06:00 +01:00
JMCC
1db9f325b2 rockpi-4b legacy: enable MIPI-CSI camera support through RKISP1 2020-12-29 22:54:55 +01:00
JMCC
b2751ab56f rk3399's-legacy: Kernel patch to fix panic when RKISP1 is enabled 2020-12-29 22:52:09 +01:00
Igor Pečovnik
19a9631895
- add Neo3 to DEV (#2504)
- add z28 link to DEV
2020-12-28 22:44:02 +01:00
Igor Pecovnik
c7cc1825cd Update wifi related patches and (temprally) disable 8188EU since it breaks K5.10.y 2020-12-28 21:52:45 +01:00
Steven P. Goldsmith
9fb00809b1
XU4 fix gpio-line-names (#2503) 2020-12-27 18:08:56 +01:00
Igor Pecovnik
5fce5229f2 sunxi - add upstream patch 2020-12-27 01:29:55 +01:00
Igor Pecovnik
582f1228a0 Move Rockchip DEV to 5.10.y 2020-12-26 10:52:13 +01:00
Paolo Sabatino
8709a5395f [rk322x] Advanced dev kernel to 5.10.y 2020-12-24 14:36:20 +00:00
Paolo Sabatino
d200388b7f Added alternative device tree overlay wlan wiring for rk322x boards 2020-12-24 13:27:06 +00:00
Igor Pecovnik
6613e89261 Upstream patches 2020-12-23 22:34:24 +01:00
Igor Pecovnik
f913dd66ce Add upstream patch 2020-12-23 00:56:47 +01:00
Icenowy Zheng
c4d989f037
sunxi: fix PineCube Ethernet by removing conflicting patches from Olimex (#2493)
These patches are for Olimex S3-OLinuXino, which is not yet support by
Armbian.

Remove them to prevent DT node conflict.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-12-22 20:13:02 +01:00
Igor Pecovnik
e6e5438ff9 Update / add upstream kernel patches and ajdust configs 2020-12-22 15:30:55 +01:00
JMCC
bc434ca3f9
Merge pull request #2484 from armbian/AR-585
[AR-585]
2020-12-20 17:02:15 +01:00
5kft
d577ba32e5
fixed phy-mode for orangepi-zero-plus H5 2020-12-20 07:33:10 -08:00
5kft
16eb39a16d
cleaned up erroneous patch 2020-12-20 06:47:58 -08:00
5kft
fcd4acf8bf
updated additional phy-mode configurations 2020-12-20 06:39:09 -08:00
JMCC
b7efc41af2 Rockchip64-Legacy: Add HDMI-CEC pins to DT for Rockpi-4b and RockPro64 2020-12-20 14:40:49 +01:00
tonymac32
600db4d458 Merge branch 'master' of https://github.com/armbian/build 2020-12-19 22:48:03 -05:00
tonymac32
56fe004f34 [ rockchip64-dev ] sync overlays for OC opps w/current 2020-12-19 22:47:34 -05:00
q4a
2b627cb36b
rockchip-current: return hdmi patches and rework it for 5.9.y kernel (#2471)
rockchip-current: return hdmi patches and rework it for 5.9.y kernel
2020-12-18 18:50:47 +01:00
Tony
3f1baa0601
Merge pull request #2476 from armbian/rk3328-oc-overlays
Rk3328 oc overlays
2020-12-17 08:47:34 -05:00
tonymac32
129d8dbeb5 [ rockchip64 ] add oc opps for rk3328
remove default 1.5 GHz operation, enable as overlay at user risk
2020-12-17 01:54:18 -05:00
Igor Pecovnik
e1b8e77996 Remove misplaced patch
Close https://github.com/armbian/build/issues/2443
2020-12-17 01:41:27 +01:00
Igor Pečovnik
8192ac4d4d
Upstream patches (#2474)
* Add xu4 current upstream patch
* Update sunxi legacy
* Update sunxi current
2020-12-16 23:33:51 +01:00
Lane Jennison
343fb5f003 remove rx-tx patch for sunxi-dev 2020-12-16 12:28:50 -05:00
Lane Jennison
0cfd79fa07 remove tx-rx delay patch 2020-12-16 12:24:16 -05:00
Lane Jennison
f4a7a4c52c disabling 2020-12-16 12:23:56 -05:00
Tony
eb9131933f
[ rockchip64 ] add RK3399 2GHz opp as overlay (#2472)
RK3399 maximum clockspeed according to Rockchip is 1.8 GHz for all but a couple variants.  Almost all SBC's use 1.8 GHz silicon.

Remove automatic application of extra 2 GHz opp, allow user to select an overlay at their own risk.
2020-12-16 14:52:51 +01:00
tonymac32
4cb57c62b3 [ rockchip64 ] add RK3399 2GHz opp as overlay
RK3399 maximum clockspeed according to Rockchip is 1.8 GHz for all but a couple variants.  Almost all SBC's use 1.8 GHz silicon.

Remove automatic application of extra 2 GHz opp, allow user to select an overlay at their own risk.
2020-12-16 02:06:00 -05:00
Piotr Szczepanik
cd886792c0
Fix booting of roc-rk3399-pc/station-p1 with legacy 2020-12-15 23:07:54 +01:00
Igor Pečovnik
fa2fd517d1
Fix USB port on Rockpi S (#2461)
* Fix USB port on Rockpi S

* Rename patches for clarity

* Add patches to DEV

* Remove deprecated patch
2020-12-15 22:25:51 +01:00
Igor Pečovnik
b7d4a7a577
Enable UART2 on Rockpi S (#2460)
* Add uart2 for debug on Rockpi S

* Rename for clarity

* Add patch to DEV too
2020-12-15 22:25:23 +01:00
Igor Pecovnik
c8a163ce71 Merge branch 'master' of https://github.com/armbian/build 2020-12-15 00:11:38 +01:00
Igor Pecovnik
78027c5daf Switched mvebu-dev to linux 5.10.y 2020-12-15 00:11:01 +01:00
Piotr Szczepanik
2ccaee6343
Enable station-m1 (roc-rk3328-pc) in rockchip64-dev too 2020-12-14 23:57:57 +01:00
Piotr Szczepanik
1432a5cb96
Consolidate all dts Makefile changes in a single patch in rockchip64-dev 2020-12-14 23:57:57 +01:00
Piotr Szczepanik
71a4eaa868
Apply patchset cleanup from https://github.com/armbian/build/pull/2451 to rockchip64-dev 2020-12-14 23:57:57 +01:00
Steven P. Goldsmith
cfd9299122
XU4 add gpio-line-names (#2449) 2020-12-14 18:13:44 +01:00
tonymac32
40665cde86 [ rockchip64 ] Patch reorg round 2 2020-12-13 23:22:08 -05:00
tonymac32
dfd5cf9692 [ rockchip64 ] Clean up patchset 2020-12-13 22:13:03 -05:00
Igor Pečovnik
9a73552d6a
Adjust kernel configs, add upstream patches, bump mvebu64 dev to 5.9.y (#2440) 2020-12-11 20:17:29 +01:00
Igor Pecovnik
63114d1fc8 Remove deprecated patch 2020-12-11 16:36:58 +01:00
Igor Pečovnik
0b9115dab1
Bump Meson64 to 5.10.y (#2439)
- curently attached to RC7 as https://github.com/armbian/build/pull/2378
- config derived from current and contains all latest changes
- dirty reboot and eth0 reset hacks are not added and can be added later if still needed (need_check subfolder)
2020-12-11 00:33:05 +01:00
Steven P. Goldsmith
3bd69c6526
XU4 add con 11 pins to gpiomem sandbox (#2438) 2020-12-10 21:16:53 +01:00
Rosen Penev
aa3d60f57e
refreshed mvebu with quilt (#2419)
* mvebu-dev: refresh all patches with quilt

Cleaned up based on kernel 5.9.12.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* mvebu-current: refresh patches with quilt

Based on kernel version 5.9.12

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* mvebu-legacy: refresh patches with quilt

Based on kernel 4.19.161

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* mvebu-legacy: remove custom helios4 dts file

This is already added upstream. No need to have it here.

Continued refreshing the other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-10 11:47:33 +01:00
EvilOlaf
4a59ee82e3 sunxi-legacy: add upstream patches 2020-12-08 17:51:23 +01:00
Igor Pecovnik
ebb5f4ae7d Adding upstream patches and update kernel configs for several kernels 2020-12-06 17:17:49 +01:00
Igor Pecovnik
d2d3a9e449 Adjust patch to align properly 2020-12-06 15:06:40 +01:00
EvilOlaf
efba3da8a4 add modification notice 2020-12-06 10:31:29 +01:00
EvilOlaf
0b46f9ae2c remove fix for fix 2020-12-06 10:24:01 +01:00
EvilOlaf
23d80b18e4 fix 006 2020-12-06 10:20:46 +01:00
EvilOlaf
20cd5c9cbf remove whitespace 2020-12-06 09:56:24 +01:00
EvilOlaf
6214687995 missing new line break at file end 2020-12-06 09:40:12 +01:00
Igor Pečovnik
83b2f4a6c5
Add WIP support for Orangepi Zero 2 (#2418)
* Add WIP support for Orangepi Zero 2
* squeeze H616 patches into sunxi-dev
* Update linux-sunxi64-dev.config
* H616: Limit CPUMAX
* Enable DEV only
* H616: remove patches from sunxi-current
* H616: apply new patchset

Co-authored-by: EvilOlaf <werner@armbian.de>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2020-12-06 09:12:11 +01:00
Paolo
ebc0012d6e
Merge pull request #2149 from Miouyouyou/retry_rk500mhz
rockchip-current: Add GPU 500MHZ OPP
2020-12-05 17:32:40 +01:00
Igor Pečovnik
d0243775c9
Prep (#2413)
* Enable multicore compilation for headers compile.

* Remove deprecated part of the patch

* Remove deprecated patch
2020-12-05 01:04:41 +01:00
Igor Pečovnik
920247f56b
Small maintenance tasks (#2412)
* Enable multicore compilation for headers compile.

* Upstream patches and config adjustement
2020-12-04 00:11:45 +01:00
Jannis
2fe5e6f755
[AR-558] Switch mvebu current to LK5.9 (based on previous mvebu-dev) (#2405)
* mvebu-current switch to lk5.9
* mvebu-current update patches from dev
* Remove mvebu DFS patches
2020-12-03 10:24:27 +01:00
Piotr Szczepanik
ba5ea3be78
Fix UHS SD card voltage to 3.3V before shutdown on rockchip64 (dev/current) (#2393) 2020-12-03 08:42:28 +01:00
Jannis
3d4c472b9d
Merge pull request #2388 from neheb/k
mvebu-dev patches: refresh
2020-12-02 07:50:26 +01:00
Jannis
50c1d58d6f
Merge pull request #2387 from armbian/AR-548
[AR-548] Disable DFS on mvebu-legacy&current
2020-12-02 07:49:54 +01:00
Martin Ayotte
c5534178eb Fix missing H6 SPI pins 2020-11-30 21:01:57 -05:00
Martin Ayotte
e3ade9e9f4 Fix missing H6 SPI pins 2020-11-30 15:17:59 -05:00
Icenowy Zheng
bce3a717a9
sunxi64: current/dev: add pine64-7inch-lcd overlay (#2395)
Add overlay for the 1024x600 7" LCD from Pine64 to use it on
pine64/pine64so boards.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-11-30 16:49:15 +01:00
JMCC
bf6a850707
Merge pull request #2391 from armbian/add-kvim2
Several improvements to support meson-gxm
2020-11-28 21:37:17 +01:00
Piotr Szczepanik
8718f57f94
Removed obsolete regulator patch for rockchip64-current 2020-11-28 18:12:08 +01:00
Piotr Szczepanik
25bd76527e
Fix roc-rk3328-pc device tree reference to missing RK_FUNC_1 2020-11-28 18:10:53 +01:00
Oleg
ccbc888b3f
add dts rk3328-roc-pc, fix WIFI and USB 3.0 rk3328 (#2390) 2020-11-28 16:52:34 +01:00
JMCC
14123a2cc3 Fix meson-gxm cpu scheduling (patch will eventually be added to upstream mainline) 2020-11-28 14:58:10 +00:00
Paolo Sabatino
9f6e63d90b Rework patch to fix upsteam hunks for rk322x-current/dev 2020-11-27 22:00:29 +00:00
Rosen Penev
fc009ee002 mvebu-dev patches: refresh
Some of these get applied at wrong offsets or have fuzz. Fix.

Remove patch 93. It's already upstream. It also has other fixes applied
to it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-27 00:43:11 -08:00
Heisath
12089b769d mvebu-dev cleanup patches 2020-11-27 09:23:14 +01:00
Heisath
f8b6881e76 mvebu-current disable DFS 2020-11-27 09:22:41 +01:00
Heisath
39cbe63ec4 mvebu-legacy disable DFS 2020-11-27 09:21:40 +01:00
Jannis
53906b386c
Merge pull request #2352 from armbian/AR-526
[AR-526] Moving mvebu-dev to lk5.9
2020-11-27 08:36:50 +01:00
Heisath
59cdf431ef Update the dfs patches to the openwrt ones
These might be aligned better to the current mainline kernel
Also updates the way to disable the global timer
2020-11-26 09:53:11 +01:00
Piotr Szczepanik
d418e595cf
Switched rockchip64-dev to 5.10.0-rc (#2378) 2020-11-25 19:53:19 +01:00
Igor Pečovnik
62c27823a6
Move Rockchip 32b to 5.9.y (#2339)
* Move Rockchip 32b to 5.9.y
* Disable broken patches
2020-11-25 19:50:47 +01:00
Icenowy Zheng
e19d014e00
Add Pine64 PineCube support (#2364)
* sunxi: kernel: current/dev: enable sun6i-csi and disable LL debug on UART0

The former is useful on some boards, e.g. PineCube.

The latter blocks boards that do not utilize UART0 from booting.

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

* sunxi: add new family sun8i-v3s

This family is intended for boards with V3/V3s/S3/S3L chips and low
DRAM capacity.

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

* sunxi: add PineCube board

This board features Sochip S3 SoC (Allwinner V3 die + co-packaged 128MiB
DRAM), and an OmniVision OV5640 camera is shipped with the board.

Add support for it. It could be used as an IP camera then.

Kernel support is only added to current/dev branch, with dev just using
mainline-merged DT and current using backported DT from 5.10-rc.

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

* sunxi: kernel: current/dev: add V3s OHCI/EHCI nodes

These are needed for USB host on V3s boards to work.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-11-25 19:50:10 +01:00
Heisath
87aa3de522 Merge branch 'master' into AR-526 2020-11-25 09:43:23 +01:00
Heisath
485a79bd9d Remove report all gpios in debugfs patch
no longer applicable
2020-11-25 09:42:50 +01:00
Heisath
1ff86926ec Add patch to use 1000BaseX for clearfog switch 2020-11-25 09:42:15 +01:00
Heisath
951fdb38fa Update pci irq sspl patch 2020-11-25 09:41:39 +01:00
Heisath
dbd4a3b21c Add patch to omit VFP emulation exception 2020-11-25 09:27:16 +01:00