This is a bare-metal payload sample that performs some hardware initialization, such as turning on the OLED display or HDMI controller, setting up a framebuffer, and reading the control buttons, among other things.
All the code in this project has been implemented by reverse engineering the PSVita OS and mimicking it to perform the required steps to carry out hardware initialization.
Simultaneously, I have also been updating and documenting wiki.henkaku.xyz with the findings obtained by reverse engineering the PSVita OS (such as register bits and initialization sequences).
Compilation:
- vitasdk is needed.
Installation:
- Copy
baremetal-sample.bin
to your PSVita - Run vita-baremetal-loader
Memory card authentication:
For the Memory card authentication to work, you will have to place the key used by rmauth_sm
's command 0x2 in the msif.c
file.
Check this for more information.
Thanks to everybody who contributes to wiki.henkaku.xyz and helps reverse engineering the PSVita OS.
Specially the Team Molecule (formed by Davee, Proxima, xyz, and YifanLu), TheFloW, motoharu, and everybody at the HENkaku Discord channel.