summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-12-16 00:25:24 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-12-16 01:24:42 +0530
commitca1fbcdffcd4c471027f00085525a0df9e66d788 (patch)
tree744bb1cddd851242865bb6f1618ad77ad230e88e /build
parent78e9049cf98bd4d6fab6e0a4ce76a83f61a82426 (diff)
downloadhikey-ca1fbcdffcd4c471027f00085525a0df9e66d788.tar.gz
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>
Diffstat (limited to 'build')
-rw-r--r--build/tasks/boot_fat.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tasks/boot_fat.mk b/build/tasks/boot_fat.mk
index 39375101..f886659b 100644
--- a/build/tasks/boot_fat.mk
+++ b/build/tasks/boot_fat.mk
@@ -1,7 +1,7 @@
$(PRODUCT_OUT)/boot_fat.uefi.img: $(PRODUCT_OUT)/kernel $(PRODUCT_OUT)/hi6220-hikey.dtb $(PRODUCT_OUT)/ramdisk.img
# $@ is referring to $(PRODUCT_OUT)/boot_fat.uefi.img
dd if=/dev/zero of=$@ bs=512 count=98304
- mkfs.fat -n "BOOT IMG" $@
+ mkfs.fat -n "boot" $@
mcopy -i $@ $(PRODUCT_OUT)/kernel ::Image
mcopy -i $@ $(PRODUCT_OUT)/hi6220-hikey.dtb ::hi6220-hikey.dtb
mcopy -s -i $@ device/linaro/hikey/bootloader/* ::