View Single Post
Old 02-02-2021, 04:18 PM   #3
BerndB.
Junior Member
BerndB. began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2021
Device: Kindle PW2
Thank you for your support. I tried it out but it does not work. After reboot all old data are available.

Code:

Welcome to Kindle!



kindle login: HW


U-Boot 2009.08-lab126 (Sep 25 2019 - 00:37:32)

CPU: Freescale i.MX6 family TO0.0 at 996 MHz
Temperature:   30 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: 90172201424705AJ
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: 4138 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.263657] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
[    0.321979] pid_max: default: 32768 minimum: 301
[    0.326855] Mount-cache hash table entries: 512
[    0.331762] CPU: Testing write buffer coherency: ok
[    0.336789] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[    0.351719] print_constraints: dummy:
[    0.355670] NET: Registered protocol family 16
[    0.363904] print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal
[    0.371482] print_constraints: vddcore: 725 <--> 1300 mV at 1475 mV fast normal
[    0.379177] print_constraints: vddsoc: 725 <--> 1300 mV at 1475 mV fast normal
[    0.386844] print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
[    0.394574] print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
[    0.402250] print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
[    0.411147] LAB126 Board id - 02722011423615EW
[    0.419674] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.426515] hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
[    0.433849] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.439720] L310 cache controller enabled
[    0.443745] l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x02030000, Cache size: 262144 B
[    0.460007] bio: create slab <bio-0> at 0
[    0.467636] max77696> regulator init
[    0.472114] spi_imx imx6q-ecspi.0: probed
[    0.476695] usbcore: registered new interface driver usbfs
[    0.482303] usbcore: registered new interface driver hub
[    0.487806] usbcore: registered new device driver usb
[    0.494941] Reboot Reason - Standard Reporting
[    0.499416] kernel: I max77696-irq:evtrcrd: evt=RSTIN_PRSTRT: nRSTIN Partial Restart - likely watchdog
[    0.508745] Reboot Reason - Metric Framework Reporting
[    0.513902] kernel: kernel_metric_generic,counter,event_recorder,ercflags,RSTIN_PRSTRT,1,
[    0.522100] Reboot Reason - Legacy Metric Reporting
[    0.526991] boot: C def:rst:reset=watchdog
[    0.532689] MAX77696 TOPSYS 1.0.0 Installed
[    0.539546] max77696-gpio max77696-gpio.0: gpio#0 -- -- func-0 in
[    0.547044] max77696-gpio max77696-gpio.0: gpio#1 -- -- func--1 in
[    0.554786] max77696-gpio max77696-gpio.0: gpio#3 -- -- func-0 in
[    0.562837] MAX77696 GPIO Driver 1.0.0 Installed
[    0.568530] buck mode: 4
[    0.571845] buck mode: 4
[    0.575320] print_constraints: max77696_buck1: 900 <--> 1300 mV at 1250 mV fast normal idle standby
[    0.584921] buck mode: 4
[    0.588397] print_constraints: max77696_buck1dvs: 600 <--> 1300 mV at 900 mV fast normal idle standby
[    0.598203] buck mode: 4
[    0.601471] buck mode: 4
[    0.604944] print_constraints: max77696_buck2: 900 <--> 1300 mV at 1200 mV fast normal idle standby
[    0.614549] buck mode: 4
[    0.618025] print_constraints: max77696_buck2dvs: 600 <--> 1300 mV at 900 mV fast normal idle standby
[    0.627809] print_constraints: max77696_buck3: 600 <--> 3387 mV at 1300 mV fast normal idle standby
[    0.637598] buck mode: 4
[    0.640865] buck mode: 4
[    0.644131] print_constraints: max77696_buck4: 1200 mV fast normal idle standby
[    0.651977] buck mode: 4
[    0.655453] print_constraints: max77696_buck5: 600 <--> 3387 mV at 1800 mV fast normal idle standby
[    0.665068] buck mode: 4
[    0.668544] print_constraints: max77696_buck6: 600 <--> 3387 mV at 3200 mV fast normal idle standby
[    0.677651] MAX77696 Buck Regulators Driver 1.0.1 Installed
[    0.684010] print_constraints: max77696_ldo1: 800 <--> 3950 mV at 3300 mV normal idle standby
[    0.693137] print_constraints: max77696_ldo2: 800 <--> 3950 mV at 3000 mV normal idle standby
[    0.702222] print_constraints: max77696_ldo3: 800 <--> 3950 mV at 2500 mV normal idle standby
[    0.711336] print_constraints: max77696_ldo4: 800 <--> 2375 mV at 1800 mV normal idle standby
[    0.720402] print_constraints: max77696_ldo5: 800 <--> 2375 mV at 1800 mV normal idle standby
[    0.729519] print_constraints: max77696_ldo6: 800 <--> 3950 mV at 3200 mV normal idle standby
[    0.738602] print_constraints: max77696_ldo7: 800 <--> 3950 mV at 3200 mV normal idle standby
[    0.747715] print_constraints: max77696_ldo8: 800 <--> 2375 mV at 1100 mV normal idle standby
[    0.756783] print_constraints: max77696_ldo9: 800 <--> 2375 mV at 1100 mV normal idle standby
[    0.765906] print_constraints: max77696_ldo10: 2400 <--> 5550 mV at 5200 mV normal idle standby
[    0.775411] MAX77696 Linear Regulators Driver 1.0.2 Installed
[    0.781768] print_constraints: max77696_lsw1:
[    0.786582] print_constraints: max77696_lsw2:
[    0.791336] print_constraints: max77696_lsw3:
[    0.796074] print_constraints: max77696_lsw4:
[    0.800580] MAX77696 Load Switches Driver 1.0.0 Installed
[    0.807204] print_constraints: max77696-display:
[    0.812685] print_constraints: max77696-vcom:
[    0.817462] print_constraints: max77696-vee:
[    0.822186] print_constraints: max77696-vneg:
[    0.826967] print_constraints: max77696-vpos:
[    0.831723] print_constraints: max77696-vddh:
[    0.837212]
[    0.837216] EPD vreg probe complete!
[    0.842865] print_constraints: max77696_vddq: 240 <--> 984 mV at 600 mV
[    0.849645] MAX77696 LPDDR2 Termination Supply Driver 1.0.1 Installed
[    0.857378] MAX77696 I2C Driver 1.0.0 Installed
[    0.864444] i2c-core: driver [max17135] using legacy suspend method
[    0.870732] i2c-core: driver [max17135] using legacy resume method
[    0.876979] Switching to clocksource mxc_timer1
[    0.892074] NET: Registered protocol family 2
[    0.896532] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.903629] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.910800] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.917333] TCP: Hash tables configured (established 8192 bind 8192)
[    0.923711] TCP reno registered
[    0.926865] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.932727] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.939349] NET: Registered protocol family 1
[    0.944074] RPC: Registered named UNIX socket transport module.
[    0.950012] RPC: Registered udp transport module.
[    0.954751] RPC: Registered tcp transport module.
[    0.959467] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.970139] etb: probe of etb failed with error -2
[    0.975188] etm: probe of etm.0 failed with error -2
[    0.980424] Static Power Management for Freescale i.MX6
[    0.985689] wait mode is enabled for i.MX6
[    0.989973] cpaddr = d0820000 suspend_iram_base=d081c000
[    0.995362] PM driver module loaded
[    0.999116] IMX usb wakeup probe
[    1.002388] the wakeup pdata is 0xce1387c0
[    1.006827] IMX usb wakeup probe
[    1.010077] the wakeup pdata is 0xce1388c0
[    1.014387] cpu regulator mode:ldo_bypass
[    1.018611] _regulator_get: get() with no identifier
[    1.023605] mx6_cpu_regulator_init: failed to get pu regulator
[    1.029651] i.MXC CPU frequency driver
[    1.046533] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.053585] msgmni has been set to 497
[    1.057694] io scheduler noop registered
[    1.061731] io scheduler cfq registered (default)
[    1.066952] MAX77696 Backlight Driver 1.0.0 Installed
[    1.072806] imx-sdma imx-sdma: loaded firmware 1.1
[    1.082175] imx-sdma imx-sdma: initialized
[    1.257162] Serial: IMX driver
[    1.389311] console [ttymxc0] enabled, bootconsole disabled
[    1.389311] console [ttymxc0] enabled, bootconsole disabled
[    1.404817] loop: module loaded
[    1.408027] MAX77696 32kHz Oscillator Driver 1.0.0 Installed
[    1.414378] input: max77696-onkey as /devices/platform/imx-i2c.0/i2c-0/0-003c/max77696-onkey.0/input/input0
[    1.427577] MAX77696 ONKEY Driver 1.0.0 Installed
[    1.452927] max77696-rtc max77696-rtc.0: rtc core: registered max77696-rtc.0 as rtc0
[    1.472886] max77696-rtc max77696-rtc.0: rtc core: registered max77696-rtc.1 as rtc1
[    1.502195] MAX77696 RTC Driver 1.0.2 Installed
[    1.507606] snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc2
[    1.514337] i2c /dev entries driver
[    1.522190] max77696-battery max77696-battery.0: Voltage alert     3400mV ... 4260mV
[    1.530339] max77696-battery max77696-battery.0: SOC alert         (disabled)
[    1.538382] MAX77696 Fuel Gauge Driver 1.0.0 Installed
[    1.545251] MAX77696 USB Interface Circuit Driver 1.0.0 Installed
[    1.553060] max77696-adc max77696-adc.0: ADC average rate: 32 sample(s)
[    1.559680] max77696-adc max77696-adc.0: ADC delay: 0 nsec
[    1.565183] max77696-adc max77696-adc.0: ADC cur src: 50 uA
[    1.570761] MAX77696 ADC Driver 1.0.1 Installed
[    1.575970] imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
[    1.584392] sdhci: Secure Digital Host Controller Interface driver
[    1.590576] sdhci: Copyright(c) Pierre Ossman
[    1.595060] mmc0: no vmmc regulator found
[    1.600372] mmc0: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA
[    1.608509] mmc1: no vmmc regulator found
[    1.614903] mmc1: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
[    1.622654] Registered led device: max77696-leds.0
[    1.627455] MAX77696 LED Driver #0 1.0.0 Installed
[    1.636542] Registered led device: max77696-leds.1
[    1.641341] MAX77696 LED Driver #1 1.0.0 Installed
[    1.646661] nf_conntrack version 0.5.0 (3978 buckets, 15912 max)
[    1.655368] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.660740] TCP cubic registered
[    1.663999] NET: Registered protocol family 17
[    1.668459] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    1.676262] LPDDR2 MfgId: 0x1 [Samsung]
[    1.680405] Bus freq driver module loaded
[    1.686455] Bus freq driver Enabled
[    1.690934] mxc_dvfs_core_probe
[    1.698526] DVFS driver module loaded
[    1.721610] regulator_init_complete: max77696_ldo10: incomplete constraints, leaving on
[    1.736854] regulator_init_complete: max77696_ldo7: incomplete constraints, leaving on
[    1.754209] regulator_init_complete: max77696_ldo6: incomplete constraints, leaving on
[    1.769417] regulator_init_complete: max77696_buck6: incomplete constraints, leaving on
[    1.777646] regulator_init_complete: max77696_buck5: incomplete constraints, leaving on
[    1.786357] regulator_init_complete: max77696_buck2dvs: incomplete constraints, leaving on
[    1.795058] regulator_init_complete: max77696_buck1dvs: incomplete constraints, leaving on
[    1.804285] emmc: I def:mmcpartinfo:vendor=sandisk, host=mmc0:
[    1.822213] max77696-rtc max77696-rtc.0: setting system clock to 2021-02-02 19:33:52 UTC (1612294432)
[    1.851738] mmc0: new high speed DDR MMC card at address 0001
[    1.857890] mmcblk0: mmc0:0001 SEM04G 3.68 GiB
[    1.862639] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB
[    1.868689] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB
[    1.875658]  mmcblk0: p1 p2 p3 p4
[    1.881872]  mmcblk0boot1: unknown partition table
[    1.888933]  mmcblk0boot0: unknown partition table
[    1.898350] KERNEL: I pmic:charger chgina::charger connected
[    1.909257] MAX77696 Main Charger Driver 1.0.0 Installed
[    1.921889] MAX77696 Energy Harvester Driver 1.0.0 Installed

[    1.928441] Freeing init memory: 1036K
3.0.35-lab126 #1 Wed Apr 23 16:52:30 PDT 2014 armv7l
[    1.958630] INFO:Loaded module /lib/modules/mxc_epdc_eink.ko  (10304 bytes)
[    2.401556] add wake up source irq 104
[    3.531574] KERNEL: I pmic:fg battery id check::wario_battery_valid=1
[    4.727044] INFO:Loaded module /lib/modules/mxc_epdc_fb.ko  (83340 bytes)
[    5.122203] INFO:eink initialized... (786432 bytes)
Press [ENTER] for recovery menu..[    5.127804] INFO:!!! Checking MBR /dev/mmcblk0 !!!!
.       0 /[    5.136501] INFO:partition 2, start sector is 782336
[    5.141607] INFO:partition 3, start sector is 913408
[    5.146661] INFO:partition 4, start sector is 1044480
[    5.151799] INFO:maximizing partition 6688768 sectors
[    5.156897] INFO:*** Partition table verified for /dev/mmcblk0 ***
[    5.165234] ARC USBOTG Device Controller driver (1 August 2005)
[    5.171484] add wake up source irq 75
[    5.184440] USB Cable is already plugged in. Simulating event
[    5.193309] INFO:Loaded module /lib/modules/arcotg_udc.ko  (33320 bytes)
[    5.206322] g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
[    5.214483] g_file_storage gadget: Number of LUNs=1
[    5.219387] dr_controller_run: udc out low power mode
[    5.224482] fsl-usb2-udc: bind to driver g_file_storage
[    5.229912] INFO:Loaded module /lib/modules/g_file_storage.ko removable=1 vendor=0x1949 product=0x0004 release=0x0100 recovery_mode=1 (37756 bytes)
[    5.544548] g_file_storage gadget: high speed config #1
Charge: 94% [########################################################::]


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
Choose:    9 -

[    7.951556] INFO:Formatting userstore


[    7.955411] INFO:Loading original MBR from /dev/mmcblk0p4 ...
[    7.963089] INFO:maximizing partition 6688752 sectors
/dev/mmcblk0p4:[    7.968700] INFO:Writing out partition table to /dev/mmcblk0p4

CHS=4/16/104512 size=3424649216[    7.975466] INFO:Wrote MBR to /dev/mmcblk0p4
 bytes
flag type      first       last  lba first   lba size
Pa[    7.987364] INFO:Setup loop device /dev/loop0 for /dev/mmcblk0p4 + 8192
rtition p1:
0x00 0x0b         16[    7.995105] INFO:executing: /bin/mkdosfs -F 32 -s 16 -B 4 -P 1044480 -n Kindle -v /dev/loop0
 <large>            16    6688752
    CHS: 0/1/1 - <large>
Partition p2:
Partition p3:
Partition p4:
/dev/mmcblk0p4:
CHS=4/16/104512 size=3424649216 bytes
flag type      first       last  lba first   lba size
Partition p1:
0x00 0x0b         16 <large>            16    6688752
    CHS: 0/1/1 - <large>
Partition p2:
Partition p3:
Partition p4:
mkdosfs 2.11-lab126-klibc (28 Apr 2008)
Loop device does not match a floppy size, using default hd params
/dev/loop0 has 64 heads and 32 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 6688752 sectors;
file system has 2 32-bit FATs and 16 sectors per cluster.
FAT size is 3263 sectors, and provides 417639 clusters.
Volume ID is 6019a926, volume label Kindle     .

Syncing ...
Charge: 94% [########################################################::]


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
Choose:  10 /

Charge: 94% [########################################################::]
BerndB. is offline   Reply With Quote