Commit Graph

60 Commits

Author SHA1 Message Date
Ricardo Pardini
ee4039e910 meson64: edge .config update to 6.13
- `CONFIG_REISERFS` is no more
- `CONFIG_CFG80211` required to keep wireless working (done via hooks)
2025-01-21 13:27:54 +01:00
Ricardo Pardini
8576f970e8 meson64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Patrick Yavitz
5591c5fa63 Add RTW88 88XXAU to meson64 edge defconfig
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 13:31:22 -05:00
Igor Pecovnik
513671a48f Kernel config maint: rewrite kernel config with ./compile rewrite-kernel-config 2024-09-18 16:31:56 +02:00
Leonidas P. Papadakos
06aa0e9c15 Enable ksmbd consistently across configurations 2024-09-03 18:26:21 +02:00
SteeManMI
507c89168c Enable CONFIG_POWER_RESET_MESON64 2024-07-29 08:16:37 +02:00
SteeManMI
1c5ed3622a rewrite kernel config 2024-07-29 08:16:37 +02:00
Igor
f5575f64ac Bump meson and meson64 EDGE kernel to 6.9.y (#6669)
* Bump meson and meson64 EDGE kernel to 6.9.y
* Rename patch folders
* Adjust broken patches, one remaining
* Add overlay support
* meson64: rename overlays to dtso, update makefile
* Update meson-gx-socinfo-sm driver patchset for meson64-6.9:
* add SoC ID patches for S905L, A113X
* fix memory double free in driver
* update dt bindings
---------
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
2024-06-05 22:20:35 +02:00
Igor Pecovnik
1c4919f14f Several kernel config automatic rewrite
./compile.sh rewrite-kernel-config BOARD=board BRANCH=branch
2024-05-11 17:32:27 +01:00
Lane Jennison
1a4083fce8 kernel config: revert default governor change back on ondemand 2024-04-26 18:18:03 +08:00
SteeManMI
d4093bd18e Bump meson64 edge from 6.7 to 6.8 (#6454)
* Bump meson64 edge from 6.7 to 6.8

 Changes to be committed:
	modified:   config/sources/families/include/meson64_common.inc
	renamed:    patch/kernel/archive/meson64-6.7 -> patch/kernel/archive/meson64-6.8
	modified:   patch/kernel/archive/meson64-6.8/board-bananapi-cm4-cm4io-fixes.patch
	modified:   patch/kernel/archive/meson64-6.8/general-input-touchscreen-Add-D-WAV-Multitouch.patch
	new file:   patch/kernel/archive/meson64-6.8/kernel-6.8-tools-cgroup-makefile.patch

* updates from rewrite-kernel-patches

* updates from rewrite-kernel-config
2024-04-01 07:43:40 -04:00
Viacheslav Bocharov
40f4f35715 Add meson-socinfo-sm driver patchset from
https://lore.kernel.org/linux-kernel/20231122125643.1717160-1-adeep@lexina.in/

Driver not enabled for all meson soc (to enable rename general-socinfo-sm-4 patch)

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-02-26 15:49:19 +03:00
lanefu
a4d3dcb879 switch default cpu governor to schedutil (#6120)
* switch schedutil to default cpu governor
* rollback 3 governors on 3 edge cases
2024-01-01 15:14:02 +01:00
Igor
be3a656ec0 Update kernel configs for Waydroid and Redroid support (#5976)
Co-authored-by: bigboo3000 <bigboo3000@hotmail.com>
2023-11-27 11:26:53 +01:00
gaaichan998
78507bd48c enable mt7915e module on all kernels (#5626) 2023-08-22 08:13:42 +02:00
Ricardo Pardini
1bb53f1f9c linux-meson64-current.config / linux-meson64-edge.config: enable CONFIG_NVME_HWMON=y for NVMe temperature monitoring 2023-07-27 22:00:27 +02:00
Ricardo Pardini
2fceb7ee42 linux-meson64-current.config / linux-meson64-edge.config: update config, no changes 2023-07-27 22:00:27 +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
Ricardo Pardini
de39d73ca9 meson64 edge 6.4: update .config at 6.4-rc5
- enable a bunch of new _MESON and _AMLOGIC stuff
2023-06-13 12:33:47 +02:00
Ricardo Pardini
b6c5eb7554 meson64 edge 6.2: update .config with no changes 2023-06-13 12:33:47 +02:00
Vyacheslav Bocharov
0758dfa6bd This add support for RTW88 SDIO driver via patches for 6.1/6.3 kernel
Additional driver support:
    Realtek 8822BS SDIO wireless network adapter
    Realtek 8822BU USB wireless network adapter
    Realtek 8822CS SDIO wireless network adapter
    Realtek 8822CU USB wireless network adapter
    Realtek 8821CS SDIO wireless network adapter
    Realtek 8821CU USB wireless network adapter

Revert "Revert "BPI-CM4 IO: RTW88: `Realtek 8822CS SDIO` `Wireless Support`"":

This reverts commit 672bd5393a.
This restore commit 3f169bcae2.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2023-06-01 08:10:45 +02:00
Patrick Yavitz
bb48f6080c Improve Meson64 Support
BPI-CM4:
In accordance with the BSP DTS, set LED gpio to GPIO_ACTIVE_LOW.
Added default-on trigger to led-green
Board now powers off, added reboot node 'meson64-reboot'.

CONFIG_POWER_RESET_MESON64
Isolated RESET ODROID driver and renamed to MESON64 as it can be used in more than ODROIDS.

MESON UART
Series improves support for UART attached Bluetooth modules on Amlogic Meson G12A and newer SoCs. These SoCs also support the "divide XTAL by 2" bit which (greatly) reduces jitter when generating baud rates such as 1500000 (which is used by the Bluetooth part of the RTL8822CS SDIO WiFi and UART Bluetooth combo chip).

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-01 06:32:23 +02:00
Vyacheslav Bocharov
672bd5393a Revert "BPI-CM4 IO: RTW88: Realtek 8822CS SDIO Wireless Support"
This reverts commit 3f169bcae2.
2023-05-26 14:07:04 +02:00
Patrick Yavitz
3f169bcae2 BPI-CM4 IO: RTW88: Realtek 8822CS SDIO Wireless Support
Additional driver support:
Realtek 8822BS SDIO wireless network adapter
Realtek 8822BU USB wireless network adapter
Realtek 8822CS SDIO wireless network adapter
Realtek 8822CU USB wireless network adapter
Realtek 8821CS SDIO wireless network adapter
Realtek 8821CU USB wireless network adapter

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-05-26 07:37:28 +02:00
Ricardo Pardini
09e82fe25e meson64-edge (6.2.y): rebase & update .config to 6.2.16 (EOL); pick chewitt (add t95z+fixes); rework SPI-NOR dtbs
- `meson64`-`edge` (6.2.y): drop old/unused/pre-armbian-next builddeb patch that was leftover
- `meson64`-`edge` (6.2.y): pick & squash from chewitt's tree; new t95z board and its tm1628 driver, fixes for odroidc2, vim3, gxl/gxm SDIO
- `meson64`-`edge` (6.2.y): reword the `-spi` extra DTBs for the N2(+) into more generic for g12; add VIM3/VIM3L which also have same SPI NOR scheme
- `meson64`-`edge` (6.2.y): update .config to 6.2.16; enable `CONFIG_TM1628`
- `meson64`-`edge` (6.2.y): rebase to 6.2.16 after picking chewitt
2023-05-21 14:01:11 +02:00
Ash Hughes
2b896d72fb meson64: current + edge: bring back fixed version of odroid-reboot driver (Fix reboot on odroid C4 when using UHS-II SD cards) [cherry pick] 2023-02-18 07:46:38 -03:00
Ricardo Pardini
6ceb772a7a v6.2-rc7: bump edge to v6.2-rc7 for UEFI / meson64 / rk3568-odroid / rockchip-rk3588 2023-02-18 07:46:29 -03:00
SteeManMI
fee2f3a4b4 Enable MGLRU on meson64-edge (#4697)
This is already enabled in the rockchip family on edge and per the discussion
here: https://forum.armbian.com/topic/20018-mglru-patches-to-bring-down-kswapd-cpu-usage
I would like to enable it on meson64-edge.  And if that goes smoothly,
I will followup with a PR to enable it on meson64-current also since that is
now on 6.1.

 Changes to be committed:
	modified:   config/kernel/linux-meson64-edge.config
2023-01-15 07:48:12 +01:00
Igor Pečovnik
f2cdc8478a meson64 - update kernel config (#4676) 2023-01-09 13:33:29 +01:00
Barry Lind (SteeManMI)
36484b7d6f In researching a post in the forums, I found that the meson64-edge kernel
config doesn't include rtl8822cs (which apparently some TV boxes use).
This is enabled in most kernel configs:

linux-bcm2711-current.config:CONFIG_RTL8822CS=m
linux-bcm2711-edge.config:CONFIG_RTL8822CS=m
linux-imx6-current.config:CONFIG_RTL8822CS=m
linux-imx6-edge.config:CONFIG_RTL8822CS=m
linux-media-current.config:CONFIG_RTL8822CS=m
linux-media-edge.config:CONFIG_RTL8822CS=m
linux-media-legacy.config:# CONFIG_RTL8822CS is not set
linux-meson64-current.config:CONFIG_RTL8822CS=m
linux-meson64-edge.config:# CONFIG_RTL8822CS is not set
linux-mvebu64-current.config:CONFIG_RTL8822CS=m
linux-mvebu64-edge.config:CONFIG_RTL8822CS=m
linux-mvebu-current.config:CONFIG_RTL8822CS=m
linux-mvebu-edge.config:CONFIG_RTL8822CS=m
linux-odroidxu4-edge.config:CONFIG_RTL8822CS=m
linux-rk322x-current.config:CONFIG_RTL8822CS=m
linux-rk322x-edge.config:CONFIG_RTL8822CS=m
linux-rockchip64-current.config:CONFIG_RTL8822CS=m
linux-rockchip64-edge.config:CONFIG_RTL8822CS=m
linux-rockchip-current.config:CONFIG_RTL8822CS=m
linux-rockchip-edge.config:# CONFIG_RTL8822CS is not set
linux-rockchip-rk3588-legacy.config:# CONFIG_RTL8822CS is not set
linux-sunxi64-current.config:CONFIG_RTL8822CS=m
linux-sunxi64-edge.config:CONFIG_RTL8822CS=m
linux-sunxi64-legacy.config:CONFIG_RTL8822CS=m
linux-sunxi-current.config:CONFIG_RTL8822CS=m
linux-sunxi-edge.config:CONFIG_RTL8822CS=m
linux-sunxi-legacy.config:CONFIG_RTL8822CS=m
linux-uefi-arm64-current.config:CONFIG_RTL8822CS=m
linux-uefi-arm64-edge.config:# CONFIG_RTL8822CS is not set
linux-uefi-riscv64-current.config:# CONFIG_RTL8822CS is not set
linux-uefi-riscv64-edge.config:# CONFIG_RTL8822CS is not set
linux-uefi-x86-current.config:CONFIG_RTL8822CS=m
linux-uefi-x86-edge.config:CONFIG_RTL8822CS=m

This commit enables this for just the meson64-edge kernel as that resolves the
issue I was researching, but I suspect it probably should also be enabled for
rockchip-edge as well, but I don't have any such devices.

On branch rtl8822cs_meson64_edge
Changes to be committed:
	modified:   ../kernel/linux-meson64-edge.config
2022-12-27 16:08:43 -05:00
Igor Pečovnik
ce61bd7827 Update kernel configs for Meson64 CURRENT / EDGE (#4585) 2022-12-18 20:49:59 +01:00
David Manouchehri
ba10622c32 Opportunistically build with kASLR. If it cannot be enabled due to (#4372)
lack of seed, the kernel will simply print a warning and continue.
2022-11-05 07:56:19 +01:00
Vyacheslav
e13d750814 Re-enable RTL8822CS in meson64-edge and for kernel 6.0+ (#4350) 2022-10-26 13:48:13 +02:00
Igor Pečovnik
1b12209ded Bump meson64 edge to 6.0.y (#4341)
* Bump meson64 edge to 6.0.y

* meson64: drop `pwm-gpio` unused patch from 5.19

* meson64: drop `pwm-gpio` unused patch from 6.0

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-25 20:38:31 +02:00
Igor Pečovnik
3ed6c224f1 Remove deprecated kernels (#4283)
* Remove deprecated Odroid XU4 legacy 4.14.y branch

* Clean deprecated kernels from meson64 family

- legacy kernel 4.9 was removed
- current 5.10 was replaced with 5.19
- edge remains on 5.19 until someone bumps it to 6
- patches between 5.11 and 5.18 were removed, 5.10 will be kept for awhile

* Update configs
2022-10-15 19:32:53 +02:00
Igor Pečovnik
2c6f0c70e6 Re-enable Kernel bootsplash for 5.15.y or higher (#4132)
Tested on Meson64 and Rockchip64

Wasn't that hard after all :)
2022-08-30 07:52:06 +02:00
Ricardo Pardini
73691a9e24 meson64: edge: rework to kernel 5.19 (#3941)
* meson64-edge/5.19: use `tag:v5.19-rc2`, meson64 kernel config and kernel patches, by @adeepv

* meson64-edge/5.19: we don't need `CONFIG_ARCH_ROCKCHIP=y` for meson64, right?

* meson64-edge/5.19: remove `meson_drv_shutdown` revert patch, instead `CONFIG_DRM_MESON=y` and its dependencies in .config

- this allows other meson64's to shutdown properly, while allowing the N2(+) to reboot without kernel-side hangs

* meson64-edge/5.19: odroidn2(+): remove SD UHS modes patch for ODROID N2(+)

- it works when cold-booted
- but changes voltage to enable
- when rebooted, voltage persists and uboot can't read the SD anymore
- adding the "odroid,reboot" driver+dt that is supposed to fix this, doesn't
- so for now remove it

* meson64-edge/5.19: odroidn2(+): add dumb gpio fan at 30 celsius

- backport from rework in 5.10

* meson64-edge/5.19: odroidhc4: bring back `fan1_input` by adding fan details to DT

- yeah, I know; the cooling map is right there too, so empty, poor thing. for later.

* meson64-edge/5.19: bump to 5.19-rc3

* meson64-edge/5.19: radxa-zero: add patch to remove UHS mode so `wifi` works

- sent by @pyavitz: https://raw.githubusercontent.com/pyavitz/debian-image-builder/feature/patches/amlogic/radxazero/wifi/001-arm64-dts-amlogic-radxa-zero-sdio-card-speed.patch
- tested by @lanefu

* meson64-edge/5.19: bump to 5.19-rc4

* meson64-edge/5.19: bump to 5.19-rc5

* meson64-edge/5.19: bump to 5.19-rc7

* meson64-edge/5.19: bump to 5.19.y branch, which is 5.19.0 right now

* Add kernel config - tested on Odroid N2+

Co-authored-by: Vyacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-04 21:50:40 +02:00
Igor Pečovnik
fef9b50c7b Update drivers (#3918)
- skip legacy since they mainly fails
2022-06-20 15:32:04 +02:00
Malcolm Ke Win
369b0909f6 Add support for KProbes in all armbian kernels (#3892)
* Update linux-sunxi64-current.config

anbox-modules needs kprobes
https://github.com/armbian/build/issues/3883

* Enable this everywhere

sed -i -- 's/# CONFIG_KPROBES is not set/CONFIG_KPROBES=y/g' *.config

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:03:01 +02:00
Jose Luis Salas
08cf31de73 all: enable the CONFIG_F2FS_FS_COMPRESSION option (#3689)
* rk35xx: enable the CONFIG_F2FS_FS_COMPRESSION option

This allows to use compression on a F2FS partition to save space and
reduce I/O operations to media.

* all: enable the CONFIG_F2FS_FS_COMPRESSION option
2022-04-19 20:30:56 +02:00
chbgdn
82d80d4a15 Bump meson64-edge to 5.17 2022-04-04 12:34:29 +03:00
Igor Pecovnik
43f1b097d1 Update kernel configs 2022-02-25 21:00:19 +01:00
iav
4034a8f535 switch RTL8188EU USB WiFi driver with 5.15+ kernel to mainline (#3464)
https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.15-Staging
2022-02-07 09:52:39 +01:00
Igor Pečovnik
2b8fc08eeb Adjust broken patches and remove deprecated (#3403) 2022-01-16 14:53:14 +01:00
Patrick Böker
7698848a93 Unify NFS configuration (#3376)
* Unify NFS configuration
* Fix rk35xx kernel

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-01-04 16:16:43 +01:00
Leo
e3674b0a83 Add NTSF3 and KSMBD modules for 5.15 (#3330) 2021-12-08 16:15:02 +01:00
Igor Pečovnik
59aaac2469 Change default kernel config to enable CONFIG_MODULE_FORCE_UNLOAD (#3310) 2021-12-04 12:11:49 +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
06a3f77059 Missing support for Power and function key (#3210)
Noticed in Khadas Vim2
2021-10-20 09:08:07 +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