My C7700 (T-VALDEUC-3011.0) is in a reboot loop. It reboots every 6.5 seconds. UART debug log is attached.
Reason (i guess):
The hash of /dev/st10/17 (/mtd_exe) is wrong and thus TV refuses to boot completely. As i didn't disable the watchdog in service menu the TV came in this ***** reboot loop.
How it happened:
I tried to play around with exeDSP and waned to test my modified version. So i looked for a way to replace the original one with mine and found /mtd_exe/rc.local. But as /mtd_exe was mounted read-only, i did the following:
# cp /etc/fstab /mtd_rwarea/etc/
# mount --bind /mtd_rwarea/etc/fstab /etc/fstab
added this line to /etc/fstab via vi:/dev/st10/17 /mtd_exe/ rfs defaults 0 0
# mount -no remount,rw /mtd_exe/
added this line to /mtd_exe/rc.local via vi:echo HEDAK
so /mtd_exe/rc.local looked like this:
Code: Select all
export MAPLE_DEFAULT_PATH=/mtd_cmmlib/InfoLink/lib export MAPLE_MANAGER_WIDGET_PATH=/mtd_down/widgets/manager export MAPLE_NORMAL_WIDGET_PATH=/mtd_down/widgets/normal export MAPLE_WIDGET_DATA_PATH=/mtd_down export MAPLE_WIDGET_INCLUDE_PATH=/mtd_down/widgets/inc export MAPLE_PLUGIN_DATA_PATH=/mtd_cmmlib/InfoLink/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib/YWidget_LIB:/mtd_contents:/m export HOME=/mtd_moip export KF_SLEEP_READ=-2 echo 30000 > /mtd_rwarea/DelayValue.txt #touch /mtd_rwarea/DoPrintYahoo.txt export KF_NO_INTERACTIVE=1 export KF_LOG=/dev/null #Remove engine logging. export KF_DATA_DIR=/mtd_yahoo/yahoo export KF_THREAD_PRIORITY=20 export KF_NO_LOG=1 export KF_NO_CRASHHANDLERS=1 export KF_HF_WRITE_PATH=/mtd_rwarea/yahoo cd /mtd_exe/ ./exeDSP echo HEDAK
With exLink cable and UART in debug mode i have 4 seconds to do something, but i cannot enter TDM (anymore; before i could), i can just enter 'new debug menu' mentioned here: viewtopic.php?f=2&t=289&start=20#p2371
When plugging in an usb stick the TV tries to mount the stick, but this doesn't come to an end because the TV reboots...
The boot log is attached. The very last line of the log comes up only very rarely and looks like something from here: viewtopic.php?f=12&t=987&start=30
I think the only way to unbrick my TV is to disable the watchdog first, right? I already opened a thread for researching C Series EEPROM here: viewtopic.php?f=15&t=7117&p=53761
Any help/suggestions are very appreciated
Edit1: Maybe its not the watchdog annoying me. May it be what is trying to be prevent here in step 9: http://wiki.samygo.tv/index.php5/Recove ... repare_USB?
Edit2: Ok, i slept one more night about the problem: As stated in my other post i use hterm for COM terminal application. This application records timestamps of incoming data. In /etc/rc.local the script /mtd_exe/rc.local (i modified...) tries to be started, which then would run exeDSP forever and otherwise /mtd_exe/rc.local returns and prints 'SW image is stopped..' - exactly what i get. As you can see on the timestamps below, there is 'no' time spent between 'Application is started..' and 'SW image is stopped..'. So i think my /mtd_exe/rc.local is the main problem. Either its content is corrupted or (i guess) its flags are not set to be executable anymore after copying the 'corrected' file from usb stick (formatted fat32).
Code: Select all
# # run exeDSP # if [ -f /mtd_exe/exeDSP ]; then echo "Application is started.." /mtd_exe/rc.local else echo "Application executable is not found.." fi ##executable stopped. try to handle emergency state### if [ -e $UPGRADE_FLAG ]; then echo "SW image is stopped.." exit 1 else
Code: Select all
11:51:42.351: A 11:51:42.351: pplication i 11:51:42.352: s started. 11:51:42.353: . SW 11:51:42.354: image is sto 11:51:42.357: pped..