5751 Commits

Author SHA1 Message Date
Ricardo Pardini
3f4da8a020 odroidm1/edge (rk3568-odroid): bump to 6.4.y, update config, rebase patches to 6.4.10 2023-08-22 12:57:34 +02:00
Gunjan Gupta
13af1b79d1 kernel: sunxi: bring back autofocus support for ov5640 camera 2023-08-21 19:51:46 +05:30
Igor
dcd6fd2e54
Revert Meson64 / odroid fancontrol (#5617)
* Revert "packages: bsp: odroid: fanctrl: `maintenance`"

This reverts commit 94f7bfff89721853bbca1a90eddfd3d9540a497f.

* Revert "Improve Meson64 Support: `ODROID`"

This reverts commit 40530ee3445b9add0ab10424459d1df249cf9ec6.
2023-08-20 21:11:54 +02:00
Gunjan Gupta
97983d0749 kernel: sunxi: current: drop g_parm support patch as it causes kernel oops 2023-08-20 23:54:25 +05:30
Patrick Yavitz
40530ee344 Improve Meson64 Support: ODROID
Backport DTS/DTSI changes from linux-6.4.y to 6.1.y
Add meson64-reboot driver to all boards
Add board: ODROID N2L
Add uart_A uart_AO_B uart_B uart_C where appropriate
U-Boot v2023.07.02: ODROID N2/N2L/N2Plus/C4

Meson64-reboot driver: (source: tobetter)
While the current meson64-reboot driver is cleaner and doesn't
depend on modding other kernel sources, its functionality leaves
much to be desired. One example can be found in the ODROID C4.
Using the current driver, the board will not properly power off,
leaving the POWER LED still on. The new driver powers off the unit
completely.

Fan control: (ODROID N2L/N2PLus)
Added service and script for controlling the trip point.
fanctrl: arguments: 65 55 45 35 25 menu run

                              ┌──┤ Fan Control ├──┐
                              │                   │
                              │    6) 65°C        │
                              │    5) 55°C        │
                              │    4) 45°C        │
                              │    3) 35°C        │
                              │    2) 25°C        │
                              │    E) Exit ..     │
                              │                   │
                              │                   │
                              │      <Ok>         │
                              │                   │
                              └───────────────────┘

NOTES: (N2L/HC4): I do not own the units so I can't run tests.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Igor Pecovnik
fb4774e2f4 Add two popular MT7921U devices to the driver pid so they work OOB
Signed-off-by: Igor <igor@armbian.com>
2023-08-20 19:19:44 +02:00
Patrick Yavitz
b4c379e391 general: extra: meson64 overlays
meson-sm1-bananapi-rtl8822cs.dtbo

Although the exp board target is for the M5 it also works
on the BananaPi M2S. Tested on the BPI-M2S.

Add support for the RTL8822CS expansion board.
https://wiki.banana-pi.org/Banana_Pi_BPI-M5#Wifi_.26_BT_support_via_expansion_board

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-18 17:46:49 +02:00
Tony
5a19f70f9d
RK OC overlays for 6.4 update (#5602) 2023-08-17 14:43:32 -04:00
Gunjan Gupta
02051676b0 meson-s4t7: Enable dtbo support
The support is implemented by using dtbo files supplied by Khadas directly
in the linux-dtb package. The files are not compiled just copied.
2023-08-15 16:03:24 +02:00
Igor Pecovnik
b26efad047 Remove deprecated patches 2023-08-14 09:03:23 +02:00
Joshua-Riek
8dbe1d7ab6 add nvme boot support for the nanopc t6 2023-08-12 10:05:20 +02:00
Julian Sikorski
f0b8102718 Update odroidxu4-current to 5.4.253 2023-08-12 10:04:46 +02:00
Muhammed Efe Cetin
c6ba2283a7 rk3588: edge: update kernel to 6.5-rc5 and fix its timeout issue 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
c268d2f916 opi5-plus: add initial support for edge kernel 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
607ae37caa rk3588: edge: update patches according to kernel mailing and collabora 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
bc073ff3a5 opi5: edge: update some nodes on devicetree 2023-08-12 10:04:30 +02:00
Ricardo Pardini
eb9dc7ea5c khadas-vim4/khadas-vim1s: some fixes; VIM4/VIM4N now boots; workaround eMMC/oowow partition trouble for now
- vim1s/vim4: remove uEnv.txt and default extlinux args, use simple arguments instead
- meson-s4t7.conf: hack: rereadpt (re-read partition table) in initrd local-top (for eMMC boot of oowow'ed image)
- meson-s4t7.conf: include both `u-boot.bin.sd.bin.signed` and `u-boot.bin.signed` in uboot package
- meson-s4t7: patch kernel for different dt "model" across VIM4 and "New VIM4"
- meson-s4t7.conf: set `EXTLINUX_SPECIFIC_FDT=no`, so u-boot auto-determines which DTB to use
    - don't specify DTB; this way both the "original VIM4" and the "new VIM4" can boot with the same image
2023-08-09 11:20:28 +02:00
Paolo Sabatino
1219f8decc rk3399: adjust opi4lts thermal trip points 2023-08-05 11:43:48 +02:00
c0rnelius
3261469268
arm64: dts: amlogic: meson-sm1-bananapi-m2-pro: add uart_A (#5558)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-04 12:23:31 +02:00
Paolo
c27739943d
rockchip64: bump rockchip64-edge kernel to 6.4 (#5552)
undefined
2023-08-04 10:39:13 +02:00
Igor
1febbc6c90 Adjust patch in order to compile succesfully 2023-08-04 10:37:49 +02:00
Paolo Sabatino
1e0f6d960b rk322x: add bcm43342 chip identifier 2023-08-03 23:12:21 +02:00
c0rnelius
9b04e0faf6
Improve bananapi-sm1 support (#5553)
Linux 6.1 (current) / 6.4 (edge)

Add "current" to: config/boards/bananapim2pro.csc
Add uart_AO_B and uart_B to: meson-sm1-bananapi.dtsi
Add related pins to: meson-g12-common.dtsi
add wif/bt support to: meson-sm1-bananapi-m5.dts (BT = uart_A)
Add the ability to enable via overlays

NOTE: The overlay to enable the wifi on the BPI-M5 will be added
at a later date.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-03 14:01:15 -04:00
Thomas McKahan
f9efecf6cd meson64: fix usb on odroid c2
Thanks to NicoD giving me a kick, identified/implemented fix present in 6.2+ builds to keep the hub from going to suspend.
2023-08-02 08:26:52 +02:00
Tony
3cfef5b07f
bugfix: dts: rk3328 and rk3399 oc overlays (#5542)
Mainline updated the opp table handles to match the schema, this broke the overlays.
Overlays updated with correct handle names.

reported-by: @neofeo
2023-08-01 13:39:25 -04:00
c0rnelius
0e2a7f1daf
general: extra: meson64 overlays (#5532)
* general: extra: meson64 overlays

Linux 6.1.y (current)

meson-g12a-radxa-zero-gpio-10-led.dtbo (rev 1.51 enable led)
meson-g12a-radxa-zero-gpio-8-led.dtbo (rev 1.4 enable led)
meson-g12b-odroid-n2-spi.dtbo (SPI-NOR enable via overlay)

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

* general: extra: meson64 overlays

Linux 6.4.y (edge)

meson-g12a-radxa-zero-gpio-10-led.dtbo (rev 1.51 enable led)
meson-g12a-radxa-zero-gpio-8-led.dtbo (rev 1.4 enable led)
meson-g12b-odroid-n2-spi.dtbo (SPI-NOR enable via overlay)

As suggested by: @efectn

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

* meson64-6.4: overlay: Makefile: `maintenance`

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-01 06:43:28 -04:00
Igor Pecovnik
6c80e42899 Fix wireless patches introduced in https://github.com/armbian/build/pull/5533
It seems condition was too optimistic so we need to apply additional change.
2023-07-29 21:20:03 +02:00
Julian Sikorski
3d7e67431f Fix compiling rtl8189es, rtl8189fs and rtl8192eu 2023-07-29 15:47:24 +02:00
Julian Sikorski
3ff14bdf14 Update odroidxu4-current to 5.4.251 2023-07-29 15:47:24 +02:00
c0rnelius
46666e1ecb
arm64: dts: amlogic: add missing cache properties (#5523)
As all level 2 and level 3 caches are unified, add required
cache-unified properties to fix warnings like:

meson-a1-ad401.dtb: l2-cache0: 'cache-unified' is a required property

https://lore.kernel.org/lkml/20230421223211.115612-1-krzysztof.kozlowski@linaro.org/T/

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-27 12:26:06 -04:00
Tony
6accbcf281
rk3588 collabora: dts: update nanoPC-T6 (#5518)
* rk3588 collabora: dts: update nanoPC-T6

* rk3588 collabora: dts: add gpio nanoPC-T6
2023-07-27 09:46:25 -04:00
c0rnelius
3c1e44291e
rtw88: 6.4.7: drivers/net/wireless/realtek/rtw88/sdio.c (#5521)
The following patch has landed in linux-6.4.7 and can be removed.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/net/wireless/realtek/rtw88/sdio.c?id=v6.4.7&id2=v6.4.6

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-27 06:18:49 -04:00
Gunjan Gupta
1dfdff3e31 kernel:sunxi: Add tve encoder for H5 boards as well
Also as the patch was missing in edge kernel, added the same
2023-07-26 19:46:21 +02:00
Ricardo Pardini
5cdc019a24 mekotronics rk3588: rebase & unify u-boot patches; restore attribution for one patch
- no functional changes, only a double patch I'd rather not have
2023-07-26 13:28:30 +02:00
Ricardo Pardini
62c0052af8 mixtile-blade3: bump uboot, rebase uboot patches, add mac-from-serial# patch; enable OTP in defconfig; restore attribution for one patch
- this sets serial#-based MAC address in uboot env and Rockchip Vendor Partition, but that is not picked up by the default kernel driver yet
2023-07-26 13:27:28 +02:00
Gunjan Gupta
8195919d44 Kernel: Allwinner: Bump legacy, current and edge kernel
Legacy: 5.15.120 -> 5.15.121
Current: 6.1.39 -> 6.1.40
Edge: 6.4.4 -> 6.4.5
2023-07-24 17:03:30 +05:30
Patrick Yavitz
88a19f5d82 drivers: net: wireless: realtek: rtw88: upstream-wireless
This commit is cosmetic; git format-patch

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 17:00:03 +02:00
Patrick Yavitz
e22fa3aa35 board: bananapim2s: git format-patch remove builder warnings
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Patrick Yavitz
effbb4c900 Board: Bananapi M2S additional support
Removed WIP status
Added CONFIG_R8169=m to defconfig(s) (eth support)
Modified and added additional patches (linux 6.1 / 6.4)
U-Boot v2023.07.2 (dropped v2022.10)
Upstream BT FW (rtl8822cs) is now shared between CM4IO and M2s

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Tony
400da79efd
NanoPC-T6 Collabora: add PCIe 3 (#5497) 2023-07-21 16:33:06 -04:00
Gunjan Gupta
173bacd0ac kernel: sunxi: Fix patch failures for 6.1.39 and 6.4.4 kernel
Disabled broken patches that are upstream or not needed due to
upstream changes. Modified thermal-sun8i-Be-loud-when-probe-fails.patch
to fix patch application
2023-07-20 16:49:29 +02:00
Gunjan Gupta
84e4a26bb0 Update wireless-rtl88x2bu-wireless-ignore-stale-kickoff-removal.patch
Modified final value to be less than 6.4.4 rather than 6.5.0
2023-07-20 01:04:32 +02:00
Gunjan Gupta
b7c422ee51 Update wireless-rtl88x2bu-wireless-ignore-stale-kickoff-removal.patch
Fix missing parenthesis
2023-07-20 01:04:32 +02:00
Gunjan Gupta
4ac9ca966f Modify condition to include 6.2.0 to 6.3.13 kernel range 2023-07-20 01:04:32 +02:00
Igor Pecovnik
64d7b46421 Extending https://github.com/armbian/build/pull/5484 to K6.1.y 2023-07-20 01:04:32 +02:00
Gunjan Gupta
8a13dae89d kernel: sun50i: h5: current: add missing gpu trips section 2023-07-19 23:15:37 +02:00
Gunjan Gupta
cb4944929b kernel: sunxi: Add resume, reboot support by pressing power button on orangepi prime 2023-07-19 23:15:37 +02:00
Patrick Yavitz
888cb714ac patch: misc: rtw88: 6.4: upstream wireless
Adjusted patching in mac80211.c and usb.c to reflect update in Linux 6.4.4

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/net/wireless/realtek/rtw88/mac80211.c?id=v6.4.4&id2=v6.4.3
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/net/wireless/realtek/rtw88/usb.c?id=v6.4.4&id2=v6.4.3

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-19 23:14:42 +02:00
Alban Browaeys
99ca2142a6 Fixup for stale kickoff removal in wireless regulator API
Cope with the fix in stable 6.3.13 bf353116d1bf and 6.5-rc1 e8c2af660ba0
"wifi: cfg80211: fix regulatory disconnect with OCB/NAN".
That is the removal of REGULATORY_IGNORE_STALE_KICKOFF
from the wireless regulator internal API to fix any driver
that allowed OCB/NAN.

Note this code will need to be expanded once and if 6.4 include the
above fixup.

Signed-off-by: Alban Browaeys <alban.browaeys@gmail.com>
2023-07-18 14:16:50 +02:00
Gunjan Gupta
5409cb73b2 patch: u-boot: Enabled power led on H5 boards 2023-07-17 20:23:41 +05:30