(Fixed) Toonrooter script hangs at reboot

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, Toonz

Post Reply
EricvL
Starting Member
Starting Member
Posts: 28
Joined: Sat May 02, 2020 2:54 pm

(Fixed) Toonrooter script hangs at reboot

Post by EricvL »

Hi guys,

I bought myself a Pi 3b+ and I installed all necessary software. Now I'm trying to root a deactivated Toon 1 with a R10 bootloader and software version 6. The Toonrooter script seems to be running OK, it does detect the bootloader and seems to load the new one:

Code: Select all

[quote]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
INFO:rooter:Halting CPU
INFO:rooter:Loading new image to RAM
INFO:rooter:Starting up new image
INFO:rooter:Waiting for Toon to restart
But then nothing happens. I tried again with debug enabled, this is the output:

Code: Select all

$ sudo python . --jtag-available --jtag-hardware rpi3 --output-level DEBUG
INFO:__main__:Starting up...
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/serial0", "jtag_hardware": "rpi3", "ssh_pubkey_data": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDrHVWu2QEgdYm4jzUhlyT+Ngy0BHz4bsdqvgAacYlgIhx8Yo9KWgpXI6w2Pm1Tr76Q25i1JVCbhT0DrOJPjNN4Q4J5tDxiqi8ftqQTprpjnX1XAQ1/JZ5CkZksIezOXG6qs4fy+DMJEgMgsOJMdYFcSTjm0YKzvL0rBqrQQ83RKVYvyfRYBBCEaC7uy0b0d0lKPxnVYZ8mksRX3UvdDsfskq8Nnk+MqV4p87v+7M8tYLuI7SXQpL8CQ3EqiVJxCm8mZQ4SkYKrMrG75QlPa7iXBAnrvzFrqA/ik5IWC+bh6F1Khg9O43d+U/ll4a8sFI/LJh7BQ5LO5jerC57V+hTZ"}
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
[imx27.cpu] requesting target halt and executing a soft reset
Jazelle state handling is BROKEN!
target halted in Jazelle state due to debug-request, current mode: Supervisor
cpsr: 0xffffffd3 pc: 0x00000000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
>
DEBUG:rooter:reset halt
JTAG scan chain interrogation failed: all ones
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
imx27.etb: IR capture error; saw 0x0f not 0x01
Bypassing JTAG setup events due to errors
WARNING: unknown debug reason: 0xf
ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: System
cpsr: 0xffffffff pc: 0xfffffff9
MMU: enabled, D-Cache: enabled, I-Cache: enabled
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
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
WARNING: unknown debug reason: 0xf
ThumbEE -- incomplete support
timed out while waiting for target debug-running
166504 bytes written at address 0xa1f00000
downloaded 166504 bytes in 6.872053s (23.661 KiB/s)
>
INFO:rooter:Starting up new image
INFO:rooter:Waiting for Toon to restart
Who can help me finding out what goes wrong here? Thanks in advance for any help!

Kind regards,
Eric
Last edited by EricvL on Mon Jun 05, 2023 4:28 pm, edited 1 time in total.
EricvL
Starting Member
Starting Member
Posts: 28
Joined: Sat May 02, 2020 2:54 pm

Re: Toonrooter script hangs at reboot

Post by EricvL »

After fiddling around for hours, I discovered the issue is caused by a driver conflict with my LCD display, which is using the same GPIO port.
I created a small script to switch between two config.txt files, one for the ToonRooter and one for the LCD display. Now everything is working OK.

Kind regards,
Eric
Post Reply

Return to “Toon Rooting”