Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions config/boards/cix-acpi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Cix CD8180/CD8160 SoC 12 core 8-64GB RAM PCIe 4.0
BOARD_NAME="Cix-ACPI"
BOARD_VENDOR="cixtech"
BOARDFAMILY="cix-p1"
KERNEL_TARGET="current, edge, vendor"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are there spaces?

FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOARD_MAINTAINER="HeyMeco"

if [[ "${BRANCH}" == "vendor" ]]; then
declare -g BOARD_FIRMWARE_INSTALL="-full" # Install full firmware for V12 mali_csffw.bin
MODULES_BLACKLIST="mali_kbase snd_soc_sky1_sound_card snd_soc_cdns_i2s_mc snd_soc_rt5682s snd_soc_hdmi_codec" # Use Panthor instead but have Mali in the kernel, Disable temporarily broken audio drivers
fi

if [[ "${BRANCH}" == "current" ]] || [[ "${BRANCH}" == "edge" ]]; then
MODULES_BLACKLIST="armchina_npu" # Disable armchina_npu driver as the kernel crashes on boot with it enabled
fi

function post_family_tweaks__cix_acpi_mesa_backports() {
display_alert "Installing mesa-vulkan-drivers from backports" "cix-acpi" "info"

# Only install on Debian Trixie
if [[ "${RELEASE}" == "trixie" && "${DISTRIBUTION}" == "Debian" ]]; then
# Update mesa from backports
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we deal with mesa in the mesa extension?

# Note: trixie-backports is already configured by Armbian
chroot_sdcard_apt_get install -t trixie-backports mesa-vulkan-drivers

display_alert "mesa-vulkan-drivers installed from trixie-backports" "cix-acpi" "info"
else
display_alert "Skipping mesa-vulkan-drivers backports install (not Debian Trixie)" "${RELEASE}" "warn"
fi
}
Loading
Loading