Commit Graph

3619 Commits

Author SHA1 Message Date
Igor
dcd6fd2e54
Revert Meson64 / odroid fancontrol (#5617)
* Revert "packages: bsp: odroid: fanctrl: `maintenance`"

This reverts commit 94f7bfff89.

* Revert "Improve Meson64 Support: `ODROID`"

This reverts commit 40530ee344.
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
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
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
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
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
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
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
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
Muhammed Efe Cetin
9a0908f9ba update rk3588-edge to v6.5-rc1 2023-07-15 00:00:07 +02:00
Muhammed Efe Cetin
f7c410de2f Grab several patches from collabora and upstream 2023-07-15 00:00:07 +02:00
Igor Pecovnik
89a6750d78 Bump UEFI edge to 6.4.y 2023-07-11 11:15:00 +02:00
tdleiyao
66b9f60e70 Panther X2: Modify usb mode and enable GPU 2023-07-11 11:14:26 +02:00
Gunjan Gupta
ea50e971ae patch: kernel: sunxi: h3: fix OPP not supported by regulators on boards with gpio-regulator 2023-07-11 11:13:57 +02:00
Gunjan Gupta
60fd20a720 kernel: sunxi: make use of patches from driver harness 2023-07-10 08:56:18 +02:00
Paolo Sabatino
2335ef091b revert to pre-6.4 dw-hdmi patch to restore hdmi functionality 2023-07-09 11:24:10 +02:00
Paolo Sabatino
4605bcab83 bump rockchip edge kernel to 6.4 2023-07-09 11:24:10 +02:00
Paolo Sabatino
803cfe41f2 reform patches to revert to pre-6.4 working behaviour 2023-07-09 11:23:30 +02:00
Paolo Sabatino
5153821ac0 bump rk322x-edge to 6.4 2023-07-09 11:23:30 +02:00
John Williams
9ed43bdce8 Apply previous fix to rockchip64-edge and rk322x 2023-07-06 23:02:22 +02:00
John Williams
38c3d109a6 Do not set incorrect mac80211 flags 2023-07-06 23:02:22 +02:00
Thomas McKahan
bfc8271519 NanoPC-T6-collabora: dts: add pcie2 and eth 2023-07-05 21:22:58 +02:00
Thomas McKahan
23d8ce7c5c nanopc-t6-collabora: dts: enable USB2 2023-07-05 21:22:58 +02:00
hzy
c923112d72 meson: edge: refresh patches 2023-07-05 10:55:32 +02:00
hzy
12ab63f0a2 meson: edge: Bump v6.4 2023-07-05 10:55:32 +02:00
hzy
8659f4a345 meson: edge: Create meson-6.3 patches from meson-6.1 2023-07-05 10:55:32 +02:00