From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

bootable/newinstaller


Commit MetaInfo

Revisionf02afb9aeb70e2272c387a263dd5d29fd57e013b (tree)
Time2020-06-08 09:49:55
AuthorMauro Rossi <issor.oruam@gmai...>
CommiterChih-Wei Huang

Log Message

add new Debug options for troubleshooting

Change Summary

Incremental Difference

--- a/boot/isolinux/isolinux.cfg
+++ b/boot/isolinux/isolinux.cfg
@@ -21,6 +21,36 @@ label debug
2121 kernel /kernel
2222 append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA=
2323
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+
2454 label install
2555 menu label ^Installation - Install OS_TITLE to harddisk
2656 kernel /kernel
--- a/install/grub2/efi/boot/android.cfg
+++ b/install/grub2/efi/boot/android.cfg
@@ -84,7 +84,13 @@ export android bootefi grub kdir live src
8484
8585 # Create main menu
8686 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
8894 if [ -s ($android)$kdir/install.img ]; then
8995 add_entry "Installation" INSTALL=1
9096 fi
--- a/install/scripts/1-install
+++ b/install/scripts/1-install
@@ -256,6 +256,12 @@ create_menulst()
256256
257257 create_entry "$OS_TITLE $VER" quiet $cmdline
258258 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
259265 create_entry "$OS_TITLE $VER (Debug nomodeset)" nomodeset $cmdline DEBUG=2
260266 create_entry "$OS_TITLE $VER (Debug video=LVDS-1:d)" video=LVDS-1:d $cmdline DEBUG=2
261267 }