Beruflich Dokumente
Kultur Dokumente
And for getting boot-up trace log, please check steps below.
[1] Update modem_log_relay (ADB connection is needed) (command window on your PC) adb shell stop modem_log_relay exit
adb remount adb push modem_log_relay /system/bin/modem_log_relay (--> file is attached 'modem_log_relay.zip', need to modify location of modem_log_relay file)
[2] Power off and Power on rpt_host_2012_xxx (or rpt_boot_2012_xxx) file is generated on each boot-up
[3] Getting trace log file by ADB adb pull /data/log/boot_trigger C:/golden_log
*No need to change in trace_auto.conf (please ignore previous method) *Generated trigger will be stored in /data/log/boot_trigger *Binary will generate a trigger on each boot-up (not possible to disable) --> So, please use attached 'modem_log_relay.zip' only for getting boot-up trace log purpose, do not merge on mainstream of your project
B) W1247.4 OSK (STE) ============ (guide comment to customer for getting REAL boot-up log by FIDO box on GOLDEN, ER 461621)
On current trace configuration of GOLDEN, there is a gap (missing trace messages) on boot-up trace log, when using FIDO box. This limitation is due to microSD card slot is not easy to use on GOLDEN project (under battery slot).
If FIDO box trace logging is available, please check steps below for getting boot-up trace log and all power-off/power-on procedure.
On modem.bin file, modem.env file is included. When you open it by text editor,
TRACE_DEFAULT_TRACE_ROUTING=1,2
TRACE_DEFAULT_TRACE_ROUTING=1,3
This means Trace route change (on boot-step) from BUFFER (inside UE memory) to XTI / BUFFER (both inside UE memory and external way, FIDO box), --> This step needs re-packing of modem.bin (new modem.bin needs to be made), and re-flashing to UE. Please contact software management team on customer side for details.
// Edit this file by text editor and save, BUFFER to STP dump -D FS /data/log/err dump -l 10 trigger -D /data/log/err trigger -l 0 trace -l ON 100 30 trace -u OFF trace -t STP trigger -m OFF // --> from "trace -t BUFFER" to "trace -t STP"
[4] Reboot
[5] How to use NTrace tool // same as previous Please check attached document (mini_How_to_Use_Ntrace_FIDObox_onJANICE_0.2.zip).
*Please use this method (and modme.bin binary) only for this issue purpose. Do not merge on mainstream of your project. *"modem_log_relay" method is only for getting short boot-up period (from power-on to around 9 seconds) by one file, automatically. So, there may be trace log discontiuity.
C) W1248.1 OSK (STE) ============ (/Updated/ How to get boot-up log without FIDO box - ER 468329)
Due to limitation of mini-SD card slot, there is a detour. Please check follwoing steps for getting boot-up log without FIDO box.
- modem_log_relay : from power-on to 9 seconds - AUTOSTART 1 and ModemTraceControl : from 9 seconds to issue point
[1] Update modem_log_relay (ADB connection is needed) (command window on your PC) adb shell stop modem_log_relay exit
adb remount adb push modem_log_relay /system/bin/modem_log_relay (--> file is attached 'modem_log_relay.zip', need to modify location of modem_log_relay file)
adb shell
[2] Power off and Power on rpt_boot_2012_xxx file is generated on each boot-up
[3] Getting trace log file by ADB (please check directory path for sure) adb pull /data/log/boot_trigger C:/golden_log
*Binary will generate a trigger on each boot-up (not possible to disable) --> So, please use attached 'modem_log_relay.zip' only for getting boot-up trace log purpose, do not merge on mainstream of your project
// Edit this file by text editor and save, '0' to '1' dump -D FS /data/log/err dump -l 10
New command will execute as soon as modem is started to ensure we always receive all boot logs.
E) Solution proposal:
If command is present in trace_auto.conf MLR will create a boot trigger as soon as modem is up and running.
Trigger will be saved in /data/log/boot_trigger since we can't be sure that SD-Card is mounted.
http://gerrit.lud.stericsson.com/gerrit/#/c/82967/
On GOLDEN default configuration, it is not available to get boot-up (early beginning) trace log. For getting it, following steps are needed.
trace -l ON 100 30 trace -u OFF trace -t BUFFER trigger -m ON trigger -b AUTOSTART 1 trace -D SDCARD /sdcard/modem_trace
/// Power-on UE and getting trace log by MTC application (trace log is started by AUTOSTART 1) ///
[7] UE Idle
-> ModemTraceControl : Select 'Trigger Report' -> Check files generated properly My files > sdcard0 > modem_trace > ongoing > latest folder (date in file name)
G) W1303.4 OSK (STE) ============ (from CR 451550) If detail trace log is needed but not available to use FIDO box, then following option can be useful.
trace -T PROTOCOL_XML_TRACE_SET_DEFAULT_HAL_SEC : more SIM HAL and SECurity trace messages are added trace -T PROTOCOL_XML_TRACE_SET_DEFAULT_SHM trace -T PROTOCOL_XML_TRACE_SET_DEFAULT_RFHAL trace -T PROTOCOL_XML_TRACE_SET_DEFAULT T' option : more SHM trace messages are added : more RFHAL trace messages are added : less trace messages than not defining 'trace -
EXAMPLE based on default "trace_auto.conf". If you want to get more RFHAL information by *#9900# triggering, then...
trace -l ON 100 30 trace -u OFF trace -t BUFFER trigger -m ON trace -T PROTOCOL_XML_TRACE_SET_DEFAULT_RFHAL AUTOSTART 0 trace -D SDCARD /sdcard/modem_trace