Debug_mode_connection - openlgtv/wiki GitHub Wiki
Serial Debug mode
First confirm you are correctly connected to the serial port by issuing a few of the commands documented in the LG manual.
Now type "debug" and hit ENTER. Nothing will echo back.
You are now in debug mode. Enter one of the debug modes by typing a single character without an ENTER after it.
Modes available are:
- u - Enter UI test mode
- d - Enter the main debug menu.
- x - Exit debug back to Product mode
UI Test menu
=================== [ UI Keyboard Test Mode ] ===================
'0' ~ '9' : Number Key, '-' : Dash
',' : Vol.Down, '.' : Vol.Up, '>' : Ch.Up, '<' Ch.Down
'[' : Up, '/' : Down, ';' : Left, ''' : Right
'M' : Main Menu, 'H' : Home Menu, 'X' : Exit, 'I' : Brief Info.
'B' : flashBack, 'A' : SAP(audio), 'U' : Mute, 'P' : Pip
'R' : Ratio, 'V' : Ext.Input, 'C' : Caption, 'F' : favorite
'D' : DW TS, 'E' : HDMI_CEC 'G' : Guide, 's' : INSTOP
'K' : In start, 'L' : Adjust
[ESC] : UI Keyboard Mode Exit
=================================================================
Debug mode menu
Main menu:
help,? Print this help message
============================================================
* show Show Various status
ver Show VERsion data
sh Excute OS shell
md Memory dump
mm Modify memory
mf Memory fill
mmap Map kernel physical memory to user vitrual memory
dsm Disassemble memory
regs Dump current exception registers
i2cd Dump I2C Device
i2cm Modify I2C Device
nvmd Dump NVRAM Device
nvmm Modify NVRAM Device
nvmclr Clear(Reset) NVRAM
num Print number in hex/dec/bin
uptime Print system up time
pdm XX_PRINTF() off/on control
call Call a function
reset Reset system
mtd Show current MTD. map info.
cfg Show current CFG. set value
* orgm Enter Org style debug menu
show:
------ systemInfo ----------------------------------------
task Show OSA Task status
sema Show OSA Sema4 status
msg Show OSA MsgQ status
rcode Show current region code
============================================================
exit Exit from systemInfo menu
ver:
--------------------------------------------------------------------------------------------
Package Version DateOfCompilation builder@computer:/directory
UserApp V0.1.53.64 May 21 2009, 20:29:26 ainaying@swfarm-l2:/home/work/ainaying/Server_PQ/src/apps/prj/atsc_saturn5
------- SVN r14006
--------------------------------------------------------------------------------------------
sh: Drops you into busybox as root. If you aren't linux literate go get a PC linux distro and learn somewhere safe.
mtd:
mtd00: 00020000-00004000 bbminfo
mtd01: 00040000-00004000 boot
mtd02: 00020000-00004000 mtdinfo
mtd03: 00180000-00004000 rootfs
mtd04: 00020000-00004000 model
mtd05: 00500000-00004000 emanual
mtd06: 00400000-00004000 ezcal
mtd07: 00280000-00004000 kernel
mtd08: 00900000-00004000 lgapp
mtd09: 00380000-00004000 lgres
mtd10: 00900000-00004000 lgfont
mtd11: 00280000-00004000 kernel
mtd12: 00900000-00004000 lgapp
mtd13: 00380000-00004000 lgres
mtd14: 00900000-00004000 lgfont
mtd15: 00020000-00004000 recdb
mtd16: 00040000-00004000 system
mtd17: 00260000-00004000 user