Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rtl 8822 cs driver for kernel 6 13 #7698

Closed
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions config/boards/khadas-vim4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ KHADAS_BOARD_ID="kvim4" # used to compile the fip blobs
declare -g KHADAS_OOWOW_BOARD_ID="VIM4" # for use with EXT=output-image-oowow

OVERLAY_PREFIX='t7-a311d2'
DEFAULT_OVERLAYS="panfrost"

function post_family_tweaks_bsp__enable_fan_service() {
if [[ ${BRANCH} = "legacy" ]]; then
Expand Down
42 changes: 42 additions & 0 deletions config/jethome.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
-----BEGIN PGP ARMORED FILE-----
Comment: Use "gpg --dearmor" for unpacking

mQGNBF8NjGIBDADzw9+4z+hvonSiEbggG5V5y9LLFI8bDQt3Kci0qfhuH9ahnxpI
qMPE7X7O3d3hn1wropSFnMFE2oK6rMVRTLm8UXGlrA2ivhDiNglttv4WHPMPn3Vb
6gVofSvtrSQREmg7I42ri5ve51pASPRd8auZUU4RlWceCZfUYtSYET6WAfJ+oTck
d+ueWY/Aj/MTe4LMmNkilCIuJV52nkj5LY97lZfhS/GL4Ox0xf7eAc1jQa+q9ArH
yDVfDgSzQJqhPTYZgaQFk/XOcD9jazQs/P92+0ApOPFuXnUyL3+jgymU5PrJhsDE
ZE7eFWfA75MxCRoShu+a38Y5BsCTiUQxC93Ty9wjd3SD+ZyUYfMCgnHSbPOjc6Hq
M6Ao857Gcs+ZzaaXjKHu3Mi32h/IxVPyJx9Y81MpNU8QnABXxF+afJfXtKttKho7
diyLygdoiPAylHb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bNd+1Deqrn8QNh3UnP
PXvib71boCPn6Cnn1Z0eDIpzbrD8cN1Yn/jd6NOFq69h9nArFSSQz6xpLFd0hY9p
K6Cuyg20TmF3BYeA8B0wqjzSd11HfvBYsPlR+8WCao23nZFe5OJQmpkOiS13Lo3f
7efYq+VpuBk1yFLQWpxGwE5De8JFadIIG4B8yVIkoPkwbSDGQERWGTHZH77jABEB
AAGJAbwEGAEKACYCGwwWIQThR8Vok9kwysHS3hvWrHGzDV9zZQUCXw2M4QUJEswD
fwAKCRDWrHGzDV9zZdrxDADdhE9wIxVU4cL5VjlKu+2S58MCR9tdzpvFlAA6LSKy
Kx+7DlynWPwvNCVTkwDGi8O5UERYu8Vv0BHFV654pCaCUEtDoGOXIw547ODPcCUO
bkp60DdJe20qev6ltmrLBp+6CqhKuqg2WGQmlMy51/JA7KM82fG+qbMRy2KPX5kI
s/hcIqyyLTg8ZjdXgcLpUEVKpOJhrQO+QBe93n3raVh7++lMBFpvABGa24/3g0lq
L/FrlvZAeaYMhFc7fual14apZ/cmLFCsp2u+3ifWQpnqRM8gZaWeL3JpWBZY8rMW
zCnnOhLzAxOrEaChoJARnafHAofx7F+zYx5CV40u1TM0O3PPjFjhGoM7Be6vyOLt
ajEUPpft1kMg1amtS434d47y8qo3U7x3ps1dywfjd+hacrIPC+KH+7hGGJ/6GylR
5WhOg6p+ubictlit5asgNpIMl9i+eRMwsVsP2n/7Xw4DwSQ8yyJZdtU/hDL7k7rN
GNca1ww8oGIkPSdd1Wezkhg=
=k584
-----END PGP ARMORED FILE-----
13 changes: 8 additions & 5 deletions config/sources/families/jethub.conf
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,14 @@ family_tweaks() {
chroot_sdcard systemctl mask suspend.target
fi

display_alert "Adding JetHome repository and authentication key" "/etc/apt/sources.list.d/jethome.list" "info"
run_host_command_logged cp -pv "${SRC}"/packages/bsp/jethub/jethome.gpg "${SDCARD}/etc/apt/trusted.gpg.d/"

echo "deb http://repo.jethome.ru"$([[ $BETA == yes ]] && echo "/beta")" ${RELEASE} jethome-${RELEASE}" \
>> "${SDCARD}"/etc/apt/sources.list.d/jethome.list
if [[ "$DOWNLOAD_MIRROR" == "jethome" ]]; then
display_alert "JetHome repository and authentication key already added" "family_tweaks" "info"
else
display_alert "Adding JetHome repository and authentication key" "/etc/apt/sources.list.d/jethome.list" "info"
run_host_command_logged cp -pv "${SRC}"/packages/bsp/jethub/jethome.gpg "${SDCARD}/etc/apt/trusted.gpg.d/"
echo "deb http://repo.jethome.ru"$([[ $BETA == yes ]] && echo "/beta")" ${RELEASE} jethome-${RELEASE}" \
>> "${SDCARD}"/etc/apt/sources.list.d/jethome.list
fi
}

family_tweaks_bsp() {
Expand Down
2 changes: 1 addition & 1 deletion lib/functions/compilation/patch/drivers_network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ driver_rtl88x2cs() {
if linux-version compare "${version}" ge 5.9 && [[ "$LINUXFAMILY" == meson64 ]]; then

# Attach to specific commit (track branch:tune_for_jethub)
local rtl88x2csver='commit:40450f759c8a930d271b5f0a663685f412debc72' # Commit date: Jan 24, 2024 (please update when updating commit ref)
local rtl88x2csver='commit:e2fce3c61059d1977f0ae65e648db2720dcba5f5' # Commit date: Jan 13, 2025 (please update when updating commit ref)

display_alert "Adding" "Wireless drivers for Realtek 88x2cs chipsets ${rtl88x2csver}" "info"

Expand Down
3 changes: 3 additions & 0 deletions lib/functions/rootfs/distro-specific.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ function create_sources_list_and_deploy_repo_key() {
echo "deb ${SIGNED_BY}https://mirrors.tuna.tsinghua.edu.cn/armbian $RELEASE ${components[*]}" > "${basedir}"/etc/apt/sources.list.d/armbian.list
elif [[ $DOWNLOAD_MIRROR == "bfsu" ]]; then
echo "deb ${SIGNED_BY}http://mirrors.bfsu.edu.cn/armbian $RELEASE ${components[*]}" > "${basedir}"/etc/apt/sources.list.d/armbian.list
elif [[ "$DOWNLOAD_MIRROR" == "jethome" ]]; then
echo "deb http://repo.jethome.ru"$([[ $BETA == yes ]] && echo "/beta")" ${RELEASE} jethome-${RELEASE}" > "${basedir}"/etc/apt/sources.list.d/armbian.list
gpg --dearmor < "${SRC}"/config/jethome.key > "${basedir}"/etc/apt/trusted.gpg.d/jethome.gpg
else
echo "deb ${SIGNED_BY}http://$([[ $BETA == yes ]] && echo "beta" || echo "apt").armbian.com $RELEASE ${components[*]}" > "${basedir}"/etc/apt/sources.list.d/armbian.list
fi
Expand Down
2 changes: 1 addition & 1 deletion packages/bsp/jethub/jethub-init
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare -g GPIOS
declare -g LEDS

set -e
#set -e

RP=$(realpath "${0}")
SCRIPTPATH=$(dirname "${RP}")
Expand Down
Binary file not shown.
Binary file not shown.
Loading