
Oh, and I found another debug menu with a new number code but I can't remember it now, will have a look at it tomorrow. It has some USB debug stuff like remount an dmesg to USB... Nothing special...
Code: Select all
====================================
[ DEBUG MENU ]
------------------------------------
1. ReMount Usb device
2. dmesg > printk.txt
3. Copy corefile to USB
====================================
99. Exit
====================================
Code: Select all
...
umount /dtv/usb/$MOUNT_DIR
echo "umount /dtv/usb/$MOUNT_DIR"
mount -t vfat /dev/$MOUNT_DIR /dtv/usb/$MOUNT_DIR
echo "mount -t vfat /dev/$MOUNT_DIR /dtv/usb/$MOUNT_DIR"
Code: Select all
...
dmesg > /dtv/usb/$MOUNT_DIR/printk.txt
sync
cat /proc/kmsg > /dtv/usb/$MOUNT_DIR/kmsg.txt &
echo "dmesg > printk.txt"
sleep 2
sync
killall cat
sync
echo "sync"
Code: Select all
if [ -e /dtv/core* ]; then
cp /dtv/core* /dtv/usb/$MOUNT_DIR/core
echo "cp /dtv/core* /dtv/usb/$MOUNT_DIR/core"
sync
echo "sync"
else
echo "No Core_dump file"
exit
fi
Code: Select all
# ./flash_dump.cmd
OUTFILE_NAME > dump
+---------------------------------------------------------------------+
| fdump : Low-level Partition Dump Tool for NAND Flash Memory |
+---------------------------------------------------------------------+
You will dump Chip
=^^ PARTITION INFO ^^=========================================================
Signature = XSRPARTI
nVer = 0x00011000
Num of part entry = 16
part(0) nID=0x00000000 n1stVbn=000 nNumOfBlks=001 Attr=BML_PI_ATTR_RW
part(1) nID=0x00000001 n1stVbn=001 nNumOfBlks=004 Attr=BML_PI_ATTR_RW
part(2) nID=0x00000002 n1stVbn=005 nNumOfBlks=001 Attr=BML_PI_ATTR_RW
part(3) nID=0x00000003 n1stVbn=006 nNumOfBlks=001 Attr=BML_PI_ATTR_RW
part(4) nID=0x00000004 n1stVbn=007 nNumOfBlks=024 Attr=BML_PI_ATTR_RW
part(5) nID=0x00000005 n1stVbn=031 nNumOfBlks=032 Attr=BML_PI_ATTR_RW
part(6) nID=0x00000006 n1stVbn=063 nNumOfBlks=016 Attr=BML_PI_ATTR_RW
part(7) nID=0x00000008 n1stVbn=079 nNumOfBlks=135 Attr=BML_PI_ATTR_RW
part(8) nID=0x00000009 n1stVbn=214 nNumOfBlks=160 Attr=BML_PI_ATTR_RW
part(9) nID=0x0000000a n1stVbn=374 nNumOfBlks=135 Attr=BML_PI_ATTR_RW
part(10) nID=0x0000000b n1stVbn=509 nNumOfBlks=160 Attr=BML_PI_ATTR_RW
part(11) nID=0x0000000c n1stVbn=669 nNumOfBlks=104 Attr=BML_PI_ATTR_RW
part(12) nID=0x0000000d n1stVbn=773 nNumOfBlks=222 Attr=BML_PI_ATTR_RW
part(13) nID=0x0000000e n1stVbn=995 nNumOfBlks=001 Attr=BML_PI_ATTR_RW
part(14) nID=0x0000000f n1stVbn=996 nNumOfBlks=001 Attr=BML_PI_ATTR_RW
part(15) nID=0x00000010 n1stVbn=997 nNumOfBlks=001 Attr=BML_PI_ATTR_RW
===============================================================================
=^^ MODEL INFO ^^========
Signature : XSRPARTI
Size of szModelName : 24
Model Name = hlve
Version of Mode = 0001
==========================
100%
All of the flash memory blocks have been dumped successfully.
xsr_otp_CIP /dev/bml0/c /dtv/usb/sda1/dump.otp
chmod 777 /dtv/usb/sda1/dump.otp
#
Code: Select all
xsr_otp_CIP /dev/bml0/c /dtv/usb/sda1/dump.otp