Raspberry Pi 5: How To info for others #13
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
I know this is not the right place/way to give this info but Issues are disabled on this git repo and I like to keep relevant stuff on platform not behind a login wall on another forum :-)
This is meant to help others who also have a Pi 5 and have to root a old Toon 1 via the JTAG way.
As the Pi5 uses a different chip for GPIO and Python2 being deprecated it is a little more difficult to get things working.
most instructions of the original repo can be followed except:
I followed an older commit state:
71c1037
On the Pi 5 install
Rapberry Pi OS: Debian 12 (bookworm) (older won't boot)
Python2 download and compile:
Download and build OpenOCD for LinuxGPIO:
Then because Python2 is not supported well anymore the following lines need to be commented out of main.py. this will disable ssh key generation by the python script.
This change requires manual generation of SSH key:
ssh-keygen -t rsa -b 2048 -f ~/toon_rsa -N ""Then to use OpenOCD for rpi5 with this script add the following file:
~/ToonRooter/assets/adapters/rpi5.cfg
you might need to edit the following file for TRST and SRST:
/usr/share/openocd/scripts/interface/raspberrypi-gpio-connector.cfg
for the connections they also differ from the older Pi models:
Then run the following. (might have to manually reboot the Toon and/or run the script multiple times.)
sudo python2 . --jtag-hardware rpi5 --ssh-public-key ~/toon_rsa.pub --serial-port /dev/ttyAMA0For me this was the output after i ran it a 3rd time and rebooted the toon manually when it got to the "Patching Toon" part.
hope this might help someone if they find an old Toon like I did