Tried again with the latest version from github, problem still exists.TerrorSource wrote:Im not using the latest version but i noticed this issue:martenjacobs wrote:I've just merged the latest changes from the dev branch into master, thanks to legalr for testing.
Support has been added for all types of Pi's, and its now easier to add support for other JTAG debuggers by adding the correct config to the assets/adapters/ directory (if you've added support for one, please send me a PR).
sudo python . --jtag-available
INFO:__main__:Starting up...
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
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
Nothing happens after that. Toon boots up normally but the script is still paused.
Code: Select all
pi@raspberrypi:~/ToonRooter $ sudo python . --jtag-available
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi3'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
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
Any other way i can use the ToonRooter to open the u-boot?
sudo python . --jtag-available --dont-check-uboot
does not wait for the Toon to boot up btw.
DEBUG LOG:
Code: Select all
sudo python . --jtag-available --output-level DEBUG
INFO:__main__:Starting up...
INFO:__main__:Detected JTAG hardware 'rpi3'
INFO:__main__:Written private and public key pair to ./id_rsa and ./id_rsa.pub, respectively
DEBUG:__main__:{"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 AAAAB3NzaC1yc2EAAAADAQABAAABAQDZpcv54a9LNl6jszYhcFfPLT86Ja1O4htYmeysEmcFvzDWmb0y3lIxzV8zrm8s9+PzarnCL3h6Pa4hKivT2uD7QdXdrl2ADO9lxuYrNMtufxalUV3JDbgXIR3cDfb+r9NwRopttiSyugCPQZzJKabxzyvF4hI++zAlnjakCc2orZUEb3E2D/Vz5BGMzpccChJ8FnGC2tF0hQTvkjvOP7TvHdRjmBw9StUrZDAWubHQwVVDmrZyDWzEOUC8QUPTHaG+UuSmKcpuKQ7Ptmi44oM2C8TIeH/YSnbIGAOlzXm38GDZ82Wa7oL2+P0zJuhpPYqrN+jpQfhEgHspUwOGGA9n"}
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
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 7.407528s (21.951 KiB/s)
>
INFO:rooter:Starting up new image
INFO:rooter:Waiting for Toon to restart