Go to file
Markuss Broks 0ac15a9da6 main: Drop PAYLOAD_SIZE, use compile time kernel size
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
2022-06-14 19:06:38 +03:00
blob .: Initiate the project 2022-06-12 17:09:32 +03:00
board main: Drop PAYLOAD_SIZE, use compile time kernel size 2022-06-14 19:06:38 +03:00
configs board: starlte: Add support for Samsung Galaxy S9 2022-06-14 18:46:17 +03:00
Documentation/kbuild uniLoader: Migrate to kconfig based configurations 2022-06-14 18:02:47 +03:00
include main: Drop PAYLOAD_SIZE, use compile time kernel size 2022-06-14 19:06:38 +03:00
lib uniLoader: Migrate to kconfig based configurations 2022-06-14 18:02:47 +03:00
main main: Drop PAYLOAD_SIZE, use compile time kernel size 2022-06-14 19:06:38 +03:00
scripts uniLoader: Migrate to kconfig based configurations 2022-06-14 18:02:47 +03:00
soc soc: exynos: Add basic support for Exynos 9810 2022-06-14 18:30:11 +03:00
.gitignore board: starlte: Add support for Samsung Galaxy S9 2022-06-14 18:46:17 +03:00
Kconfig uniLoader: Migrate to kconfig based configurations 2022-06-14 18:02:47 +03:00
LICENSE .: Initiate the project 2022-06-12 17:09:32 +03:00
Makefile uniLoader: Migrate to kconfig based configurations 2022-06-14 18:02:47 +03:00
README.md .: Initiate the project 2022-06-12 17:09:32 +03:00

uniLoader

A simple secondary bootloader that is capable of loading Linux for Android and iOS based devices.

Building

  1. Install aarch64-linux-gnu
  2. git clone https://github.com/ivoszbg/uniLoader
  3. cd uniLoader
  4. Place your kernel and device tree blobs under blob/
  5. 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.