Tiny Core Base > piCore Final Releases
piCore 15.0 Release
Juanito:
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
Synerworks:
All good now with Xorg and Xorg-3d on piCore64-15.x, verified on PI02-5s!
Synerworks:
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: ---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
--- End code ---
--- Code: ---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
--- End code ---
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
Paul_123:
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: ---cat /sys/devices/virtual/thermal/thermal_zone0/temp
--- End code ---
or printed nicer
--- Code: ---cat /sys/devices/virtual/thermal/thermal_zone0/temp | awk '{ printf "%2.1fC\n", $1/1000 }'
--- End code ---
Rich:
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]
--- End quote ---
It will appear like this in your post:
--- 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
--- End code ---
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version