Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 1 | set default="0" |
Vishal Bhoj | ca1fbcd | 2015-12-16 00:25:24 +0530 | [diff] [blame] | 2 | set timeout=1 |
Vishal Bhoj | 5101eef | 2016-01-12 16:46:12 +0000 | [diff] [blame] | 3 | menuentry 'AOSP' { |
| 4 | search.fs_label boot root |
| 5 | set root=($root) |
Yongqin Liu | 1b85c5d | 2017-03-21 10:46:42 +0800 | [diff] [blame] | 6 | linux /kernel console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime printk.devkmsg=on androidboot.serialno=0123456789 |
Dmitry Shmidt | 2954cd7 | 2016-05-04 14:11:47 -0700 | [diff] [blame] | 7 | initrd /ramdisk.img |
| 8 | devicetree /hi6220-hikey.dtb |
| 9 | } |
| 10 | menuentry 'AOSP-DEBUG' { |
| 11 | search.fs_label boot root |
| 12 | set root=($root) |
Yongqin Liu | 1b85c5d | 2017-03-21 10:46:42 +0800 | [diff] [blame] | 13 | 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 androidboot.serialno=0123456789 |
Dmitry Shmidt | 2954cd7 | 2016-05-04 14:11:47 -0700 | [diff] [blame] | 14 | initrd /ramdisk.img |
| 15 | devicetree /hi6220-hikey.dtb |
| 16 | } |
| 17 | menuentry 'AOSP-CONSOLE' { |
| 18 | search.fs_label boot root |
| 19 | set root=($root) |
Yongqin Liu | 1b85c5d | 2017-03-21 10:46:42 +0800 | [diff] [blame] | 20 | 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 androidboot.serialno=0123456789 |
Vishal Bhoj | 5101eef | 2016-01-12 16:46:12 +0000 | [diff] [blame] | 21 | initrd /ramdisk.img |
| 22 | devicetree /hi6220-hikey.dtb |
| 23 | } |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 24 | menuentry 'AOSP@720P' { |
Vishal Bhoj | ca1fbcd | 2015-12-16 00:25:24 +0530 | [diff] [blame] | 25 | search.fs_label boot root |
| 26 | set root=($root) |
Yongqin Liu | 1b85c5d | 2017-03-21 10:46:42 +0800 | [diff] [blame] | 27 | 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 androidboot.serialno=0123456789 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 28 | initrd /ramdisk.img |
| 29 | devicetree /hi6220-hikey.dtb |
| 30 | } |
| 31 | menuentry 'AOSP@SVGA' { |
Vishal Bhoj | ca1fbcd | 2015-12-16 00:25:24 +0530 | [diff] [blame] | 32 | search.fs_label boot root |
| 33 | set root=($root) |
Yongqin Liu | 1b85c5d | 2017-03-21 10:46:42 +0800 | [diff] [blame] | 34 | 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 androidboot.serialno=0123456789 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 35 | initrd /ramdisk.img |
| 36 | devicetree /hi6220-hikey.dtb |
| 37 | } |
Vishal Bhoj | ca1fbcd | 2015-12-16 00:25:24 +0530 | [diff] [blame] | 38 | menuentry 'Fastboot' { |
| 39 | search.fs_label boot root |
| 40 | chainloader ($root)/EFI/BOOT/fastboot.efi |
| 41 | } |