Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: emanue|e on December 03, 2020, 05:31:42 PM

Title: [Solved] Stuck loading extensions on boot
Post by: emanue|e on December 03, 2020, 05:31:42 PM
Hi, i'm working on a tcz extension based on my own program.
I compiled my code directly on PicoRePlayer (Linux distro based on TCL) with success. So I created the tcz extension with the tool mksquashfs and copyed tcz in /tce/optional.
After that i tce-load -i myextension to check if dependency are loaded and if my extension works. All was OK and works as expected.
So i edit bootlocal.sh, onboot.lst and filetool.sh -b to save config.
But, when i reboot, PI stuck on boot step "loading extensions..", with cursor rotating forever.
The only solution is to manually remove my extension from /optional and reboot.
So i change bootcodes, added syslog, loglevel=7 and showapps, but cant'find any useful logs in dmesg.

Maybe someone could help me with some ideas?

Thanks!
Emanuele
Title: Re: Stuck loading extensions on boot
Post by: Rich on December 03, 2020, 07:54:19 PM
Hi emanue|e
Welcome to the forum.

Does your your extension include a  /usr/local/tce.installed/  startup script? If so, please post the contents.
Title: Re: Stuck loading extensions on boot
Post by: emanue|e on December 09, 2020, 03:29:04 PM
Yes Rich! That was the problem!
I had a typo in startup script..

Thank you for your suggestion.
E.
Title: Re: [Solved] Stuck loading extensions on boot
Post by: Rich on December 09, 2020, 03:57:24 PM
Hi emanue|e
Glad to hear you figured it out.