Commit Graph

33 Commits

Author SHA1 Message Date
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
Igor Pečovnik
744ea89a58 Bumping EDGE kernel to 5.14.y (#3125)
* Bumping EDGE kernel to 5.14.y

Meson64:
- removing Odroid reboot shutdown patch since its probably not needed anymore

Rockchip64:
- removing Rockpi S. No interest to maintain this any further
- removing PBP suspend. Doesn’t align. Need inspection if some other way was mainstreamed
- temporally removing Orangepi R1

* Re-adding rockpis, pbp suspend, HFLPS170 wifi and cleanup

* Removing deprecated patch, fixing ap6256 wifi

* Re-enable Opi R1 plus, untest

* Add and fix Radxa Zero
2021-09-08 17:51:34 +02:00
Vyacheslav
c61c0ebf10 Disable wifi powersave by default via kernel config (#3113) 2021-09-02 20:48:05 +02:00
Igor Pečovnik
e7377248b3 Second part of EDGE bumping to 5.13.y (#3045)
* Bump Meson64 EDGE to 5.13
* Bump Rockchip64 EDGE to 5.13.y
* Bump Odroid Xu4 edge to 5.13.y
* Bump rockchip edge to 5.13.y
2021-07-22 00:15:54 +02:00
Igor Pecovnik
ad53cc2d15 Add upstream patches and adjust configs 2021-07-07 20:16:06 +02:00
Igor Pecovnik
15b4278a99 Adjusting broken patch and update kernel config for meson64 family 2021-06-27 20:49:20 +02:00
Aristo Chen
583c656baf Make nls_ascii become built-in (#2845) 2021-05-24 00:01:48 +02:00
Igor Pečovnik
3b3d85e25c Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y

* Bump odroid xu4 edge to 5.12.y

* Bump Jetson nano edge to 5.12.y

* WIP: Bump sunxi to 5.12.y

- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing

* Adjust wireless patches to build on 5.12.y

* Remove template wireless patch

* Move Espressobin edge to 5.12.y

* Bump mvebu to 5.12

- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds

* Adjust sunxi / sunxi64 edge to compile

* Fix kernel config for Jetson nano edge

* bump meson64 to 5.12.y

* bump rockchip edge to 5.12.y

* Bump rockchip64 to 5.12.y

* Bump rk322x edge to 5.12.y

@paolosabatino

* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y

* Update odroidxu4 edge links

* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules

* Cleanup: remove deprecated config

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2021-05-22 17:08:44 +02:00
Kirill Zhumarin
5b459ee366 Enable CONFIG_BINFMT_MISC=m (#2810)
* CONFIG_BINFMT_MISC=m for linux-rockchip 4.4

* Adjust other configs to the same value

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-05-11 10:56:48 +02:00
Igor Pecovnik
2473dca0e1 Update meson64 kernel config 2021-04-02 09:11:23 +02:00
Igor Pečovnik
0cdffb29b0 Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00