Commit Graph

13284 Commits

Author SHA1 Message Date
ColorfulRhino
6ced5cc026 meson-s4t7: Fix custom_kernel_config: hash modification has to happen inside the first function call
Will be ignored on second time the function is called
2024-03-30 21:09:12 +01:00
ColorfulRhino
ee8a3d9675 Kernel config hooks: Use custom_kernel_config instead of armbian_kernel_config
Since `armbian_kernel_config` is "NOT for user consumption. Do NOT use this hook, this is internal to Armbian."
`custom_kernel_config`  is able to overwrite previously set values.
2024-03-30 21:09:12 +01:00
ColorfulRhino
f9acd1cc96 meson-s4t7: Enable DEBUG_KERNEL to work around issues with Khadas common_drivers 2024-03-30 21:09:12 +01:00
Ricardo Pardini
8d426f6c29 rockpro64: bump u-boot to v2024.04-rc4; use binman-produced bins
- `mmc-sdhci-allow-disabling-sdma-in-spl.patch` has landed in 3cd664dc92
- remove `CONFIG_SPL_MMC_SDHCI_SDMA=n`, as fix has landed in 3b804b370d (thanks Kwiboo for the pointer)
- use binman-produced binaries
- use `flashcp -p` to write fast to spi
- bump ATF (TF-A) to lts-v2.8.16
- configure /etc/fw_env.config userspace to SPI env coordinates
  - configure /etc/fw_env.config userspace to SPI env coordinates
  - include libubootenv-tool userspace for fw_printenv and fw_setenv
- use `bs=32k seek=1` instead of `seek=64` suggested by Kwiboo (thanks!) for speedy writing
- add a check for the u-boot.bin size (992KiB) suggested by Kwiboo (thanks!)
  - really a close call: we're at 994.920 bytes right now

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
Co-authored-by: Jonas Karlman <jonas@kwiboo.se>
2024-03-30 12:17:39 +01:00
Igor Pecovnik
9905082d4e Changing file to force full rootfs cache rebuild due to upstream backdoor 2024-03-29 20:22:54 +01:00
ColorfulRhino
3b73b5fd81 kernel-config: Fix forced option IKCONFIG
Also rewrite some kernel configs to reflect this fix
2024-03-29 15:57:40 +00:00
ColorfulRhino
b57767fd1b bcm2711: rewrite-kernel-config for legacy, current, edge 2024-03-29 15:57:40 +00:00
ColorfulRhino
c20d074f58 uefi: rewrite-kernel-config for arm64/riscv64/x86, current & edge 2024-03-29 15:57:40 +00:00
ColorfulRhino
46d913cce1 rk3588-edge, rk35xx-vendor, rk35xx-legacy: rewrite-kernel-config 2024-03-29 15:57:40 +00:00
ColorfulRhino
7ded1f7d7d kernel-config: Force-enable CONFIG_IKCONFIG_PROC=y
to make the kernel config available on the running machine via /proc/config.gz
2024-03-29 15:57:40 +00:00
ColorfulRhino
01be9ecbf9 kernel-config: Update forced kernel options with kernel version checks
This makes the process even more automatic, requiring less manual changes in the config in case of having to solve dependency chains.
2024-03-29 15:57:40 +00:00
ColorfulRhino
bb3837b675 kernel-config: Move config check to init function
- Also change run_kernel_make_dialog oldconfig to run_kernel_make olddefconfig
2024-03-29 15:57:40 +00:00
ColorfulRhino
d504aa1be2 rockchip64-edge: rewrite kernel config 2024-03-29 15:57:40 +00:00
ColorfulRhino
f8e7d33d69 kernel-config: Fix forced disabling of debug options
Disable CONFIG_EXPERT as well since DEBUG_KERNEL=y is a dependency for EXPERT=y, meaning DEBUG_KERNEL would be re-enabled automatically if EXPERT is enabled
2024-03-29 15:57:40 +00:00
ColorfulRhino
4d744e8638 kernel-config: Only force disable kernel option if it was enabled
This prevents misconfigurations which would be automatically deleted in the next run of `kernel-config`
2024-03-29 15:57:40 +00:00
ColorfulRhino
9f127751f1 kernel-config: Check and repair kernel config after forcing options
Manually forcing kernel options with 'call_extensions_kernel_config()' can introduce missing dependencies or misconfigurations. This commit introduces a function which checks the config, re-establishes its sanity if necessary and outputs any changes to the user.
This also makes `./compile.sh kernel-config` (exiting without changes) and `./compile.sh rewrite-kernel-config` ouput the same config file. Previously, this was not the case.
2024-03-29 15:57:40 +00:00
Julian Sikorski
44d8ac4651 Update odroidxu4-current to 6.1.83 2024-03-29 13:12:01 +01:00
Ricardo Pardini
4c3f878bb4 rockchip64-edge (6.8.y): enable CONFIG_RTW88_PCI and all the RTW88 PCI cards
- needed for the Tinkerboard-2 (8822CE)
- didn't touch SDIO or USB ones
2024-03-29 13:11:25 +01:00
ColorfulRhino
42874201c4 cli: Update shellcheck 0.9.0 --> 0.10.0 2024-03-28 14:07:32 +01:00
amazingfate
4887035522 rk3588-edge: rock-5a: fix poweroff and enable m.2 E slot 2024-03-28 14:07:22 +01:00
amazingfate
7d94527a8d enable gpu node for sige7, h88k and rock5a 2024-03-28 14:07:22 +01:00
Igor Pecovnik
86df0089fc sunxi legacy v6.1: remove deprecated patch 2024-03-27 21:20:53 +01:00
Patrick Yavitz
b0bb6b4e31 RTW88: remove patches upstreamed
6.1.y

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-27 19:45:10 +01:00
Patrick Yavitz
8be75c7528 RTW88: remove patches upstreamed
6.6.y
6.7.y
6.8.y: https://github.com/armbian/build/pull/6436

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-27 09:19:11 +01:00
amazingfate
459e62e087 armsom-sige7: add ap6275p wifi support 2024-03-27 08:39:11 +01:00
ColorfulRhino
77a3f587bc wireless: Remove some patches upstreamed in 6.8.2 2024-03-27 07:10:24 +01:00
Muhammed Efe Cetin
a3bb1d06e0 rockchip-rk3588-edge: khadas-edge2: add automatic fan control 2024-03-26 23:26:50 +01:00
Muhammed Efe Cetin
a97aee685d rockchip-rk3588-edge: refresh cpufreq patches 2024-03-26 23:26:50 +01:00
ColorfulRhino
03c51a301a GH Actions: Beautify kernel hardening analysis
GitHub job summaries do not support colored output, but the kernel hardening script is using colored output. Thus, the job summary in the Actions panel is littered with ugly characters. This commit replaces them with emojis to enhance visibility.
2024-03-26 23:26:36 +01:00
Paolo Sabatino
a1aab845c0 rockchip64: update patching YAML file 2024-03-26 13:46:35 +01:00
Paolo Sabatino
e4d413b916 rockchip64: bump edge kernel to 6.8 2024-03-26 13:46:35 +01:00
Paolo Sabatino
e2fb8dcf43 fix missing of headers in uwe5622 driver patches 2024-03-26 13:21:22 +01:00
Ricardo Pardini
3f67158c60 khadas-vim3: enable networking cmds in u-boot 2024-03-26 07:29:09 +01:00
Ricardo Pardini
9885c704af khadas-vim3l: enable networking cmds in u-boot 2024-03-26 07:29:09 +01:00
Muhammed Efe Cetin
8b41236462 rockchip-rk3588-edge: khadas-edge2: add support for GPU and improve display modes 2024-03-26 07:28:43 +01:00
Igor Pecovnik
a0a701b9a5
Bugfix / workaround: fix python parsing errors
In order to proceed with compiling Khadas Edge 2 bsp packages, we need to remove single quotes from comments
2024-03-26 00:13:47 +01:00
amazingfate
1bece8c428 armsom-sige7: add missing vop node 2024-03-25 20:47:51 +01:00
ColorfulRhino
bb23764c65 build script: config: Move fs-compatibility-check into a function
for better readability
2024-03-25 19:28:09 +00:00
ColorfulRhino
7e07ba179b build script: config: Use gzip instead of pigz in fs-compat-check 2024-03-25 19:28:09 +00:00
ColorfulRhino
c02b9b90d8 build script: configuration: Check if ROOTFS_TYPE is supported by build host 2024-03-25 19:28:09 +00:00
Paolo Sabatino
47d2e8287e rockchip: bump edge kernel to 6.8 2024-03-25 19:38:38 +01:00
RadxaNaoki
c02e1c36c1
add support for Radxa ZERO 3E/3W (#6420)
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
2024-03-25 18:45:12 +01:00
Valentin
22511b31cf
create linux-libc-dev when building kernel packages (#6408)
* Re-add functionality to create linux-libc-dev when building kernel packages.
* linux-libc-dev: append -${BRANCH}-${LINUXFAMILY} to package name and update control file
2024-03-25 18:04:26 +01:00
Ricardo Pardini
dad4082778 artifact-armbian-bsp-cli: include BOOT_SOC in the bsp-cli hash
- This way we can safely include BOOT_SOC in /etc/armbian-release as done in the previous commit
- this will cause a rebuild of _all_ bsp-cli packages, even those for boards that don't define BOOT_SOC
- hopefully one day we will have BOOT_SOC ("What is the SoC?") defined for all boards
  - for now, it will be empty for those that don't define it, which should be harmless
2024-03-25 18:03:43 +01:00
Yanase Yuki
e3ec53d66c bsp-cli: include BOOT_SOC in /etc/armbian-release
Commit 562d96128b introduces new variable "BOOT_SOC".
This var is used at u-boot post install script, so "BOOT_SOC"
must be avaiable on system image.

Without this u-boot upgrade on tinkerboard will be completely
broken.
https://forum.armbian.com/topic/35677-tinkerboard-not-booting-after-updates/
2024-03-25 18:03:43 +01:00
Paolo Sabatino
f20b2240b0 rockchip: fix bootloader upgrade 2024-03-25 18:02:56 +01:00
Kamil Kasperski
aabae2cf60 config: boards: add X96 Mate TV Box config
Signed-off-by: Kamil Kasperski <ressetkk@gmail.com>
2024-03-25 18:00:44 +01:00
Vadim Gerasimov
fc98d2eaca Rock 4C+: update and cleanup boot config
Use newer uboot that includes defconfig for 4C+.
Fixes unstable boots.
2024-03-25 17:59:53 +01:00
jack
82f4c629b1 Enable armsom-sige7 early PD negotiation 2024-03-25 17:59:25 +01:00
jack
f99b2a8f3b add rockchip-rk3588-edge devicetree for armsom-sige7 2024-03-25 17:59:25 +01:00