WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore-13.0.3 released (32-bit)  (Read 30564 times)

Offline Pengo

  • Newbie
  • *
  • Posts: 30
Re: piCore-13.0.3 released (32-bit)
« Reply #45 on: August 21, 2021, 01:37:26 PM »
Hi,

I just noticed that Motion seems to be gone from the piCore 13.03 (32 bits) repository.
I know there were some problems with libnettle.so.7.0 not being present but as far as I know this was resolved (or could be resolved by explicitely loading it from 12.x). And after the fix it was working very very well, at least on PI400, PI3B, PI3B+!

Can you please re-upload it to the repository?

Kind Regards,
Pengo

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: piCore-13.0.3 released (32-bit)
« Reply #46 on: August 21, 2021, 02:17:37 PM »
Hi Pengo
I see it's listed here:
http://tinycorelinux.net/13.x/armv7/tcz/

Offline Pengo

  • Newbie
  • *
  • Posts: 30
Re: piCore-13.0.3 released (32-bit)
« Reply #47 on: August 22, 2021, 03:21:29 AM »
Hi Rich,

Strangely enough if I use tce-ab then my pi400 can find it but on the newly installed piZero it does not appear (other packages do).
I checked the mirror (tcemirror file) and it appears to be the same.

Diving a bit deeper I see that the motion package is not in the armv6 repo. I guess the piZero looks there whereas the pi400 installation looks at the armv7 repo where the package is?






Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14846
Re: piCore-13.0.3 released (32-bit)
« Reply #48 on: August 22, 2021, 03:54:56 AM »
I think the reasoning was that motion depends on libavdevice, which has a recursive dep on x265, which didn't compile for armv6 at the time.

Maybe you could manually download motion and test it on your RPi0?

Offline Pengo

  • Newbie
  • *
  • Posts: 30
Re: piCore-13.0.3 released (32-bit)
« Reply #49 on: August 22, 2021, 08:47:37 AM »
Hi Juanito,

After installation of the necessary build packages (from the repo),  I can compile the latest motion directly from source if I exclude ffmpeg support. The resulting executable seems to work (e.g. detects motion and saves the .JPG images)

In order to compile with ffmpeg support the following packages are needed (but not part of the  piCore repo yet)
Required ffmpeg packages 'libavutil-dev libavformat-dev libavcodec-dev libswscale-dev libavdevice-dev"

Compilation was done on my piZero.


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: piCore-13.0.3 released (32-bit)
« Reply #50 on: August 22, 2021, 09:23:55 AM »
Hi Pengo
I think Juanito meant manually downloading:
http://tinycorelinux.net/13.x/armv7/tcz/motion.tcz
http://tinycorelinux.net/13.x/armv7/tcz/motion.tcz.dep
to your RPi0 and then:
Code: [Select]
tce-load -wi motionto pull in the dependencies and load it.

The required dependencies appear to be present, even:
http://tinycorelinux.net/13.x/armv6/tcz/x265.tcz.info
which states:
Quote
Current:        2020/11/13 recompiled for armv6 (juanito)

Offline Pengo

  • Newbie
  • *
  • Posts: 30
Re: piCore-13.0.3 released (32-bit)
« Reply #51 on: August 22, 2021, 01:27:33 PM »
Great Rich & Juanito!

It now works!

Thanks for your help!
Recording a video 640x480  (15fps) is working on the piZero (via motion which will call ffmpeg)


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: piCore-13.0.3 released (32-bit)
« Reply #52 on: August 22, 2021, 01:42:56 PM »
Hi Pengo
Thanks for confirming  motion.tcz  works on  armv6.  The  motion  extension has been copied to the  armv6  repository.

Offline Pengo

  • Newbie
  • *
  • Posts: 30
Re: piCore-13.0.3 released (32-bit)
« Reply #53 on: October 09, 2021, 10:44:15 AM »
Hi,

While piCOre 13.03 runs flawlessly, I did notice a few issues with some of the extentions.

- gdb is complaining about missing a shared library (libmpfr.so.4)

- motion dependencies are not correct. Once it is installed it will complain about libp11-kit missing (with can only be corrected by installing the p11-kit-dev after which it will complain about libnettle.so.8  (which then can be loaded seperately to fix that isse also.)

Not urgent but two packages that I really miss
- nmap
- vmstat

Kind regards,
Pengo

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14846
Re: piCore-13.0.3 released (32-bit)
« Reply #54 on: October 10, 2021, 03:51:28 AM »
gdb was built against an earlier version of mpfr last present in piCore-11.x - it will need re-compiling.

For motion, it sounds like you need to update the dep file for gnutls, which previously didn't contain p11-kit or nettle7.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14846
Re: piCore-13.0.3 released (32-bit)
« Reply #55 on: October 11, 2021, 02:16:26 AM »
Updated gdb posted

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14846
Re: piCore-13.0.3 released (32-bit)
« Reply #56 on: October 11, 2021, 04:41:24 AM »
nmap and procps (contains vmstat) posted

Offline Pengo

  • Newbie
  • *
  • Posts: 30
Re: piCore-13.0.3 released (32-bit)
« Reply #57 on: October 12, 2021, 05:30:31 AM »
Thank you Juanito!

I tested gdb, vmstat, nmap on several different PI's  (0, 2B, 3B+, 400).
They all work as expected!

Great!




Offline CJ

  • Newbie
  • *
  • Posts: 5
Re: piCore-13.0.3 released (32-bit)
« Reply #58 on: October 25, 2021, 12:38:30 PM »
I realize "There is only one SD card image for all boards which can be downloaded from" for the raspberry pi. But I understand there are certain files for the different pi models that can be removed/deleted before setting up the OS.

Specifically I'm talking about the Pi Zero W. Since it has only half gig memory and I'd like to install WiFi , blue tooth and maybe just one app (I usually use my pi zero w's for one application cause it's cheap and works well but should work better without the buster OS bloated software) so It all can run in memory and not be so bloated.

Thanks for any help from anyone.

A video from 2018 from Novaspirittech (which was a few versions back) recommend removing a file for the pi zero w that is used for a Pi model 3 but the file is not on the new version 13.0.3 so I don't want to delete the wrong file and waste a lot of time with trial and error).

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14846
Re: piCore-13.0.3 released (32-bit)
« Reply #59 on: October 25, 2021, 01:42:31 PM »
You can save some space on the sd card by deleting the init.rd relevent to armv7 and armv7l, but piCore runs in ram and will only load the init.rd relevent to armv6 into ram.

The standard image will run fine on an RPi0 without needing any editing.