Moderators: marcelr, Toonz, TheHogNL, TerrorSource
ralph123 wrote:I don't own a pi at the moment. So I wanted to try and root the Toon with only aa ftdi device?
Are there other options without a pi. What is de put in Lan-Cable method?
USER1-MacBook-Pro:toonrooter-master USER1$ sudo python __main__.py --jtag-hardware altera-usb-blaster.cfg --jtag-available --serial-port /dev/tty.usbserial-A9YPDNVZ
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
ERROR:rooter:
Traceback (most recent call last):
File "/Users/USER1/Downloads/ToonRooter-master/rooter.py", line 211, in start_bootloader
client = telnetlib.Telnet('localhost', 4444)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/telnetlib.py", line 211, in __init__
self.open(host, port, timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/telnetlib.py", line 227, in open
self.sock = socket.create_connection((host, port), timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 575, in create_connection
raise err
error: [Errno 61] Connection refused
CRITICAL:__main__:[Errno 3] No such process
USER1-MacBook-Pro:toonrooter-master USER1$ sudo python __main__.py --jtag-hardware altera-usb-blaster --jtag-available --serial-port /dev/tty.usbserial-A9YPDNVZ
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
INFO:rooter:Toon has U-Boot version 2010.09-R10
ERROR:rooter:Unable to log in using password (need JTAG, but it's disabled)
USER1-MacBook-Pro:toonrooter-master USER1$
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
Failed to halt CPU after 1 sec
>
DEBUG:rooter:reset halt
TAP imx27.etb does not have valid IDCODE (idcode=0x0)
TAP imx27.cpu does not have valid IDCODE (idcode=0x0)
TAP auto0.tap does not have valid IDCODE (idcode=0x0)
TAP auto1.tap does not have valid IDCODE (idcode=0x0)
TAP auto2.tap does not have valid IDCODE (idcode=0x0)
TAP auto3.tap does not have valid IDCODE (idcode=0x0)
TAP auto4.tap does not have valid IDCODE (idcode=0x0)
TAP auto5.tap does not have valid IDCODE (idcode=0x0)
TAP auto6.tap does not have valid IDCODE (idcode=0x0)
TAP auto7.tap does not have valid IDCODE (idcode=0x0)
TAP auto8.tap does not have valid IDCODE (idcode=0x0)
TAP auto9.tap does not have valid IDCODE (idcode=0x0)
TAP auto10.tap does not have valid IDCODE (idcode=0x0)
TAP auto11.tap does not have valid IDCODE (idcode=0x0)
TAP auto12.tap does not have valid IDCODE (idcode=0x0)
TAP auto13.tap does not have valid IDCODE (idcode=0x0)
TAP auto14.tap does not have valid IDCODE (idcode=0x0)
TAP auto15.tap does not have valid IDCODE (idcode=0x0)
TAP auto16.tap does not have valid IDCODE (idcode=0x0)
TAP auto17.tap does not have valid IDCODE (idcode=0x0)
TAP auto18.tap does not have valid IDCODE (idcode=0x0)
TAP auto0.tap does not have valid IDCODE (idcode=0x0)
Unexpected idcode after end of chain: 22 0x00000000
Unexpected idcode after end of chain: 54 0x00000000
Unexpected idcode after end of chain: 86 0x00000000
Unexpected idcode after end of chain: 118 0x00000000
Unexpected idcode after end of chain: 150 0x00000000
Unexpected idcode after end of chain: 182 0x00000000
Unexpected idcode after end of chain: 214 0x00000000
Unexpected idcode after end of chain: 246 0x00000000
Unexpected idcode after end of chain: 278 0x00000000
Unexpected idcode after end of chain: 310 0x00000000
Unexpected idcode after end of chain: 342 0x00000000
Unexpected idcode after end of chain: 374 0x00000000
Unexpected idcode after end of chain: 406 0x00000000
Unexpected idcode after end of chain: 438 0x00000000
Unexpected idcode after end of chain: 470 0x00000000
Unexpected idcode after end of chain: 502 0x00000000
Unexpected idcode after end of chain: 534 0x00000000
Unexpected idcode after end of chain: 566 0x00000000
Unexpected idcode after end of chain: 598 0x00000000
Unexpected idcode after end of chain: 630 0x00000000
Unexpected idcode after end of chain: 662 0x00000000
double-check your JTAG setup (interface, speed, ...)
Trying to use configured scan chain anyway...
imx27.etb: IR capture error; saw 0x0e not 0x01
Bypassing JTAG setup events due to errors
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
timed out while waiting for target halted
TARGET: imx27.cpu - Not halted
>
INFO:rooter:Loading new image to RAM
DEBUG:roote>
INFO:rooter:Starting up new image
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010.09-R10
ERROR:rooter:Unable to log in using password (need JTAG, but it's disabled)
toonnoot wrote:
No idea why I get the jtag disabled error, I'm giving the option --jtag-available when launching the script.
Anyone any ideas?
TheHogNL wrote:toonnoot wrote:
No idea why I get the jtag disabled error, I'm giving the option --jtag-available when launching the script.
Anyone any ideas?
Normally after uploading a temporary bootloader using openocd the script resets the Toon and expects the temporary bootloader version number. But in your log it still shows R10 and that simply means that uploading and then running the temporary bootloader failed (and it will not try again using JTAG in that attempt because it will come in a loop then, that is why you get that message).
I only have experience with a Raspberry Pi so can't help you further with the usb blaster.
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
Failed to halt CPU after 1 sec
>
DEBUG:rooter:reset halt
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
imx27.etb: IR capture error; saw 0x00 not 0x01
Bypassing JTAG setup events due to errors
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
timed out while waiting for target halted
TARGET: imx27.cpu - Not halted
>
INFO:rooter:Loading new image to RAM
DEBUG:roote>
INFO:rooter:Starting up new image
INFO:rooter:Waiting for Toon to restart
INFO:rooter:Toon has U-Boot version 2010.09-R10
ERROR:rooter:Unable to log in using password (need JTAG, but it's disabled)
marcelr wrote:That's not the right pinout, (toon's JTAG pinout does not follow any standard), so you get the "all zeroes" error. Please read the rooting manual for the proper pinout. Probably it's written in the rooter script as well.
Users browsing this forum: No registered users and 1 guest