5403 Commits

Author SHA1 Message Date
c0rnelius
7c8252b26f
RTW88: 6.5: Upstream wireless: 2023-09-23 (#5735)
Upstream code has trickled down into 6.5.y, so adjust patching
accordingly.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-09-23 09:15:04 -04:00
Alex Shumsky
b7af4a6406 Fix broken HDMI output on rk3328
Restore 'less than or equal' match of clocks that was lost in patch transition from 6.3 to 6.4:
ttps://github.com/armbian/build/blob/6d981baba68699b0c6ada476704556e11dd661bc/patch/kernel/archive/rockchip64-6.3/rk356x-vop2-support.patch#L333
6d981baba6/patch/kernel/archive/rockchip64-6.4/rk356x-vop2-support.patch (L333)
2023-09-22 18:58:11 +02:00
Gunjan Gupta
3dd634ac01 Add support for Inovato Quadra 2023-09-21 23:19:20 +02:00
Christian Schoffit
fbd0918101 Restore LED triggers for each ATA port indicating disk activity in mvebu-edge
Signed-off-by: Christian Schoffit <sphpn@free.fr>
2023-09-19 20:08:32 +02:00
Gunjan Gupta
3eda27a77a sunxi64: Add patch to boot from shutdown state by button press on devices with axp20x-pek 2023-09-19 20:08:18 +02:00
Gunjan Gupta
2d0447b391 uwe5622: fix compilation for sunxi64 on 6.3+ kernels 2023-09-19 20:08:18 +02:00
Gunjan Gupta
5cc7ee4497 atf-sunxi64: remove upstreamed patch 2023-09-19 20:08:18 +02:00
Gunjan Gupta
889183b78c u-boot-sunxi: Fix incorrect ram detection
Also updated orangepi3-lts support patch from Jernej's patch from LibreELEC
2023-09-19 20:08:18 +02:00
Gunjan Gupta
9def9f6b4a orangepi3-lts: change crust config 2023-09-19 20:08:18 +02:00
Gunjan Gupta
27be8be8af Rework ac200 patches and config for current and edge kernel.
Changes are based on https://github.com/jernejsk/linux-1/tree/ac200-v3
2023-09-19 20:08:18 +02:00
Igor Pecovnik
22c4336de4 Update Rockchi64 edge config and remove one more broken part that slipped away 2023-09-13 16:42:10 +02:00
Christian Schoffit
fb5ab0df40 Restore LED trigers for each ATA port indicating disk activity
Signed-off-by: Christian Schoffit <sphpn@free.fr>
2023-09-13 16:10:56 +02:00
Igor Pecovnik
363ca528f5 Same patches changes as found here https://github.com/armbian/build/pull/5703 2023-09-13 16:10:28 +02:00
Igor Pecovnik
adbdab194f Remove deprecated sections from Rockchip patch 2023-09-13 14:07:11 +02:00
Igor Pecovnik
b0f755ec87 sunxi: remove deprecated patch 2023-09-13 13:52:04 +02:00
Igor Pecovnik
71740f87f5 Fix uwe5622 driver patch 2023-09-13 13:14:43 +02:00
Muhammed Efe Cetin
d56478a471 nanopir6: change network interface names and add triggers for leds on edge kernel
same as ea17706f47
2023-09-13 09:30:51 +02:00
Muhammed Efe Cetin
23be92c454 Update rk3588-edge to 6.6-rc1 kernel 2023-09-13 09:30:51 +02:00
Muhammed Efe Cetin
103d840307 Add edge kernel support for NanoPi R6S/R6C 2023-09-13 09:30:51 +02:00
Patrick Yavitz
50bc272443 PARTIAL REVERT: re-add rtw88 linux-6.2 / 6.3
Re-add rtw88 patches for kernels 6.2 and 6.3 as they are
still used.

001 and 002 have been merged into one patch to match the changes
made in PR: https://github.com/armbian/build/pull/5697

Resolves: https://github.com/armbian/build/pull/5699
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-09-12 14:26:50 +02:00
c0rnelius
fdc1966847
RTW88: linux-6.x.y (#5697)
This is just a cosmetic change. Patches have been consolidated
into one patch within each corresponding linux version directory.

Added: linux-6.6 (RC-1)
Removed: linux-6.2/6.3

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-09-11 20:18:36 -04:00
Igor Pecovnik
55abcdb94c HK rebased, removing patches 2023-09-11 18:36:54 +02:00
Julian Sikorski
227afd47ab Update odroidxu4-current to 5.4.256 2023-09-11 18:36:54 +02:00
Patrick Yavitz
5382fbdd13 RTW88: linux 6.4 / 6.5 adjustments
Remove duplicate label and correct goto err_release_hw placement.

drivers/net/wireless/realtek/rtw88/usb.c: In function ‘rtw_usb_probe’:
drivers/net/wireless/realtek/rtw88/usb.c:878:1: error: duplicate label ‘err_free_rx_bufs’
  878 | err_free_rx_bufs:

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-09-07 07:50:28 +02:00
amazingfate
9ce3362dc4 orangepi3b: add mainline devicetree 2023-09-06 13:06:37 +02:00
Gunjan Gupta
375937ea1a sunxi64: Fix dram frequency scaling to mitigate slow network issue 2023-09-06 11:37:25 +05:30
Paolo Sabatino
040e5f6043 rockchip64: increase timeout for usb3 type C phy init 2023-09-04 14:55:50 +02:00
Ricardo Pardini
681680d827 rockchip64/edge 6.5.y: fix patch general-rk808-configurable-switch-voltage-steps.patch (client_dev -> dev) 2023-09-04 14:55:50 +02:00
Ricardo Pardini
8f8cb57b5e rockchip64/edge 6.5.y: rebase patches against v6.5 (.0) 2023-09-04 14:55:50 +02:00
amazingfate
6d981baba6 rockchip64: bump rockchip64-edge kernel to 6.5 2023-09-04 14:55:50 +02:00
Gunjan Gupta
46e756540e xradio: fix compilation for 6.1+
Also added some cleanup fixes to silence some of the compiler warnings,
fixes for issues during inserting and removing xradio module and fixes
for possible data corruption on vmmaped stack.

All of these fixes were taken from https://github.com/fifteenhex/xradio
2023-09-04 14:37:10 +02:00
Kevin Schmidt
a3c687e9a3 Add board: HiKey960 2023-09-02 14:48:25 +02:00
Julian Sikorski
a55ffd873f Update odroidxu4-current to 5.4.255 2023-09-02 14:48:12 +02:00
Ricardo Pardini
c9cf47a25d bcm2711/edge: bump to RPi Foundation's 6.5.y branch; rebase all patches 2023-09-02 14:47:59 +02:00
Ricardo Pardini
2230db6299 meson64/edge: bump to 6.5.y; rebase all patches vs v6.5(.0)
- drop upstreamed patch `meson-dts-add-missing-cache-properties.patch`
2023-09-02 14:47:46 +02:00
Ricardo Pardini
f1b41bb771 uefi-arm64/edge: bump to 6.5.y; rebase all patches vs v6.5(.0); fix Phytium's stmmac patch
- hammer patch `driver-phytium-stmmac-acpi.patch`
  - use `.remove_new` due to "net: stmmac: Make stmmac_pltfr_remove() return void"
2023-09-02 14:47:33 +02:00
Ricardo Pardini
e16cd61036 rk3568-odroid/edge: bump to 6.5.y from -rc6; rebase all patches vs v6.5(.0) 2023-09-02 14:47:17 +02:00
Gunjan Gupta
274e2cf8c3 Allwinner: switch edge to 6.5 kernel 2023-09-02 03:46:28 +05:30
Gunjan Gupta
7d73409014 Allwinner: Remove 6.3 kernel patches as its no longer used 2023-09-02 03:46:28 +05:30
Gunjan Gupta
8562428877 Allwinner: Kernel patches for 6.5-rc7 kernel 2023-09-02 03:46:28 +05:30
lelemka0
ac829eb66d Nanopi-r1: fix boot from eMMC 2023-08-31 07:38:51 +02:00
c0rnelius
dbe8ea49b0
patch: misc: rtw88: wireless-next: 2023-08-25 (#5653)
* patch: misc: rtw88: wireless-next: 2023-08-25

Updated: 6.1 / 6.4
Added: 6.5

For doc sake, this update makes 6.1 slightly differrent than 6.4 and
6.5 in one particular area of main.c.

As shown here:
7746e2fa87

6.1 requires we use del_timer_sync, where the above releases use
timer_delete_sync.

Tested-on: ODROID-C4 X96-AIR BPI-CM4 (linux 6.x.y)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* driver_rtw88: `linux-version compare "${version}" ge 6.1`

Suggested-by: @viraniac
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-29 13:15:59 -04:00
Gunjan Gupta
2fb0ef6cf6 BigTreeTech CB1: Bump u-boot to v2023.07.02
I had kept it back because I wasn't sure about what values to use
for CONFIG_DRAM_SUN50I_H616_DX_ODT, CONFIG_DRAM_SUN50I_H616_DX_DRI,
CONFIG_DRAM_SUN50I_H616_CA_DRI and CONFIG_DRAM_SUN50I_H616_TPR10.
I found them on BigTreeTech's u-boot repository

https://github.com/bigtreetech/u-boot/blob/v2023.07-cb1/configs/bigtreetech_cb1_defconfig
2023-08-26 13:40:10 +02:00
Lane Jennison
ea17706f47 nanopir5s: add friendly interface names in udev, add device tree overlay for front leds 2023-08-26 13:39:22 +02:00
Ricardo Pardini
2ef13b4e8b rockchip64/edge (6.4): rebase patches to 6.4.12, some archeology 2023-08-23 21:35:37 +02:00
Gunjan Gupta
71295431b8 Sunxi: fix boot issue on some boards introduced after u-boot bump
After we bumped u-boot to version v2022.10, a couple of boards
stopped booting because the CONFIG_SPL_STACK value used in our
u-boot config was too low for that SOC. This change drops explicit
CONFIG_SPL_STACK defination from the affected boards.

The boards confirmed to have the issues were Orange Pi 3 LTS and
NanoPi Neo Black2 but I suspect that NanoPi K1 plus is also affected
hence similar change is done for that as well
2023-08-24 01:03:04 +05:30
Igor Pecovnik
a564bccda5 Remove deprecated patches 2023-08-23 21:22:24 +02:00
Gunjan Gupta
36f0425358 rtl8811CU, rtl8723cs: Fix module build failure on 6.5 kernel 2023-08-23 20:52:25 +02:00
c0rnelius
e3798c21ed
dts: amlogic: meson-g12b-bananapi-cm4: switch to enable-gpios (#5634)
* dts: amlogic: meson-g12b-bananapi-cm4: switch to enable-gpios

The recommended name for enable GPIOs property in regulator-gpio is
enable-gpios.  This is also required by bindings:

  meson-g12b-bananapi-cm4-cm4io.dtb: regulator-vddio-c: Unevaluated properties are not allowed ('enable-gpio' was unexpected)

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* board-bananapi-cm4-switch-to-enable-gpios: `text formatting correction`

Apparently the builder did care for the original.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-23 12:16:55 -04:00
Ricardo Pardini
c35adb37c7 odroidm1: de-infest Petitboot 🔥 use Kwiboo's 2023.10 u-boot; UMS works
- using Kwiboo's `rk3568-2023.10` branch  with BINMAN-handled blobs
- patches (defconfig unless indicated):
  - boot usb first (rockchip-common)
  - blink leds & keep red one one on preboot; reset SPI env once after deinfesting from Petitboot
  - change usb_host0_xhci to otg (u-boot dtsi)
  - enable DM_GADGET, UMS 🔥 and RockUSB
- **usage instructions**:
  - build & burn image to SD card
  - insert SD card into board
  - **hold the recovery (RCY) button** and power on the board
  - watch board boot
  - **de-infest Petitboot**: use `armbian-install` to install bootloader to MTD
    - if you don't, you'll need to hold the recovery button every boot
    - optionally: use `armbian-install` to install OS to eMMC/NVMe/USB
  - power-off board
  - remove SD card (new u-boot always boots SD first!)
  - boot into your newly de-infested machine
    - boot order: USB, SD, MMC, NVME, SCSI
- de-infested machine can now boot (directly) from USB/SATA/NVMe, possibly via EFI:
  - Armbian UEFI-arm64
  - Fedora 38 aarch64
  - HASSOS for ODROID-M1
  - Talos arm64
  - others...
- extra: new u-boot by Kwiboo (with GMAC patches) gives us stable MAC address
  - although it is based on cpuid#, doesn't match the HK sticker on the board
    - run `fw_setenv ethaddr XX:XX:XX:XX:XX:XX` to change eth addr in SPI flash environment if needed
- `odroidm1`: update DDR/BL31 blobs (this depends on https://github.com/armbian/rkbin/pull/20)
2023-08-22 12:57:34 +02:00