–Update
Hello @Nasca. Many thanks for your help, I was able to make my ATHEROS AR9271 dongle to work properly within the zero 3w.
I write here a step-by-step, so to help other members of the community in case of they go to the same process.
- following the shared doc to prepare the environment
https://docs.radxa.com/en/zero/zero3/low-level-dev/kernel to prepare the environment.
sudo apt update
sudo apt install -y git qemu-user-static binfmt-support
// I skept the Podman stuff since it was not able to find the
podman-docker
git clone --recurse-submodules https://github.com/radxa-repo/bsp.git
cd bsp
. /bsp
./bsp linux rk356x -r99
(I ran everzthing on the zero 3w, and this step required hours)
- modiy the kconf.conf file
sudo nano bsp/linux/rk356x/kconfig.conf
add this lines at the end then save
# Enable support for Atheros AR9171 and ATH9K drivers
CONFIG_ATH9K=y # Enables the ATH9K driver, which supports Atheros 802.11n wireless cards.
CONFIG_ATH9K_HTC=y # Enables the support for Atheros HTC-based USB adapters (such as AR9171).
CONFIG_ATH9K_PCI=y # Enables PCI and PCIe support for Atheros wireless adapters.
CONFIG_ATH9K_COMMON=y # Shared functionality for the ATH9K driver.
CONFIG_ATH_COMMON=y # Common Atheros driver code used by multiple Atheros drivers.
(don|t know if needed but I did)
sudo apt install firmware-atheros
- recompile the source
./bsp linux rk356x -r99 --no-prepare-source
- install the two deb packages
sudo dpkg -i /home/rock/bsp/linux-image-5.10.160-99-rk356x_5.10.160-99_arm64.deb
sudo dpkg -i /home/rock/bsp/linux-headers-5.10.160-99-rk356x_5.10.160-99_arm64.deb
- reboot
sudo reboot now
After all the above steps, the zero 3w rebooted correctly and can detect and use the wifi dongle
Thank you for your help.