mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
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>
This commit is contained in:
@@ -21,7 +21,7 @@ CPUMAX=${CPUMAX:-1536000}
|
||||
GOVERNOR=${GOVERNOR:-ondemand}
|
||||
|
||||
case $BRANCH in
|
||||
|
||||
|
||||
legacy)
|
||||
KERNELSOURCE='https://github.com/hardkernel/linux'
|
||||
#KERNELBRANCH='branch:odroidg12-4.9.y'
|
||||
@@ -35,7 +35,7 @@ case $BRANCH in
|
||||
;;
|
||||
|
||||
edge)
|
||||
KERNELBRANCH='branch:linux-5.17.y'
|
||||
KERNELBRANCH='branch:linux-5.19.y'
|
||||
KERNELPATCHDIR='meson64-edge'
|
||||
;;
|
||||
|
||||
@@ -289,7 +289,7 @@ family_tweaks_bsp()
|
||||
cat <<-EOF > "$destination"/etc/X11/xorg.conf
|
||||
Section "Device"
|
||||
Identifier "DRM Graphics Acclerated"
|
||||
|
||||
|
||||
## Use modesetting and glamor
|
||||
Driver "modesetting"
|
||||
Option "AccelMethod" "glamor" ### "glamor" to enable 3D acceleration, "none" to disable.
|
||||
@@ -297,9 +297,9 @@ family_tweaks_bsp()
|
||||
Option "Dri2Vsync" "true"
|
||||
Option "TripleBuffer" "True"
|
||||
## End glamor configuration
|
||||
|
||||
|
||||
EndSection
|
||||
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Default Screen"
|
||||
SubSection "Display"
|
||||
@@ -312,7 +312,7 @@ family_tweaks_bsp()
|
||||
}
|
||||
|
||||
# This is an extension method, put directly in meson64_common. A "built-in" extension if you will.
|
||||
# If used in more than one place, it could be moved to an extension: enable_extension "amlogic-fip-tools"
|
||||
# If used in more than one place, it could be moved to an extension: enable_extension "amlogic-fip-tools"
|
||||
function fetch_sources_tools__amlogic_fip() {
|
||||
fetch_from_repo "https://github.com/armbian/odroidc2-blobs" "odroidc2-blobs" "branch:master"
|
||||
fetch_from_repo "https://github.com/LibreELEC/amlogic-boot-fip" "amlogic-boot-fip" "branch:master"
|
||||
|
||||
Reference in New Issue
Block a user