Page 1 of 1

Error during Rooting (OS error #2)

Posted: Sat May 08, 2021 5:26 pm
by kappl01
Dear Moderators and other Experts,

During the rooting, after command sudo python --jtag-available I encountered OS error 2 "No such file or directory".

I use a Raspberry Pi3B, checked wiring several times. I attached commands/responses/level debug output.

Can you advice me, any tips? Thank you

Re: Error during Rooting (OS error #2)

Posted: Sun May 09, 2021 8:35 am
by TheHogNL
So, did you check the missing file exists?

Re: Error during Rooting (OS error #2)

Posted: Sun May 09, 2021 12:58 pm
by kappl01
I'm not Linux expert. I don't know how to get into the Toon prompt with the Raspberry terminal screen.

Please give command to do that and how to check existence of file subprocess.py ?

Thanks

Re: Error during Rooting (OS error #2)

Posted: Sun May 09, 2021 12:59 pm
by TheHogNL
So why are you 'rooting' your toon then... root access to toon means linux access :)

Re: Error during Rooting (OS error #2)

Posted: Sun May 09, 2021 3:20 pm
by kappl01
I did with the script of Marten then I encountered
this problem.

Re: Error during Rooting (OS error #2)

Posted: Sun May 09, 2021 6:26 pm
by TheHogNL
kappl01 wrote:I did with the script of Marten then I encountered
this problem.
But you didn't download it completly and why not use the updated version from the TSC github repo.

Re: Error during Rooting (OS error #2)

Posted: Sun May 09, 2021 9:41 pm
by kappl01
I executed the ToonRooter of the TSC repo,
or do you mean the Root-a-Toon script using
Rpi wifi Hotspot?

Re: Error during Rooting (OS error #2)

Posted: Sun May 09, 2021 9:52 pm
by TheHogNL
Root-A-Toon is possible also but I mean if you want to use ToonRooter use the update one. And make sure you have downloaded all files, including directories and content.

Re: Error during Rooting (OS error #2)

Posted: Sun May 09, 2021 11:44 pm
by kappl01
I executed ToonRooter script. Isn't so that this script automatically downloads all necessary folders/files? I checked ToonRooter folder, all folders/files are there.

I prepared fresh Raspbian uSD card and repeated procedure according Readme.md again. Still same error, :( :( :(

Re: Error during Rooting (OS error #2)

Posted: Mon May 10, 2021 8:36 am
by TheHogNL
kappl01 wrote:I executed ToonRooter script. Isn't so that this script automatically downloads all necessary folders/files? I checked ToonRooter folder, all folders/files are there.

I prepared fresh Raspbian uSD card and repeated procedure according Readme.md again. Still same error, :( :( :(
If you check the lines where the script fails it shows it probably can't start openocd.
How did the isntall of openocd go? Did it install? What if you manually start openocd, does it do anything?

Re: Error during Rooting (OS error #2)

Posted: Mon May 10, 2021 9:23 pm
by kappl01
I checked OpenOCD, didn't start. With dpkg -l it appeared not to be installed :( . I installed it and afterthat script ended successfully! :D :D

Toon is functioning OK :D :D

Hogh many thanks for your support. (learned a lot :) )

Regards

Re: Error during Rooting (OS error #2)

Posted: Mon May 10, 2021 9:42 pm
by TheHogNL
kappl01 wrote:I checked OpenOCD, didn't start. With dpkg -l it appeared not to be installed :( . I installed it and afterthat script ended successfully! :D :D

Toon is functioning OK :D :D

Hogh many thanks for your support. (learned a lot :) )

Regards
So you didn't follow the readme good enough :-)

Re: Error during Rooting (OS error #2)

Posted: Tue May 11, 2021 9:00 am
by kappl01
Your damn right Hogh :oops: That is what I learned too :)

Regards