summaryrefslogtreecommitdiff
path: root/bootloader/EFI/BOOT/grub.cfg
blob: 096a14701025a3ae896c0d23bc277c24601fc517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
set default="0"
set timeout=1
menuentry 'AOSP' {
    search.fs_label boot root
    set root=($root)
    linux /kernel console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime printk.devkmsg=on
    initrd /ramdisk.img
    devicetree /hi6220-hikey.dtb
}
menuentry 'AOSP-DEBUG' {
    search.fs_label boot root
    set root=($root)
    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
    initrd /ramdisk.img
    devicetree /hi6220-hikey.dtb
}
menuentry 'AOSP-CONSOLE' {
    search.fs_label boot root
    set root=($root)
    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
    initrd /ramdisk.img
    devicetree /hi6220-hikey.dtb
}
menuentry 'AOSP@720P' {
    search.fs_label boot root
    set root=($root)
    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
    initrd /ramdisk.img
    devicetree /hi6220-hikey.dtb
}
menuentry 'AOSP@SVGA' {
    search.fs_label boot root
    set root=($root)
    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
    initrd /ramdisk.img
    devicetree /hi6220-hikey.dtb
}
menuentry 'Fastboot' {
    search.fs_label boot root
    chainloader ($root)/EFI/BOOT/fastboot.efi
}