OpenMarine

Full Version: New Py Zero 2 W is Out!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
I believe that for tinycore only the kernel is compiled for armv6/v7/v7l, all userspace is armv6.

I think regular raspi os is different in this matter, and it would indeed be a problem to build on PI4 for a zero.

Allright, the image is ready and it is uploading. It will take some time... (ETA is 2hours)
My tinypilot image based on tinycore 13.1.0 is available here: https://www.popies.net/pypilot/tinypilot...126.img.xz

MD5: https://www.popies.net/pypilot/tinypilot...img.xz.md5

I measured the boot time, it is quite equivalent to the tinycore 9 based image on a Pi Zero (more or less 1 minute from start to wifi available).

On a Pi Zero 2 the boot time is divided by 2: 30s (and I kept the delays in bootlocal.sh, I think these delays can be removed for a pi zero 2 and have a quicker boot).

I haven't measured the current consumption with the pi zero 2 board yet...
BTW, I have resolved the GPSD issues on launch : the problem was caused by the fact that gpsd was launched too early, a few seconds before the /dev/gps0 -> /dev/ttyACM0 symlink was created by udev (rpi zero 2 is faster...)

I have resolved the problem by launching gpsd a bit later.
(2021-11-26, 04:58 PM)stelian Wrote: [ -> ]My tinypilot image based on tinycore 13.1.0 is available here: https://www.popies.net/pypilot/tinypilot...126.img.xz

MD5: https://www.popies.net/pypilot/tinypilot...img.xz.md5

I measured the boot time, it is quite equivalent to the tinycore 9 based image on a Pi Zero (more or less 1 minute from start to wifi available).

On a Pi Zero 2 the boot time is divided by 2: 30s (and I kept the delays in bootlocal.sh, I think these delays can be removed for a pi zero 2 and have a quicker boot).

I haven't measured the current consumption with the pi zero 2 board yet...

well it is normally 15 seconds until boot image, then 15 more to a state it can be engaged.   It takes a bit longer for wifi, and longer for other services.

Good to know the gpsd problem is resolved.

I wonder if it's possible to completely shut down some cores after boot to save power.
(2021-11-25, 06:39 PM)seandepagnier Wrote: [ -> ]Well, it does work doesn't it?   It is somewhat difficult to understand the order the scripts operate in.

For example, the serial ports can be opened in a way that a second program cannot open them.   Furthermore it should only be probing ports that are suggested as possible gps based on udev rules.

Well it was difficult to build scipy but perhaps tinycore 13 is easier?   Did you have to build gfortran manually as well?

Once you shrink the filesystem then partition, be sure to write the rest of the disk with zero.  like dd if=/dev/zero of=/zero

until it fills the disk, then delete this file.   It helps with compressing the image.  I prefer to use xz compression.

Anyway,  I may move to your image if it really is all working, but I would not suggest it as "stable" for some time due to the major changes in packages.   The current image is built on a system already proven over many miles.   I have produced (perhaps final) of tinycore 9:
https://pypilot.org/images/tinypilot_2021_11_16.img.xz

The image was mostly for pi zero before which did not run opencpn well.   Now it might be nice to provide opencpn via tinycore rather than a serial console (full of strange messages)

Will be excited to test the tinycore 13 with the pi zero 2 as well.

Hi Sean, waiting for the new version with the PiZero2 card, is your latest version "tinypilot-2021_11_16 already usable?
Hi Max1947,

As you can find out by reading the posts above, Sean's tinypilot-2021_11_16 version is tinycorelinux 9 based, and it only supports the original Pi Zero (and the Pi2 and 3 I think).

You can test the image I made (tinypilot13-20211126), which is based on tinycorelinux 13, making it compatible with all the Pis on the market. But you should consider this image as beta code for now.
(2021-11-29, 09:50 PM)stelian Wrote: [ -> ]Hi Max1947,

As you can find out by reading the posts above, Sean's tinypilot-2021_11_16 version is tinycorelinux 9 based, and it only supports the original Pi Zero (and the Pi2 and 3 I think).

You can test the image I made (tinypilot13-20211126), which is based on tinycorelinux 13, making it compatible with all the Pis on the market. But you should consider this image as beta code for now.

Ciao Stelian, I'll try your beta too.  Smile
(2021-11-26, 04:58 PM)stelian Wrote: [ -> ]My tinypilot image based on tinycore 13.1.0 is available here: https://www.popies.net/pypilot/tinypilot...126.img.xz

MD5: https://www.popies.net/pypilot/tinypilot...img.xz.md5

I measured the boot time, it is quite equivalent to the tinycore 9 based image on a Pi Zero (more or less 1 minute from start to wifi available).

On a Pi Zero 2 the boot time is divided by 2: 30s (and I kept the delays in bootlocal.sh, I think these delays can be removed for a pi zero 2 and have a quicker boot).

I haven't measured the current consumption with the pi zero 2 board yet...

Hi Stelian,

It is working on my Pi 0.2, but I can't set the network, is that right?
(2021-12-06, 07:12 PM)hans-martijn Wrote: [ -> ]It is working on my Pi 0.2, but I can't set the network, is that right?

No, it should work, just like the standard image from Sean (by default it creates an access point called 'pypilot', and you can edit the settings using the web interface).

Please give more information about what does not work, and I'll see if I can reproduce this.
(2021-11-29, 09:50 PM)stelian Wrote: [ -> ]Hi Max1947,

As you can find out by reading the posts above, Sean's tinypilot-2021_11_16 version is tinycorelinux 9 based, and it only supports the original Pi Zero (and the Pi2 and 3 I think).

You can test the image I made (tinypilot13-20211126), which is based on tinycorelinux 13, making it compatible with all the Pis on the market. But you should consider this image as beta code for now.

Ciao stelian, I have tested your image on the PI Zero W and it does not hook the WiFi nor Sean's controller. As soon as I can I want to try it in the new PI 0.2 and see if it works. 
I will let you know. 
Meanwhile, good wind!
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20