Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xerpi/vita-libbaremetal
PSVita bare-metal payload library and sample
https://github.com/xerpi/vita-libbaremetal
assembly-language-programming bare-metal c-programming low-level-programming psvita reverse-engineering
Last synced: 3 months ago
JSON representation
PSVita bare-metal payload library and sample
- Host: GitHub
- URL: https://github.com/xerpi/vita-libbaremetal
- Owner: xerpi
- Created: 2017-07-20T09:08:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T22:14:19.000Z (about 1 year ago)
- Last Synced: 2024-01-18T08:55:21.140Z (about 1 year ago)
- Topics: assembly-language-programming, bare-metal, c-programming, low-level-programming, psvita, reverse-engineering
- Language: C
- Homepage:
- Size: 922 KB
- Stars: 51
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PSVita bare-metal payload sample
## What's this?
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](https://wiki.henkaku.xyz/) with the findings obtained by reverse engineering the PSVita OS (such as register bits and initialization sequences).
## Instructions
**Compilation**:
* [vitasdk](https://vitasdk.org/) is needed.
**Installation**:
1. Copy `baremetal-sample.bin` to your PSVita
2. Run [vita-baremetal-loader](https://github.com/xerpi/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](https://wiki.henkaku.xyz/vita/Secure_Modules_Functions#rmauth_sm.self) in the `msif.c` file.
Check [this](https://wiki.henkaku.xyz/vita/Keys) for more information.
## Credits
Thanks to everybody who contributes to [wiki.henkaku.xyz](https://wiki.henkaku.xyz/) and helps reverse engineering the PSVita OS.
Specially the [Team Molecule](https://twitter.com/teammolecule) (formed by [Davee](https://twitter.com/DaveeFTW), Proxima, [xyz](https://twitter.com/pomfpomfpomf3), and [YifanLu](https://twitter.com/yifanlu)), [TheFloW](https://twitter.com/theflow0), [motoharu](https://github.com/motoharu-gosuto), and everybody at the [HENkaku](https://discord.gg/m7MwpKA) Discord channel.