My PW2 worked fine until I trieded to copy some new books with Calibre. During the copy process the USB connection was interrupted because of a bad connector. The new books were visible on the Kindle but the reader was not able to open them. Also some other menue items brings some errors.
I decided to do a fatory reset by the kindle menue. After reboot every the file structure and the behavior was same as before. Including the Wifi setup.
I opened the Kindle and connected the serial port as seen in some tutorials. I Installed necessary driver and tools to get connected. I tried the following things:
I copied some images via fastboot to the Kindle. I saw that the data are transferd an written. After reboot nothing has changed.
I logged in as root and did some changes on the file system like mkdir. But after reboot is everthing gone.
The following show a part of the boot process:
Code:
U-Boot 2009.08-lab126 (Sep 25 2019 - 00:37:32)
CPU: Freescale i.MX6 family TO0.0 at 996 MHz
Temperature: 31 C, calibration data 0x5514da5f
mx6sl pll1: 996MHz
mx6sl pll2: 528MHz
mx6sl pll3: 480MHz
mx6sl pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 198000000Hz
emi_slow clock: 22000000Hz
ddr clock : 396000000Hz
usdhc1 clock : 198000000Hz
usdhc2 clock : 198000000Hz
usdhc3 clock : 198000000Hz
usdhc4 clock : 198000000Hz
MMC: FSL_ESDHC: 0,FSL_ESDHC: 1,FSL_ESDHC: 2
Board: Pinot WFO
Boot Reason: [ POR ]
Boot Device: NAND
Board Id: 02722011423615EW
S/N: 9017XXXXXXXXXXXX
I2C: ready
DRAM: 256 MB
Using default environment
In: serial
Out: serial
Err: serial
Quick Memory Test 0x80000000, 0xfff0000
POST done in 57 ms
Battery voltage: 4078 mV
Hit any key to stop autoboot: 0
uboot >
uboot > bootm 0xE41000
## Booting kernel from Legacy Image at 80800000 ...
Image Name: Linux-3.0.35-lab126
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2420504 Bytes = 2.3 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.000000] Linux version 3.0.35-lab126 (jenkins-official@sjc10-jbuild10) (collect2: ld returned 1 exit status) #1 Wed Apr 23 16:52:30 PDT 2014
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Freescale i.MX 6SoloLite based Wario Board
[ 0.000000] Ignoring unrecognised tag 0x54410011
[ 0.000000] Will try to place printk log at 8fffc000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] CPU identified as i.MX6SoloLite, silicon rev 1.2
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat c04dcc94, node_mem_map c2000000
[ 0.000000] DMA zone: 64 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 8128 pages, LIFO batch:0
[ 0.000000] Normal zone: 448 pages used for memmap
[ 0.000000] Normal zone: 56896 pages, LIFO batch:15
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: rootwait log_pos_goal=0x8fffc000 console=ttymxc0,115200 root=/dev/mmcblk0p2 ro ip=off debug video=mxcepdcfb:E60,bpp=8,x_mem=3M
[ 0.000000] Prink buffer will be relocated to physical address: 8fff2000
[ 0.000000] log_buf_len: 32768
[ 0.000000] early log buf free: 31286(95%)
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 254652k/254652k available, 7492k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xfde00000 - 0xffe00000 ( 32 MB)
[ 0.000000] vmalloc : 0xd0800000 - 0xf2000000 ( 536 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc010b000 (1036 kB)
[ 0.000000] .text : 0xc010b000 - 0xc04aa000 (3708 kB)
[ 0.000000] .data : 0xc04aa000 - 0xc04dd7c0 ( 206 kB)
[ 0.000000] .bss : 0xc04dd7e4 - 0xc0504540 ( 156 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:624
[ 0.000000] MXC GPIO hardware
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] arm_max_freq=1GHz
[ 0.000000] MXC_Early serial console at MMIO 0x2020000 (options '115200')
[ 0.000000] bootconsole [ttymxc0] enabled
[ 0.000000] Console: colour dummy device 80x30
[ 0.263660] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
[ 0.321984] pid_max: default: 32768 minimum: 301
[ 0.326867] Mount-cache hash table entries: 512
[ 0.331777] CPU: Testing write buffer coherency: ok
[ 0.336805] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[ 0.351754] print_constraints: dummy:
[ 0.355705] NET: Registered protocol family 16
[ 0.363949] print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal
[ 0.371533] print_constraints: vddcore: 725 <--> 1300 mV at 1475 mV fast normal
[ 0.379230] print_constraints: vddsoc: 725 <--> 1300 mV at 1475 mV fast normal
[ 0.386893] print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
[ 0.394621] print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
[ 0.402298] print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
[ 0.411186] LAB126 Board id - 02722011423615EW
[ 0.419708] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.426549] hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
[ 0.433883] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.439755] L310 cache controller enabled
[ 0.443780] l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x02030000, Cache size: 262144 B
[ 0.460050] bio: create slab <bio-0> at 0
[ 0.467671] max77696> regulator init
[ 0.472147] spi_imx imx6q-ecspi.0: probed
[ 0.476729] usbcore: registered new interface driver usbfs
[ 0.482339] usbcore: registered new interface driver hub
[ 0.487845] usbcore: registered new device driver usb
[ 0.494989] Reboot Reason - Standard Reporting
[ 0.499464] kernel: I max77696-irq:evtrcrd: evt=RSTIN_PRSTRT: nRSTIN Partial Restart - likely watchdog
[ 0.508794] Reboot Reason - Metric Framework Reporting
[ 0.513952] kernel: kernel_metric_generic,counter,event_recorder,ercflags,RSTIN_PRSTRT,1,
[ 0.522149] Reboot Reason - Legacy Metric Reporting
[ 0.527041] boot: C def:rst:reset=watchdog
[ 0.532742] MAX77696 TOPSYS 1.0.0 Installed
[ 0.539599] max77696-gpio max77696-gpio.0: gpio#0 -- -- func-0 in
[ 0.547097] max77696-gpio max77696-gpio.0: gpio#1 -- -- func--1 in
[ 0.554840] max77696-gpio max77696-gpio.0: gpio#3 -- -- func-0 in
[ 0.562891] MAX77696 GPIO Driver 1.0.0 Installed
[ 0.568586] buck mode: 4
[ 0.571898] buck mode: 4
[ 0.575373] print_constraints: max77696_buck1: 900 <--> 1300 mV at 1250 mV fast normal idle standby
[ 0.584983] buck mode: 4
[ 0.588458] print_constraints: max77696_buck1dvs: 600 <--> 1300 mV at 900 mV fast normal idle standby
[ 0.598258] buck mode: 4
[ 0.601527] buck mode: 4
[ 0.604998] print_constraints: max77696_buck2: 900 <--> 1300 mV at 1200 mV fast normal idle standby
[ 0.614605] buck mode: 4
[ 0.618081] print_constraints: max77696_buck2dvs: 600 <--> 1300 mV at 900 mV fast normal idle standby
[ 0.627868] print_constraints: max77696_buck3: 600 <--> 3387 mV at 1300 mV fast normal idle standby
[ 0.637654] buck mode: 4
[ 0.640920] buck mode: 4
[ 0.644185] print_constraints: max77696_buck4: 1200 mV fast normal idle standby
[ 0.652043] buck mode: 4
[ 0.655518] print_constraints: max77696_buck5: 600 <--> 3387 mV at 1800 mV fast normal idle standby
[ 0.665136] buck mode: 4
[ 0.668610] print_constraints: max77696_buck6: 600 <--> 3387 mV at 3200 mV fast normal idle standby
[ 0.677720] MAX77696 Buck Regulators Driver 1.0.1 Installed
[ 0.684087] print_constraints: max77696_ldo1: 800 <--> 3950 mV at 3300 mV normal idle standby
[ 0.693216] print_constraints: max77696_ldo2: 800 <--> 3950 mV at 3000 mV normal idle standby
[ 0.702306] print_constraints: max77696_ldo3: 800 <--> 3950 mV at 2500 mV normal idle standby
[ 0.711426] print_constraints: max77696_ldo4: 800 <--> 2375 mV at 1800 mV normal idle standby
[ 0.720493] print_constraints: max77696_ldo5: 800 <--> 2375 mV at 1800 mV normal idle standby
[ 0.729610] print_constraints: max77696_ldo6: 800 <--> 3950 mV at 3200 mV normal idle standby
[ 0.738691] print_constraints: max77696_ldo7: 800 <--> 3950 mV at 3200 mV normal idle standby
[ 0.747801] print_constraints: max77696_ldo8: 800 <--> 2375 mV at 1100 mV normal idle standby
[ 0.756867] print_constraints: max77696_ldo9: 800 <--> 2375 mV at 1100 mV normal idle standby
[ 0.765998] print_constraints: max77696_ldo10: 2400 <--> 5550 mV at 5200 mV normal idle standby
[ 0.775497] MAX77696 Linear Regulators Driver 1.0.2 Installed
[ 0.781854] print_constraints: max77696_lsw1:
[ 0.786673] print_constraints: max77696_lsw2:
[ 0.791434] print_constraints: max77696_lsw3:
[ 0.796174] print_constraints: max77696_lsw4:
[ 0.800680] MAX77696 Load Switches Driver 1.0.0 Installed
[ 0.807299] print_constraints: max77696-display:
[ 0.812777] print_constraints: max77696-vcom:
[ 0.817554] print_constraints: max77696-vee:
[ 0.822278] print_constraints: max77696-vneg:
[ 0.827060] print_constraints: max77696-vpos:
[ 0.831816] print_constraints: max77696-vddh:
[ 0.837302]
[ 0.837305] EPD vreg probe complete!
[ 0.842948] print_constraints: max77696_vddq: 240 <--> 984 mV at 600 mV
[ 0.849727] MAX77696 LPDDR2 Termination Supply Driver 1.0.1 Installed
[ 0.857453] MAX77696 I2C Driver 1.0.0 Installed
[ 0.864536] i2c-core: driver [max17135] using legacy suspend method
[ 0.870822] i2c-core: driver [max17135] using legacy resume method
[ 0.877068] Switching to clocksource mxc_timer1
[ 0.892144] NET: Registered protocol family 2
[ 0.896603] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.903703] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.910883] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.917416] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.923793] TCP reno registered
[ 0.926946] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.932808] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.939431] NET: Registered protocol family 1
[ 0.944161] RPC: Registered named UNIX socket transport module.
[ 0.950099] RPC: Registered udp transport module.
[ 0.954835] RPC: Registered tcp transport module.
[ 0.959551] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.970227] etb: probe of etb failed with error -2
[ 0.975273] etm: probe of etm.0 failed with error -2
[ 0.980511] Static Power Management for Freescale i.MX6
[ 0.985774] wait mode is enabled for i.MX6
[ 0.990057] cpaddr = d0820000 suspend_iram_base=d081c000
[ 0.995446] PM driver module loaded
[ 0.999202] IMX usb wakeup probe
[ 1.002474] the wakeup pdata is 0xce1387c0
[ 1.006919] IMX usb wakeup probe
[ 1.010168] the wakeup pdata is 0xce1388c0
[ 1.014485] cpu regulator mode:ldo_bypass
[ 1.018706] _regulator_get: get() with no identifier
[ 1.023699] mx6_cpu_regulator_init: failed to get pu regulator
[ 1.029744] i.MXC CPU frequency driver
[ 1.046710] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.053768] msgmni has been set to 497
[ 1.057882] io scheduler noop registered
[ 1.061922] io scheduler cfq registered (default)
[ 1.067136] MAX77696 Backlight Driver 1.0.0 Installed
[ 1.072987] imx-sdma imx-sdma: loaded firmware 1.1
[ 1.082366] imx-sdma imx-sdma: initialized
[ 1.256565] Serial: IMX driver
[ 1.388713] console [ttymxc0] enabled, bootconsole disabled
[ 1.388713] console [ttymxc0] enabled, bootconsole disabled
[ 1.404208] loop: module loaded
[ 1.407419] MAX77696 32kHz Oscillator Driver 1.0.0 Installed
[ 1.413749] input: max77696-onkey as /devices/platform/imx-i2c.0/i2c-0/0-003c/max77696-onkey.0/input/input0
[ 1.426936] MAX77696 ONKEY Driver 1.0.0 Installed
[ 1.453014] max77696-rtc max77696-rtc.0: rtc core: registered max77696-rtc.0 as rtc0
[ 1.472966] max77696-rtc max77696-rtc.0: rtc core: registered max77696-rtc.1 as rtc1
[ 1.502283] MAX77696 RTC Driver 1.0.2 Installed
[ 1.507691] snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc2
[ 1.514421] i2c /dev entries driver
[ 1.522281] max77696-battery max77696-battery.0: Voltage alert 3400mV ... 4260mV
[ 1.530431] max77696-battery max77696-battery.0: SOC alert (disabled)
[ 1.538482] MAX77696 Fuel Gauge Driver 1.0.0 Installed
[ 1.545358] MAX77696 USB Interface Circuit Driver 1.0.0 Installed
[ 1.553170] max77696-adc max77696-adc.0: ADC average rate: 32 sample(s)
[ 1.559792] max77696-adc max77696-adc.0: ADC delay: 0 nsec
[ 1.565295] max77696-adc max77696-adc.0: ADC cur src: 50 uA
[ 1.570872] MAX77696 ADC Driver 1.0.1 Installed
[ 1.576079] imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
[ 1.584500] sdhci: Secure Digital Host Controller Interface driver
[ 1.590684] sdhci: Copyright(c) Pierre Ossman
[ 1.595171] mmc0: no vmmc regulator found
[ 1.600486] mmc0: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA
[ 1.608622] mmc1: no vmmc regulator found
[ 1.615030] mmc1: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
[ 1.622792] Registered led device: max77696-leds.0
[ 1.627593] MAX77696 LED Driver #0 1.0.0 Installed
[ 1.636678] Registered led device: max77696-leds.1
[ 1.641476] MAX77696 LED Driver #1 1.0.0 Installed
[ 1.646801] nf_conntrack version 0.5.0 (3978 buckets, 15912 max)
[ 1.655511] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.660884] TCP cubic registered
[ 1.664140] NET: Registered protocol family 17
[ 1.668601] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 1.676408] LPDDR2 MfgId: 0x1 [Samsung]
[ 1.680558] Bus freq driver module loaded
[ 1.686607] Bus freq driver Enabled
[ 1.691088] mxc_dvfs_core_probe
[ 1.698682] DVFS driver module loaded
[ 1.721762] regulator_init_complete: max77696_ldo10: incomplete constraints, leaving on
[ 1.737076] regulator_init_complete: max77696_ldo7: incomplete constraints, leaving on
[ 1.754443] regulator_init_complete: max77696_ldo6: incomplete constraints, leaving on
[ 1.769646] regulator_init_complete: max77696_buck6: incomplete constraints, leaving on
[ 1.777875] regulator_init_complete: max77696_buck5: incomplete constraints, leaving on
[ 1.786586] regulator_init_complete: max77696_buck2dvs: incomplete constraints, leaving on
[ 1.795288] regulator_init_complete: max77696_buck1dvs: incomplete constraints, leaving on
[ 1.804514] emmc: I def:mmcpartinfo:vendor=sandisk, host=mmc0:
[ 1.822299] max77696-rtc max77696-rtc.0: setting system clock to 2021-01-31 09:38:39 UTC (1612085919)
[ 1.851829] mmc0: new high speed DDR MMC card at address 0001
[ 1.857985] mmcblk0: mmc0:0001 SEM04G 3.68 GiB
[ 1.862737] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB
[ 1.868782] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB
[ 1.875750] mmcblk0: p1 p2 p3 p4
[ 1.881989] mmcblk0boot1: unknown partition table
[ 1.889128] mmcblk0boot0: unknown partition table
[ 1.898394] KERNEL: I pmic:charger chgina::charger connected
[ 1.909305] MAX77696 Main Charger Driver 1.0.0 Installed
[ 1.921903] MAX77696 Energy Harvester Driver 1.0.0 Installed
[ 1.928457] Freeing init memory: 1036K
3.0.35-lab126 #1 Wed Apr 23 16:52:30 PDT 2014 armv7l
[ 1.958672] INFO:Loaded module /lib/modules/mxc_epdc_eink.ko (10304 bytes)
[ 2.391647] add wake up source irq 104
[ 3.531663] KERNEL: I pmic:fg battery id check::wario_battery_valid=1
[ 4.668415] INFO:Loaded module /lib/modules/mxc_epdc_fb.ko (83340 bytes)
[ 5.004591] INFO:eink initialized... (786432 bytes)
Press [ENTER] for recovery menu..[ 5.010200] INFO:!!! Checking MBR /dev/mmcblk0 !!!!
. 0 /[ 5.018892] INFO:partition 2, start sector is 782336
[ 5.024001] INFO:partition 3, start sector is 913408
[ 5.029049] INFO:partition 4, start sector is 1044480
[ 5.034186] INFO:maximizing partition 6688768 sectors
[ 5.039282] INFO:*** Partition table verified for /dev/mmcblk0 ***
[ 5.047610] ARC USBOTG Device Controller driver (1 August 2005)
[ 5.053908] add wake up source irq 75
[ 5.066836] USB Cable is already plugged in. Simulating event
[ 5.075783] INFO:Loaded module /lib/modules/arcotg_udc.ko (33320 bytes)
[ 5.088770] g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
[ 5.096936] g_file_storage gadget: Number of LUNs=1
[ 5.101857] dr_controller_run: udc out low power mode
[ 5.106936] fsl-usb2-udc: bind to driver g_file_storage
[ 5.112380] INFO:Loaded module /lib/modules/g_file_storage.ko removable=1 vendor=0x1949 product=0x0004 release=0x0100 recovery_mode=1 (37756 bytes)
[ 5.431822] g_file_storage gadget: high speed config #1
Charge: 89% [#####################################################:::::]
Menu
====
3. Load MMC0 over USB storage
4. Erase MMC0
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using update*.bin file on FAT partition
M. Update using update*.bin file on FAT partition of second MMC port
D. dmesg / kernel printk ring buffer.
Q. quit
It looks like the partion table of the MMC is distroyed but the device is still booting
Code:
[ 1.851829] mmc0: new high speed DDR MMC card at address 0001
[ 1.857985] mmcblk0: mmc0:0001 SEM04G 3.68 GiB
[ 1.862737] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB
[ 1.868782] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB
[ 1.875750] mmcblk0: p1 p2 p3 p4
[ 1.881989] mmcblk0boot1: unknown partition table
[ 1.889128] mmcblk0boot0: unknown partition table
Also fdisk reported partition problems on /dev/mmcblk0boot0
Code:
[root@kindle root]# fdisk -l
Disk /dev/mmcblk0: 3959 MB, 3959422976 bytes
4 heads, 16 sectors/track, 120832 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 1025 12224 358400 83 Linux
/dev/mmcblk0p2 12225 14272 65536 83 Linux
/dev/mmcblk0p3 14273 16320 65536 83 Linux
/dev/mmcblk0p4 16321 120832 3344384 b Win95 FAT32
Disk /dev/mmcblk0boot0: 2 MB, 2097152 bytes
4 heads, 16 sectors/track, 64 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/mmcblk0boot0 doesn't contain a valid partition table
Any Idea what was happend and how to fix it. I need some help
Bernd