mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Jg/wdk2023 tweaks - bring the available features on par with current development (#6091)
* wdk2023: point to kernel 6.7-rc6-gunyah, add handling for qrtr-ns add config with Gunyah enabled Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz> * wdk2023: add mtools for access to EFI partition Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz> * wdk2023: ath11k: add board-2.bin required for good WLAN/BT operation Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz> * wdk2023: separate kernel config for this board Signed-off-by: Jens Glathe <jglathe@oldschoolsolutions.biz> * wdk2023: ath11k: move board-2.bin to armbian-firmware Signed-off-by: Jens Glathe <jglathe@oldschoolsolutions.biz> --------- Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz> Signed-off-by: Jens Glathe <jglathe@oldschoolsolutions.biz> Co-authored-by: Jens Glathe <jglathe@oldschoolsolutions.biz> Co-authored-by: Igor <igor@armbian.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Qualcomm Snapdragon 8cx Gen 3 Adreno 690 Qualcomm WCN685x Wi-Fi 6E Bluetooth 5.1
|
||||
declare -g BOARD_NAME="Windows dev kit 2023"
|
||||
# Qualcomm Snapdragon 8cx Gen 3 Adreno 690 Qualcomm WCN6855 Wi-Fi 6E Bluetooth 5.1
|
||||
declare -g BOARD_NAME="Windows Dev Kit 2023"
|
||||
declare -g BOARDFAMILY="uefi-arm64"
|
||||
declare -g KERNEL_TARGET="wdk2023"
|
||||
declare -g BRANCH="wdk2023"
|
||||
@@ -9,15 +9,15 @@ declare -g BOOT_LOGO=desktop
|
||||
# This board boots via EFI/Grub, but requires a DTB to be passed, from Grub, to the Kernel.
|
||||
declare -g GRUB_CMDLINE_LINUX_DEFAULT="efi=noruntime clk_ignore_unused pd_ignore_unused arm64.nopauth iommu.passthrough=0 iommu.strict=0 pcie_aspm.policy=powersupersave"
|
||||
declare -g BOOT_FDT_FILE="qcom/sc8280xp-microsoft-dev-kit-2023.dtb"
|
||||
declare -g UEFI_MOUNT_POINT_SKIP_FSTAB="yes" # If we leave the /boot/efi in fstab, systemd hangs waiting for it. @TODO why?
|
||||
enable_extension "grub-with-dtb" # important, puts the whole DTB handling in place.
|
||||
|
||||
# Use the full firmware, complete linux-firmware plus Armbian's
|
||||
# @TODO: see if we can only get the blobs that are required for WDK operation.
|
||||
declare -g BOARD_FIRMWARE_INSTALL="-full"
|
||||
|
||||
function post_family_config_branch_wdk2023__jg_kernel() {
|
||||
declare -g KERNEL_MAJOR_MINOR="6.6" # Major and minor versions of this kernel.
|
||||
declare -g KERNELBRANCH='branch:jg/wdk2023-6.6.2'
|
||||
declare -g KERNEL_MAJOR_MINOR="6.7" # Major and minor versions of this kernel.
|
||||
declare -g KERNELBRANCH='branch:jg/wdk2023-gunyah-6.7-rc6'
|
||||
declare -g KERNELSOURCE='https://github.com/jglathe/linux_ms_dev_kit.git'
|
||||
display_alert "Set up jg's kernel ${KERNELBRANCH} for" "${BOARD}" "info"
|
||||
}
|
||||
@@ -43,6 +43,8 @@ function post_family_config__debian_now_has_userspace_for_the_wdk2023() {
|
||||
add_packages_to_image "alsa-ucm-conf" # for audio; see https://packages.ubuntu.com/alsa-ucm-conf and https://packages.debian.org/alsa-ucm-conf - we need 1.2.10 + patches, see below
|
||||
add_packages_to_image "acpi" # general ACPI support
|
||||
add_packages_to_image "zstd" # for zstd compression of initrd
|
||||
add_packages_to_image "mtools" # for access to the EFI partition
|
||||
|
||||
|
||||
# Trixie, as of 2023-10-13, is missing fprintd and libpam-fprintd; see https://tracker.debian.org/pkg/fprintd and https://tracker.debian.org/pkg/libpam-fprintd
|
||||
# @TODO: check again later, and remove this if it's there
|
||||
@@ -79,6 +81,17 @@ function post_family_tweaks_bsp__wdk2023_bsp_always_start_pdmapper() {
|
||||
EOD
|
||||
}
|
||||
|
||||
function post_family_tweaks_bsp__wdk2023_bsp_always_start_qrtr_ns() {
|
||||
### (At least) Ubuntu's version of qrtr-ns's qrtr-ns.service has a kernel condition.
|
||||
### On Debian, this does not hurt.
|
||||
### Remove it using a systemd override.
|
||||
add_file_from_stdin_to_bsp_destination "/etc/systemd/system/qrtr-ns.service.d/override.conf" <<- EOD
|
||||
[Unit]
|
||||
Description=QIPCRTR Name Service (always starts)
|
||||
ConditionKernelVersion=
|
||||
EOD
|
||||
}
|
||||
|
||||
##
|
||||
## Include certain firmware in the initrd
|
||||
##
|
||||
@@ -104,7 +117,6 @@ function post_family_tweaks_bsp__wdk2023_bsp_modules_in_initrd() {
|
||||
display_alert "Adding to bsp-cli" "${BOARD}: modules in initrd" "info"
|
||||
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/modules" <<- 'EXTRA_MODULES'
|
||||
# @TODO this list is outdated, much has changed; check jhovold's defconfig commit msg
|
||||
pwm_bl
|
||||
phy_qcom_qmp_pcie
|
||||
pcie_qcom
|
||||
phy_qcom
|
||||
@@ -118,7 +130,6 @@ function post_family_tweaks_bsp__wdk2023_bsp_modules_in_initrd() {
|
||||
pmic_glink_altmode
|
||||
leds_qcom_lpg
|
||||
qcom_q6v5_pas # This module loads a lot of FW blobs
|
||||
panel-edp
|
||||
msm
|
||||
nvme
|
||||
usb_storage
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
linux-arm64-sc8280xp.config
|
||||
11060
config/kernel/linux-arm64-wdk2023.config
Normal file
11060
config/kernel/linux-arm64-wdk2023.config
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user