Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: bmarkus on November 13, 2021, 04:05:27 AM

Title: piCore-13.1.0
Post by: bmarkus on November 13, 2021, 04:05:27 AM
I'm testing a new release, 13.1.0 (32-bit) built on 5.10.77 kernel. It supports the new ZERO 2 W as well as all other boards. It will be available around a week.
Title: Re: piCore-13.1.0
Post by: Pengo on November 13, 2021, 02:34:41 PM
That would be absolutely great!
Performance wise the PI ZERO 2 is a lot faster!  (I installed Raspberry OS for now)


Title: Re: piCore-13.1.0
Post by: stelian on November 20, 2021, 04:58:34 AM
Hi bmarkus,

I saw the latest 13.1.0 land on the download site, thanks !

However, the kernel modules tcz in the repo (http://tinycorelinux.net/13.x/armv6/tcz/) are not up-to-date, they still target old 5.10.16-piCore kernel.

Thanks,

Stelian.
Title: Re: piCore-13.1.0
Post by: bmarkus on November 20, 2021, 09:23:36 AM
Hi bmarkus,

I saw the latest 13.1.0 land on the download site, thanks !

However, the kernel modules tcz in the repo (http://tinycorelinux.net/13.x/armv6/tcz/) are not up-to-date, they still target old 5.10.16-piCore kernel.

Thanks,

Stelian.

Please recheck (empty cache, ...). It is there.
Title: Re: piCore-13.1.0
Post by: Rich on November 20, 2021, 10:15:39 AM
Hi bmarkus
I believe stelian was refering to extensions like:
alsa-modules-5.10.16-piCore.tcz, bluetooth-5.10.16-piCore.tcz, filesystems-5.10.16-piCore.tcz , etc. don't
have 5.10.77-piCore versions listed.
Title: Re: piCore-13.1.0
Post by: bmarkus on November 20, 2021, 10:21:44 AM
I wrote in the opening post these will follow in next days.
Title: Re: piCore-13.1.0
Post by: stelian on November 20, 2021, 10:41:51 AM
Hi,

Yes Rich is correct, I was talking about the *-5.10.77-piCore.tcz extension.

No problem I can wait a few days...

Thanks !
Title: Re: piCore-13.1.0
Post by: bmarkus on November 20, 2021, 12:01:13 PM
Which one you are looking for? I can start width.
Title: Re: piCore-13.1.0
Post by: stelian on November 20, 2021, 04:38:17 PM
wireless and alsa-modules please !

Title: Re: piCore-13.1.0
Post by: stelian on November 21, 2021, 03:55:58 PM
Thanks a lot !

May I suggest usb-serial-5.10.77 now ? :)
Title: Re: piCore-13.1.0
Post by: vincenthure on November 25, 2021, 04:29:06 PM
hello,

I am new in Tiny Linux, please tell where I can download the files to enable wifi o pi zero 2W.
Is it the same as other raspberry?
Thank
Title: Re: piCore-13.1.0
Post by: Wildcat on November 25, 2021, 05:55:19 PM
Hi vincenthure,

Follow my post on how to add wpa_supplicant which will provide you all you need to get wifi going:
http://forum.tinycorelinux.net/index.php/topic,25294.msg161792.html#msg161792

You may want to scroll up above my post to get additional information.

As I found out when trying to get piCore to run on Rpi4b and CM4 boards, this forum has almost all the information you will need to solve problems, and very knowledgeable people with vast experience who are willing to help. So, don't hesitate to search.

TinyCoreLinux is a toolkit not a regular distribution. You need to invest time to learn the basics. Then you will find as I did, that this is an amazing tool that can do a lot for you!

Good luck to you,
WildCat
Title: Re: piCore-13.1.0
Post by: ajuxdmi on November 26, 2021, 01:11:47 PM
hello,

I am new in Tiny Linux, please tell where I can download the files to enable wifi o pi zero 2W.
Is it the same as other raspberry?
Thank
Hi
Did anyone managed to setup the WiFi?
I would be interested as well what firmware do I need to use.
Thanks
Title: Re: piCore-13.1.0
Post by: stelian on November 26, 2021, 04:24:45 PM
Wifi works perfectly fine on the Pi Zero 2 (using piCore-13.1.0 of course).

tce-load -wi wireless-5.10.77-piCore-v7 firmware-brcmwifi wifi
wifi.sh

Title: Re: piCore-13.1.0
Post by: ajuxdmi on November 26, 2021, 06:48:40 PM
Wifi works perfectly fine on the Pi Zero 2 (using piCore-13.1.0 of course).

tce-load -wi wireless-5.10.77-piCore-v7 firmware-brcmwifi wifi
wifi.sh

So weird. I have the exact same setup and No wifi devices found!
Can you post me the content of your /mnt/mmcblk0p2/tce/onboot.lst , please
Title: Re: piCore-13.1.0
Post by: Rich on November 26, 2021, 08:13:04 PM
Hi stelian
... tce-load -wi wireless-5.10.77-piCore-v7 firmware-brcmwifi wifi
wifi.sh
That should probably be:
Code: [Select]
tce-load -wi firmware-rpi-wifi wifiso that the firmware loads first. There is no reason to specify  wireless-5.10.77-piCore-v7.  When you load  wifi.tcz , it
automatically loads  wireless-KERNEL.tcz.  The  tce-load  utility replaces the word  KERNEL  with the kernel version your
board is running. That way, the wireless modules you load will match the kernel you are running.
Title: Re: piCore-13.1.0
Post by: Paul_123 on November 26, 2021, 08:59:18 PM
The firmware package is firmware-rpi-wifi.tcz
Title: Re: piCore-13.1.0
Post by: Rich on November 26, 2021, 09:31:46 PM
Hi Paul_123
Thanks for the correction. I'll fix my previous post.
Title: Re: piCore-13.1.0
Post by: vincenthure on November 27, 2021, 09:21:37 AM
Thank you
Wifi is working well.
Is it possible to access (ssh or http) to the wifi by hostname?
At this time it's working only by IP.
Title: Re: piCore-13.1.0
Post by: Greg Erskine on November 27, 2021, 02:20:09 PM
zero config is not installed by default.

From memory, adding this one little feature requires lots of dependencies.
Title: Re: piCore-13.1.0
Post by: Menhir on December 07, 2021, 06:16:27 AM
Hello,

This is my 1st trial with Tiny Core. I installed this new 13.1.0 version to a RPi 3B+. I could install and configure almost everything that I need using tutorials and forums excluding wifi.
It was also configured but only works and detects access points on the network if the ethernet cable is connected. There is no problem if I use Raspbian. What could be wrong? I found and older topic about a similar problem but it was not helpful.
Title: Re: piCore-13.1.0
Post by: Juanito on December 07, 2021, 06:21:41 AM
Are you using the built-in wifi?

Did you load the wifi firmware extension before any other extensions?
Title: Re: piCore-13.1.0
Post by: Menhir on December 07, 2021, 08:09:29 AM
Yes, it is the built-in.

It is my onboot.lst:
Quote
openssh.tcz
firmware-rpi-wifi.tcz
firmware-rpi-wifi
wifi.tcz
TC.tcz
x11vnc.tcz
mc.tcz
firefox.tcz
I wrote something wrong (wrongly remembered). I see the access points when the ethernet cable is disconnected but can't connect. When I ping the wifi's IP address of my RPi from my PC it responds until the cable is plugged. When I unplug the cable It stops responding.
Ethernet and wifi use Fix IP.  I tried wifi with DHCP but nothing change.
Title: Re: piCore-13.1.0
Post by: Juanito on December 07, 2021, 09:05:47 AM
"sudo wifi.sh" should work with dhcp - do you see that the wifi firmware is successfully loaded in dmesg?
Title: Re: piCore-13.1.0
Post by: Menhir on December 07, 2021, 09:54:23 AM
What should I exactly search in dmesg? It is very long and I can't identify what refers to wifi firmware.
What I tried: "tce-load -i firmware-rpi-wifi" and the same with wireless-KERNEL. Both sayes that already loaded.
With wifi.sh I disconnected from the router and connected again with dhcp. After checking the creditentals It connects with new IP but lost connection after I unplug the ethernet.
Title: Re: piCore-13.1.0
Post by: Juanito on December 07, 2021, 10:02:51 AM
If wifi connects with a new ip address the firmware has loaded correctly.

If you start a connection on eth0, bring up wlan0 and then unplug eth0, I am not sure piCore will switch automatically from eth0 to wlan0.
Title: Re: piCore-13.1.0
Post by: patrikg on December 07, 2021, 01:23:21 PM
I think you can hacking the metric of the interfaces to set the precedence.

Title: Re: piCore-13.1.0
Post by: Menhir on December 07, 2021, 02:45:14 PM
Now I tried wifi without ethernet connected. RPi can connect to the router but there is no other communication. I can't ping neither from not toward RPi. Internet not accessible. I checked the router side too. It shows RPi connected in the client list. The same happens when the ethernet is connected at the begining then I unplug it. Wifi remains connected but communication stops.
Title: Re: piCore-13.1.0
Post by: Paul_123 on December 07, 2021, 03:51:40 PM
I am not sure piCore will switch automatically from eth0 to wlan0.

It will not, there is not a network manager running.  Its not really the interface, but something needs to manage the routing table to change the default route.
Title: Re: piCore-13.1.0
Post by: generalzero on December 08, 2021, 02:11:44 PM
Unable to download wireless-5.10.77-piCore.tcz directly - just me or is the file not there?
Title: Re: piCore-13.1.0
Post by: Rich on December 08, 2021, 02:38:30 PM
Hi generalzero
It is listed in the ARMv6 repo:
http://tinycorelinux.net/13.x/armv6/tcz/

It appears to be missing in the ARMv7 repo.

It shows up in the ARMv7l repo as  wireless-5.10.77-piCore-v7l.tcz:
http://tinycorelinux.net/13.x/armv7l/tcz/

It shows up in the ARMv8 repo as  wireless-5.10.77-piCore-v8.tcz:
http://tinycorelinux.net/13.x/aarch64/tcz/
Title: Re: piCore-13.1.0
Post by: generalzero on December 08, 2021, 02:55:10 PM
Odd, getting a 404 on it in the v6 one trying to download it.
http://tinycorelinux.net/13.x/armv6/tcz/wireless-5.10.77-piCore.tcz
After it for a Pi Zero 2 W.
Title: Re: piCore-13.1.0
Post by: generalzero on December 08, 2021, 04:05:54 PM
Ah there we go, excellent!
Title: Re: piCore-13.1.0
Post by: Rich on December 08, 2021, 04:08:01 PM
Hi generalzero
Odd, getting a 404 on it in the v6 one trying to download it. ...
You were correct. I just fixed it.
Title: Re: piCore-13.1.0
Post by: Rich on December 08, 2021, 04:18:17 PM
Hi Juanito
... It appears to be missing in the ARMv7 repo. ...
The files are present in the ARMv7 repo, but they don't show up here:
http://tinycorelinux.net/13.x/armv6/tcz/
I think it's because there's no  .info  file present.
Title: Re: piCore-13.1.0
Post by: Rich on December 08, 2021, 04:31:27 PM
Hi Juanito
ARMv7 repo fixed too.