blob: 093f1be8fdb4dd97594cef0ee53eab8621889262 [file] [log] [blame]
Vishal Bhoje72c9202015-10-23 18:10:21 +01001set default="0"
Vishal Bhojca1fbcd2015-12-16 00:25:24 +05302set timeout=1
Vishal Bhoj1f37d062016-01-12 16:46:12 +00003menuentry 'AOSP' {
4 search.fs_label boot root
5 set root=($root)
Dmitry Shmidt57eabe02016-05-04 14:11:47 -07006 linux /Image console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime androidboot.selinux=permissive
7 initrd /ramdisk.img
8 devicetree /hi6220-hikey.dtb
9}
10menuentry 'AOSP-DEBUG' {
11 search.fs_label boot root
12 set root=($root)
13 linux /Image earlycon=pl011,0xf7113000 no_console_suspend=1 console=ttyFIQ0 androidboot.console=ttyFIQ0 sysrq_always_enabled androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime androidboot.selinux=permissive
14 initrd /ramdisk.img
15 devicetree /hi6220-hikey.dtb
16}
17menuentry 'AOSP-CONSOLE' {
18 search.fs_label boot root
19 set root=($root)
20 linux /Image console=ttyAMA3,115200 androidboot.console=ttyAMA3 fiq_debugger.disable=Y androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime androidboot.selinux=permissive
Vishal Bhoj1f37d062016-01-12 16:46:12 +000021 initrd /ramdisk.img
22 devicetree /hi6220-hikey.dtb
23}
Vishal Bhoje72c9202015-10-23 18:10:21 +010024menuentry 'AOSP@720P' {
Vishal Bhojca1fbcd2015-12-16 00:25:24 +053025 search.fs_label boot root
26 set root=($root)
Dmitry Shmidt57eabe02016-05-04 14:11:47 -070027 linux /Image console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime video=HDMI-A-1:1280x720@60 androidboot.selinux=permissive
Vishal Bhoje72c9202015-10-23 18:10:21 +010028 initrd /ramdisk.img
29 devicetree /hi6220-hikey.dtb
30}
31menuentry 'AOSP@SVGA' {
Vishal Bhojca1fbcd2015-12-16 00:25:24 +053032 search.fs_label boot root
33 set root=($root)
Dmitry Shmidt57eabe02016-05-04 14:11:47 -070034 linux /Image console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime video=HDMI-A-1:800x600@60 androidboot.selinux=permissive
Vishal Bhoje72c9202015-10-23 18:10:21 +010035 initrd /ramdisk.img
36 devicetree /hi6220-hikey.dtb
37}
Vishal Bhojca1fbcd2015-12-16 00:25:24 +053038menuentry 'Fastboot' {
39 search.fs_label boot root
40 chainloader ($root)/EFI/BOOT/fastboot.efi
41}