mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-24 13:10:09 +00:00
e3ecb8206c
0x40008000 is used by kernel, and can be rewrited by new payload |
||
---|---|---|
arch | ||
blob | ||
board | ||
configs | ||
Documentation/kbuild | ||
include | ||
lib | ||
main | ||
scripts | ||
soc | ||
.gitignore | ||
Kconfig | ||
LICENSE | ||
Makefile | ||
README.md |
uniLoader
A simple secondary bootloader that is capable of loading Linux for Android and iOS based devices.
Building
- Install aarch64-linux-gnu
git clone https://github.com/ivoszbg/uniLoader
cd uniLoader
- Place your kernel and device tree blobs under blob/
make BOARD=(oem)-(board-codename) SOC=(device-soc)
Building example
sudo apt install aarch64-linux-gnu
git clone https://github.com/ivoszbg/uniLoader
cd uniLoader
cp /home/user/linux/arch/arm64/boot/Image blob/Image
cp /home/user/linux/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dtb blob/dtb
make BOARD=samsung-dreamlte SOC=exynos8895
Usage
For Apple devices: Load the generated uniLoader binary via PongoOs (TODO: allow loading instead of PongoOs)
For Android devices: Replace the linux kernel in your boot.img with the uniLoader binary
Credits
VDavid003 - for his sboot wrapper
Quack723 - Contributor
Ivoszbg - Making this huge mess of a bootloader
License
This project is licensed under GPL2.