commit | ca1fbcdffcd4c471027f00085525a0df9e66d788 | [log] [tgz] |
---|---|---|
author | Vishal Bhoj <vishal.bhoj@linaro.org> | Wed Dec 16 00:25:24 2015 +0530 |
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | Wed Dec 16 01:24:42 2015 +0530 |
tree | 744bb1cddd851242865bb6f1618ad77ad230e88e | |
parent | 78e9049cf98bd4d6fab6e0a4ce76a83f61a82426 [diff] |
Add Installer for bootloader Add prebuilt UEFI bootloader which could be flashed from scratch. Bootloader is built from sources from earlier commit. Includes an installer script which helps to flash the bootloader and AOSP images built from sources: https://github.com/96boards/edk2/commit/14eae0c12e71fd33c4c0fc51e4475e8db02566cf https://github.com/96boards/arm-trusted-firmware/commit/e9b4909dcd75fc4ae7041cfb83d28ab9adb7afdf https://github.com/96boards/l-loader/commit/6b784ad5c4ab00e2b1c6f53cd5f74054e5d00a78 https://git.linaro.org/uefi/uefi-tools.git/commit/abe618f8ab72034fff1ce46c9c006a2c6bd40a7e Change-Id: I006f33083fc5d1868345be7daff52fa69ea64334 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
diff --git a/bootloader/fastboot.efi b/bootloader/EFI/BOOT/fastboot.efi similarity index 62% rename from bootloader/fastboot.efi rename to bootloader/EFI/BOOT/fastboot.efi index 2fce0fd..8758eb5 100644 --- a/bootloader/fastboot.efi +++ b/bootloader/EFI/BOOT/fastboot.efi Binary files differ
diff --git a/bootloader/grub/grub.cfg b/bootloader/EFI/BOOT/grub.cfg similarity index 75% rename from bootloader/grub/grub.cfg rename to bootloader/EFI/BOOT/grub.cfg index 2dadf7e..e2443b0 100644 --- a/bootloader/grub/grub.cfg +++ b/bootloader/EFI/BOOT/grub.cfg
@@ -1,17 +1,28 @@ set default="0" -set timeout=2 +set timeout=1 menuentry 'AOSP@720P' { + search.fs_label boot root + set root=($root) linux /Image console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime video=HDMI-A-1:1280x720@60 androidboot.selinux=permissive initrd /ramdisk.img devicetree /hi6220-hikey.dtb } menuentry 'AOSP@SVGA' { + search.fs_label boot root + set root=($root) linux /Image console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime video=HDMI-A-1:800x600@60 androidboot.selinux=permissive initrd /ramdisk.img devicetree /hi6220-hikey.dtb } menuentry 'AOSP' { + search.fs_label boot root + set root=($root) linux /Image console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime androidboot.selinux=permissive initrd /ramdisk.img devicetree /hi6220-hikey.dtb } + +menuentry 'Fastboot' { + search.fs_label boot root + chainloader ($root)/EFI/BOOT/fastboot.efi +}
diff --git a/bootloader/grubaa64.efi b/bootloader/EFI/BOOT/grubaa64.efi similarity index 99% rename from bootloader/grubaa64.efi rename to bootloader/EFI/BOOT/grubaa64.efi index 01728a6..d756122 100644 --- a/bootloader/grubaa64.efi +++ b/bootloader/EFI/BOOT/grubaa64.efi Binary files differ