bootable/newinstaller
Revision | f02afb9aeb70e2272c387a263dd5d29fd57e013b (tree) |
---|---|
Time | 2020-06-08 09:49:55 |
Author | Mauro Rossi <issor.oruam@gmai...> |
Commiter | Chih-Wei Huang |
add new Debug options for troubleshooting
@@ -21,6 +21,36 @@ label debug | ||
21 | 21 | kernel /kernel |
22 | 22 | append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= |
23 | 23 | |
24 | +label debug_gbm | |
25 | + menu label Live CD - Debug mode gralloc.gbm | |
26 | + kernel /kernel | |
27 | + append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= GRALLOC=gbm | |
28 | + | |
29 | +label debug_drmfb-composer | |
30 | + menu label Live CD - Debug mode drmfb-composer gralloc.gbm | |
31 | + kernel /kernel | |
32 | + append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= HWC=drmfb GRALLOC=gbm | |
33 | + | |
34 | +label debug_hwc_gbm | |
35 | + menu label Live CD - Debug mode hwcomposer.drm gralloc.gbm | |
36 | + kernel /kernel | |
37 | + append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= HWC=drm GRALLOC=gbm | |
38 | + | |
39 | +label debug_minigbm | |
40 | + menu label Live CD - Debug mode gralloc.minigbm | |
41 | + kernel /kernel | |
42 | + append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= GRALLOC=minigbm | |
43 | + | |
44 | +label debug_hwc_minigbm | |
45 | + menu label Live CD - Debug mode hwcomposer.drm_minigbm gralloc.minigbm | |
46 | + kernel /kernel | |
47 | + append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= HWC=drm_minigbm GRALLOC=minigbm | |
48 | + | |
49 | +label debug_intel | |
50 | + menu label Live CD - Debug mode hwcomposer.intel gralloc.intel | |
51 | + kernel /kernel | |
52 | + append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= HWC=intel GRALLOC=intel | |
53 | + | |
24 | 54 | label install |
25 | 55 | menu label ^Installation - Install OS_TITLE to harddisk |
26 | 56 | kernel /kernel |
@@ -84,7 +84,13 @@ export android bootefi grub kdir live src | ||
84 | 84 | |
85 | 85 | # Create main menu |
86 | 86 | add_entry "$live" quiet |
87 | -add_entry "$debug_mode" DEBUG=2 | |
87 | +add_entry "$live - Debug" DEBUG=2 | |
88 | +add_entry "$live - Debug gralloc.gbm" DEBUG=2 GRALLOC=gbm | |
89 | +add_entry "$live - Debug drmfb-composer" DEBUG=2 HWC=drmfb GRALLOC=gbm | |
90 | +add_entry "$live - Debug hwcomposer.drm" DEBUG=2 HWC=drm GRALLOC=gbm | |
91 | +add_entry "$live - Debug gralloc.minigbm" DEBUG=2 GRALLOC=minigbm | |
92 | +add_entry "$live - Debug hwcomposer.drm_minigbm" DEBUG=2 HWC=drm_minigbm GRALLOC=minigbm | |
93 | +add_entry "$live - Debug hwcomposer.intel" DEBUG=2 HWC=intel GRALLOC=intel | |
88 | 94 | if [ -s ($android)$kdir/install.img ]; then |
89 | 95 | add_entry "Installation" INSTALL=1 |
90 | 96 | fi |
@@ -256,6 +256,12 @@ create_menulst() | ||
256 | 256 | |
257 | 257 | create_entry "$OS_TITLE $VER" quiet $cmdline |
258 | 258 | create_entry "$OS_TITLE $VER (Debug mode)" $cmdline DEBUG=2 |
259 | + create_entry "$OS_TITLE $VER (Debug mode) gralloc.gbm" $cmdline DEBUG=2 GRALLOC=gbm | |
260 | + create_entry "$OS_TITLE $VER (Debug mode) drmfb-composer gralloc.gbm" $cmdline DEBUG=2 HWC=drmfb GRALLOC=gbm | |
261 | + create_entry "$OS_TITLE $VER (Debug mode) hwcomposer.drm gralloc.gbm" $cmdline DEBUG=2 HWC=drm GRALLOC=gbm | |
262 | + create_entry "$OS_TITLE $VER (Debug mode) gralloc.minigbm" DEBUG=2 GRALLOC=minigbm | |
263 | + create_entry "$OS_TITLE $VER (Debug mode) hwcomposer.drm_minigbm gralloc.minigbm" DEBUG=2 HWC=drm_minigbm GRALLOC=minigbm | |
264 | + create_entry "$OS_TITLE $VER (Debug mode) hwcomposer.intel gralloc.intel" DEBUG=2 HWC=intel GRALLOC=intel | |
259 | 265 | create_entry "$OS_TITLE $VER (Debug nomodeset)" nomodeset $cmdline DEBUG=2 |
260 | 266 | create_entry "$OS_TITLE $VER (Debug video=LVDS-1:d)" video=LVDS-1:d $cmdline DEBUG=2 |
261 | 267 | } |