WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 15.0 Release  (Read 2348 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14852
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: 1274
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: 11719
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: 4
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: 14852
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: 1274
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.