Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Chau on March 19, 2024, 07:24:33 AM

Title: Cannot load wifi (armv6)
Post by: Chau on March 19, 2024, 07:24:33 AM
I have just installed the picore 14.1.0 image (http://www.tinycorelinux.net/14.x/armv6/releases/RPi/piCore-14.1.0.zip) on my sd card and I have downloaded the necessary tcz's to tce/optional, so I can setup wifi.

When I run the following on my pi zero w:
Code: [Select]
> tce-load -i wifi
All looks good except for this one:
Code: [Select]
wireless-6.1.68-piCore-v7.tcz not found!
In the TCE list (http://www.tinycorelinux.net/14.x/armv6/tcz/) there is a wireless-6.1.68-piCore.tcz but not one with a "v7" in the name.

Is wifi.tcz referring to a wrong extension?
Title: Re: Cannot load wifi (armv6)
Post by: Juanito on March 19, 2024, 07:37:56 AM
You need to download it from http://www.tinycorelinux.net/14.x/armv7/tcz/
Title: Re: Cannot load wifi (armv6)
Post by: Chau on March 19, 2024, 08:16:25 AM
You need to download it from http://www.tinycorelinux.net/14.x/armv7/tcz/
But will that work with a pi zero? I thought the pi zero was armv6 only?
Title: Re: Cannot load wifi (armv6)
Post by: Rich on March 19, 2024, 08:44:34 AM
Hi Chau
I just searched all of the TC14 armv6  .dep  and  .tree  files for
any instance of  piCore-v7 and found nothing.

Check the  .dep  files in your  tce  directory.

Also check that these commands give the expected results:
Code: [Select]
uname -r
uname -m
Title: Re: Cannot load wifi (armv6)
Post by: Juanito on March 19, 2024, 08:44:59 AM
I seem to recall that the RPi0 W is armv7.
Title: Re: Cannot load wifi (armv6)
Post by: Paul_123 on March 19, 2024, 10:33:40 AM
Zero and ZeroW are armv6

Zero2W is armv7
Title: Re: Cannot load wifi (armv6)
Post by: Chau on March 19, 2024, 11:06:41 AM
Hi Chau
I just searched all of the TC14 armv6  .dep  and  .tree  files for
any instance of  piCore-v7 and found nothing.

Check the  .dep  files in your  tce  directory.

Also check that these commands give the expected results:
Code: [Select]
uname -r
uname -m
Went over it again and discovered that I really messed up all my files. I deleted everything and downloaded everything again and now it works.

Feel very free to delete this question, unless you feel that it can help other people.

Thanks again for all your fast and very excellent replies!

Regards, Casper
Title: Re: Cannot load wifi (armv6)
Post by: Chau on March 19, 2024, 11:09:55 AM
Zero and ZeroW are armv6

Zero2W is armv7

I found the same about the Zero (W) but this page says that Zero 2W is armv8: https://en.wikipedia.org/wiki/Raspberry_Pi#Specifications
Title: Re: Cannot load wifi (armv6)
Post by: Rich on March 19, 2024, 11:26:13 AM
Hi Chau
Glad to hear you got it straightened out.
I see no reason to remove this question. It provides information
on how to check which CPU and kernel version are being used.
Title: Re: Cannot load wifi (armv6)
Post by: Paul_123 on March 19, 2024, 04:34:58 PM
Yes, technically it is an armv8 chip however, when running in 32bit mode, it reports as an armv7 processor.  Armv8 is a 64 bit processor, and arm processors running in 64 bit mode will show up as aarch64 in the kernel.

Becuase the zero2W has only 512k RAM, I would run it in 32bit mode, as 32 bit has a smaller memory footprint.