Unable to bringup IMX7sabresd with EMMC

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to bringup IMX7sabresd with EMMC

1,495 Views
janardhanreddy
Contributor I

HI,

I was trying to boot the imx7 board with EMMC by following the below steps but unable to flash with mfg tool and not selecting the EMMC as default boot device.

Step1: Downloaded the pre-built images from the NXP site 

Package name:"android_O8.0.0_1.0.0_image_7dsabresd1.tar

Step2: Downloaded the flash tool package(L4.9.11_1.0.0-ga_mfg-tools.tar) 

Step3: Copied the required images inside the flash tool package

path: /Profile/Linux/OS Firmware/files/android/"images"

Step4: Connected the EMMC chip to the board and Ran the MFG tool 

Note: the device is connected and we are able to see the device in the list to flash from MFG tool

Step5: Start flashing from MFG tool but flash is not finishing and we are getting the errors.

Note: Modified the cfg file to select the MMC2

error logs:

U-Boot 2017.03-imx_v2017.03_4.9.11_1.0.0_ga+ga2fea67 (Sep 17 2017 - 14:41:37 -0500)

CPU: Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 35C
Reset cause: POR
Model: Freescale i.MX7D SabreSD Board
Board: i.MX7D SABRESD RevA in secure mode
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1
MMC: no card present
mmc_init: -123, time 2
*** Warning - MMC init failed, using default environment

Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
MMC: no card present
mmc_init: -123, time 2
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000 [PRIME]
Warning: ethernet@30bf0000 using MAC address from ROM
, eth1: ethernet@30bf0000
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
Hit any key to stop autoboot: 0
Kernel image @ 0x80800000 [ 0x000000 - 0x5bd9c8 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8594034 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300e745

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.9.11+ (bamboo@yb4) (gcc version 6.2.0 (GCC) ) #1 SMP PREEMPT Sun Sep 17 14:25:24 CDT 2017
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: Freescale i.MX7 SabreSD Board
Reserved memory: created CMA memory pool at 0xac000000, size 320 MiB
OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
percpu: Embedded 14 pages/cpu @ab71b000 s25740 r8192 d23412 u57344
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber= clk_ignore_unused
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 690504K/1048576K available (7168K kernel code, 330K rwdata, 2624K rodata, 1024K init, 441K bss, 30392K reserved, 327680K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc0800000 - 0xff800000 (1008 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80800000 (8160 kB)
.init : 0x80b00000 - 0x80c00000 (1024 kB)
.data : 0x80c00000 - 0x80c52820 ( 331 kB)
.bss : 0x80c54000 - 0x80cc26dc ( 442 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
arm_arch_timer: Architected cp15 timer(s) running at 8.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
Switching to timer-based delay loop, resolution 125ns
Ignoring duplicate/late registration of read_current_timer delay
clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=80000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: update cpu_capacity 1024
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80100000 - 0x80100070
CPU1: update cpu_capacity 1024
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (32.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
DDR type is DDR3!
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl driver
imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
MU is ready for cross core communication!
mxs-dma 33000000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
30800000.aips-bus:usbphynop1 supply vcc not found, using dummy regulator
30800000.aips-bus:usbphynop2 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA, using PIO instead.
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA, using PIO instead.
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: can't use DMA, using PIO instead.
i2c i2c-3: IMX I2C adapter registered
i2c i2c-3: can't use DMA, using PIO instead.
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx rpmsg driver is registered.
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arch_sys_counter
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 8396K (83800000 - 84033000)
Bus freq driver module loaded
futex hash table entries: 512 (order: 3, 32768 bytes)
workingset: timestamp_bits=30 max_order=18 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
fuse init (API version 7.26)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
backlight supply power not found, using dummy regulator
imx-sdma 30bd0000.sdma: no iram assigned, using external mem
imx-sdma 30bd0000.sdma: loaded firmware 4.2
pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1
pfuze100-regulator 0-0008: FAB: 0, FIN: 0
pfuze100-regulator 0-0008: pfuze3000 found.
30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 52, base_baud = 1500000) is a IMX
console [ttymxc0] enabled
30a70000.serial: ttymxc4 at MMIO 0x30a70000 (irq = 60, base_baud = 5000000) is a IMX
30a80000.serial: ttymxc5 at MMIO 0x30a80000 (irq = 61, base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
spi_imx 30840000.ecspi: dma setup error -19, use pio
spi_imx 30840000.ecspi: probed
libphy: Fixed MDIO Bus: probed
30be0000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
libphy: fec_enet_mii_bus: probed
fec 30be0000.ethernet eth0: registered PHC device 0
30bf0000.ethernet supply phy not found, using dummy regulator
pps pps1: new PPS source ptp1
fec 30bf0000.ethernet eth1: registered PHC device 1
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
30b10200.usbmisc supply vbus-wakeup not found, using dummy regulator
30b30200.usbmisc supply vbus-wakeup not found, using dummy regulator
30b20200.usbmisc supply vbus-wakeup not found, using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Mass Storage Function, version: 2009/09/11
LUN: removable file: (no medium)
LUN: removable file: (no medium)
Number of LUNs=1
g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
g_mass_storage gadget: g_mass_storage ready
mousedev: PS/2 mouse device common for all mice
input: 30370000.snvs:snvs-powerkey as /devices/soc0/soc/30000000.aips-bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
snvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered 30370000.snvs:snvs- as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
pxp-v4l2 pxp_v4l2_out: initialized
imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc-imx 30b40000.usdhc: Got CD GPIO
sdhci-esdhc-imx 30b40000.usdhc: Got WP GPIO
g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage
mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
sdhci-esdhc-imx 30b50000.usdhc: assigned as wifi host
mmc1: SDHCI controller on 30b50000.usdhc [30b50000.usdhc] using ADMA
random: fast init done
mmc2: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
clk: Not disabling unused clocks
usb_otg1_vbus: disabling
can2-3v3: disabling
vref-1v8: disabling
VDD_SD1: disabling
wlreg_on: disabling
VLDO2: disabling
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 1024K (80b00000 - 80c00000)
mmc2: new HS400 MMC card at address 0001
mmcblk2: mmc2:0001 DG4016 14.7 GiB
Mass Storage Function, version: 2009/09/11
mmcblk2boot0: mmc2:0001 DG4016 partition 1 4.00 MiB
LUN: removable file: (no medium)
mmcblk2boot1: mmc2:0001 DG4016 partition 2 4.00 MiB
mmcblk2rpmb: mmc2:0001 DG4016 partition 3 4.00 MiB
MFG tool will use 1st udc:ci_hdrc.0
/linuxrc: line 37: echo: write error: Device or resource busy
Starting UTP
uuc 0.5 [built Sep 15 2017 15:12:19]
UTP: Waiting for device to appear
UTP: file/device node /dev/utp already exists
cpu_id is 0
UTP: received command '$ sleep 1 '
UTP: executing "sleep 1 "
UTP: sending Success to kernel for command $ sleep 1 .
utp_poll: pass returned.
UTP: received command 'send'
UTP: sending Success to kernel for command send.
UTP: received command '$ tar xf $FILE '
UTP: executing "tar xf $FILE "
UTP: sending Success to kernel for command $ tar xf $FILE .
utp_poll: pass returned.
UTP: received command '$ sh mksdcard.sh /dev/mmcblk2'
UTP: executing "sh mksdcard.sh /dev/mmcblk2"
1+0 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00518375 s, 198 kB/s
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -84 transferring data, sector 2048, nr 8, cmd response 0x900, card status 0x0
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -84 transferring data, sector 2048, nr 8, cmd response 0x900, card status 0x0
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 2053, nr 3, cmd response 0x900, card status 0x0
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -84 transferring data, sector 56, nr 8, cmd response 0x900, card status 0x0
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -84 transferring data, sector 56, nr 8, cmd response 0x900, card status 0x0
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 59, nr 5, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 63, nr 1, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 128, nr 144, cmd response 0x900, card status 0xb00
mmcblk2: error -84 transferring data, sector 128, nr 144, cmd response 0x900, card status 0xb00
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 129, nr 143, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 129, nr 143, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 129
mmcblk2: error -84 transferring data, sector 133, nr 139, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 133, nr 139, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 133
mmcblk2: error -84 transferring data, sector 137, nr 135, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 142, nr 130, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 144, nr 128, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 145, nr 127, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 149, nr 123, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 149, nr 123, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 149
mmcblk2: error -84 transferring data, sector 150, nr 122, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 150
mmcblk2: error -84 transferring data, sector 164, nr 108, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 172, nr 100, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 172, nr 100, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 172
mmcblk2: error -84 transferring data, sector 176, nr 96, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 179, nr 93, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 181, nr 91, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 181, nr 91, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 181
mmcblk2: error -84 transferring data, sector 187, nr 85, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 187, nr 85, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 187
mmcblk2: error -84 transferring data, sector 189, nr 83, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 189, nr 83, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 189
mmcblk2: error -84 transferring data, sector 192, nr 80, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 192, nr 80, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 192
mmcblk2: error -84 transferring data, sector 193, nr 79, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 193
mmcblk2: error -84 transferring data, sector 213, nr 59, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 213, nr 59, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 217, nr 55, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 218, nr 54, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 218, nr 54, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 221, nr 51, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 221, nr 51, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 228, nr 44, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 228, nr 44, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 240, nr 32, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 240, nr 32, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 247, nr 25, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 248, nr 24, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 248, nr 24, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 260, nr 12, cmd response 0x900, card status 0x0
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -84 transferring data, sector 64, nr 56, cmd response 0x900, card status 0xb00
mmcblk2: error -84 transferring data, sector 64, nr 56, cmd response 0x900, card status 0xb00
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 73, nr 47, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 73, nr 47, cmd response 0x900, card status 0x0
blk_update_request: 6 callbacks suppressed
blk_update_request: I/O error, dev mmcblk2, sector 73
mmcblk2: error -84 transferring data, sector 91, nr 29, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 91, nr 29, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 91
mmcblk2: error -84 transferring data, sector 101, nr 19, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 101, nr 19, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 101
mmcblk2: error -84 transferring data, sector 108, nr 12, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 108, nr 12, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 108
mmcblk2: error -84 transferring data, sector 109, nr 11, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 109
mmcblk2: error -84 transferring data, sector 32, nr 24, cmd response 0x900, card status 0xb00
mmcblk2: error -84 transferring data, sector 32, nr 24, cmd response 0x900, card status 0xb00
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 40, nr 16, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 40, nr 16, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 40
mmcblk2: error -84 transferring data, sector 41, nr 15, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 41
mmcblk2: error -84 transferring data, sector 48, nr 8, cmd response 0x900, card status 0x0
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -84 transferring data, sector 48, nr 8, cmd response 0x900, card status 0xb00
mmcblk2: error -84 transferring data, sector 48, nr 8, cmd response 0x900, card status 0xb00
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 48, nr 8, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 48
Buffer I/O error on dev mmcblk2, logical block 6, async page read
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -84 transferring data, sector 128, nr 8, cmd response 0x900, card status 0xb00
mmcblk2: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2: error -84 transferring data, sector 128, nr 8, cmd response 0x900, card status 0x0
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 129, nr 7, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 129, nr 7, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 129
mmcblk2: error -84 transferring data, sector 133, nr 3, cmd response 0x900, card status 0x0
Buffer I/O error on dev mmcblk2, logical block 16, async page read
sfdisk: cannot open /dev/mmcblk2: Input/output error
UTP: sending Non-success to kernel for command $ sh mksdcard.sh /dev/mmcblk2.
utp_poll: exit with status 256

Can any one share your suggestions to boot the device using emmc

Labels (2)
0 Kudos
4 Replies

439 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi janardhan

usually mfg tool is started clicking on appropriate *.vbs file for associated

board, for example for i.MX6Q Sabre SD - mfgtool2-android-mx6q-sabresd-emmc.vbs.

There is no such script for i.MX7D Sabre SD, one can create it using above as example

and add appropriate record to ucl2.xml: <LIST name="eMMC-...

Pay attention to differencies in parameters (emmc on i.MX6Q Sabre SD is SD4, on

i.MX7D Sabre SD - SD3) "soc=6q","mmc=3" - they should be changed for i.MX7D

case to "soc=7d","mmc=2".

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

439 Views
janardhanreddy
Contributor I

hi Igor,

We tried to flash the image by manual steps using dd commands.

now the kernel is loading but the system partition is not mounting to load android.

please find the logs below:


U-Boot 2017.03 (Mar 21 2018 - 12:34:17 +0530)

CPU: Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 27C
Reset cause: POR
Model: Freescale i.MX7D SabreSD Board
Board: i.MX7D SABRESD RevA in secure mode
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

No panel detected: default to TFT43AB
Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
flash target is MMC:1
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000 [PRIME]
Warning: ethernet@30bf0000 using MAC address from ROM
, eth1: ethernet@30bf0000
Fastboot: Normal
Hit any key to stop autoboot: 0
boota mmc1
kernel @ 82808000 (9965912)
ramdisk @ 83800000 (2073433)
fdt @ 83700000 (48398)
## Booting Android Image at 0x80800000 ...
Kernel load addr 0x82808000 size 9733 KiB
Kernel command line: console=ttymxc0,115200 init=/init androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale buildvariant=eng androidboot.serialno=000001b70ea400d3 androidboot.soc_type=imx7d androidboot.storage_type=emmc
## Flattened Device Tree blob at 83700000
Booting using the fdt blob at 0x83700000
Loading Kernel Image ... OK
Using Device Tree in place at 83700000, end 8370ed0d

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.9.17-04736-ga88711e (fasil@fasil-host) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Mar 21 12:01:10 IST 2018
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: Freescale i.MX7D SabreSD Board
Reserved memory: created CMA memory pool at 0x9c000000, size 320 MiB
OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
percpu: Embedded 15 pages/cpu @db718000 s31040 r8192 d22208 u61440
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608
Kernel command line: console=ttymxc0,115200 init=/init androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale buildvariant=eng androidboot.serialno=000001b70ea400d3 androidboot.soc_type=imx7d androidboot.storage_type=emmc
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 687712K/1048576K available (13312K kernel code, 1121K rwdata, 4280K rodata, 1024K init, 612K bss, 33184K reserved, 327680K cma-reserved, 262144K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0e00000 (14304 kB)
.init : 0xc1300000 - 0xc1400000 (1024 kB)
.data : 0xc1400000 - 0xc1518718 (1122 kB)
.bss : 0xc1518718 - 0xc15b18a0 ( 613 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
arm_arch_timer: Architected cp15 timer(s) running at 8.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
Switching to timer-based delay loop, resolution 125ns
Ignoring duplicate/late registration of read_current_timer delay
clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=80000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux: Initializing.
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: update cpu_capacity 1024
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80100000 - 0x80100058
CPU1: update cpu_capacity 1024
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (32.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
CPU1: update max cpu_capacity 1024
devtmpfs: initialized
CPU1: update max cpu_capacity 1024
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
DDR type is DDR3!
irq: no irq domain found for /soc/aips-bus@30000000/gpio@30200000 !
irq: no irq domain found for /soc/aips-bus@30000000/gpio@30200000 !
irq: no irq domain found for /soc/aips-bus@30000000/gpio@30200000 !
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl driver
imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
MU is ready for cross core communication!
mxs-dma 33000000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
30800000.aips-bus:usbphynop1 supply vcc not found, using dummy regulator
30800000.aips-bus:usbphynop2 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA, using PIO instead.
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA, using PIO instead.
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: can't use DMA, using PIO instead.
i2c i2c-3: IMX I2C adapter registered
i2c i2c-3: can't use DMA, using PIO instead.
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
MIPI CSI2 driver module loaded
imx rpmsg driver is registered.
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.22
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource arch_sys_counter
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 2028K (c3800000 - c39fb000)
Bus freq driver module loaded
bt power gpio is:119
rfkill: BT RF going to : on
mxc_bt_rfkill_reset
mxc_bt_rfkill driver success loaded
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.580:1): initialized
workingset: timestamp_bits=30 max_order=18 bucket_order=0
Registering sdcardfs 0.1
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
ntfs: driver 2.1.32 [Flags: R/W DEBUG].
jffs2: version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
fuse init (API version 7.26)
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
backlight supply power not found, using dummy regulator
sii902x 2-0039: No reset pin found
imx-sdma 30bd0000.sdma: no iram assigned, using external mem
imx-sdma 30bd0000.sdma: loaded firmware 4.2
pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1
pfuze100-regulator 0-0008: FAB: 0, FIN: 0
pfuze100-regulator 0-0008: pfuze3000 found.
30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 52, base_baud = 1500000) is a IMX
console [ttymxc0] enabled
30a70000.serial: ttymxc4 at MMIO 0x30a70000 (irq = 60, base_baud = 5000000) is a IMX
30a80000.serial: ttymxc5 at MMIO 0x30a80000 (irq = 61, base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
zram: Added device: zram0
input: fxos8700 as /devices/soc0/soc/30800000.aips-bus/30a30000.i2c/i2c-1/1-001e/input/input0
fxos8700 device driver probe successfullyinput: fxas2100x as /devices/soc0/soc/30800000.aips-bus/30a30000.i2c/i2c-1/1-0020/input/input1
fxas2100x 1-0020: fxas2100x device driver probe successfully
spi_gpio spi4: gpio-miso property not found, switching to no-rx mode
spi_imx 30840000.ecspi: dma setup error -19, use pio
spi_imx 30840000.ecspi: probed
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
CAN device driver interface
flexcan 30a10000.can: device registered (reg_base=f9a10000, irq=55)
30be0000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
libphy: fec_enet_mii_bus: probed
fec 30be0000.ethernet eth0: registered PHC device 0
30bf0000.ethernet supply phy not found, using dummy regulator
pps pps1: new PPS source ptp1
fec 30bf0000.ethernet eth1: registered PHC device 1
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new interface driver kaweth
pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
usbcore: registered new interface driver rtl8150
usbcore: registered new interface driver r8152
usbcore: registered new interface driver asix
usbcore: registered new interface driver ax88179_178a
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_eem
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver option
usbserial: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver usbtest
usbcore: registered new interface driver usb_ehset_test
30b10200.usbmisc supply vbus-wakeup not found, using dummy regulator
30b30200.usbmisc supply vbus-wakeup not found, using dummy regulator
30b20200.usbmisc supply vbus-wakeup not found, using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.9.17-04736-ga88711e ehci_hcd
usb usb1: SerialNumber: ci_hdrc.1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
input: 30370000.snvs:snvs-powerkey as /devices/soc0/soc/30000000.aips-bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input2
usbcore: registered new interface driver xpad
usbcore: registered new interface driver usb_acecad
usbcore: registered new interface driver aiptek
usbcore: registered new interface driver gtco
usbcore: registered new interface driver hanwang
usbcore: registered new interface driver kbtab
spi2.0 supply vcc not found, using dummy regulator
ads7846 spi2.0: touchscreen, irq 143
input: ADS7846 Touchscreen as /devices/soc0/soc/30800000.aips-bus/30840000.ecspi/spi_master/spi2/spi2.0/input/input3
read mpl3115 chip id 0xc4
input: mpl3115 as /devices/virtual/input/input4
mpl3115 device driver probe successfullysnvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered 30370000.snvs:snvs- as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
pxp-v4l2 pxp_v4l2_out: initialized
mxc_mipi-csi 30750000.mipi-csi: mipi csi v4l2 device registered
CSI: Registered sensor subdevice: mxc_mipi-csi.0
mxc_mipi-csi 30750000.mipi-csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 240000000
ov5640_mipi 3-003c: no pin available
ov5640_mipi 3-003c: no sensor reset pin available
3-003c supply DOVDD not found, using dummy regulator
3-003c supply DVDD not found, using dummy regulator
ov5640_read_reg:write reg error:reg=300a
camera ov5640_mipi is not found
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Bluetooth: HCI UART protocol BCSP registered
Bluetooth: HCI UART protocol ATH3K registered
usbcore: registered new interface driver btusb
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc-imx 30b40000.usdhc: Got CD GPIO
sdhci-esdhc-imx 30b40000.usdhc: Got WP GPIO
mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
sdhci-esdhc-imx 30b50000.usdhc: assigned as wifi host
mmc1: SDHCI controller on 30b50000.usdhc [30b50000.usdhc] using ADMA
mmc2: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using ADMA
caam 30900000.caam: ERA source: CCBVID.
caam 30900000.caam: Instantiated RNG4 SH1
caam 30900000.caam: device ID = 0x0a16030000000000 (Era 8)
caam 30900000.caam: job rings = 3, qi = 0
mmc2: new HS400 MMC card at address 0001
mmcblk2: mmc2:0001 DF4032 29.1 GiB
mmcblk2boot0: mmc2:0001 DF4032 partition 1 4.00 MiB
mmcblk2boot1: mmc2:0001 DF4032 partition 2 4.00 MiB
mmcblk2rpmb: mmc2:0001 DF4032 partition 3 4.00 MiB
random: fast init done
mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
caam algorithms registered in /proc/crypto
caam_jr 30901000.jr0: registering rng-caam
caam 30900000.caam: caam pkc algorithms registered in /proc/crypto
platform caam_sm: blkkey_ex: 8 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] 72 c6 17 a6 f5 ce 3b c7
platform caam_sm: [0008] 4f 56 4b 84 ff f5 4f 38
platform caam_sm: 128-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: 128-bit black key:
platform caam_sm: [0000] d2 40 19 db 1c 2e e6 7d
platform caam_sm: [0008] 2f 96 cf 6d f6 41 12 3c
platform caam_sm: 192-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: 192-bit black key:
platform caam_sm: [0000] 03 ff 8e 9b 86 81 76 39
platform caam_sm: [0008] e9 b4 0d 8c 41 b3 fc 19
platform caam_sm: [0016] 55 38 78 e7 37 00 fe 29
platform caam_sm: [0024] 8e 34 2f 2f e6 10 2f 9e
platform caam_sm: 256-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
platform caam_sm: 256-bit black key:
platform caam_sm: [0000] 41 cf 2e cf d3 55 e6 2f
platform caam_sm: [0008] 22 c0 fa f3 0e f4 a3 eb
platform caam_sm: [0016] 2c ff df df b1 a6 e8 e5
platform caam_sm: [0024] 43 a1 11 02 15 82 9b 29
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] c7 54 a1 05 a4 7c 7b ff
platform caam_sm: [0008] 22 ad dc b7 76 e3 0e bc
platform caam_sm: [0016] 9a 35 3c 93 79 7e 00 04
platform caam_sm: [0024] d1 49 07 19 33 fa 6d 12
platform caam_sm: [0032] 00 66 52 db 7b 0d 92 4d
platform caam_sm: [0040] e2 be 64 a5 27 4f ac c0
platform caam_sm: [0048] 6a d2 24 cf 6e 72 9d af
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit black key in blob:
platform caam_sm: [0000] 58 0c bf 20 fc 84 bf cc
platform caam_sm: [0008] ed 07 2e 48 85 41 48 a4
platform caam_sm: [0016] 11 7c 98 e0 7b a2 36 73
platform caam_sm: [0024] 1c 43 c8 ec 1b 92 d0 fa
platform caam_sm: [0032] 32 56 92 b0 0c e3 c4 be
platform caam_sm: [0040] d1 bc 4f 7a 40 07 c2 9f
platform caam_sm: [0048] 1b 25 4a 72 3b ea a9 e5
platform caam_sm: [0056] e4 73 d7 b0 6b 4e 52 f1
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 192-bit black key in blob:
platform caam_sm: [0000] cd 16 88 c4 6f 7a 98 af
platform caam_sm: [0008] 74 07 e8 24 f8 80 5e e3
platform caam_sm: [0016] 15 a4 84 17 c8 9f d8 76
platform caam_sm: [0024] b9 12 89 f6 1b f4 c5 df
platform caam_sm: [0032] 6e fc 39 1e 30 77 a4 f6
platform caam_sm: [0040] 5b 94 e6 60 ec 5a 41 61
platform caam_sm: [0048] 13 08 7b c8 87 f2 09 e2
platform caam_sm: [0056] 26 f4 ae 39 82 42 5e 5a
platform caam_sm: [0064] 3c df e9 3d 10 fa 10 dc
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit black key in blob:
platform caam_sm: [0000] a0 b9 8f 5e 97 98 31 3f
platform caam_sm: [0008] 1b c2 c9 4d 5e fc 71 1c
platform caam_sm: [0016] 64 77 a9 d9 b7 04 0a 21
platform caam_sm: [0024] e7 39 3c 45 5b bb 0e 66
platform caam_sm: [0032] e1 b8 88 db 2f a1 26 e3
platform caam_sm: [0040] 96 2a 03 d7 5a c8 8c 3d
platform caam_sm: [0048] 1e 84 c7 e7 8c a8 e6 d7
platform caam_sm: [0056] 78 ec 42 d7 64 56 a5 b2
platform caam_sm: [0064] 57 30 f5 de 38 7f e2 19
platform caam_sm: [0072] ef fb c1 71 d1 dc c2 e8
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] bc a6 98 58 71 98 6d 1c
platform caam_sm: [0008] 5e 57 b3 9a e1 b4 80 7a
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] d2 40 19 db 1c 2e e6 7d
platform caam_sm: [0008] 2f 96 cf 6d f6 41 12 3c
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] 03 ff 8e 9b 86 81 76 39
platform caam_sm: [0008] e9 b4 0d 8c 41 b3 fc 19
platform caam_sm: [0016] 09 14 08 2d 1c fe 54 99
platform caam_sm: [0024] 72 9a 5b 3d 7a 81 a6 56
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] 41 cf 2e cf d3 55 e6 2f
platform caam_sm: [0008] 22 c0 fa f3 0e f4 a3 eb
platform caam_sm: [0016] 2c ff df df b1 a6 e8 e5
platform caam_sm: [0024] 43 a1 11 02 15 82 9b 29
snvs-secvio 30370000.caam-snvs: can't get snvs clock
snvs-secvio 30370000.caam-snvs: violation handlers armed - non-secure state
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ion_parse_dt_heap_common: id 0 type 4 name cma align 1000
ion_parse_dt_heap_common: id 1 type 1 name sys-contig align 1000
ion_parse_dt_heap_common: id 2 type 0 name system align 1000
ashmem: initialized
usbcore: registered new interface driver snd-usb-audio
imx-wm8960 sound: wm8960-hifi <-> 308a0000.sai mapping ok
imx-sii902x sound-hdmi: snd-soc-dummy-dai <-> 308c0000.sai mapping ok
NET: Registered protocol family 26
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: arp_tables: (C) 2002 David S. Miller
Initializing XFRM netlink socket
NET: Registered protocol family 10
mip6: Mobile IPv6
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20161123 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
cpu cpu0: dev_pm_opp_get_opp_count: OPP table not found (-19)
registered taskstats version 1
30730000.lcdif supply lcd not found, using dummy regulator
mxsfb 30730000.lcdif: failed to find mxc display driver
Console: switching to colour frame buffer device 60x34
mxsfb 30730000.lcdif: initialized
imx_thermal 30000000.aips-bus:tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C
dhd_module_init in
Power-up adapter 'DHD generic adapter'
wifi_platform_bus_enumerate device present 1
mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
mmc1: queuing unknown CIS tuple 0x80 (6 bytes)
mmc1: new ultra high speed SDR104 SDIO card at address 0001
F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x0
DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
wifi_platform_get_mac_addr
wl_create_event_handler(): thread:wl_event_handler:cb started
dhd_attach(): thread:dhd_watchdog_thread:cc started
dhd_attach(): thread:dhd_dpc:cd started
dhd_deferred_work_init: work queue initialized
Dongle Host Driver, version 1.141.100.6 (r)
Compiled in drivers/net/wireless/bcmdhd
Register interface [wlan0] MAC: 00:90:4c:11:22:33

wl_destroy_event_handler(): thread:wl_event_handler:cb terminated OK
dhd_prot_ioctl : bus is down. we have nothing to do
input: gpio-keys as /devices/soc0/gpio-keys/input/input6
snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:08 UTC (8)
usb_otg1_vbus: disabling
can2-3v3: disabling
VDD_SD1: disabling
wlreg_on: disabling
VLDO2: disabling
ALSA device list:
#0: wm8960-audio
#1: sii902x-audio
Freeing unused kernel memory: 1024K (c1300000 - c1400000)
init: init first stage started!
init: First stage mount skipped (missing/incompatible fstab in device tree)
init: Skipped setting INIT_AVB_VERSION (not in recovery mode)
init: Loading SELinux policy
SELinux: Permission validate_trans in class security not defined in policy.
SELinux: the above unknown classes and permissions will be denied
audit: type=1403 audit(8.660:2): policy loaded auid=4294967295 ses=4294967295
selinux: SELinux: Loaded policy from /sepolicy

audit: type=1404 audit(8.680:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
selinux: SELinux: Loaded file_contexts

init: init second stage started!
selinux: SELinux: Loaded file_contexts

selinux: SELinux: Loaded property_contexts from /plat_property_contexts & /nonplat_property_contexts.

init: Running restorecon...
selinux: SELinux: Could not stat /dev/block: No such file or directory.

init: waitpid failed: No child processes
init: Couldn't load property file: Unable to open '/system/etc/prop.default': No such file or directory: No such file or directory
init: Couldn't load property file: Unable to open '/prop.default': No such file or directory: No such file or directory
init: Couldn't load property file: Unable to open '/odm/default.prop': No such file or directory: No such file or directory
init: Couldn't load property file: Unable to open '/vendor/default.prop': No such file or directory: No such file or directory
ueventd: ueventd started!
ueventd: Parsing file /ueventd.rc...
ueventd: Parsing file /vendor/ueventd.rc...
ueventd: Unable to open '/vendor/ueventd.rc': No such file or directory
ueventd: Parsing file /odm/ueventd.rc...
ueventd: Unable to open '/odm/ueventd.rc': No such file or directory
ueventd: Parsing file /ueventd.freescale.rc...
selinux: SELinux: Loaded file_contexts

selinux: SELinux: Loaded file_contexts

ueventd: Coldboot took 0.260336 seconds
keychord: using input dev 30370000.snvs:snvs-powerkey for fevent
keychord: using input dev gpio-keys for fevent
Console: switching to colour dummy device 80x30
init: [libfs_mgr]Not running /system/bin/tune2fs on /dev/block/by-name/system (executable not in system image)
init: [libfs_mgr]__mount(source=/dev/block/by-name/system,target=/system,type=ext4)=-1
init: [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/by-name/system (executable not in system image)
init: [libfs_mgr]__mount(source=/dev/block/by-name/system,target=/system,type=ext4)=-1
init: [libfs_mgr]Failed to mount an un-encryptable or wiped partition on /dev/block/by-name/system at /system options: barrier=1: No such file or directory
init: [libfs_mgr]Not running /system/bin/tune2fs on /dev/block/by-name/userdata (executable not in system image)
init: [libfs_mgr]__mount(source=/dev/block/by-name/userdata,target=/data,type=ext4)=-1
init: [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/by-name/userdata (executable not in system image)
init: [libfs_mgr]__mount(source=/dev/block/by-name/userdata,target=/data,type=ext4)=-1
init: [libfs_mgr]fs_mgr_mount_all(): possibly an encryptable blkdev /dev/block/by-name/userdata for mount /data type ext4
random: crng init done
init: [libfs_mgr]Not running /system/bin/tune2fs on /dev/block/by-name/cache (executable not in system image)
init: [libfs_mgr]__mount(source=/dev/block/by-name/cache,target=/cache,type=ext4)=-1
init: [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/by-name/cache (executable not in system image)
init: [libfs_mgr]__mount(source=/dev/block/by-name/cache,target=/cache,type=ext4)=-1
init: [libfs_mgr]Failed to mount an un-encryptable or wiped partition on /dev/block/by-name/cache at /cache options: nomblk_io_submit: No such file or directory
init: [libfs_mgr]Not running /system/bin/tune2fs on /dev/block/by-name/vendor (executable not in system image)
init: [libfs_mgr]__mount(source=/dev/block/by-name/vendor,target=/vendor,type=ext4)=-1
init: [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/by-name/vendor (executable not in system image)
init: [libfs_mgr]__mount(source=/dev/block/by-name/vendor,target=/vendor,type=ext4)=-1
init: [libfs_mgr]Failed to mount an un-encryptable or wiped partition on /dev/block/by-name/vendor at /vendor options: barrier=1: No such file or directory
init: fs_mgr_mount_all returned an error: No such file or directory
init: Parsing file /system/etc/init...
init: Unable to open '/system/etc/init': No such file or directory
init: Parsing file /vendor/etc/init...
init: Unable to open '/vendor/etc/init': No such file or directory
file system registered
using random self ethernet address
using random host ethernet address
zram0: detected capacity change from 0 to 314572800
mkswap: executing /system/bin/mkswap failed: No such file or directory
mkswap: mkswap terminated by exit(255)

Unable to find swap-space signature
rfkill: BT RF going to : off
audit: type=1400 audit(88.630:4): avc: granted { read } for pid=1 comm="init" name="ttymxc0" dev="tmpfs" ino=6922 scontext=u:r:init:s0 tcontext=u:object_r:tty_device:s0 tclass=chr_file
audit: type=1400 audit(88.650:5): avc: granted { read open } for pid=1 comm="init" path="/dev/ttymxc0" dev="tmpfs" ino=6922 scontext=u:r:init:s0 tcontext=u:object_r:tty_device:s0 tclass=chr_file
read descriptors
read strings

0 Kudos

439 Views
janardhanreddy
Contributor I

Hi Igor,

Thanks for the inputs, we tried the changes with script but still facing the same issues in flashing. and we are unable to write the data into mmcblk2boot0 and mmcblk2 partitions as well

please find the attached log file:

g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage
mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
sdhci-esdhc-imx 30b50000.usdhc: assigned as wifi host
random: fast init done
mmc1: SDHCI controller on 30b50000.usdhc [30b50000.usdhc] using ADMA
mmc2: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
clk: Not disabling unused clocks
usb_otg1_vbus: disabling
can2-3v3: disabling
vref-1v8: disabling
VDD_SD1: disabling
wlreg_on: disabling
VLDO2: disabling
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 1024K (80b00000 - 80c00000)
Mass Storage Function, version: 2009/09/11
LUN: removable file: (no medium)
MFG tool will use 1st udc:ci_hdrc.0
/linuxrc: line 37: echo: write error: Device or resource busy
Starting UTP
uuc 0.5 [built Sep 15 2017 15:12:19]
UTP: Waiting for device to appear
UTP: file/device node /dev/utp already eximmc2: new HS400 MMC card at address 0001
sts
cpu_id is 0
UTP: received cmmcblk2: mmc2:0001 DF4016 14.7 GiB
ommand '$ while [ ! -e /dev/mmcblk2 ]; do sleep 1; echo waiting...; done '
UTP: executing "while [ ! -e /dev/mmcblk2 ]; do sleepmmcblk2boot0: mmc2:0001 DF4016 partition 1 4.00 MiB
1; echo waiting...; done "
mmcblk2boot1: mmc2:0001 DF4016 partition 2 4.00 MiB
mmcblk2rpmb: mmc2:0001 DF4016 partition 3 4.00 MiB
mmcblk2: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 p12 > p4
waiting...
UTP: sending Success to kernel for command $ while [ ! -e /dev/mmcblk2 ]; do sleep 1; echo waiting...; done .
utp_poll: pass returned.
UTP: received command 'send'
UTP: sending Success to kernel for command send.
UTP: received command '$ dd if=$FILE of=/dev/mmcblk2'
UTP: executing "dd if=$FILE of=/dev/mmcblk2"
67+0 records in
67+0 records out
34304 bytes (34 kB, 34 KiB) copied, 0.0112155 s, 3.1 MB/s
UTP: sending Success to kernel for command $ dd if=$FILE of=/dev/mmcblk2.
utp_poll: pass returned.
UTP: received command '$ hdparm -z /dev/mmcblk2'
UTP: executing "hdparm -z /dev/mmcblk2"

/dev/mmcblk2:
re-reading partition table
Alternate GPT is invalid, using primary GPT.
mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
UTP: sending Success to kernel for command $ hdparm -z /dev/mmcblk2.
utp_poll: pass returned.
UTP: received command '$ gdisk -l /dev/mmcblk2 '
UTP: executing "gdisk -l /dev/mmcblk2 "
GPT fdisk (gdisk) version 1.0.1

Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Disk /dev/mmcblk2: 30777344 sectors, 14.7 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 66F1465C-FB75-4A66-89FD-8952941B41B1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 14680030
Partitions will be aligned on 2048-sector boundaries
Total free space is 24509 sectors (12.0 MiB)

Number Start (sector) End (sector) Size Code Name
1 16384 81919 32.0 MiB FFFF boot
2 81920 147455 32.0 MiB 8300 recovery
3 147456 3293183 1.5 GiB FFFF system
4 3293184 4341759 512.0 MiB FFFF cache
5 4341760 4349951 4.0 MiB FFFF misc
6 4349952 4354047 2.0 MiB FFFF datafooter
7 4354048 4358143 2.0 MiB FFFF metadata
8 4358144 4360191 1024.0 KiB FFFF presistdata
9 4362240 4591615 112.0 MiB FFFF vendor
10 4591616 14671871 4.8 GiB FFFF userdata
11 14671872 14673919 1024.0 KiB 0700 fbmisc
UTP: sending Success to kernel for command $ gdisk -l /dev/mmcblk2 .
utp_poll: pass returned.
UTP: received command '$ echo -e 'r\ne\nY\nw\nY\nY' | gdisk /dev/mmcblk2'
UTP: executing "echo -e 'r\ne\nY\nw\nY\nY' | gdisk /dev/mmcblk2"
GPT fdisk (gdisk) version 1.0.1

Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT,mmcblk2: error -84 transferring data, sector 96, nr 128, cmd response 0x900, card status 0xb00
but disk
verification and recovery are STRONGLY recommended.
****************************************************************************

Command (? for help):
Recovery/transformation command (? for help): Warning! This will probably do weird things if you've converted an MBR to
GPT form and haven't yet saved the GPT! Proceed? (Y/N):
Recovery/transformation command (? for help): Warning! Secondary header is placed too early on the disk! Do you want to
correct this problem? (Y/N): Have moved second header and partition table to correct location.

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/mmcblk2.
Unable to save backup partition table! Perhaps the 'e' option on the experts'
menu will resolve this problem.
Warning! An error was reported when writing the partition table! This error
MIGHT be harmless, or the disk might be damaged! Checking it is advisable.

Recovery/transformation command (? for help): UTP: sending Non-success to kernel for command $ echo -e 'r\ne\nY\nw\nY\nY' | gdisk /dev/mmcblk2.
utp_poll: exit with status 1280
^[[B^[[B^[[B^[[BUTP: received command '$ echo -e 'r\ne\nY\nw\nY\nY' | gdisk /dev/mmcblk2'
UTP: executing "echo -e 'r\ne\nY\nw\nY\nY' | gdisk /dev/mmcblk2"
GPT fdisk (gdisk) version 1.0.1

Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged

****************************************************************************
Caution: Found protective or hybridmmcblk2: error -84 transferring data, sector 96, nr 128, cmd response 0x900, card status 0xb00
MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
mmcblk2: error -84 transferring data, sector 96, nr 128, cmd response 0x900, card status 0xb00
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 106, nr 118, cmd response 0x900, card status 0x0
mmcblk2: error -84 transferring data, sector 106, nr 118, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2, sector 106

Command (? for help):
Recovery/transformation command (? for help): Warning! This will probably do weird things if you've converted an MBR to
GPT form and haven't yet saved the GPT! Proceed? (Y/N): mmcblk2: error -84 transferring data, sector 0, nr 128, cmd response 0x900, card status 0xb00
mmcblk2: error -84 transferring data, sector 0, nr 128, cmd response 0x900, card status 0xb00
mmcblk2: retrying using single block read
mmcblk2: error -84 transferring data, sector 106, nr 22, cmd response 0x900, card status 0x0

Recovery/transformation command (? for help): Warning! Secondary header is placed too early on the disk! Do you want to
correct this problem? (Y/N): Have moved second header and partition table to correct location.

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/mmcblk2.
Unable to save backup partition table! Perhaps the 'e' option on the experts'
menu will resolve this problem.
Warning! An error was reported when writing the partition table! This error
MIGHT be harmless, or the disk might be damaged! Checking it is advisable.

Recovery/transformation command (? for help): UTP: sending Non-success to kernel for command $ echo -e 'r\ne\nY\nw\nY\nY' | gdisk /dev/mmcblk2.
utp_poll: exit with status 1280
random: crng init done
UTP: received command '$ while [ ! -e /dev/mmcblk2 ]; do sleep 1; echo waiting...; done '
UTP: executing "while [ ! -e /dev/mmcblk2 ]; do sleep 1; echo waiting...; done "
UTP: sending Success to kernel for command $ while [ ! -e /dev/mmcblk2 ]; do sleep 1; echo waiting...; done .
utp_poll: pass returned.
UTP: received command '$ dd if=/dev/zero of=/dev/mmcblk2 bs=1k seek=768 conv=fsync count=136'
UTP: executing "dd if=/dev/zero of=/dev/mmcblk2 bs=1k seek=768 conv=fsync count=136"
136+0 records in
136+0 records out
139264 bytes (139 kB, 136 KiB) copied, 0.0163596 s, 8.5 MB/s
UTP: sending Success to kernel for command $ dd if=/dev/zero of=/dev/mmcblk2 bs=1k seek=768 conv=fsync count=136.
utp_poll: pass returned.
UTP: received command '$ echo 0 > /sys/block/mmcblk2boot0/force_ro'
UTP: executing "echo 0 > /sys/block/mmcblk2boot0/force_ro"
UTP: sending Success to kernel for command $ echo 0 > /sys/block/mmcblk2boot0/force_ro.
utp_poll: pass returned.
UTP: received command 'send'
UTP: sending Success to kernel for command send.
UTP: received command '$ dd if=$FILE of=/dev/mmcblk2boot0 bs=512 seek=2'
UTP: executing "dd if=$FILE of=/dev/mmcblk2boot0 bs=512 seek=2"
mmcblk2boot0: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2boot0: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2boot0: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2boot0: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2boot0: error -84 transferring data, sector 464, nr 8, cmd response 0x900, card status 0x0
mmcblk2boot0: error -110 sending stop command, original cmd response 0x900, card status 0x400900
mmcblk2boot0: error -84 transferring data, sector 464, nr 8, cmd response 0x900, card status 0x0
mmcblk2boot0: retrying using single block read
mmcblk2boot0: error -84 transferring data, sector 469, nr 3, cmd response 0x900, card status 0x0
mmcblk2boot0: error -84 transferring data, sector 469, nr 3, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk2boot0, sector 469
dd: error writing '/dev/mmcblk2boot0': Input/output error
463+0 records in
462+0 records out
236544 bytes (237 kB, 231 KiB) copied, 0.65264 s, 362 kB/s
UTP: sending Non-success to kernel for command $ dd if=$FILE of=/dev/mmcblk2boot0 bs=512 seek=2.
utp_poll: exit with status 256

0 Kudos

439 Views
mohamedfasil
Contributor II

Hi Igor,

 I have made created a vb script for imx7d emmc and with this emmc is getting flashed but its flashing some other files system and not the android images which is kept in the path mfgtools\Profiles\Linux\OS Firmware\files\android\sabresd

After flashing the system is not boot to kernel and says some mmc failures.

Any further modifications required in the MFG tool for flashing android images to emmc.

Regards

Fasil

0 Kudos