blob: d5b166d04b9e585290eb9d5dd10e54675af81b1c [file] [log] [blame]
Vishal Bhoje72c9202015-10-23 18:10:21 +01001set default="0"
Vishal Bhojca1fbcd2015-12-16 00:25:24 +05302set timeout=1
Vishal Bhoj5101eef2016-01-12 16:46:12 +00003menuentry 'AOSP' {
4 search.fs_label boot root
5 set root=($root)
Dmitry Shmidtfcfe2d62016-09-02 14:40:59 -07006 linux /kernel console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
Dmitry Shmidt2954cd72016-05-04 14:11:47 -07007 initrd /ramdisk.img
8 devicetree /hi6220-hikey.dtb
9}
10menuentry 'AOSP-DEBUG' {
11 search.fs_label boot root
12 set root=($root)
Dmitry Shmidtfcfe2d62016-09-02 14:40:59 -070013 linux /kernel 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
Dmitry Shmidt2954cd72016-05-04 14:11:47 -070014 initrd /ramdisk.img
15 devicetree /hi6220-hikey.dtb
16}
17menuentry 'AOSP-CONSOLE' {
18 search.fs_label boot root
19 set root=($root)
Dmitry Shmidtfcfe2d62016-09-02 14:40:59 -070020 linux /kernel console=ttyAMA3,115200 androidboot.console=ttyAMA3 fiq_debugger.disable=Y androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
Vishal Bhoj5101eef2016-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 Shmidtfcfe2d62016-09-02 14:40:59 -070027 linux /kernel console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime video=HDMI-A-1:1280x720@60
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 Shmidtfcfe2d62016-09-02 14:40:59 -070034 linux /kernel console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime video=HDMI-A-1:800x600@60
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}