There is gpio-utils
which is in repo.
Zero cannot connect to wifi
Nothing returned on:
dmesg | grep wlan0
Yeah it was just an example of how to grep what is relevant to make a copy & paste a little more concise.
I would have a look through dmesg to see if you can see anything that might look relevant and use grep just to grab a copy & paste to here than a complete dmesg.
Dunno even if wlan0 might be the name it assigns as forgot what the naming convention is.
OK. I had to store the messages to a file and then get them off my sd card.
Hereâs the results of - sudo dmesg | grep brcm
[ 6.705122] Bluetooth: hci0: BCM43430A1 âbrcm/BCM.hcdâ Patch
[ 6.744829] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.745011] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.radxa,zero.bin failed with error -2
[ 6.745414] usbcore: registered new interface driver brcmfmac
[ 6.856887] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.radxa,zero.txt failed with error -2
[ 6.856969] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2
[ 7.867264] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
and the results of inxi -N
Network:
Device-1: pwm-clock driver: pwm_clock
Device-2: dwmac driver: N/A
And, the Radxa Zero doesnât have emmc.
This is not the chip which is advertised.
Bit confusing.
While 43430
= ap6212
I cannot find Zeroâs SKU list to understand the difference in Wifi Chip.
Found it here: Zero SKU
So non-emmc (512mb/1gb RAM) version have AP6212 wifi chip. I will add it to the package.
Thank you for coordinating with us otherwise I wouldnât have known this fact.
I have ap6256 which is 43456
To get ap6212 firmware please do this.
sudo pacman -R ap6256-firmware
sudo pacman -S kvim1-firmware
Once it is installed then run this command.
sudo cp /usr/lib/firmware/brcm/brcmfmac43430-sdio.txt /usr/lib/firmware/brcm/brcmfmac43430-sdio.radxa,zero.txt
sudo reboot now
Hopefully you should have wifi with this.
Good Luck.
Youâre welcome. Thank you for your patience and help.
This is what happened. I go the same kind of error trying to do a system upgrade earlier via wifi dongle.
$ sudo pacman -S kvim1-firmware
resolving dependenciesâŚ
looking for conflicting packagesâŚ
Packages (1) kvim1-firmware-2020.07-1
Total Download Size: 0.04 MiB
Total Installed Size: 0.10 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packagesâŚ
kvim1-firmware-2⌠41.8 KiB 77.5 KiB/s 00:01 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
error: kvim1-firmware: signature from âFurkan Kardame furkan@fkardame.comâ is unknown trust
:: File /var/cache/pacman/pkg/kvim1-firmware-2020.07-1-aarch64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
Lol thats a lazy maintainers key its renewed but you seem to have old pkg.
Please do this.
sudo pacman -Syyu kvim1-firmware
Got the same error.
2mins let me check.
Ok it is indeed updated, should have updated local keyring but it didnât
run this please
sudo pacman-key --refresh-keys
this will take some time.
then
sudo pacman -S kvim1-firmware
and follow the copy command.
After the Proceed with installation? [Y/n] it finds the same Furkan Kardame trust error. It asks Do you want to delete it [Y/n] and either Y or n says Erros occured, no packages were upgraded.
did you run this ?
maybe update gpg files too.
gpg --refresh-keys
then try sudo pacman-key --refresh-keys
command
I tested it myself as I had the same error but after getting the updated keys I was able to install the pkg.
Did the gpg --refresh-keys.
On doing sudo pacman-key --refresh-keys, every name had the same error. This is just the tail end. Signing off for today. Thanks for the help. Iâll check back tomorrow.
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key C0D1CCE50CC38123: âSimon BĂźeler simon.bueeler@manjaro.orgâ not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving âdodgejcr@gmail.comâ via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key BB8183D3DC6A1685: âdodgejcr dodgejcr@gmail.comâ not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving âslick517d@gmail.comâ via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 1F358118A07ACF57: âRay Sherwin slick517d@gmail.comâ not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving âfurkan@fkardame.comâ via WKD: General error
gpg: error reading key: General error
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 1BF79786E554EF5D: âFurkan Kardame furkan@fkardame.comâ not changed
gpg: Total number processed: 1
gpg: unchanged: 1
[frank@frank-radxa-zero ~]$
@jack Can you help me on the Ubuntu wifi issue? I tired ubuntu 20220207 server version again, the wifi still donât work. Yet Manjaro works fine. I really need mraa on zero some of my projects reply on mraa.
Do you happen to run the above configuration? Also can you post your dmesg
after boot.
Hi,
My question is not related to Manjaro, Manjaro works great with wifi. The problem is the latest Ubuntu from radxa repo cannot detect wifi hardware. I will reinstall ubuntu and update dmesg output.
Yes I understand but those questions still apply. I need to know your hardware configuration and the kernel message before making further judgement. Also make sure to install from https://github.com/radxa/debos-radxa/releases/latest
The board is powered by 5V pin Here is the dmesg:
sudo dmesg | grep brcm
[ 6.245609] brcm fmac: F1 signature read @0x18000000=0x15294345
[ 6.252365] brcm fmac: brcm f_of_probe: interrupt could not be mapped
[ 6.267251] brcm fmac: brcm f_fw_alloc_request: using brcm / brcm fmac43456-sdio for chip BCM4345/9
[ 6.277525] usbcore: registered new interface driver brcm fmac
[ 6.284943] brcm fmac mmc2:0001:1: Direct firmware load for brcm / brcm fmac43456-sdio.radxa,zero.txt failed with error -2
[ 6.364985] brcm fmac: brcm f_sdiod_ramrw: membytes transfer failed
[ 6.364997] brcm fmac: brcm f_sdio_verifymemory: error -84 on reading 2048 membytes at 0x0019b800
[ 6.365080] brcm fmac: brcm f_sdio_download_firmware: dongle image file download failed
[ 6.701317] Bluetooth: hci0: BCM4345C5 â brcm /BCM4345C5.hcdâ Patch
If I power it with usb, the dmesg is:
sudo dmesg | grep brcm
[ 6.362618] brcm fmac: F1 signature read @0x18000000=0x15294345
[ 6.364347] brcm fmac: brcm f_chip_cores_check: CPU core not detected
[ 6.364357] brcm fmac: brcm f_sdio_probe_attach: brcm f_chip_attach failed!
[ 6.364363] brcm fmac: brcm f_sdio_probe: brcm f_sdio_probe_attach failed
[ 6.365031] brcm fmac: brcm f_ops_sdio_probe: F2 error, probe failed -19âŚ
[ 6.365301] usbcore: registered new interface driver brcm fmac
[ 6.705541] Bluetooth: hci0: BCM4345C5 â brcm /BCM4345C5.hcdâ Patch
This seems to be your issue. Can you try download the file from here and place it in your firmware folder, and check if that fixes your issue? If that works Iâll check if that was missing from our build system.