summaryrefslogtreecommitdiff
path: root/bootloader
AgeCommit message (Collapse)Author
2018-04-27hikey: Remove FAT bootimg supportJohn Stultz
The FAT bootimg support has been technically broken for a few weeks as it doesn't support Image.gz formatted kernels. Thus, lets make it official and remove the support. Change-Id: Ie9da2ab653df0b176ed5a9da148e459a767d1ca7 Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-09hikey: l-loader: Update generate_ptable.sh and MakefilesJohn Stultz
The ptable format has changed for newer bootloaders, so update the generation and build script. This syncs the l-loader code to match f986003d5732348db3a0329d2ed6863aa9d0ae9e from: https://github.com/96boards-hikey/l-loader.git Along with some minor tweaks to keep it building in the AOSP environment. Change-Id: Iad73e4ac63e0ccc78975d82f16983225bcfaea2b Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-08-24grub.cfg: set serialno for boot_fat.uefi.imgYongqin Liu
set it to fixed 0123456789 so that we could see the serial number correctly when we flash with boot_fat.uefi.img for development Otherwise what we see is something like this: $ adb devices List of devices attached (no serial number) device $ Test: adb devices Change-Id: I2bdb00ddc513f9b64716f823618d38735c7e43d4 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-08-04hikey: bootloader: Further make clean fixesJohn Stultz
Make sure we also clean out the edk BaseTools dir. Change-Id: I38b92148f8f0e2735ddb93853b46253d2467fa6b Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-08-04bootloader: clean build directories for make clean commandVishal Bhoj
Test: Manual (make clean) Change-Id: Ie44c93ec393b6b0674dd0dbbd2219b8395e197b9 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2017-03-29hikey: turn on printk.devkmsg for 4.9 kernelYongqin Liu
With 4.9 kernel, ratelimit is default for kernel messages, so we would not see message printed from userspace like following: init: starting service 'surfaceflinger'... The information like this is necessary for us to know the status of android boot during development, so turn on printk.devkmsg from the boot parameters. kernel documentation is here: https://android.googlesource.com/kernel/hikey-linaro/+/android-hikey-linaro-4.9/Documentation/kernel-parameters.txt#3273 Test: manually with hikey Change-Id: Ib0ec7a311129108a14478c707564309ae10b390d Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-10-20bootloader: add DEBUG make flagGreg Hackmann
make DEBUG=1 tells uefi-build.sh to build the DEBUG target, which adds lots of diagnostic messages that can be useful for people debugging firmware or early-boot issues (e.g. register dumps in the default exception handler). Test: build and flash bootloader images built with and without DEBUG=1 Change-Id: Ic34f5dcc24336a166f15e260ebc88796f8701291 Signed-off-by: Greg Hackmann <ghackmann@google.com>
2016-09-07hikey: Use internal fat16copy utility instead of mcopyDmitry Shmidt
Since fat16copy can't rename files, also change grub's expectation of the kernel being named Image to kernel Change-Id: I73bde0f3173baf032ffa879ffc9052cf93bcfe88 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> [jstultz: added grub tweaks] Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-08-05Add make clean option for bootloader buildJohn Stultz
Change-Id: I5f51d36055a65333b8918fce541b187084623308 Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-07-28enable SELinux for hikeyYongqin Liu
2 types remaining avc denials are mentioned here: 1. init domain on android0 file https://android-review.googlesource.com/#/c/239530/ 2. sys_module denial on netd domain https://android-review.googlesource.com/#/c/239514/ Change-Id: I2623742ea10261908b1ab3ed7f999c5b8a8a6fb7 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-07-11hikey: Add wrapper script to build uefiVishal Bhoj
Booloader sources are located under device/linaro/bootloader Change-Id: I8b35f9a292f5037eac2e0a281f5345921a313b93 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-05-12hikey: Enable fiq_debugger supportandroid-wear-n-preview-3android-wear-n-preview-1android-n-preview-3linaro-n-previewDmitry Shmidt
Change-Id: I58f2d285aaf30021436ca981c3f4e3c9b0cc0304 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-03-01grub: Change default boot resolution from 720p to EDID detectedVishal Bhoj
Change-Id: I79b4db7471b0e6316ecead4f900bae38b71a0b23 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-12-16Add Installer for bootloaderVishal Bhoj
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>
2015-11-09Initial Hikey device configurationVishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: I2697a8e4aec4991826f7351fd7f41eba324a6869