Skip to content

Commit

Permalink
karnak,suez: switch to a kernel with usb wifi drivers
Browse files Browse the repository at this point in the history
as those two amazon tablet do not yet have hacked together native
wifi support those kernels have the available usb wifi drivers
built in so that one can at least one of those to connect to wifi
if desired

while changing the kernels this also switches to the simpler kernel
boot-and-modules.tar.gz archive already used for gt510 and harpia

this has so far only been tested on suez, but there is no real
reason why it should not work for karnak as well, so it will be
changed for karnak here as well
  • Loading branch information
hexdump0815 committed Jul 10, 2022
1 parent d7b3b20 commit 8530b56
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
13 changes: 4 additions & 9 deletions systems/tablet_amazon_karnak/get-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@

# get a kernel etc. from a special portmarketos based build

amazon_karnak_pmos_release_version="linux-amazon-karnak-3.18.19-r3"
amazon_karnak_pmos_release_version="linux-amazon-karnak-3.18.19-r4"

rm -rf ${DOWNLOAD_DIR}/boot-extra-${1}
mkdir -p ${DOWNLOAD_DIR}/boot-extra-${1}
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_karnak_pmos_release_version}/boot.img.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/boot.img
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_karnak_pmos_release_version}/config-amazon-karnak.aarch64.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/config-amazon-karnak.aarch64
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_karnak_pmos_release_version}/initramfs-extra.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/initramfs-extra
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_karnak_pmos_release_version}/initramfs.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/initramfs
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_karnak_pmos_release_version}/vmlinuz.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/vmlinuz.gz
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_karnak_pmos_release_version}/lib-modules.tar.gz -O ${DOWNLOAD_DIR}/boot-extra-${1}/lib-modules.tar.gz
rm -rf ${DOWNLOAD_DIR}/postinstall-${1}
mkdir -p ${DOWNLOAD_DIR}/postinstall-${1}
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_karnak_pmos_release_version}/boot-and-modules-amazon-karnak.tar.gz -O ${DOWNLOAD_DIR}/postinstall-${1}/boot-and-modules.tar.gz
3 changes: 3 additions & 0 deletions systems/tablet_amazon_karnak/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ if [ -f etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml-enabled
elif [ -f etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml-enabled ]; then
cp -v etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml-enabled etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
fi

# install the kernel, initramfs, boot.img etc.
tar xzf postinstall/boot-and-modules.tar.gz
13 changes: 4 additions & 9 deletions systems/tablet_amazon_suez/get-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@

# get a kernel etc. from a special portmarketos based build

amazon_suez_pmos_release_version="linux-amazon-suez-3.18.19-r6"
amazon_suez_pmos_release_version="linux-amazon-suez-3.18.19-r8"

rm -rf ${DOWNLOAD_DIR}/boot-extra-${1}
mkdir -p ${DOWNLOAD_DIR}/boot-extra-${1}
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_suez_pmos_release_version}/boot.img.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/boot.img
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_suez_pmos_release_version}/config-amazon-suez.aarch64.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/config-amazon-suez.aarch64
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_suez_pmos_release_version}/initramfs-extra.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/initramfs-extra
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_suez_pmos_release_version}/initramfs.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/initramfs
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_suez_pmos_release_version}/vmlinuz.gz -O - | gunzip -c > ${DOWNLOAD_DIR}/boot-extra-${1}/vmlinuz.gz
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_suez_pmos_release_version}/lib-modules.tar.gz -O ${DOWNLOAD_DIR}/boot-extra-${1}/lib-modules.tar.gz
rm -rf ${DOWNLOAD_DIR}/postinstall-${1}
mkdir -p ${DOWNLOAD_DIR}/postinstall-${1}
wget -v https://github.com/hexdump0815/pmaports-amazon/releases/download/${amazon_suez_pmos_release_version}/boot-and-modules-amazon-suez.tar.gz -O ${DOWNLOAD_DIR}/postinstall-${1}/boot-and-modules.tar.gz
3 changes: 3 additions & 0 deletions systems/tablet_amazon_suez/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ if [ -f etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml-enabled
elif [ -f etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml-enabled ]; then
cp -v etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml-enabled etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
fi

# install the kernel, initramfs, boot.img etc.
tar xzf postinstall/boot-and-modules.tar.gz

0 comments on commit 8530b56

Please # to comment.