Skip to content

archeYR/sfi-bootstub

 
 

Repository files navigation

SFI-Bootstub

Bootstub is a Linux bootloader that is used on various Intel MID devices. This fork focuses on bringing the compatibility with newer Linux kernels as well as standard Multiboot images to the SFI devices. It also supports logging to device's linear framebuffer for feedback and debugging.

Building:

For Moorestown/Medfield/Clover Trail+

PLATFORM=MOORESTOWN make

For Merrifield/Moorefield

PLATFORM=MOOREFIELD make

Generating boot images with new Bootstub:

For unlocked devices with Intel boot image format use mboot from https://github.com/archeYR/mboot

For locked devices with Intel boot image format use mkboot.sh from https://github.com/archeYR/intel-ifwi-study (included key.pem is known to work on some Clover Trail+ devices)

For unlocked devices with AOSP boot image format:

  • Append a font to Bootstub image:
cat VGA8.F16 >> bootstub
  • Generate a boot image with new Bootstub using mkbootimg (example for Asus Z00A):
mkbootimg --base 0x10000000 --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --pagesize 2048 --second_offset 0xf00000 --kernel kernel --ramdisk ramdisk --second bootstub --cmdline <Z00A's cmdline> --output boot.img

About

Simple Linux/Multiboot loader for SFI devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.5%
  • Assembly 3.2%
  • Other 1.3%