Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 

README.md

Simple boot menu for booting Linux kernels using Kexec Hardboot and DTB (device tree) on ASUS TF300T

Requirements

Tools on Host

  • Cross-compiler toolchain with C++ support
  • blobtools, abootimg, fastboot

Things you cross-compile

make sure to set $CC/CXX variables etc. for cross compiling and to use static linking

Building the boot menu binary dtbootmenu

pushd src
make
popd

Setup Android Dual-Booting (optional)

ideally, all of this should happen automatically in a "flashable zip" or something. But currently nothing like this is implemented.

On the device, create a directory named boot in the internal "SD card" directory. Place the following files in it

  • zImage-android: Kernel image for Android (extract from your ROM's installer zip using abootimg)
  • initrd-android: Ramdisk image for Android (extract from your ROM's installer zip using abootimg)
  • android.dtbootmenu with the following contents:
    kernel: zImage-android
    initrd: initrd-android
    title: Android
    legacy
    

Flashing

You need:

  • Kernel zImage binary (tf300t-dtboot-kernel)
  • tegra30-tf300t.dtb file
  • kexec binary
  • dtbootmenu binary
./create-boot-blob.sh <zImage> <dtb file> <kexec binary> src/dtbootmenu
sudo fastboot flash boot boot.blob

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.