Skip to content

Commit

Permalink
JetHome: Put module blacklist in the board configs of the respective …
Browse files Browse the repository at this point in the history
…boards
  • Loading branch information
adeepn committed Aug 13, 2024
1 parent cecf6a8 commit 544a420
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 2 additions & 0 deletions config/boards/jethubj100.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ BOOTCONFIG="jethub_j100_defconfig"
KERNEL_TARGET="current,edge"
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog python3-serial python3-intelhex python3-intelhex"
DEFAULT_CONSOLE="serial"
HAS_VIDEO_OUTPUT="no"
MODULES_BLACKLIST="rtw88_8822cs"
2 changes: 2 additions & 0 deletions config/boards/jethubj80.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ BOOTCONFIG="jethub_j80_defconfig"
KERNEL_TARGET="current,edge"
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog python3-serial python3-intelhex python3-intelhex"
DEFAULT_CONSOLE="serial"
HAS_VIDEO_OUTPUT="no"
MODULES_BLACKLIST="rtw88_8822cs"
13 changes: 0 additions & 13 deletions config/sources/families/jethub.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,6 @@ elif [[ "$BOARD" == "jethubj200" ]]; then
BOOTPATCHDIR="v2024.07"
fi

########
# @TODO: Put this in the board configs of the respective boards
########
if [[ "$BOARD" == "jethubj80" ]] || [[ "$BOARD" == "jethubj100" ]]; then
function family_tweaks__blacklistrtw88() {
if [[ "$BOARD" == jethubj80 ]] || [[ "$BOARD" == jethubj100 ]]; then
mkdir -p "${destination}"/etc/modprobe.d
echo "blacklist rtw88_8822cs" > "${destination}"/etc/modprobe.d/rtw88_8822cs.conf
fi
display_alert "Added rtw88_8822cs to blacklist" "${BOARD}" "info"
}
fi

# JetHub builds userspace tooling with c++ (gpp) toolchain in buildjethomecmds() below.
# The C++ compiler is no longer included by default in the Armbian build system.
# Enable the extension that brings includes it. It could've been an inline extension (eg: the function right here),
Expand Down

0 comments on commit 544a420

Please sign in to comment.