Somehow I managed to flash diags partition and boot from it:
Code:
uboot > run bootargs_diags ; bootm 0xE41000
## Booting kernel from Legacy Image at 70800000 ...
Image Name: Linux-2.6.31-rt11-lab126
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5122560 Bytes = 4.9 MB
Load Address: 70008000
Entry Point: 70008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
mxc_spi mxc_spi.0: can't setup spi1.0, status -22
mxc_spi mxc_spi.2: chipselect 0 already in use
2.6.31-rt11-lab126 #1 Wed Nov 9 15:20:18 PST 2011 armv7l
INFO:Loaded module /lib/modules/eink_fb_waveform.ko (35504 bytes)
INFO:Loaded module /lib/modules/mxc_epdc_fb.ko default_panel_hw_init=1 default_update_mode=1 (43336 bytes)
INFO:eink initialized... (486400 bytes)
Press [ENTER] for recovery menu... 0 /INFO:*** Partition table verified for /dev/mmcblk0 ***
INFO:Checking for updates... (auto-pilot mode)
/dev/mmcblk0p4:
CHS=4/16/105536 size=3458203648 bytes
flag type first last lba first lba size
Partition p1:
0x00 0x0b <large> <large> 65536 6688768
CHS: <large>
- <large>
Partition p2:
Partition p3:
Partition p4:
INFO:Setup loop device /dev/loop0 for /dev/mmcblk0p4 + 33554432
INFO:No update*.bin found; no update needed.
INFO:no updates found.
BOOTING DEFAULT.
argc == 11
argv[0]: "kinit"
argv[1]: "consoleblank=0"
argv[2]: "rootwait"
argv[3]: "ro"
argv[4]: "ip=off"
argv[5]: "root=/dev/mmcblk0p2"
argv[6]: "quiet"
argv[7]: "user_debug=31"
argv[8]: "eink=fslepdc"
argv[9]: "video=mxcepdcfb:E60,bpp=8"
argv[10]: "console=ttymxc0,115200"
argc == 4
argv[0]: "IP-Config"
argv[1]: "-i"
argv[2]: "Linux kinit"
argv[3]: "ip=off"
IP-Config: no devices to configure
kinit: do_mounts
kinit: name_to_dev_t(/dev/mmcblk0p2) = dev(179,2)
kinit: root_dev = dev(179,2)
kinit: /dev/root appears to be a ext3 filesystem
kinit: trying to mount /dev/root on /root with type ext3
kinit: Mounted root (ext3 filesystem) readonly.
init started: BusyBox v1.17.1 (2011-11-09 15:05:40 PST)
starting pid 477, tty '': '/etc/init.d/rcS'
/etc/init.d/rcS: line 85: boot_milestone: not found
system: I rcS:def:starting /etc/rcS.d/S50diags
USER=root
prevlevel=N
HOME=/
runlevel=S
eink=fslepdc
TERM=vt102
PATH=/sbin:/bin:/usr/sbin:/usr/bin
SHELL=/bin/sh
PWD=/
VERBOSE=no
READ_AHEAD=4
USER=root
prevlevel=N
HOME=/
runlevel=S
eink=fslepdc
TERM=vt102
PATH=/sbin:/bin:/usr/sbin:/usr/bin
SHELL=/bin/sh
PWD=/
VERBOSE=no
IO_SCHED=anticipatory
USER=root
prevlevel=N
HOME=/
runlevel=S
eink=fslepdc
TERM=vt102
PATH=/sbin:/bin:/usr/sbin:/usr/bin
SHELL=/bin/sh
PWD=/
VERBOSE=no
TMP_SIZE=32M
info firsttime:mount_rw:time=3610:Mounting root RW for first boot
ln: /usr/share/fonts/X11/misc/cursor.pcf: No such file or directory
info firsttime:mount_ro:time=3640:Mounting root RO
elevator: type not found
info system:start:time=3710:
/etc/rcS.d/S50diags: line 462: f_proto: not found
info system:config:platform=yoshi,board=whitney,rev=38,proto=N,wifi=Y,wan=Y:
info system:done:time=3980:
info zforce:start:version=2.0b0r12:
/etc/rcS.d/S50diags: line 462: iptables-restore: not found
/opt/ar6k/include/dbglog.h.save: No such file or directory
info userstore:run:time=4910,action=start:
info userstore:found_bootup_flag::Found BOOTUP flag file
dosfsck 2.11 (12 Mar 2005)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Logical sector size is zero.
FAT: bogus number of reserved sectors
mount: wrong fs type, bad option, bad superblock on /dev/loop/0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
system: E mntus:def:partition mount failed (32)
info userstore:create_us::creating userstore filesystem
1+0 records in
1+0 records out
64 bytes (64B) copied, 0.002921 seconds, 21.4KB/s
BLKRRPART: Invalid argument
Disk /dev/mmcblk0p4: 105536 cylinders, 4 heads, 16 sectors/track
Old situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/mmcblk0p4p1 65536 6754303 6688768 b W95 FAT32
/dev/mmcblk0p4p2 0 - 0 0 Empty
/dev/mmcblk0p4p3 0 - 0 0 Empty
/dev/mmcblk0p4p4 0 - 0 0 Empty
New situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/mmcblk0p4p1 16 6754303 6754288 b W95 FAT32
/dev/mmcblk0p4p2 0 - 0 0 Empty
/dev/mmcblk0p4p3 0 - 0 0 Empty
/dev/mmcblk0p4p4 0 - 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
BLKRRPART: Invalid argument
mkfs.vfat 2.11 (12 Mar 2005)
Loop device does not match a floppy size, using default hd params
/dev/loop/0 has 64 heads and 32 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 6754288 sectors;
file system has 2 32-bit FATs and 16 sectors per cluster.
FAT size is 3295 sectors, and provides 421729 clusters.
Volume ID is 0000c9fe, volume label Kindle .
info userstore:create_default::creating userstore system and documents directories I
/mnt/base-us/system hsd
/etc/rcS.d/S50diags: line 13: /usr/local/sbin/dropbear: not found
mounting waveform filesystem
umounting waveform filesystem
info display:started:time=12430:
/etc/upstart/battery-diags: line 91: f_proto: not found
info battery:charged:cap=100,mV=4177,mAH=1408:
USER=root
prevlevel=N
OLDPWD=/
HOME=/
runlevel=S
eink=fslepdc
TERM=vt102
PATH=/sbin:/bin:/usr/sbin:/usr/bin
SHELL=/bin/sh
PWD=/dev
VERBOSE=no
LD_LIBRARY_PATH=/usr/lib/tts/speech/components/common/:/usr/lib/tts
No state is present for card imxyoshi
Unknown hardware: "WM8962" "" "" "" ""
Hardware is initialized using a guess method
/etc/rcS.d/S50diags: line 13: audioServer: not found
/etc/rcS.d/S50diags: line 13: kb: not found
diags : /opt/factory/rootfs_md5_list not found.
Sending: mkdir -p /mnt/base-us/diagnostic_logs/
PostMode len = 6 of 16
Ignoring PostMode
GlobalHalImpl: found DeviceType: 18
found: zforce
Sending cmd: modprobe mx50_yoshi_mma8453
input: mma8453 as /devices/virtual/i2c-adapter/i2c-0/0-001c/input/input5
check mma8453 chip ID
mma8453 0-001c: build time Nov 9 2011 15:18:29
add mma8453 i2c driver
Sending cmd: modprobe mx50_proximity
FATAL: Module mx50_proximity not found.
found: whitney_button
Input driver version is 1.0.0
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "WM8962 Beep Generator"
Supported events:
Input driver version is 1.0.0
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "imx-yoshi Headset"
Supported events:
Input driver version is 1.0.0
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "whitney-button"
Supported events:
Input driver version is 1.0.0
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "zforce"
Supported events:
Input driver version is 1.0.0
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "mxckpd"
Supported events:
Input driver version is 1.0.0
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "mma8453"
Supported events:
failed to open /dev/input/event6
failed to open /dev/input/event7
Ignoring PostMode
1000
1000
system_diags[MainTest] 1 INFO : Start test
WHITNEY - System Diags
~~~~~~ 1.0.6.217 ~~~ -1098617976 ~~~~~~~~~~~~
~ S ~ Device Setting
O) Operator test suite
R) Run in Test
G) Gas Gauge
E) 511
T) Power Test
B) Audio Test
H) Adjust battery
M) MoviNand
N) Misc individual diagnostics
Y) ART 11g factory test
U) USB device mode
D) Exit, Reboot or Disable Diags
K) Lock to HOME button
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
X) Exit
Entering U I was able to upload bin backup. Then via D and L got login prompt. root password I got from
Code:
http://members.ping.de/~sven/kindle.html
You need the whole string, with all 4 characters after fiona. And finally I rewrote mmcblk0p1 with dd using my backup.
IT WORKS!!! Thank you geekmaster and yifanlu. I'll write what I've found on wiki.