Skip to content

bootmenu for ouya. utilises kexec to boot images from system and datamedia.

Notifications You must be signed in to change notification settings

pgwipeout/ouya_bootmenu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiling with android ndk

export NDK_PATH=</work/ndk>
export TOOLCHAIN=/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
"${NDK_PATH}${TOOLCHAIN}" -Os bootmenu.c -o bootmenu -static -Wl,--gc-sections -Wl,--strip-all --sysroot=$NDK_PATH/platforms/android-13/arch-arm/

Unpacking / repacking a boot.img

Extract boot.img

abootimg -x boot.img

Extract initrd.img

mkdir initrd
cd initrd
cat ../initrd.img | gunzip | cpio -vid

Package initrd.img

find . | cpio --create --format='newc' | gzip > ../initrd_new.img

Package boot.img

abootimg --create boot_new.img -f bootimg.cfg -k zImage -r initrd_new.img

About

bootmenu for ouya. utilises kexec to boot images from system and datamedia.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 77.8%
  • C 22.2%