blob: 096a14701025a3ae896c0d23bc277c24601fc517 [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)
Yongqin Liudb3edca2017-03-28 22:44:07 +08006 linux /kernel console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime printk.devkmsg=on
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)
Yongqin Liudb3edca2017-03-28 22:44:07 +080013 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 printk.devkmsg=on
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)
Yongqin Liudb3edca2017-03-28 22:44:07 +080020 linux /kernel console=ttyAMA3,115200 androidboot.console=ttyAMA3 fiq_debugger.disable=Y androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime printk.devkmsg=on
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)
Yongqin Liudb3edca2017-03-28 22:44:07 +080027 linux /kernel console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime video=HDMI-A-1:1280x720@60 printk.devkmsg=on
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)
Yongqin Liudb3edca2017-03-28 22:44:07 +080034 linux /kernel console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime video=HDMI-A-1:800x600@60 printk.devkmsg=on
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}