mfg tool problem on imx6

cancel
Showing results for 
Search instead for 
Did you mean: 

mfg tool problem on imx6

3,962 Views
kylekenj
Contributor III

When I use the mfg tool it has an error at Formatting rootfs partition when trying to program an imx6. Any ideas on what the problem might be? Thanks.

Labels (2)
0 Kudos
12 Replies

274 Views
brajeshsharma
Contributor II

Hi Kyle ,

Can you tell me what steps exacty did you follow to load images on SD card by MFGTool cause i'v followed almost all of them available but cant get even u-boot prompt .  i am using SD3 slot on SabreSD imx6q. when i try the steps it doesnt throw any error says "Done" but when i checkout the card it doesnt have any partitions . so i think i am doing a blunder somewhere It w'd be great if you can guide what exactly you did . and tell me the images also , specially u-boot that you are telling i'v tried with 2-3 u-boot images available for imx .

Thanks & Regards

Brajesh

0 Kudos

274 Views
LeonardoSandova
Specialist I

Post the console's log and the flash commands (the XML profile).

Leo

0 Kudos

274 Views
kylekenj
Contributor III

Wasn't seeing anything in the console yet. The XML profile was

</LIST>

  <LIST name="ubuntu-SabreSD-SD" desc="Choose eMMC android as media">

    <CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6q-sabresd.bin" >Loading U-boot</CMD>

    <CMD state="BootStrap" type="load" file="uImage" address="0x10800000"

        loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Kernel.</CMD>

    <CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x10C00000"

        loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Initramfs.</CMD>

    <CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>

   

    <CMD state="Updater" type="push" body="$ ls /dev/*"/>

    <CMD state="Updater" type="push" body="$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16">clean up u-boot parameter</CMD>

    <CMD state="Updater" type="push" body="send" file="files/u-boot-mx6q-sabresd.bin">Sending U-Boot</CMD>

    <CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2">write U-Boot to sd card</CMD>

    <CMD state="Updater" type="push" body="send" file="files/uImage">Sending kernel uImage</CMD>

    <CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=1M seek=1 conv=fsync">write kernel image to sd card</CMD>

   

    <CMD state="Updater" type="push" body="send" file="mksdcard.sh.tar">Sending partition shell</CMD>

    <CMD state="Updater" type="push" body="$ tar xf $FILE "> Partitioning...</CMD>

    <CMD state="Updater" type="push" body="$ sh mksdcard.sh /dev/mmcblk0"> Partitioning...</CMD>

    <CMD state="Updater" type="push" body="$ mkfs.ext3 -j /dev/mmcblk0p1">Formatting rootfs partition</CMD>

    <CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk0p1"/>

    <CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mmcblk0p1 /mnt/mmcblk0p1"/>

    <CMD state="Updater" type="push" body="pipe tar --numeric-owner -zxv -C /mnt/mmcblk0p1" file="files/oneiric.tgz">Sending and writting rootfs</CMD>

    <CMD state="Updater" type="push" body="frf">Finishing rootfs write</CMD>

    <CMD state="Updater" type="push" body="$ umount /mnt/mmcblk0p1">Unmounting rootfs partition</CMD>

    <CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>

</LIST>

0 Kudos

274 Views
LeonardoSandova
Specialist I

Nothing comes out from the serial console? You should see the error either on the serial console or the log produced on the MFGtool.

Make sure you have all the files values (i.e. file="file/oneiric.tgz") and a SD with at least 4GB.

Leo

274 Views
kylekenj
Contributor III

Here is the log from the MFGtool

DLL version: 2.1.1

Wednesday, November 06, 2013 12:52:58   Start new logging

ModuleID[1] LevelID[10]: Parse C:\Users\Kyle\Downloads\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER.tar\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\cfg.ini file success[chip: MX6Q Linux Update, List: ubuntu-SabreSD-SD]

ModuleID[1] LevelID[10]: Parse C:\Users\Kyle\Downloads\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER.tar\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Profiles\MX6Q Linux Update\OS Firmware\ucl2.xml file success

ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running

ModuleID[2] LevelID[1]: new MxHidDeviceClass

ModuleID[2] LevelID[10]: new MxHidDevice[00465428]

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: 0046A428

ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 3

ModuleID[2] LevelID[10]: Device Manager thread is running

ModuleID[1] LevelID[10]: Initialize Device Manager success

ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 0

ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is C:\Users\Kyle\Downloads\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER.tar\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Profiles\MX6Q Linux Update\OS Firmware\u-boot-mx6q-sabresd.bin

ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is C:\Users\Kyle\Downloads\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER.tar\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Profiles\MX6Q Linux Update\OS Firmware\uImage, 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 C:\Users\Kyle\Downloads\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER.tar\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Mfgtools-Rel-4.0.0_130424_MX6Q_UPDATER\Profiles\MX6Q 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[00465428] 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&361c14bc&0&1#{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&361c14bc&0&1#{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&361C14BC&0&1, _deviceInstanceID: USB\VID_15A2&PID_0054\5&361C14BC&0&1

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:6-Port:1

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[00465428]

ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_066F&PID_37FF#5&361c14bc&0&1#{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&361c14bc&0&1#{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(D)

ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - end

ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT(D)

ModuleID[2] LevelID[10]: VolumeDeviceClass::AddUsbDevice()  D

ModuleID[2] LevelID[10]: DeviceTypeDisk--_devices size: 2

ModuleID[2] LevelID[10]: Volume--StorageDisk, Disk->_driveNumber:1, Volume->_diskNumber:2

ModuleID[2] LevelID[10]: Volume--StorageDisk, Disk->_driveNumber:2, Volume->_diskNumber:2

ModuleID[2] LevelID[10]: DeviceTypeDisk--find Disk device: 00473D88

ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 1

ModuleID[2] LevelID[10]: VolumeDeviceClass::AddUsbDevice() successful D add to current list, retrycount: 0

ModuleID[2] LevelID[10]: Device::hubIndex::getmsc, return the port index is: 1

ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - VOLUME_ARRIVAL_EVT-Disk(D), Hub:6-Port:1

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 $ ls /dev/*

ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16

ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send

ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2

ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send

ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=$FILE of=/dev/mmcblk0 bs=1M seek=1 conv=fsync

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[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mkfs.ext3 -j /dev/mmcblk0p1

ModuleID[2] LevelID[1]: PortMgrDlg(0)--MxHidDevice--Command Push(no file) excute failed

ModuleID[2] LevelID[10]: CmdOperation[0], current command executed failed, so SetEvent(hDevCanDeleteEvent)

ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed

ModuleID[2] LevelID[10]: CCmdOpreation thread is Closed

ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - EVENT_KILL

ModuleID[2] LevelID[10]: CMyExceptionHandler::OnMsgExceptionEvent() - KillExceptionHandlerThread

ModuleID[2] LevelID[10]: Exception Handler thread is closed

ModuleID[2] LevelID[1]: delete MxHidDeviceClass

ModuleID[2] LevelID[10]: Device Manager thread is closed

Thanks

0 Kudos

274 Views
LeonardoSandova
Specialist I

Seems that you dont have the files/oneiric.tgz file. Make sure you have it on the correct path and double check the file can be untar on your host.

Leo

274 Views
kylekenj
Contributor III

I put a files/oneiric.tgz file in before and double checked the path. I was able to get the terminal working finally here is the feedback from that.

UTP: received command '$ ls /dev/*'

UTP: executing "ls /dev/*"

/dev/XOR                 /dev/ptyua               /dev/ttydb

/dev/apm_bios            /dev/ptyub               /dev/ttydc

/dev/console             /dev/ptyuc               /dev/ttydd

/dev/cpu_dma_latency     /dev/ptyud               /dev/ttyde

/dev/crypto              /dev/ptyue               /dev/ttydf

/dev/fb                  /dev/ptyuf               /dev/ttye0

/dev/fb0                 /dev/ptyv0               /dev/ttye1

/dev/fb1                 /dev/ptyv1               /dev/ttye2

/dev/fb2                 /dev/ptyv2               /dev/ttye3

/dev/fb3                 /dev/ptyv3               /dev/ttye4

/dev/fb4                 /dev/ptyv4               /dev/ttye5

/dev/full                /dev/ptyv5               /dev/ttye6

/dev/i2c-0               /dev/ptyv6               /dev/ttye7

/dev/i2c-1               /dev/ptyv7               /dev/ttye8

/dev/i2c-2               /dev/ptyv8               /dev/ttye9

/dev/kmem                /dev/ptyv9               /dev/ttyea

/dev/kmsg                /dev/ptyva               /dev/ttyeb

/dev/loop0               /dev/ptyvb               /dev/ttyec

/dev/loop1               /dev/ptyvc               /dev/ttyed

/dev/loop2               /dev/ptyvd               /dev/ttyee

/dev/loop3               /dev/ptyve               /dev/ttyef

/dev/loop4               /dev/ptyvf               /dev/ttymxc0

/dev/loop5               /dev/ptyw0               /dev/ttymxc1

/dev/loop6               /dev/ptyw1               /dev/ttyp0

/dev/loop7               /dev/ptyw2               /dev/ttyp1

/dev/mem                 /dev/ptyw3               /dev/ttyp2

/dev/mmcblk0             /dev/ptyw4               /dev/ttyp3

/dev/mmcblk1             /dev/ptyw5               /dev/ttyp4

/dev/mtd0                /dev/ptyw6               /dev/ttyp5

/dev/mtd0ro              /dev/ptyw7               /dev/ttyp6

/dev/mtd1                /dev/ptyw8               /dev/ttyp7

/dev/mtd1ro              /dev/ptyw9               /dev/ttyp8

/dev/mtdblock0           /dev/ptywa               /dev/ttyp9

/dev/mtdblock1           /dev/ptywb               /dev/ttypa

/dev/mxc_asrc            /dev/ptywc               /dev/ttypb

/dev/mxc_hdmi            /dev/ptywd               /dev/ttypc

/dev/mxc_ipu             /dev/ptywe               /dev/ttypd

/dev/mxc_mem             /dev/ptywf               /dev/ttype

/dev/mxc_vpu             /dev/ptyx0               /dev/ttypf

/dev/mxs_viim            /dev/ptyx1               /dev/ttyq0

/dev/network_latency     /dev/ptyx2               /dev/ttyq1

/dev/network_throughput  /dev/ptyx3               /dev/ttyq2

/dev/null                /dev/ptyx4               /dev/ttyq3

/dev/psaux               /dev/ptyx5               /dev/ttyq4

/dev/ptmx                /dev/ptyx6               /dev/ttyq5

/dev/ptya0               /dev/ptyx7               /dev/ttyq6

/dev/ptya1               /dev/ptyx8               /dev/ttyq7

/dev/ptya2               /dev/ptyx9               /dev/ttyq8

/dev/ptya3               /dev/ptyxa               /dev/ttyq9

/dev/ptya4               /dev/ptyxb               /dev/ttyqa

/dev/ptya5               /dev/ptyxc               /dev/ttyqb

/dev/ptya6               /dev/ptyxd               /dev/ttyqc

/dev/ptya7               /dev/ptyxe               /dev/ttyqd

/dev/ptya8               /dev/ptyxf               /dev/ttyqe

/dev/ptya9               /dev/ptyy0               /dev/ttyqf

/dev/ptyaa               /dev/ptyy1               /dev/ttyr0

/dev/ptyab               /dev/ptyy2               /dev/ttyr1

/dev/ptyac               /dev/ptyy3               /dev/ttyr2

/dev/ptyad               /dev/ptyy4               /dev/ttyr3

/dev/ptyae               /dev/ptyy5               /dev/ttyr4

/dev/ptyaf               /dev/ptyy6               /dev/ttyr5

/dev/ptyb0               /dev/ptyy7               /dev/ttyr6

/dev/ptyb1               /dev/ptyy8               /dev/ttyr7

/dev/ptyb2               /dev/ptyy9               /dev/ttyr8

/dev/ptyb3               /dev/ptyya               /dev/ttyr9

/dev/ptyb4               /dev/ptyyb               /dev/ttyra

/dev/ptyb5               /dev/ptyyc               /dev/ttyrb

/dev/ptyb6               /dev/ptyyd               /dev/ttyrc

/dev/ptyb7               /dev/ptyye               /dev/ttyrd

/dev/ptyb8               /dev/ptyyf               /dev/ttyre

/dev/ptyb9               /dev/ptyz0               /dev/ttyrf

/dev/ptyba               /dev/ptyz1               /dev/ttys0

/dev/ptybb               /dev/ptyz2               /dev/ttys1

/dev/ptybc               /dev/ptyz3               /dev/ttys2

/dev/ptybd               /dev/ptyz4               /dev/ttys3

/dev/ptybe               /dev/ptyz5               /dev/ttys4

/dev/ptybf               /dev/ptyz6               /dev/ttys5

/dev/ptyc0               /dev/ptyz7               /dev/ttys6

/dev/ptyc1               /dev/ptyz8               /dev/ttys7

/dev/ptyc2               /dev/ptyz9               /dev/ttys8

/dev/ptyc3               /dev/ptyza               /dev/ttys9

/dev/ptyc4               /dev/ptyzb               /dev/ttysa

/dev/ptyc5               /dev/ptyzc               /dev/ttysb

/dev/ptyc6               /dev/ptyzd               /dev/ttysc

/dev/ptyc7               /dev/ptyze               /dev/ttysd

/dev/ptyc8               /dev/ptyzf               /dev/ttyse

/dev/ptyc9               /dev/random              /dev/ttysf

/dev/ptyca               /dev/rfkill              /dev/ttyt0

/dev/ptycb               /dev/rtc                 /dev/ttyt1

/dev/ptycc               /dev/rtc0                /dev/ttyt2

/dev/ptycd               /dev/tracebuf            /dev/ttyt3

/dev/ptyce               /dev/tty                 /dev/ttyt4

/dev/ptycf               /dev/tty0                /dev/ttyt5

/dev/ptyd0               /dev/tty1                /dev/ttyt6

/dev/ptyd1               /dev/tty10               /dev/ttyt7

/dev/ptyd2               /dev/tty11               /dev/ttyt8

/dev/ptyd3               /dev/tty12               /dev/ttyt9

/dev/ptyd4               /dev/tty13               /dev/ttyta

/dev/ptyd5               /dev/tty14               /dev/ttytb

/dev/ptyd6               /dev/tty15               /dev/ttytc

/dev/ptyd7               /dev/tty16               /dev/ttytd

/dev/ptyd8               /dev/tty17               /dev/ttyte

/dev/ptyd9               /dev/tty18               /dev/ttytf

/dev/ptyda               /dev/tty19               /dev/ttyu0

/dev/ptydb               /dev/tty2                /dev/ttyu1

/dev/ptydc               /dev/tty20               /dev/ttyu2

/dev/ptydd               /dev/tty21               /dev/ttyu3

/dev/ptyde               /dev/tty22               /dev/ttyu4

/dev/ptydf               /dev/tty23               /dev/ttyu5

/dev/ptye0               /dev/tty24               /dev/ttyu6

/dev/ptye1               /dev/tty25               /dev/ttyu7

/dev/ptye2               /dev/tty26               /dev/ttyu8

/dev/ptye3               /dev/tty27               /dev/ttyu9

/dev/ptye4               /dev/tty28               /dev/ttyua

/dev/ptye5               /dev/tty29               /dev/ttyub

/dev/ptye6               /dev/tty3                /dev/ttyuc

/dev/ptye7               /dev/tty30               /dev/ttyud

/dev/ptye8               /dev/tty31               /dev/ttyue

/dev/ptye9               /dev/tty32               /dev/ttyuf

/dev/ptyea               /dev/tty33               /dev/ttyv0

/dev/ptyeb               /dev/tty34               /dev/ttyv1

/dev/ptyec               /dev/tty35               /dev/ttyv2

/dev/ptyed               /dev/tty36               /dev/ttyv3

/dev/ptyee               /dev/tty37               /dev/ttyv4

/dev/ptyef               /dev/tty38               /dev/ttyv5

/dev/ptyp0               /dev/tty39               /dev/ttyv6

/dev/ptyp1               /dev/tty4                /dev/ttyv7

/dev/ptyp2               /dev/tty40               /dev/ttyv8

/dev/ptyp3               /dev/tty41               /dev/ttyv9

/dev/ptyp4               /dev/tty42               /dev/ttyva

/dev/ptyp5               /dev/tty43               /dev/ttyvb

/dev/ptyp6               /dev/tty44               /dev/ttyvc

/dev/ptyp7               /dev/tty45               /dev/ttyvd

/dev/ptyp8               /dev/tty46               /dev/ttyve

/dev/ptyp9               /dev/tty47               /dev/ttyvf

/dev/ptypa               /dev/tty48               /dev/ttyw0

/dev/ptypb               /dev/tty49               /dev/ttyw1

/dev/ptypc               /dev/tty5                /dev/ttyw2

/dev/ptypd               /dev/tty50               /dev/ttyw3

/dev/ptype               /dev/tty51               /dev/ttyw4

/dev/ptypf               /dev/tty52               /dev/ttyw5

/dev/ptyq0               /dev/tty53               /dev/ttyw6

/dev/ptyq1               /dev/tty54               /dev/ttyw7

/dev/ptyq2               /dev/tty55               /dev/ttyw8

/dev/ptyq3               /dev/tty56               /dev/ttyw9

/dev/ptyq4               /dev/tty57               /dev/ttywa

/dev/ptyq5               /dev/tty58               /dev/ttywb

/dev/ptyq6               /dev/tty59               /dev/ttywc

/dev/ptyq7               /dev/tty6                /dev/ttywd

/dev/ptyq8               /dev/tty60               /dev/ttywe

/dev/ptyq9               /dev/tty61               /dev/ttywf

/dev/ptyqa               /dev/tty62               /dev/ttyx0

/dev/ptyqb               /dev/tty63               /dev/ttyx1

/dev/ptyqc               /dev/tty7                /dev/ttyx2

/dev/ptyqd               /dev/tty8                /dev/ttyx3

/dev/ptyqe               /dev/tty9                /dev/ttyx4

/dev/ptyqf               /dev/ttya0               /dev/ttyx5

/dev/ptyr0               /dev/ttya1               /dev/ttyx6

/dev/ptyr1               /dev/ttya2               /dev/ttyx7

/dev/ptyr2               /dev/ttya3               /dev/ttyx8

/dev/ptyr3               /dev/ttya4               /dev/ttyx9

/dev/ptyr4               /dev/ttya5               /dev/ttyxa

/dev/ptyr5               /dev/ttya6               /dev/ttyxb

/dev/ptyr6               /dev/ttya7               /dev/ttyxc

/dev/ptyr7               /dev/ttya8               /dev/ttyxd

/dev/ptyr8               /dev/ttya9               /dev/ttyxe

/dev/ptyr9               /dev/ttyaa               /dev/ttyxf

/dev/ptyra               /dev/ttyab               /dev/ttyy0

/dev/ptyrb               /dev/ttyac               /dev/ttyy1

/dev/ptyrc               /dev/ttyad               /dev/ttyy2

/dev/ptyrd               /dev/ttyae               /dev/ttyy3

/dev/ptyre               /dev/ttyaf               /dev/ttyy4

/dev/ptyrf               /dev/ttyb0               /dev/ttyy5

/dev/ptys0               /dev/ttyb1               /dev/ttyy6

/dev/ptys1               /dev/ttyb2               /dev/ttyy7

/dev/ptys2               /dev/ttyb3               /dev/ttyy8

/dev/ptys3               /dev/ttyb4               /dev/ttyy9

/dev/ptys4               /dev/ttyb5               /dev/ttyya

/dev/ptys5               /dev/ttyb6               /dev/ttyyb

/dev/ptys6               /dev/ttyb7               /dev/ttyyc

/dev/ptys7               /dev/ttyb8               /dev/ttyyd

/dev/ptys8               /dev/ttyb9               /dev/ttyye

/dev/ptys9               /dev/ttyba               /dev/ttyyf

/dev/ptysa               /dev/ttybb               /dev/ttyz0

/dev/ptysb               /dev/ttybc               /dev/ttyz1

/dev/ptysc               /dev/ttybd               /dev/ttyz2

/dev/ptysd               /dev/ttybe               /dev/ttyz3

/dev/ptyse               /dev/ttybf               /dev/ttyz4

/dev/ptysf               /dev/ttyc0               /dev/ttyz5

/dev/ptyt0               /dev/ttyc1               /dev/ttyz6

/dev/ptyt1               /dev/ttyc2               /dev/ttyz7

/dev/ptyt2               /dev/ttyc3               /dev/ttyz8

/dev/ptyt3               /dev/ttyc4               /dev/ttyz9

/dev/ptyt4               /dev/ttyc5               /dev/ttyza

/dev/ptyt5               /dev/ttyc6               /dev/ttyzb

/dev/ptyt6               /dev/ttyc7               /dev/ttyzc

/dev/ptyt7               /dev/ttyc8               /dev/ttyzd

/dev/ptyt8               /dev/ttyc9               /dev/ttyze

/dev/ptyt9               /dev/ttyca               /dev/ttyzf

/dev/ptyta               /dev/ttycb               /dev/ubi_ctrl

/dev/ptytb               /dev/ttycc               /dev/urandom

/dev/ptytc               /dev/ttycd               /dev/utp

/dev/ptytd               /dev/ttyce               /dev/vcs

/dev/ptyte               /dev/ttycf               /dev/vcs1

/dev/ptytf               /dev/ttyd0               /dev/vcsa

/dev/ptyu0               /dev/ttyd1               /dev/vcsa1

/dev/ptyu1               /dev/ttyd2               /dev/vhci

/dev/ptyu2               /dev/ttyd3               /dev/video16

/dev/ptyu3               /dev/ttyd4               /dev/video17

/dev/ptyu4               /dev/ttyd5               /dev/video18

/dev/ptyu5               /dev/ttyd6               /dev/video19

/dev/ptyu6               /dev/ttyd7               /dev/video20

/dev/ptyu7               /dev/ttyd8               /dev/watchdog

/dev/ptyu8               /dev/ttyd9               /dev/zero

/dev/ptyu9               /dev/ttyda


/dev/disk:

by-path


/dev/input:

mice    uinput


/dev/pts:


/dev/shm:


/dev/snd:

timer

UTP: sending Success to kernel for command $ ls /dev/*.

utp_poll: pass returned.

UTP: received command '$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16'

UTP: executing "dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16"

16+0 records in

16+0 records out

8192 bytes (8.0KB) copied, 0.000189 seconds, 41.3MB/s

UTP: sending Success to kernel for command $ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16.

utp_poll: pass returned.

UTP: received command 'send'

UTP: sending Success to kernel for command send.

UTP: received command '$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2'

UTP: executing "dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2"

841+1 records in

841+1 records out

430672 bytes (420.6KB) copied, 0.005657 seconds, 72.6MB/s

UTP: sending Success to kernel for command $ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2.

utp_poll: pass returned.

UTP: received command 'send'

UTP: sending Success to kernel for command send.

UTP: received command '$ dd if=$FILE of=/dev/mmcblk0 bs=1M seek=1 conv=fsync'

UTP: executing "dd if=$FILE of=/dev/mmcblk0 bs=1M seek=1 conv=fsync"

3+1 records in

3+1 records out

3866508 bytes (3.7MB) copied, 0.026597 seconds, 138.6MB/s

UTP: sending Success to kernel for command $ dd if=$FILE of=/dev/mmcblk0 bs=1M seek=1 conv=fsync.

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/mmcblk0'

UTP: executing "sh mksdcard.sh /dev/mmcblk0"

1+0 records in

1+0 records out

1024 bytes (1.0KB) copied, 0.002075 seconds, 481.9KB/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

New situation:

Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0


   Device Boot Start   End    MiB    #blocks   Id  System

/dev/mmcblk0p1         7+     7-     0          0   83  Linux

/dev/mmcblk0p2         0      -      0          0    0  Empty

/dev/mmcblk0p3         0      -      0          0    0  Empty

/dev/mmcblk0p4         0      -      0          0    0  Empty

Warning: partition 1 has size 0 but is not marked Empty

Warning: no primary partition is marked bootable (active)

This does not matter for LILO, but the DOS MBR will not boot this disk.

Successfully wrote the new partition table


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 Success to kernel for command $ sh mksdcard.sh /dev/mmcblk0.

utp_poll: pass returned.

UTP: received command '$ mkfs.ext3 -j /dev/mmcblk0p1'

UTP: executing "mkfs.ext3 -j /dev/mmcblk0p1"

mke2fs 1.41.4 (27-Jan-2009)

Could not stat /dev/mmcblk0p1 --- No such file or directory


The device apparently does not exist; did you specify it correctly?

UTP: sending Non-success to kernel for command $ mkfs.ext3 -j /dev/mmcblk0p1.

utp_poll: exit with status 256

  
0 Kudos

274 Views
LeonardoSandova
Specialist I

Weird. Seems that the SD is not on mmcblk0p1 which I think is the SD2 port (the SD3 is the one closest to the USB serial). Can you try placing the SD in SD2?

Leo

0 Kudos

274 Views
kylekenj
Contributor III

What is the port for SD3?

0 Kudos

274 Views
LeonardoSandova
Specialist I

BTW, which board are you using?

SD3 is J507 and SD2 is J500, this is for the imx6qsabresd.

0 Kudos

274 Views
kylekenj
Contributor III

Got the SD card to read. It says it is read only though.

UTP: received command '$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16'

UTP: executing "dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16"

dd: can't open '/dev/mmcblk0': Read-only file system

UTP: sending Non-success to kernel for command $ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16.

utp_poll: exit with status 256

0 Kudos

274 Views
LeonardoSandova
Specialist I

If the SD is not locked and if you have tried other SD cards, then I do not know what the problem is...

0 Kudos