Toon stuck in load screen

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, Toonz

Cell
Starting Member
Starting Member
Posts: 7
Joined: Sun Mar 17, 2019 5:11 am

Re: Toon stuck in load screen

Post by Cell »

Yesterday I succesfully rooted my toon using the toonrooter script. Updated to 5.0.4. Everything seemed to work. Have toonstore en buienradar installed, controlpanel/bedieningspaneel (hue) was missing.

When powering up today I'm also stuck at 1/3 of the loading screen. Followed this thread to the last post.

In my case the startqt file in /usr/bin/ is completely missing. Can I create a new file and if so, what code should be put in?

Thanks in advance!
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon stuck in load screen

Post by TheHogNL »

How did it got missing? Any idea?
This /usr/bin/startqt is just a start script for the QT GUI. It is part of the qt-gui package.

For a Toon 1 with 5.0.4 it should contain:

Code: Select all

#!/bin/sh

# load a sane environment, HCBv2 can prevent execution with 'exit'
. /etc/profile
. /etc/default/HCBv2

cd /qmf/sbin

if [ -z `pidof psplash` ]
then
        echo "Starting psplash..."
        /etc/init.d/psplash.sh
fi

# set the initial progress of the UI
/etc/init.d/psplash.sh progress 30

# do we have dim support in our binary? For qt if the system supports it the UI will as well
SYSBL="`/bin/ls /sys/class/backlight/*/ramp_brightness_sync | grep -v contrast | head -n1`"
if [ "$SYSBL" ]
then
        BL=1
        BLMAX="`dirname $SYSBL`/max_brightness"
fi

# calib screen first?
if [ ! -f /etc/pointercal ]
then
        [ "$BL" ] && cat $BLMAX > $SYSBL
        echo 0 > /sys/class/graphics/fb0/blank
        ts_calibrate
        #[ "$BL" ] && echo 0 > $SYSBL
fi

# enable screen and create the tmp file if it was still missing
echo 0 > /sys/class/graphics/fb0/blank
echo 0 > /tmp/fb0_blank

#export QT_DEBUG_PLUGINS=1
#export QML_IMPORT_TRACE=1

echo "Starting Qt"
exec /qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
Member of the Toon Software Collective
Cell
Starting Member
Starting Member
Posts: 7
Joined: Sun Mar 17, 2019 5:11 am

Re: Toon stuck in load screen

Post by Cell »

TheHogNL wrote:How did it got missing? Any idea?
No. Haven't got a clue. I'm quite new to the toon thermostat. I only used ToonRooter and update script. I did not make any other adjustments.

Some background information:
I bought a toon via Marktplaats running Software version 4.13.7 and FW Ketelmodule 37. Succesfully rooted with no errors using the ToonRooter script. SSH connection works perfectly. I then updated te toon using the update-rooted.sh script to version 5.0.4. After that the toon booted fine. For some reason I was not able to update/upgrade opkg or install the toonstore (or other apps) cause of certification errors.

I rooted and updated the toon again and this time toonstore was installed en opkg worked fine. The only things missing were a lot of options in the menu and the ability to add and control my hue lighting. Yesterday when booting, the toon stopped at 1/3 of the loading bar. Access via SSH is still working.

I will add the startqt script to the usr/bin/ folder and see if it will boot up.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon stuck in load screen

Post by TheHogNL »

Cell wrote:
TheHogNL wrote:How did it got missing? Any idea?
No. Haven't got a clue. I'm quite new to the toon thermostat. I only used ToonRooter and update script. I did not make any other adjustments.

Some background information:
I bought a toon via Marktplaats running Software version 4.13.7 and FW Ketelmodule 37. Succesfully rooted with no errors using the ToonRooter script. SSH connection works perfectly. I then updated te toon using the update-rooted.sh script to version 5.0.4. After that the toon booted fine. For some reason I was not able to update/upgrade opkg or install the toonstore (or other apps) cause of certification errors.

I rooted and updated the toon again and this time toonstore was installed en opkg worked fine. The only things missing were a lot of options in the menu and the ability to add and control my hue lighting. Yesterday when booting, the toon stopped at 1/3 of the loading bar. Access via SSH is still working.

I will add the startqt script to the usr/bin/ folder and see if it will boot up.

After your first root attempt and update attempt toonstore should have been installed automatically already. So something happened their which you probably don't know.
'Rooting again' does not exist. Once rooted, your toon is always rooted. Or you might loose your password or SSH access, but technically it is not 'rooting' then anymore. Only fixing :)
Another 2nd update should also not break your toon like that. And that the toon stopped working a day later is even weirder. I'm beginning to think that your Toon has storage issues (the internal flash starting to be corrupt) which causes the problems you see. Just let us know if you see more issue's later on.
Member of the Toon Software Collective
Cell
Starting Member
Starting Member
Posts: 7
Joined: Sun Mar 17, 2019 5:11 am

Re: Toon stuck in load screen

Post by Cell »

TheHogNL wrote:Just let us know if you see more issue's later on.
Thanks for your reply, I really appreciate the help! :)

Executing the startqt script returns:

Code: Select all

Starting Qt
/usr/bin/startqt: exec: line 43: /qmf/sbin/qt-gui: not found
Seems like the entire gui is missing. Installing qt-gui via opkg returns te following error:

Code: Select all

Installing qt-gui (1.9133-master) to root...
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/qt-gui_1.9133-master_qb2.ipk.
Collected errors:
 * opkg_download: Failed to download http://feed.hae.orig/feeds/qb2/uni/5.0.4/../../POOL/qt-gui_1.9133-master_qb2.ipk: Couldn't connect to server.
 * opkg_install_pkg: Failed to download qt-gui. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package qt-gui.
Installing with ovpn line untagged in /etc/inittab and installing while running openvpn manually returns the following:

Code: Select all

Installing qt-gui (1.9133-master) to root...
Collected errors:
 * opkg_download_pkg: Package qt-gui is not available from any configured src.
 * opkg_install_pkg: Failed to download qt-gui. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package qt-gui.
And opkg update:

Code: Select all

eneco-001-095541:/qmf/sbin# opkg update
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/Packages.gz.
Downloading http://feed.hae.orig/feeds/qb2/uni/5.0.4/Packages.sig.
Signature check failed.
...///...
Remove wrong Signature file.
Collected errors:
 * opkg_download: Failed to download http://feed.hae.orig/feeds/qb2/uni/5.0.4/Packages.gz: Couldn't resolve host 
...///...
 * opkg_download: Failed to download http://feed.hae.orig/feeds/qb2/oe/angelica-1.4.0-master-qt5112-ssl102-aws/armv5e/Packages.sig: Couldn't resolve host name.
Any ideas on how to proceed from here?
Is there a way to verify that my toon has storage/flash issues?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon stuck in load screen

Post by TheHogNL »

feed.hae.orig should be feed.hae.int (the orig is from the update script which replace it because of conflicts with toonstore). Normally this is rewritten again to feed.hae.int once the VPN is started manually. However due to missing of some important files your Toon isn't doing that now.

You can fix this easily with this command

Code: Select all

sed -i 's/orig/int/' /etc/opkg/*-feed.conf
The run opkg update and opkg install qt-gui
Member of the Toon Software Collective
Cell
Starting Member
Starting Member
Posts: 7
Joined: Sun Mar 17, 2019 5:11 am

Re: Toon stuck in load screen

Post by Cell »

Fixed :D

Toon boots again. Executed the update-rooted.sh script. Now everything is working as expected. Thank you!
Daniel
Member
Member
Posts: 70
Joined: Fri Mar 15, 2019 4:50 pm

Re: Toon stuck in load screen

Post by Daniel »

An error occurred during an update to 5.5.7 and not booting.

I think there is no more memory.
can I delete something?

# du -sm /*
0 /HCBv2
1 /bin
2 /boot
0 /configured
0 /dev
1 /etc
4 /lib
0 /linuxrc
49 /mnt
0 /proc
35 /qmf
0 /root
1 /sbin
0 /sys
0 /tmp
70 /usr
5 /var

df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 103.3M 103.3M 4.0K 100% /
tmpfs 40.0K 0 40.0K 0% /mnt/.psplash
tmpfs 61.6M 2.7M 58.9M 4% /var/volatile
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon stuck in load screen

Post by TheHogNL »

remove everything from /mnt/data/update and try again
Member of the Toon Software Collective
Daniel
Member
Member
Posts: 70
Joined: Fri Mar 15, 2019 4:50 pm

Re: Toon stuck in load screen

Post by Daniel »

I deleted everything in the folder,

try the script and the -f

Which version do you want to upgrade to?
5.5.7
Smartass.. 5.5.7 is not an upgrade for 5.5.7!

HAHA :lol:

something is probably missing again
WickedMaster
Member
Member
Posts: 76
Joined: Wed Nov 07, 2018 1:53 pm

Re: Toon stuck in load screen

Post by WickedMaster »

Try option "-v 5.5.7"
Daniel
Member
Member
Posts: 70
Joined: Fri Mar 15, 2019 4:50 pm

Re: Toon stuck in load screen

Post by Daniel »

I have tried that also. But say something like “not found”

Tried again en now the toon is booting :D
Oneten1983
Starting Member
Starting Member
Posts: 9
Joined: Sun Jan 12, 2020 10:14 pm

Re: Toon stuck in load screen

Post by Oneten1983 »

Hi i have an rooted toon for several months, then there was an update, suddenly toonstore was not available anymore. Also TSC menu was gone. I lost my root password, so i tought let's do to entire proces again. Like the Toon was not rooted. With the new 8 charactar password i was been able to login with SSH (putty with windows) then i run the script for the toon store.

curl -Nks https://raw.githubusercontent.com/ToonS ... -rooted.sh -o /root/update-rooted

after that

sh /root/update-rooted.sh –f

Toon was restarted and now i only have a fix bootscreen with NO progress bar.

I tried several things no IP adress is available anymore.
I can access the Toon thru raspberry Pi. See below.
login as: pi
pi@192.168.178.222's password:
Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Apr 10 22:25:34 2021 from 192.168.178.133
pi@raspberrypi:~ $ sudo apt install python-serial python-cryptography
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
python-cryptography is reeds de nieuwste versie (2.6.1-3+deb10u2).
python-serial is reeds de nieuwste versie (3.4-4).
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
pi@raspberrypi:~ $ git clone https://github.com/martenjacobs/ToonRooter.git
Cloning into 'ToonRooter'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 212 (delta 4), reused 0 (delta 0), pack-reused 203
Receiving objects: 100% (212/212), 441.79 KiB | 3.56 MiB/s, done.
Resolving deltas: 100% (106/106), done.
pi@raspberrypi:~ $ cd ToonRooter
pi@raspberrypi:~/ToonRooter $ sudo python . --jtag-available --output-level DEBUG
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi2'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub,respectively
DEBUG:__main__:{"uboot_only": false, "has_jtag": true, "check_uboot": true, "boot_only": false, "reboot_after": true, "cleanup_payload": true, "port": "/dev/ser ial0", "jtag_hardware": "rpi2", "ssh_pubkey_data": "ssh-rsa AAAAB3NzaC1yc2EAAAAD AQABAAABAQDB1QZo10tzjT5AAP8j18Ki5m/e1eaZF9b435t8HSPShc5JDI/ZogYqVw/0jf1WYoWfNwgD RG/V6cLdX2bUUybjlqZVtvqA+XpWXnUXisFCT9cFlBJwYDsyZ/yOax6fPoiV/pLOdBvloKYoSAs5b7u3 TKNe/KVxZMippcajuEpAoCUFQb8KjMmrCU4NEpo1RVumf8+OBSLB712fjiIx3D91Hw5NqACvpA/+bKIK TBmo6whuRpVA/J+QPGYvRRwEyVHcdHBcmmHA/sSianc7CAFSVZa3a0LBRpziSPDgngi6bsYTntGa48KTQCJ+DiK7r0Ks5NEnVib0OKrzYK/9Ooyh"}
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010.09-R10
INFO:rooter:Loading new bootloader
INFO:rooter:Starting openocd
INFO:rooter:Waiting for 10 seconds
DEBUG:rooter:Open On-Chip Debugger
>
INFO:rooter:Halting CPU
DEBUG:rooter:soft_reset_halt
requesting target halt and executing a soft reset
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x000000d3 pc: 0x00000000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
>
DEBUG:rooter:reset halt
JTAG tap: imx27.etb tap/device found: 0x1b900f0f (mfg: 0x787 (<unknown>), part:0xb900, ver: 0x1)
JTAG tap: imx27.cpu tap/device found: 0x07926121 (mfg: 0x090 (Chip Express), part: 0x7926, ver: 0x0)
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x200000d3 pc: 0xa1f2058c
MMU: disabled, D-Cache: disabled, I-Cache: enabled
NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'.
>
INFO:rooter:Loading new image to RAM
DEBUG:rooter:load_image assets/u-boot.bin 0xa1f00000
166504 bytes written at address 0xa1f00000
downloaded 166504 bytes in 2.587154s (62.850 KiB/s)

>
INFO:rooter:Starting up new image
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010.09
INFO:rooter:Using password to log in
INFO:rooter:Logging in to U-Boot
DEBUG:rooter:
CPU: Freescale i.MX27 at 400.168 MHz

Prodrive B.V. ED2.0
DRAM: 128 MiB
NAND: 128 MiB
LCD: Initializing LCD frambuffer at a1400000
LCD: 800x480, pbb 4
LCD: Drawing the logo...
In: serial
Out: serial
Err: serial
Display-bmp: 800 x 480 with 16777216 colors
Net: FEC
Warning: FEC MAC addresses don't match:
Address in SROM is 00:00:20:03:00:00
Address in environment is 00:0f:11:07:da:91


Autoboot in 2 sec...
Enter the password to interrupt.
The password is: toon
U-Boot>
DEBUG:rooter:Logged in to U-Boot
INFO:rooter:Patching U-Boot
DEBUG:rooter:printenv
bootdelay=2
baudrate=115200
loadaddr=0xA1000000
bootdelay=2
mtdids=nand0=mxc_nand
mtdparts=mtdparts=mxc_nand:1M(u-boot)ro,512K(u-boot-env)ro,1536K(splash-image),3M(kernel),3M(kernel-backup),119M(rootfs)
mtdparts_kernel=mtdparts=mxc_nand:512K@0x00100000(u-boot-env)ro,1536K(splash-image),3M(kernel),3M(kernel-backup),119M(rootfs)
mem=128M
autoload=no
backlight_brightness=50
baudrate=115200
console=ttymxc0
addtty=setenv bootargs ${bootargs} console=${console},${baudrate}
addmtd=setenv bootargs ${bootargs} ${mtdparts_kernel}
addlcd=setenv bootargs ${bootargs} lcd=${lcd}
nandargs=setenv bootargs ubi.mtd=4 root=ubi0:rootfs rw rootfstype=ubifs
boot_nand=run nandargs addmtd addtty addmisc addlcd; nand read ${loadaddr} kernel; bootm ${loadaddr}
boot_nand_backup=run nandargs addmtd addtty addmisc addlcd; nand read ${loadaddr} kernel-backup; bootm ${loadaddr}
bootcmd=run boot_nand
splashimage=0x180000
ethact=FEC
sn=16-16-037-278
pn=6599-1500-4100
software_compatibility=0
manufacture_date=2016/05
ethaddr=00:0F:11:07:DA:91
addmisc=setenv bootargs ${bootargs} mem=${mem} lpj=999424
lcd=TDA-WVGA0700F00048

Environment size: 1106/131068 bytes
U-Boot>
DEBUG:rooter:printenv
DEBUG:rooter:bootdelay=2
DEBUG:rooter:baudrate=115200
DEBUG:rooter:loadaddr=0xA1000000
DEBUG:rooter:bootdelay=2
DEBUG:rooter:mtdids=nand0=mxc_nand
DEBUG:rooter:mtdparts=mtdparts=mxc_nand:1M(u-boot)ro,512K(u-boot-env)ro,1536K(splash-image),3M(kernel),3M(kernel-backup),119M(rootfs)
DEBUG:rooter:mtdparts_kernel=mtdparts=mxc_nand:512K@0x00100000(u-boot-env)ro,1536K(splash-image),3M(kernel),3M(kernel-backup),119M(rootfs)
DEBUG:rooter:mem=128M
DEBUG:rooter:autoload=no
DEBUG:rooter:backlight_brightness=50
DEBUG:rooter:baudrate=115200
DEBUG:rooter:console=ttymxc0
DEBUG:rooter:addtty=setenv bootargs ${bootargs} console=${console},${baudrate}
DEBUG:rooter:addmtd=setenv bootargs ${bootargs} ${mtdparts_kernel}
DEBUG:rooter:addlcd=setenv bootargs ${bootargs} lcd=${lcd}
DEBUG:rooter:nandargs=setenv bootargs ubi.mtd=4 root=ubi0:rootfs rw rootfstype=ubifs
DEBUG:rooter:boot_nand=run nandargs addmtd addtty addmisc addlcd; nand read ${loadaddr} kernel; bootm ${loadaddr}
DEBUG:rooter:boot_nand_backup=run nandargs addmtd addtty addmisc addlcd; nand read ${loadaddr} kernel-backup; bootm ${loadaddr}
DEBUG:rooter:bootcmd=run boot_nand
DEBUG:rooter:splashimage=0x180000
DEBUG:rooter:ethact=FEC
DEBUG:rooter:sn=16-16-037-278
DEBUG:rooter:pn=6599-1500-4100
DEBUG:rooter:software_compatibility=0
DEBUG:rooter:manufacture_date=2016/05
DEBUG:rooter:ethaddr=00:0F:11:07:DA:91
DEBUG:rooter:addmisc=setenv bootargs ${bootargs} mem=${mem} lpj=999424
DEBUG:rooter:lcd=TDA-WVGA0700F00048
DEBUG:rooter:
DEBUG:rooter:Environment size: 1106/131068 bytes
DEBUG:rooter:U-Boot>
DEBUG:rooter: setenv addmisc setenv bootargs \${bootargs} mem=\${mem} lpj=999424 init=/bin/sh
U-Boot>
INFO:rooter:Waiting for boot up
DEBUG:rooter: run boot_nand

NAND read: device 0 offset 0x300000, size 0x300000
3145728 bytes read: OK
## Booting kernel from Legacy Image at a1000000 ...
Image Name: Linux-2.6.36-R10-h28
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1944236 Bytes = 1.9 MiB
Load Address: a0008000
Entry Point: a0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36-R10-h28 (jbraam@dvl) (gcc version 4.5.3 20110223 (prerelease) (GCC) ) #1 PREEMPT Fri Sep 28 15:51:09 CEST 2018
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Prodrive B.V ED2.0
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: ubi.mtd=4 root=ubi0:rootfs rw rootfstype=ubifs mtdparts=mxc_nand:512K@0x00100000(u-boot-env)ro,1536K(splash-image),3M(kernel),3M(kernel-bac kup),119M(rootfs) console=ttymxc0,115200 mem=128M lpj=999424 init=/bin/sh lcd=TDA-WVGA0700F00048
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126092k/126092k available, 4980k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
vmalloc : 0xc8800000 - 0xf4000000 ( 696 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0022000 ( 104 kB)
.text : 0xc0022000 - 0xc0367000 (3348 kB)
.data : 0xc037e000 - 0xc03a17a0 ( 142 kB)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:272
MXC IRQ initialized
MXC GPIO hardware
Console: colour dummy device 80x30
Calibrating delay loop (skipped) preset value.. 199.88 BogoMIPS (lpj=999424)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Configured for LCD: TDA-WVGA0700F00048
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 246
io scheduler noop registered (default)
imx-fb imx-fb.0: PreserveUBootFramebuffer(1): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: PreserveUBootFramebuffer(2): xres=800, yres=480 [skip _update_lcdc]
Console: switching to colour frame buffer device 100x30
imx-fb imx-fb.0: fb0: DISP0 BG fb device registered successfully.
imx-fb imx-fb.0: PreserveUBootFramebuffer(3): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: fb1: DISP0 FG fb device registered successfully.
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
console [ttymxc0] enabled
imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
NAND device: K9F1G08U0E detected, disabling sub-page writes
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
RedBoot partition parsing not available
5 cmdlinepart partitions found on MTD device mxc_nand
Creating 5 MTD partitions on "mxc_nand":
0x000000100000-0x000000180000 : "u-boot-env"
0x000000180000-0x000000300000 : "splash-image"
0x000000300000-0x000000600000 : "kernel"
0x000000600000-0x000000900000 : "kernel-backup"
0x000000900000-0x000008000000 : "rootfs"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: max. sequence number: 377632
UBI: attached mtd4 to ubi0
UBI: MTD device name: "rootfs"
UBI: MTD device size: 119 MiB
UBI: number of good PEBs: 952
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 952
UBI: number of PEBs reserved for bad PEB handling: 9
UBI: max/mean erase counter: 1896/396
UBI: image sequence number: 585952522
UBI: background thread "ubi_bgt0d" started, PID 309
at25 spi0.0: 32 KByte at25640B eeprom, pagesize 64
spi_imx spi_imx.0: probed
FEC Ethernet Driver
fec_enet_mii_bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
mxc-ehci mxc-ehci.0: initializing i.MX USB Controller
mxc-ehci mxc-ehci.0: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.0: Work around for USB enabled
ULPI transceiver vendor/product ID 0x0424/0x000d
mxc-ehci mxc-ehci.0: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.0: new USB bus registered, assigned bus number 1
mxc-ehci mxc-ehci.0: irq 56, io mem 0x10024000
mxc-ehci mxc-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.36-R10-h28 ehci_hcd
usb usb1: SerialNumber: mxc-ehci.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mxc-ehci mxc-ehci.2: initializing i.MX USB Controller
mxc-ehci mxc-ehci.2: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.2: Work around for USB enabled
mxc-ehci mxc-ehci.2: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.2: new USB bus registered, assigned bus number 2
mxc-ehci mxc-ehci.2: irq 55, io mem 0x10024400
mxc-ehci mxc-ehci.2: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Freescale On-Chip EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.36-R10-h28 ehci_hcd
usb usb2: SerialNumber: mxc-ehci.2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
input: TSC2007 Touchscreen as /devices/virtual/input/input0
rtc-isl1208 1-006f: chip found, driver version 0.3
rtc-isl1208 1-006f: rtc core: registered rtc-isl1208 as rtc0
i2c /dev entries driver
tmp431 0-004c: Could not read configuration register (-5)
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
adt7410 0-0048: adt7410 temperature sensor registered.
adt7410 0-0049: adt7410 temperature sensor registered.
nf_conntrack version 0.5.0 (1970 buckets, 7880 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
Bridge firewalling registered
rtc-isl1208 1-006f: setting system clock to 2021-04-10 20:39:22 UTC (1618087162)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 117833728 bytes (115072 KiB, 112 MiB, 928 LEBs)
UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 104K
usb 2-1: new high speed USB device using mxc-ehci and address 2
usb 2-1: New USB device found, idVendor=148f, idProduct=5370
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: 802.11 n WLAN
usb 2-1: Manufacturer: Ralink
usb 2-1: SerialNumber: 1.0
/bin/sh: can't access tty; job control turned off
/ #
INFO:rooter:Transferring payload
INFO:rooter:Patching Toon
DEBUG:rooter:tsek0
aX4IV5XuyP44wwjdr7tVHIVs+fdKDCrrbE0UHmDWgNKsehtRLf+McNWZADe2Yk3yUnG716w2NHuN
4lVDKlJBKdf556dXaCSldqAjgKKp5+zjvU5NVuHPuobxX0u8z3tNuApT5485/CsQaPbzyIyMsDHe
9tJQ+XmKNcsucuPpi/AQJobCtryNndrQbXovKgLhAT1no/xNDE1pJWlBzTM5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05e0kJKX9ZHaOnRi4OUnoaugBzGNTMBxIE
EHVzFjMxg5k4g4KgGobaAIi0wxNHU3F7Y2O4vZuHjznEP9BHVdDU28TUy9jU1U9L/Zmcg5aHml6Q
mYYf3BwAB9sFSzs/hblCAN5PwI5qgR4woBnMSNVPyl4mQOIZEOQEAEKCzfVdvb0d7NwCNL1VYerG
Wgb2skA3fU9fdWNJkKY3TMwQEuDpLCsIVjN6oiYjJu7s5qobLKEhJ6YTJAXyUVUP9FYFCNoDdYHP
1Dxh0kEuAYbeEFWAnqDBU22zQEPDIE04RMfBUUfNwdNTRxXgZ+Rq5+Ugo66qZQQxt5OwE32iZuj9
3NXoqQbUC+oqbe9n9szLX9tOUhb4zEBdT1DDFSjjKwr0kwJpekFc7UXBQN/nZkCAHBgGd7k6fa5c
uXLlypUrV65cuXLlypUrV65cuXLlypUrV65cufLv9B+2msI0ANACAA==
/ #
DEBUG:rooter:sh payload/patch_toon.sh "APDPTKOW"
INFO:rooter:>>> Enabling root user. Your root password is: APDPTKOW
INFO:rooter:>>> Opening ports 22, 80 and 10080 on firewall
INFO:rooter:>>> Disable VPN on boot
INFO:rooter:>>> Installing dropbear
DEBUG:rooter:Installing dropbear (2015.71-r0) to root...
DEBUG:rooter:Configuring dropbear.
DEBUG:rooter:Collected errors:
DEBUG:rooter:* pkg_run_script: package "dropbear" postinst script returned status 255.
DEBUG:rooter:* opkg_configure: dropbear.postinst returned 255.
DEBUG:rooter:update-alternatives: Linking //usr/bin/scp to /usr/sbin/dropbearmulti
DEBUG:rooter:update-alternatives: Linking //usr/bin/ssh to /usr/sbin/dropbearmulti
DEBUG:rooter:System startup links for /etc/init.d/dropbear already exist.
INFO:rooter:>>> Installing openssh-sftp-server
DEBUG:rooter:Installing openssh-sftp-server (7.3p1-r10.0) to root...
DEBUG:rooter:Multiple replacers for glibc, using first one (libc6).
DEBUG:rooter:Configuring openssh-sftp-server.
DEBUG:rooter:Configuring dropbear.
DEBUG:rooter:Collected errors:
DEBUG:rooter:* pkg_run_script: package "dropbear" postinst script returned status 255.
DEBUG:rooter:* opkg_configure: dropbear.postinst returned 255.
DEBUG:rooter:update-alternatives: Linking //usr/bin/scp to /usr/sbin/dropbearmulti
DEBUG:rooter:update-alternatives: Linking //usr/bin/ssh to /usr/sbin/dropbearmulti
DEBUG:rooter:System startup links for /etc/init.d/dropbear already exist.
INFO:rooter:Cleaning up
DEBUG:rooter:rm -r payload
/ #
INFO:rooter:Rebooting
INFO:rooter:Your Toon is now rooted. Please wait for it to boot up and try to log in using SSH

Again a "still" bootscreen (Livingroom picture) with no progress bar.

what to do for saving this Toon?
I hope you can help me with this.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon stuck in load screen

Post by TheHogNL »

You might have rebooted your toon by power cycling it instead of a clean reboot after the update-script -f . This corrupted some files.

Easiest way to get your toon back is to use ToonRecovery. Works almost the same as the rooter. It will guide you to recover your toon1.
Member of the Toon Software Collective
Oneten1983
Starting Member
Starting Member
Posts: 9
Joined: Sun Jan 12, 2020 10:14 pm

Re: Toon stuck in load screen

Post by Oneten1983 »

Thanks for the input but i didn't turn of the power.

Now i trying to recover the toon after a lot of errors i managed to get the Toon in recovery mode.

INFO:recovery:Toon booting into recovery shell. For now, just start your favourite serial terminal.

So i started i serial communication with an FTDI converter and putty (windows) to the Toon.

So far so Good.

Welcome to the Toon recovery environment.
--> This is a Toon with NAND offset of 2048
=========================================
1) Backup Toon VPN config
2) Format Toon filesystem
3) Recover Toon filesystem
9) Reboot Toon
0) Drop to shell
=========================================
Choose an option:
2
Are you sure you want to format the Toon filesystem? This will erase your history and your VPN config (if not backupped)! (yes/no)
yes
Now formatting the Toon filesystem...
/menu.sh: line 296: can't create /dev/null: Permission denied
Attaching and making new ubifs root volume...
/menu.sh: line 296: can't create /dev/null: Permission denied
/menu.sh: line 296: can't create /dev/null: Permission denied
Formating done and recreate the new file system. Detaching and going back to menu...
/menu.sh: line 296: can't create /dev/null: Permission denied

I receive an error on the menu.sh

Did i miss something?
I hope you can help me or give me an direction to solve the issue.
Post Reply

Return to “Toon issues and support (Nederlands toegestaan)”