This patch series adds support for booting from android bootimgs. A set of helper functions is added to read the kernel, command line, and initrd from a bootimg partition, the initrd command is updated to respect the android_bootimg:<disk-path> syntax for loading the initrd from the bootimg at <disk-path>, and on i386 the linux command is update to respect the android_bootimg:<disk-path> syntax for loading the kernel and kernel command line from the bootimg.
Shea Levy (3): Add helper functions to interact with android bootimg disks. i386: Add support for loading from android bootimg Add support for loading initrd from android bootimg grub-core/Makefile.core.def | 1 + grub-core/loader/android_bootimg.c | 253 +++++++++++++++++++++++++++++++++++++ grub-core/loader/i386/linux.c | 27 +++- grub-core/loader/linux.c | 7 +- include/grub/android_bootimg.h | 12 ++ 5 files changed, 293 insertions(+), 7 deletions(-) create mode 100644 grub-core/loader/android_bootimg.c create mode 100644 include/grub/android_bootimg.h -- 2.7.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel