Commit Graph

72 Commits

Author SHA1 Message Date
tabris
eaac082190 kernel configs - enable EROFS as module, ditto overlayfs & F2FS 2025-12-29 09:16:28 +01:00
igorpecovnik
0bd81c9690 Automatic: kernel config rewrite 2025-11-08 21:11:06 +01:00
Ricardo Pardini
6a98fc2879 meson64/edge(6.18): .config: recover EXT4 manually 2025-11-05 22:17:18 +01:00
Ricardo Pardini
72ebd3faa2 meson64/edge(6.18): rewrite .config, no changes
- notice how `CONFIG_EXT3_FS` goes away with no replacement
- guess I shot myself in the foot with armbian-kernel.sh's EXT4 removal, lol
2025-11-05 22:17:18 +01:00
Mahdi
5cc80839fc
Enable ath12k module for edge kernel configs (#8812)
* Enable ath12k module for linux-rockchip64-edge
* Drop excessive debug on ath12k module
* Add ath12k module to all EDGE kernel configs, add also ath10 and 11 where missing
---------
Co-authored-by: Igor Pecovnik <igor@armbian.com>
2025-10-23 22:26:48 +02:00
Ricardo Pardini
7cd73e8408 meson64-6.17: edge: .config: enable a bunch of RTL/RTW88 2025-10-12 21:10:42 +02:00
Ricardo Pardini
695fa3edf0 meson64-6.17: edge: .config update, no changes
- there's gotta be something funky here - why stuff changing around?
2025-10-12 21:10:42 +02:00
igorpecovnik
0e45d79827 Automatic: kernel config rewrite 2025-10-11 13:36:08 +02:00
Hsun Lai
74c97b6c2a khadas-vim3: add mainline npu support 2025-09-29 14:24:12 +02:00
tabris
7828980921 netfilter-modules + make oldconfig 2025-09-28 06:43:11 +02:00
Patrick Yavitz
bff6d4db5b Meson64: Defconfig: Enable CONFIG_RANDOMIZE_BASE=y
KASLR, or Kernel Address Space Layout Randomization, is a
security mechanism used in operating system kernels to randomize
the memory locations of kernel code and data. This makes it
significantly harder for attackers to exploit memory corruption
vulnerabilities by preventing them from knowing the exact
addresses of kernel components.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-04 20:04:03 -04:00
Patrick Yavitz
5da43c1644 Meson64: Defconfig; Enable CONFIG_RTL8723DS=m
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-04 04:50:37 -04:00
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