Tiny Core Base > piCore Final Releases
piCore-13.0.3 released (32-bit)
MrPorcine:
Wonderful! Touchscreen now works. New module for the official 7" Raspberry Pi touchscreen is called raspberrypi_ts.ko, found in the kernel/drivers/input/touchscreen folder. The URL to the v7 files is slightly different than the one Rich posted: http://tinycorelinux.net/www/13.x/armv7/releases/RPi/src/kernel/
Rich:
Hi MrPorcine
--- Quote from: MrPorcine on May 19, 2021, 06:11:40 PM --- ... The URL to the v7 files is slightly different than the one Rich posted: ...
--- End quote ---
Since I don't know what ARM version the end user is running, it is up to them to complete the URL.
As stated:
... Replace the word ARM with the results of the getBuild command. ... [/quote]
Run the command:
--- Code: ---getBuild
--- End code ---
Replace the word ARM in the URL with the value returned by the command.
MrPorcine:
It appears that while booting maybe 1/2 the time piCore doesn't assemble the overlay file system correctly. The symptom is that some important file is missing. Sometimes it is a driver, sometimes it is a library or something else. When I examine the system, the tcz files are mounted on /tmp/tcloop, but the simlink from the ultimate location if at least one of the files contained in a tcz is missing. Looking back at some of the previous problems I had, this could explain all. Recall that I needed to add two font directories to /usr/local/lib/X11/fonts. Adding them with the filetool mechanism did not work. Adding them to Xorg-fonts.tcz did not work. What finally did work was to copy the directories to /opt, and then create the simlinks in bootsync.sh. I now suspect that this worked as all the init scripts have finished by the time bootsync.sh runs.
Here is the contents of my /tmp/tcloop:
--- Code: ---/tmp/tcloop$ ls
Xorg/ libXdamage/ libxcb/
Xorg-fonts/ libXdmcp/ libxkbfile/
busybox-httpd/ libXext/ libxshmfence/
bzip2-lib/ libXfixes/ mesa/
ca-certificates/ libXfont2/ mtdev/
expat2/ libXxf86vm/ ncurses/
freetype/ libdrm/ openssh/
gamin/ libelf/ openssl/
gcc_libs/ libepoxy/ pcre/
glib2/ libevdev/ pixman/
graphite2/ libfontenc/ xf86-input-libinput/
harfbuzz/ libinput/ xf86-video-fbturbo/
inetutils-servers/ libpciaccess/ xkbcomp/
libX11/ libpng/ xkeyboard-config/
libXau/ libudev/ xorg-server/
--- End code ---
And the contents of my /mnt/mmcblk0p2/tce/onboot.lst:
--- Code: ---cat /mnt/mmcblk0p2/tce/onboot.lst
openssh.tcz
Xorg.tcz
busybox-httpd.tcz
inetutils-servers.tcz
--- End code ---
I removed Xprogs.tcz from the list of dependencies in Xorg.tcz.dep. This made the above list somewhat shorter than by default.
The contents of .filetool.lst is the default.
This behavior is intermittent. Sometime piCore completes correctly, sometime it will miss some file. As far as I know, there are no external asynchronous processes that could affect the init scripts. Any hints as to what might be going on are welcome.
Rich:
Hi MrPorcine
Maybe try a different memory card ? I think there have been 2 or 3 instances of strange intermittent behavior caused
by marginal memory cards.
MrPorcine:
--- Quote from: Rich on May 20, 2021, 11:20:10 PM ---Hi MrPorcine
Maybe try a different memory card ?
--- End quote ---
I've tried two memory cards and two RPi3+ cards - no difference. I have previously run memtester on the 3b+ and f3 write/f3read on the SD card. No trouble found.
I did find an undocumented command line argument that puts more output in /tmp/forklog.txt - "debugbootlog". While the additional text in forklog.txt doesn't expose the problem directly, the boot problem goes for maybe 1 in 2 times to maybe 1 in 10. So it looks to me as if there is a race problem in /usr/bin/tce-bootload or something that it calls. From forklog.txt it appears that the process of mounting the tce files is multi-threaded. At this time I believe that I have found a bug in tinyCore. I'm not sure how to proceed. The following is from a successful boot. The unsuccessful ones are not much different.
forklog.txt:
--- Code: ---cat /tmp/forklog.txt
PID:428 Started for openssh.tcz
PID:429 Started for Xorg.tcz
PID:431 Started for busybox-httpd.tcz
PID:433 Started for inetutils-servers.tcz
PID:429 Finished, exit code: 0
PID:440 Started for openssl.tcz
PID:428 Finished, exit code: 0
PID:443 Started for xorg-server.tcz
PID:431 Finished, exit code: 0
PID:444 Started for xf86-video-fbturbo.tcz
PID:433 Finished, exit code: 0
PID:449 Started for xf86-input-libinput.tcz
PID:440 Finished, exit code: 0
PID:452 Started for xkeyboard-config.tcz
PID:443 Finished, exit code: 0
PID:455 Started for xkbcomp.tcz
OS Error code xkey:65280
PID:444 Finished, exit code: 0
PID:458 Started for Xorg-fonts.tcz
OS Error code xkey:65280
PID:449 Finished, exit code: 0
PID:462 Started for ncurses.tcz
PID:455 Finished, exit code: 0
PID:465 Started for ca-certificates.tcz
PID:458 Finished, exit code: 0
PID:469 Started for mesa.tcz
PID:462 Finished, exit code: 0
PID:474 Started for pixman.tcz
Successful Retry on xkey
PID:452 Finished, exit code: 0
PID:478 Started for libXfont2.tcz
PID:469 Finished, exit code: 0
PID:479 Started for libepoxy.tcz
PID:465 Finished, exit code: 0
PID:484 Started for libinput.tcz
PID:474 Finished, exit code: 0
PID:487 Started for libxkbfile.tcz
PID:478 Finished, exit code: 0
PID:490 Started for libdrm.tcz
PID:479 Finished, exit code: 0
PID:493 Started for libXdamage.tcz
PID:484 Finished, exit code: 0
PID:496 Started for libXxf86vm.tcz
PID:487 Finished, exit code: 0
PID:499 Started for expat2.tcz
PID:490 Finished, exit code: 0
PID:503 Started for libxshmfence.tcz
PID:493 Finished, exit code: 0
PID:505 Started for freetype.tcz
PID:499 Finished, exit code: 0
PID:508 Started for libfontenc.tcz
PID:496 Finished, exit code: 0
PID:512 Started for mtdev.tcz
PID:503 Finished, exit code: 0
PID:515 Started for libevdev.tcz
PID:505 Finished, exit code: 0
PID:518 Started for libudev.tcz
PID:512 Finished, exit code: 0
PID:522 Started for libX11.tcz
PID:508 Finished, exit code: 0
PID:524 Started for libpciaccess.tcz
PID:515 Finished, exit code: 0
PID:527 Started for libXfixes.tcz
PID:518 Finished, exit code: 0
PID:530 Started for libXext.tcz
PID:524 Finished, exit code: 0
PID:533 Started for libpng.tcz
PID:522 Finished, exit code: 0
PID:536 Started for harfbuzz.tcz
PID:527 Finished, exit code: 0
PID:539 Started for bzip2-lib.tcz
PID:530 Finished, exit code: 0
PID:542 Started for glib2.tcz
PID:536 Finished, exit code: 0
PID:545 Started for libxcb.tcz
PID:533 Finished, exit code: 0
PID:548 Started for graphite2.tcz
PID:539 Finished, exit code: 0
PID:551 Started for gamin.tcz
PID:542 Finished, exit code: 0
PID:555 Started for libelf.tcz
PID:545 Finished, exit code: 0
PID:556 Started for pcre.tcz
PID:548 Finished, exit code: 0
PID:561 Started for libXau.tcz
PID:551 Finished, exit code: 0
PID:563 Started for libXdmcp.tcz
PID:555 Finished, exit code: 0
PID:566 Started for gcc_libs.tcz
PID:556 Finished, exit code: 0
PID:561 Finished, exit code: 0
PID:563 Finished, exit code: 0
PID:566 Finished, exit code: 0
PID:571 Started for openssh.tcz
PID:572 Started for Xorg.tcz
PID:574 Started for busybox-httpd.tcz
PID:576 Started for inetutils-servers.tcz
PID:572 Finished, exit code: 0
PID:579 Started for openssl.tcz
PID:574 Finished, exit code: 0
PID:580 Started for xorg-server.tcz
PID:571 Finished, exit code: 0
PID:582 Started for xf86-video-fbturbo.tcz
PID:576 Finished, exit code: 0
PID:585 Started for xf86-input-libinput.tcz
PID:579 Finished, exit code: 0
PID:587 Started for xkeyboard-config.tcz
PID:580 Finished, exit code: 0
PID:588 Started for xkbcomp.tcz
PID:585 Finished, exit code: 0
PID:590 Started for Xorg-fonts.tcz
PID:582 Finished, exit code: 0
PID:592 Started for ncurses.tcz
PID:588 Finished, exit code: 0
PID:595 Started for ca-certificates.tcz
PID:592 Finished, exit code: 0
PID:597 Started for mesa.tcz
PID:590 Finished, exit code: 0
PID:599 Started for pixman.tcz
PID:597 Finished, exit code: 0
PID:601 Started for libXfont2.tcz
PID:599 Finished, exit code: 0
PID:603 Started for libepoxy.tcz
PID:587 Finished, exit code: 0
PID:605 Started for libinput.tcz
PID:601 Finished, exit code: 0
PID:606 Started for libxkbfile.tcz
PID:603 Finished, exit code: 0
PID:609 Started for libdrm.tcz
PID:606 Finished, exit code: 0
PID:611 Started for libXdamage.tcz
PID:605 Finished, exit code: 0
PID:613 Started for libXxf86vm.tcz
PID:609 Finished, exit code: 0
PID:615 Started for expat2.tcz
PID:611 Finished, exit code: 0
PID:617 Started for libxshmfence.tcz
PID:613 Finished, exit code: 0
PID:428 Started for openssh.tcz
PID:429 Started for Xorg.tcz
PID:431 Started for busybox-httpd.tcz
PID:433 Started for inetutils-servers.tcz
PID:429 Finished, exit code: 0
PID:440 Started for openssl.tcz
PID:428 Finished, exit code: 0
PID:443 Started for xorg-server.tcz
PID:431 Finished, exit code: 0
PID:444 Started for xf86-video-fbturbo.tcz
PID:433 Finished, exit code: 0
PID:449 Started for xf86-input-libinput.tcz
PID:440 Finished, exit code: 0
PID:452 Started for xkeyboard-config.tcz
PID:443 Finished, exit code: 0
PID:455 Started for xkbcomp.tcz
OS Error code xkey:65280
PID:444 Finished, exit code: 0
PID:458 Started for Xorg-fonts.tcz
OS Error code xkey:65280
PID:449 Finished, exit code: 0
PID:462 Started for ncurses.tcz
PID:455 Finished, exit code: 0
PID:465 Started for ca-certificates.tcz
PID:458 Finished, exit code: 0
PID:469 Started for mesa.tcz
PID:462 Finished, exit code: 0
PID:474 Started for pixman.tcz
Successful Retry on xkey
PID:452 Finished, exit code: 0
PID:478 Started for libXfont2.tcz
PID:469 Finished, exit code: 0
PID:479 Started for libepoxy.tcz
PID:465 Finished, exit code: 0
PID:484 Started for libinput.tcz
PID:474 Finished, exit code: 0
PID:487 Started for libxkbfile.tcz
PID:478 Finished, exit code: 0
PID:490 Started for libdrm.tcz
PID:479 Finished, exit code: 0
PID:493 Started for libXdamage.tcz
PID:484 Finished, exit code: 0
PID:496 Started for libXxf86vm.tcz
PID:487 Finished, exit code: 0
PID:499 Started for expat2.tcz
PID:490 Finished, exit code: 0
PID:503 Started for libxshmfence.tcz
PID:493 Finished, exit code: 0
PID:505 Started for freetype.tcz
PID:499 Finished, exit code: 0
PID:508 Started for libfontenc.tcz
PID:496 Finished, exit code: 0
PID:512 Started for mtdev.tcz
PID:503 Finished, exit code: 0
PID:515 Started for libevdev.tcz
PID:505 Finished, exit code: 0
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version