WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Stuck loading extensions on boot  (Read 1910 times)

Offline emanue|e

  • Newbie
  • *
  • Posts: 3
[Solved] Stuck loading extensions on boot
« on: December 03, 2020, 02: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
« Last Edit: December 09, 2020, 12:56:52 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11256
Re: Stuck loading extensions on boot
« Reply #1 on: December 03, 2020, 04: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.

Offline emanue|e

  • Newbie
  • *
  • Posts: 3
Re: Stuck loading extensions on boot
« Reply #2 on: December 09, 2020, 12:29:04 PM »
Yes Rich! That was the problem!
I had a typo in startup script..

Thank you for your suggestion.
E.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11256
Re: [Solved] Stuck loading extensions on boot
« Reply #3 on: December 09, 2020, 12:57:24 PM »
Hi emanue|e
Glad to hear you figured it out.