WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 15.0 Release  (Read 2787 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14865
Re: piCore 15.0 Release
« Reply #15 on: November 16, 2024, 04:45:09 AM »
xorg-server and Xorg-3d updated on piCore64-15.x

Xorg and Xorg-3d tested on an RPi4 running piCore64, @Synerworks maybe you could test on an RPi3

Offline Synerworks

  • Newbie
  • *
  • Posts: 8
Re: piCore 15.0 Release
« Reply #16 on: November 16, 2024, 04:14:52 PM »
All good now with Xorg and Xorg-3d on piCore64-15.x, verified on PI02-5s!

Offline Synerworks

  • Newbie
  • *
  • Posts: 8
Re: piCore 15.0 Release
« Reply #17 on: December 14, 2024, 01:32:47 PM »
While testing on PI0-1s, found that extensions containing the 'vcgencmd' tools are both located in 'rpi-vc.tcz' and 'raspi-utils.tcz', with some that overlap each other. However, for piCore 14.x and 15.x, the command generates an 'Illegal instruction' with this command from the 'rpi-tc.tcz' extension, but works from the 'raspi-utils.tcz' extension. The 'vcgencmd' from 'rpi-vc.tcz' repo on piCore 13.x does work as expected, even though they use the additional libraries. Inspecting the 'ldd' results for each of the 'vcgencmd's from each of the repos shows that they were generated against different libraries.

Code: [Select]
tc@box:~$ ldd `which vcgencmd`
libc.so.6 => /lib/libc.so.6 (0xb6d5b000)
/lib/ld-linux-armhf.so.3 (0xb6ee1000)
tc@box:~$ # From repo 'raspi-utils.tcz' for piCore 14.x, and 15.x

Code: [Select]
tc@box:~$ ldd `which vcgencmd`
libvchiq_arm.so => /usr/local/lib/libvchiq_arm.so (0xb6f30000)
libvcos.so => /usr/local/lib/libvcos.so (0xb6f00000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb6f83000)
libdl.so.2 => /lib/libdl.so.2 (0xb6f5d000)
librt.so.1 => /lib/librt.so.1 (0xb6f5a000)
libc.so.6 => /lib/libc.so.6 (0xb6dab000)
/lib/ld-linux-armhf.so.3 (0xb6f8e000)
tc@box:~$ # From repo 'rpi-vc.tcz' from piCore 13.x, 14.x, and 15.x

The 'temp.tcz' repo depends on the 'rpi-vc.tcz' extension, even though it could use the 'raspi-utils.tcz' extension instead, so the application fails due to this exception. As an interim correction, loading the 'raspi-utils.tcz' extension in the 'onboot.lst' enables the 'temp' command to function when the 'rpi-vc.tcz' repo is renamed/removed from the 'optional' folder after installation when using the 'tce-load -wi temp' command. However, this approach would not facilitate those that depend on the additional commands from the 'rpi-vc.tcz' extension that are not in the 'rasp-utils.tcz' repo though.

    [Edit]: Added code tags.  Rich
« Last Edit: December 14, 2024, 02:31:04 PM by Rich »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1290
Re: piCore 15.0 Release
« Reply #18 on: December 14, 2024, 01:56:26 PM »
rpi-vc is mostly obsolete, raspi is no longer maintaining any tools in that extension.    raspi-utils is the current maintained extension.

You do not even need temp.tcz or raspi-utils to get temperatures.

Code: [Select]
cat /sys/devices/virtual/thermal/thermal_zone0/temp

or printed nicer
Code: [Select]
cat /sys/devices/virtual/thermal/thermal_zone0/temp | awk '{ printf "%2.1fC\n", $1/1000 }'


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11734
Re: piCore 15.0 Release
« Reply #19 on: December 14, 2024, 02:32:14 PM »
Hi Synerworks
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.

Offline Synerworks

  • Newbie
  • *
  • Posts: 8
Re: piCore 15.0 Release
« Reply #20 on: December 14, 2024, 03:05:02 PM »
Will do. I only used the 'temp.tcz' dependency to illustrate a use case, so if the 'rpi-vc.tcz' extension is obsoleted, the repo dependency should switch over to 'raspi-utils.tcz' instead. Nonetheless, the issue manifests itself when attempting to use the VC tools and the incorrect repo is loaded or both and then throws the exception. Also, the superseded objects could be copied from the working 'raspi-utils.tcz' repo into the obsoleted extension to avoid this inconsistency when using the required component but picking the wrong 'provides.sh' result. Just attempting to avoid caveats as they come up.

Offline rhbvkleef

  • Newbie
  • *
  • Posts: 5
Re: piCore 15.0 Release
« Reply #21 on: December 17, 2024, 07:42:00 AM »
Are there any plans for updating node.tcz in the future? By now I really have to jump through hoops to get JS and TS applications to work.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14865
Re: piCore 15.0 Release
« Reply #22 on: December 17, 2024, 08:02:07 AM »
In armhf or aarch64?

The node.js extensions (as opposed to the node extensions) seem quite recent?

Offline DrRob

  • Jr. Member
  • **
  • Posts: 61
Re: piCore 15.0 Release
« Reply #23 on: December 21, 2024, 09:35:29 AM »
Known Issues:
 - Internal Wifi on some Raspi chipsets, there is a driver problem with wpa_supplicant 2.11 (Add brcmfmac.feature_disable=0x82000 to cmdline.txt on the boot drive)

Which Raspi chipsets please?  Or better still, which Pi models?  By trial and error it seems to include the Pi Zero?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1290
Re: piCore 15.0 Release
« Reply #24 on: December 21, 2024, 09:56:42 AM »
I don’t have every combination to test.  It may just be the zero based product.   They all use the same driver.  Just different firmware.

Offline dohnjoe

  • Newbie
  • *
  • Posts: 4
Re: piCore 15.0 Release
« Reply #25 on: January 05, 2025, 03:23:30 PM »
Quote
- Internal Wifi on some Raspi chipsets, there is a driver problem with wpa_supplicant 2.11 (Add brcmfmac.feature_disable=0x82000 to cmdline.txt on the boot drive)

Despite adding this line, the WiFi connection drops intermittently and there are periods of no connectivity, making it virtually unusable. I'm on a RasPi Zero 2W. What else can be done to assuage this?
« Last Edit: January 05, 2025, 03:28:43 PM by dohnjoe »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1290
Re: piCore 15.0 Release
« Reply #26 on: January 05, 2025, 03:31:18 PM »
Raspi WiFi Cho’s have very weak reception,  especially in a case.  They are also very sensitive to poor power conditions.  You should check signal strength.

Offline dohnjoe

  • Newbie
  • *
  • Posts: 4
Re: piCore 15.0 Release
« Reply #27 on: January 05, 2025, 03:58:36 PM »
Quote
Raspi WiFi have very weak reception,  especially in a case.  They are also very sensitive to poor power conditions.  You should check signal strength.

Done. Checked multiple times. For the same location, this works perfectly fine on piCore 14.x, so it's less likely that this is a signal problem. This happens only on piCore 15.0.
« Last Edit: January 05, 2025, 05:28:27 PM by Paul_123 »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1290
Re: piCore 15.0 Release
« Reply #28 on: January 05, 2025, 05:33:48 PM »
Well I don’t have connection problems with 5 or so different devices (zeros to pi5) So perhaps it’s something with your setup.

Anything output in dmesg by the kernel drivers?  Otherwise, you may need to monitor wpa_supplicant for potential causes of disconnects. Does hour router support wpa3?  If seen issues trying to run wpa2/3 compatibility, but works fine in pure wpa2 or wpa3


Offline rhbvkleef

  • Newbie
  • *
  • Posts: 5
Re: piCore 15.0 Release
« Reply #29 on: January 07, 2025, 09:37:08 AM »
In armhf or aarch64?

The node.js extensions (as opposed to the node extensions) seem quite recent?

aarch64. The current version is 16.14.0, which was released in 2022-02-08. You're right that armhf is slightly more recent (although still quite old: 2023-08-09).

Software that I use has dropped support for v16.x completely, as the Nodejs project has not maintained it for quite some time now.

Is there any way I can assist in upgrading the node extension?

Edit: The node.js extensions are not more recent. They use version 12.18.3, which wash released on 2020-07-22.
« Last Edit: January 07, 2025, 09:38:47 AM by rhbvkleef »