Unable to program IMX6 with MFG tool partioning error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to program IMX6 with MFG tool partioning error

806 Views
jongjyhhsieh
Contributor I

Hi,

I am not able to program imx6 using mfg tool. When I run the mfg tool, it fails at partioning process. The console log outputs it cannot find /dev/mmcblk0, but the device exist under /sys/block/.

I have pasted the mfgtool log and console log. What else should I check ?

Any help would be appreciated.

thanks in advance.

====/ # cd /sys/block/
/sys/block # ls
loop0         loop5         mmcblk0boot1  ram12         ram3          ram8
loop1         loop6         ram0          ram13         ram4          ram9
loop2         loop7         ram1          ram14         ram5
loop3         mmcblk0       ram10         ram15         ram6
loop4         mmcblk0boot0  ram11         ram2          ram7
/sys/block # cd mmcblk0
/sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/block/mmcblk0 # ls
alignment_offset   inflight           mmcblk0p2          queue
bdi                mmcblk0boot0       mmcblk0p3          range
capability         mmcblk0boot1       mmcblk0p4          removable
dev                mmcblk0p1          mmcblk0p5          ro
device             mmcblk0p10         mmcblk0p6          size
discard_alignment  mmcblk0p11         mmcblk0p7          slaves
ext_range          mmcblk0p12         mmcblk0p8          stat
force_ro           mmcblk0p13         mmcblk0p9          subsystem
holders            mmcblk0p14         power              uevent
/sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/block/mmcblk0 # ls -l
total 0
-r--r--r--    1 root     root          4096 Jan  1 00:12 alignment_offset
lrwxrwxrwx    1 root     root             0 Jan  1 00:12 bdi -> ../../../../../../../virtual/bdi/179:0
-r--r--r--    1 root     root          4096 Jan  1 00:12 capability
-r--r--r--    1 root     root          4096 Jan  1 00:12 dev
lrwxrwxrwx    1 root     root             0 Jan  1 00:12 device -> ../../../mmc0:0001
-r--r--r--    1 root     root          4096 Jan  1 00:12 discard_alignment
-r--r--r--    1 root     root          4096 Jan  1 00:12 ext_range
-rw-r--r--    1 root     root          4096 Jan  1 00:12 force_ro
drwxr-xr-x    2 root     root             0 Jan  1 00:12 holders
-r--r--r--    1 root     root          4096 Jan  1 00:12 inflight
drwxr-xr-x    6 root     root             0 Jan  1 00:12 mmcblk0boot0
drwxr-xr-x    6 root     root             0 Jan  1 00:12 mmcblk0boot1
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p1
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p10
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p11
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p12
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p13
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p14
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p2
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p3
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p4
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p5
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p6
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p7
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p8
drwxr-xr-x    4 root     root             0 Jan  1 00:12 mmcblk0p9
drwxr-xr-x    2 root     root             0 Jan  1 00:12 power
drwxr-xr-x    3 root     root             0 Jan  1 00:12 queue
-r--r--r--    1 root     root          4096 Jan  1 00:12 range
-r--r--r--    1 root     root          4096 Jan  1 00:12 removable
-r--r--r--    1 root     root          4096 Jan  1 00:12 ro
-r--r--r--    1 root     root          4096 Jan  1 00:12 size
drwxr-xr-x    2 root     root             0 Jan  1 00:12 slaves
-r--r--r--    1 root     root          4096 Jan  1 00:12 stat
lrwxrwxrwx    1 root     root             0 Jan  1 00:12 subsystem -> ../../../../../../../../class/block
-rw-r--r--    1 root     root          4096 Jan  1 00:12 uevent
/sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/block/mmcblk0 # cat ro
=========================================================================

Below is the mfg system log:

==================================

DLL version: 2.2.3
Monday, November 20, 2017 09:26:11   Start new logging
ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[05142818]
ModuleID[2] LevelID[10]: Device Manager thread is running
ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 0
ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is D:\SystemSW\##03. CELP\MFG Tool\Mfgtools_4.1.0_MX6Q_UPDATER_161007_CELP\Profiles\MX6D HME Linux Update\OS Firmware\u-boot-mfg.bin
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\SystemSW\##03. CELP\MFG Tool\Mfgtools_4.1.0_MX6Q_UPDATER_161007_CELP\Profiles\MX6D HME Linux Update\OS Firmware\uImage-mfg, address is 0x10800000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\SystemSW\##03. CELP\MFG Tool\Mfgtools_4.1.0_MX6Q_UPDATER_161007_CELP\Profiles\MX6D HME Linux Update\OS Firmware\initramfs.cpio.gz.uboot, address is 0x10C00000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: ExecuteCommand--Jump[WndIndex:0]
ModuleID[2] LevelID[10]: *********MxHidDevice[05142818] Jump to Ramkernel successfully!**********
ModuleID[2] LevelID[10]: CmdOperation[0], current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_0054#5&15cf5e50&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_0054#5&15cf5e50&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 1
ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, devInstPathToFind: USB\VID_15A2&PID_0054\5&15CF5E50&0&4, _deviceInstanceID: USB\VID_15A2&PID_0054\5&15CF5E50&0&4
ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, Find the device
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT,[MxHidDeviceClass] vid_15a2&pid_0054, Hub:1-Port:4
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, Notify
ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume/Device Remove
ModuleID[2] LevelID[1]: CmdOpreation[0]--set m_hDeviceRemoveEvent.
ModuleID[2] LevelID[10]: CmdOpreation[0]--WaitforEvents device remove1
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent()-DEVICE_REMOVAL_EVT, hDevCanDeleteEvent has been set
ModuleID[2] LevelID[10]: delete MxHidDevice[05142818]
ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&PID_37FF#5&15cf5e50&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&PID_37FF#5&15cf5e50&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT,[Msc,DiskDeviceClass] vid_066f&pid_37ff, not handled
ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - VOLUME_ARRIVAL_EVT(E)
ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT(E)
ModuleID[2] LevelID[10]: VolumeDeviceClass::AddUsbDevice()  E
ModuleID[2] LevelID[10]: DeviceTypeDisk--_devices size: 1
ModuleID[2] LevelID[10]: Volume--StorageDisk, Disk->_driveNumber:1, Volume->_diskNumber:1
ModuleID[2] LevelID[10]: DeviceTypeDisk--find Disk device: 061F0AE8
ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 4
ModuleID[2] LevelID[10]: VolumeDeviceClass::AddUsbDevice() successful E add to current list, retrycount: 0
ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 4
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT-Disk(E), Hub:1-Port:4
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT, Notify
ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume/Device Arrive
ModuleID[2] LevelID[1]: CmdOpreation[0]--set m_hDeviceArriveEvent.
ModuleID[2] LevelID[10]: CmdOpreation[0]--WaitforEvents device arrive1
ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 1
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ tar xf $FILE
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ sh mksdcard.sh /dev/mmcblk0
ModuleID[2] LevelID[1]: PortMgrDlg(0)--MSCDevice--Command Push(no file) excute failed
ModuleID[2] LevelID[10]: CmdOperation[0], current command executed failed, so SetEvent(hDevCanDeleteEvent)

Console Log

=================================================================


U-Boot 2009.08 (Oct 21 2015 - 01:12:05)

CPU: Freescale i.MX6 family TO1.5 at 792 MHz
Thermal sensor with ratio = 177
Temperature:   33 C, calibration data 0x5644b97d
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock     : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock     : 132000000Hz
axi clock   : 264000000Hz
emi_slow clock: 132000000Hz
ddr clock     : 528000000Hz
usdhc1 clock  : 198000000Hz
usdhc2 clock  : 198000000Hz
usdhc3 clock  : 198000000Hz
usdhc4 clock  : 198000000Hz
nfc clock     : 24000000Hz
Board: i.MX6Q-SABRESD: unknown-board Board: 0x63015 [POR ]
Boot Device: MMC
I2C:   ready
DRAM:   1 GB
MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   got MAC address from IIM: 00:00:00:00:00:00
FEC0 [PRIME]
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   0.00.00.0003
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3148528 Bytes =  3 MB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 10c00000 ...
   Image Name:   uboot initramfs rootfs
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4545326 Bytes =  4.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35 (root@sonner) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #362 SMP PREEMPT Tue Oct 14 18:33:06 KST 2014
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX6D GC85A Board
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, unknown revision
PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc enable_wait_mode=off
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: 1024MB = 1024MB total
Memory: 1025900k/1025900k available, 22676k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)
    vmalloc : 0xc0800000 - 0xf2000000   ( 792 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .init : 0x80008000 - 0x80321000   (3172 kB)
      .text : 0x80321000 - 0x8085cdec   (5360 kB)
      .data : 0x8085e000 - 0x808aa580   ( 306 kB)
       .bss : 0x808aa5a4 - 0x808f1130   ( 283 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
arm_max_freq=1GHz
MXC_Early serial console at MMIO 0x2020000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
Brought up 2 CPUs
SMP: Total of 2 processors activated (3162.11 BogoMIPS).
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal
print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1048576 B
bio: create slab <bio-0> at 0
mxs-dma mxs-dma-apbh: initialized
print_constraints: vmmc: 3300 mV
SCSI subsystem initialized
spi_imx imx6q-ecspi.1: probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
mc_pfuze 1-0008: ID: 0,Full lay: 1 ,Metal lay: 1
mc_pfuze 1-0008: FAB: 0 ,FIN: 0
print_constraints: PFUZE100_SW1AB: 300 <--> 1875 mV at 1375 mV
print_constraints: PFUZE100_SW1C: 300 <--> 1875 mV at 1375 mV
print_constraints: PFUZE100_SW2: 800 <--> 3950 mV at 3300 mV
print_constraints: PFUZE100_SW3A: 400 <--> 1975 mV at 1500 mV
print_constraints: PFUZE100_SW3B: 400 <--> 1975 mV at 1500 mV
print_constraints: PFUZE100_SW4: 800 <--> 3950 mV at 3150 mV
print_constraints: PFUZE100_SWBST: 5000 <--> 5150 mV at 5000 mV
print_constraints: PFUZE100_VSNVS: 1200 <--> 3000 mV at 3000 mV
print_constraints: PFUZE100_VREFDDR: at 750 mV
print_constraints: PFUZE100_VGEN1: 800 <--> 1550 mV at 1500 mV
print_constraints: PFUZE100_VGEN2: 800 <--> 1550 mV at 1500 mV
print_constraints: PFUZE100_VGEN3: 1800 <--> 3300 mV at 2500 mV
print_constraints: PFUZE100_VGEN4: 1800 <--> 3300 mV at 1800 mV
print_constraints: PFUZE100_VGEN5: 1800 <--> 3300 mV at 2800 mV
print_constraints: PFUZE100_VGEN6: 1800 <--> 3300 mV at 3300 mV
imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource mxc_timer1
Clockevents: could not switch to one-shot mode:
Clockevents: could not switch to one-shot mode: dummy_timer is not functional.
Could not switch to high resolution mode on CPU 1
 dummy_timer is not functional.
Could not switch to high resolution mode on CPU 0
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
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.
Unpacking initramfs...
Freeing initrd memory: 4436K
PMU: registered new PMU device of type 0
Static Power Management for Freescale i.MX6
wait mode is disabled for i.MX6
cpaddr = c0880000 suspend_iram_base=c08f8000
PM driver module loaded
IMX usb wakeup probe
cpu regulator mode:ldo_enable
i.MXC CPU frequency driver
msgmni has been set to 2012
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb
_regulator_get: get() with no identifier
imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
imx-sdma imx-sdma: loaded firmware 1.1
imx-sdma imx-sdma: initialized
Serial: IMX driver
imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console [ttymxc0] enabled, bootconsole disabled
console [ttymxc0] enabled, bootconsole disabled
loop: module loaded
vcan: Virtual CAN interface driver
CAN device driver interface
flexcan netdevice driver
flexcan imx6q-flexcan.0: device registered (reg_base=c0978000, irq=142)
FEC Ethernet Driver
fec_enet_mii_bus: probed
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ARC USBOTG Device Controller driver (1 August 2005)
add wake up source irq 75
g_file_storage gadget: controller 'fsl-usb2-udc' not recognized
check_parameters:UTP settings are in place now, overriding defaults
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
fsl-usb2-udc: bind to driver g_file_storage
mousedev: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
tsc2007 0-0049: i2c io error: -5
snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
ads7828 sysfs hwmon driver is probed
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: SDHCI controller on platform [sdhci-esdhc-imx.3] using DMA
mmc1: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
VPU initialized
Thermal calibration data is 0x5644b97d
Thermal sensor with ratio = 177
Anatop Thermal registered as thermal_zone0
anatop_thermal_probe: default cooling device is cpufreq!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
iio iio:device0: device not supported: WhoAmI (0xff).
mmc0: unrecognised EXT_CSD revision 7
mmc0: error -22 whilst initialising MMC card
wm8960-codec 1-001a: No platform data supplied
mmc0: unrecognised EXT_CSD revision 7
mmc0: error -22 whilst initialising MMC card
asoc: wm8960-hifi <-> imx-ssi.1 mapping ok
imx_asoc_init success 0
ALSA device list:
  #0: wm8960-audio
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Bus freq driver module loaded
Bus freq driver Enabled
mxc_dvfs_core_probe
DVFS driver module loaded
regulator_init_complete: PFUZE100_VGEN6: incomplete constraints, leaving on
regulator_init_complete: PFUZE100_VGEN3: incomplete constraints, leaving on
regulator_init_complete: PFUZE100_VGEN2: incomplete constraints, leaving on
regulator_init_complete: PFUZE100_VGEN1: incomplete constraints, leaving on
snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:11:30 UTC (690)
Freeing init memory: 3172K
Starting UTP
ln: /etc/mtab: File exists
disable turn off display
Starting the hotplug events dispatcher udevd
udevd (2013): /proc/2013/oom_adj is deprecated, please use /proc/2013/oom_score_adj instead.
mmc0: unrecognised EXT_CSD revision 7
mmc0: error -22 whilst initialising MMC card
Synthesizing initial hotplug events
mmc0: unrecognised EXT_CSD revision 7
mmc0: error -22 whilst initialising MMC card
g_file_storage gadget: high speed config #1
uuc 0.4 [built Aug 16 2013 01:24:08]
UTP: Waiting for device to appear
UTP: file/device node /dev/utp already exists
cpu_id is 0
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/mmcblk0'
UTP: executing "sh mksdcard.sh /dev/mmcblk0"
/dev/mmcblk0: No such file or directory

sfdisk: cannot open /dev/mmcblk0 for reading
expr: syntax error
expr: syntax error
1+0 records ina
1+0 records out
1024 bytes (1.0KB) copied, 0.000232 seconds, 4.2MB/s
Warning: /dev/mmcblk0 is not a block device
Disk /dev/mmcblk0: cannot get geometry

Disk /dev/mmcblk0: 0 cylinders, 255 heads, 63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/mmcblk0: unrecognized partition table type
Old situation:
No partitions found
Warning: given size (16) exceeds max allowable size (0)
Warning: given size (769) exceeds max allowable size (0)
Warning: given size (2056) exceeds max allowable size (0)
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   Id  System
/dev/mmcblk0p1         0+    15-    16-     16064+  83  Linux
/dev/mmcblk0p2        15+   784-   769-    787185   85  Linux extended
/dev/mmcblk0p3       784+  2839-  2056-   2104515   83  Linux
/dev/mmcblk0p4         0      -      0          0   83  Linux
/dev/mmcblk0p5        15+    39-    24-     24097   83  Linux
/dev/mmcblk0p6        39+    62-    24-     24097   83  Linux
/dev/mmcblk0p7        62+   133-    71-     72292   83  Linux
/dev/mmcblk0p8       133+   203-    71-     72292   83  Linux
/dev/mmcblk0p9       203+   337-   134-    136552   83  Linux
/dev/mmcblk0p10      337+   470-   134-    136552   83  Linux
/dev/mmcblk0p11      470+   494-    24-     24097   83  Linux
/dev/mmcblk0p12      494+   517-    24-     24097   83  Linux
/dev/mmcblk0p13      517+   651-   134-    136552   83  Linux
/dev/mmcblk0p14      651+   784-   134-    136552   83  Linux
Warning: partition 4 has size 0 but is not marked Empty
Warning: partition 1 extends past end of disk

sfdisk: read error on /dev/mmcblk0 - cannot read sector 32130
Re-reading the partition table ...
BLKRRPART: Inappropriate ioctl for device

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
UTP: sending Non-success to kernel for command $ sh mksdcard.sh /dev/mmcblk0.
utp_poll: exit with status 256

Labels (2)
Tags (2)
0 Kudos
1 Reply

590 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Which version BSP are you using? And here I see that you want boot up from SD card, how large is your SD card?

Have a nice day

Rita

0 Kudos