FW error after kernel update

Hi!

After update to the last ti kernel my wifi stop working.

HW: Beaglebone Green Wireless
OS: Debian 8
Kernel: 4.4.9-ti-r25

I installed the kernel using this

cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --lts-4_9

And this is the message of the kernel after reboot to the new kernel

[ 19.704051] Please use at least FW 8.9...58.

[ 19.704051] You can get the latest firmwares at:

[ 19.704051] git://git.ti.com/wilink8-wlan/wl18xx_fw.git

[ 19.795710] wlcore: ERROR error getting static data

[ 20.316987] wlcore: ERROR Your WiFi FW version (8.9.0.1.55) is invalid.

I really need to remote update the kernel to some machine,

There is something I can upgrade before doing kernel update to prevent wifi from dying?

regards,
Sebastián

Hi!

After update to the last ti kernel my wifi stop working.

HW: Beaglebone Green Wireless
OS: Debian 8
Kernel: 4.4.9-ti-r25

I installed the kernel using this

cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --lts-4_9

run ^ that again: we are shipping:

4.9.37-ti-r47

you shouldn't see that FW error message anymore

And this is the message of the kernel after reboot to the new kernel

[ 19.704051] Please use at least FW 8.9.*.*.58.
[ 19.704051] You can get the latest firmwares at:
[ 19.704051] git://git.ti.com/wilink8-wlan/wl18xx_fw.git
[ 19.795710] wlcore: ERROR error getting static data
[ 20.316987] wlcore: ERROR Your WiFi FW version (8.9.0.1.55) is invalid.

I really need to remote update the kernel to some machine,

There is something I can upgrade before doing kernel update to prevent wifi
from dying?

boot the "old" kernel:

ls /boot/*

set the "uname_r" in /boot/uEnv.txt and reboot..

Regards,

Sorry Robert, I did not quite understand your answer.

Today I tested and gave me the error.
You tell me that I have to do the kernel update twice?

okay, starting from the beginning, run:

sudo /opt/scripts/tools/version.sh

Regards,

thanks

here the result:

`

root@beaglebone:/opt/scripts/tools# ./version.sh
git:/opt/scripts/:[ddd67f07548ebbc1884b2f52d16af900b8c7a159]
eeprom:[A335BNLTGW1ABBGW16051477]
dogtag:[BeagleBoard.org Debian Image 2016-11-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2016.11-rc3-00002-g73df7f]
kernel:[4.4.30-ti-r64]
nodejs:[v0.12.17]

`

Okay, i don't get it, in your first email you mentioned: 4.4.9-ti-r25,
but you are running 4.4.30-ti-r64

Either way:

cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --lts-4_9

should install 4.9.37-ti-r47

Regards,

Sorry Robert, some remote machines were left with that kernel.

Here ./version of a machine with kernel 4.4.9-ti-r25,

root@beaglebone:/opt/scripts/tools# ./version.sh
git:/opt/scripts/:[07e88961f99035b71b44c36dda6cd6cbdc98210c]
eeprom:[A335BNLTGW1ABBGW16051023]
dogtag:[BeagleBoard.org Debian Image 2016-05-27]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2016.03-00001-gd12d09f]
kernel:[4.4.9-ti-r25]
nodejs:[v0.12.18]
pkg:[bb-cape-overlays]:[4.1.20170106-0rcnee1~bpo80+20170106+1]
pkg:[bb-wl18xx-firmware]:[1.20170113-0rcnee1~bpo80+20170113+1]

With kernel 4.4.9-ti-r25 if I update to kernel --lts-4_9 the wifi die

Okay this was tricky, in the end it was simple, back in 2016-05-27
time frame, the package firmware-ti-connectivity was not installed by
default:

sudo apt update
sudo apt install firmware-ti-connectivity
sudo reboot

debian@beaglebone:~$ uname -r
4.9.38-ti-r48
debian@beaglebone:~$ dmesg | grep wlcore
[ 32.406553] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 32.621944] wlcore: loaded
[ 33.115989] wlcore: PHY firmware version: Rev 8.2.0.0.236
[ 33.156566] wlcore: firmware booted (Rev 8.9.0.0.69)
[ 33.496444] wlcore: down
[ 34.490706] wlcore: down
[ 36.680577] wlcore: down
[ 36.707126] wlcore: down
[ 37.369167] wlcore: PHY firmware version: Rev 8.2.0.0.236
[ 37.414004] wlcore: firmware booted (Rev 8.9.0.0.69)
[ 38.361339] wlcore: down

Regards,

and i added a check:

https://github.com/RobertCNelson/boot-scripts/commit/a6e52fdbb7f0d94c04f3973725a85fc4d99a7858

so the next time this comes up, it's easy to fix. :wink:

Regards,

Thanks Robert for the help and for adding the check.

I can re-download the same debian version but I will try with this image on a local Beaglebone before trying on the remotes

https://rcn-ee.com/rootfs/bb.org/testing/2016-10-20/seeed-gcp-iot/BBGW-blank-debian-8.6-seeed-gcp-iot-armhf-2016-10-20-4gb.img.xz

regards,
Sebastián

i also added that package to the depends list of bb-wl18xx-firmware,
so it should fix all old rootfs with bb-wl18xx-firmware installed
(default)

https://github.com/rcn-ee/repos/blob/master/bb-wl18xx-firmware/suite/jessie/debian/control#L11

Regards,

thanks you :slight_smile: