I am using imx6qsabresd board. And using yocto v3.14.28.1.0.0.
I want to flash image created using bitbake into eMMC of the board.
I refered iMX6 linux user guide. But i am unable to understand.
Please find default cfg.ini and ucl2.xml files.
And if i change the LIST name=eMMC in cfg.ini and try to open mfgtool2.exe i got error "Iitialize operation failed error code-4".
so what's the problem?
So
1. What's the correct settings for cfg.ini & ucl2.xml for eMMC
2. how to run mfgtool2?
3. what should be the Switch setting of SW6 for flashing?
4. how to add my .ext3 image file?
Original Attachment has been moved to: ucl2.xml.zip
Original Attachment has been moved to: cfg.ini.zip
Ok. My mistake. I am using the wrong mfgtool.
I found the new "Mfgtools-Rel-4.1.0_130816_MX6Q_UPDATER" and i just change the list name=SabreSD-eMMC
And make SW6 setting = 00001100 (low to high).
And press the start button. And all process done successfully.
But then change SW6 to 11010110 (low to high). But nothing appears on screen or UART terminal.
How to flash my .ext3 image using mfgtool?
Hi Ritesh
one can try demo images (place them in MFG Tools folder)
L3.0.35_4.1.0_DEMO_IMAGE_BSP : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite,
i.MX 6Solo and i.MX 6Sololite Linux Binary Demo Files.
Entering to Serial Downloader mode is not supported directly, say for the
i.MX6 SDP / SDB designs. According to section 4.1 (How to Enter Serial Download Mode
for MFGTool)of "i.MX_6Dual6Quad_SABRE-SD_Linux_User's_Guide.pdf" :
"No dedicated boot dips are reserved for serial download mode on i.MX 6 SABRE-SD
boards. Therefore, a tricky method is used to enter serial download mode. For example,
set boot mode as SD3 boot (SW6 dip 2, 7 on others are off). Do not insert SD card into
SD3 slot, and power on the board. After "HID- Compliant device" is detected, it means
that the board has entered serial download mode. Insert the SD card into SD3 slot.
One can also flash SD card on Host computer, as describes
Chapter 8 Using a Linux Host to Set Up an SD/MMC Card attached Linux Guide.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Thanks for the reply.
The following changes i did.
1. list name=SabreSD-eMMC in cfg.ini file
2. I deleted 'rootfs.tar.bz2' file in 'Mfgtools-Rel-4.1.0_130816_MX6Q_UPDATER\Profiles\MX6Q Linux Update\OS Firmware\files' folder and paste my "fsl-image-multimedia-full-imx6qsabresd-20150620054618.rootfs.tar.bz2" and renamed it to rootfs.tar.bz2.
And than i changed all SW6 switches to off. press start button and completed the whole procedure.
And after that modify SW6 for eMMC boot but nothing boot up
So i think i need to replace some more files in file folder.
So can you list out which files need to replace?
are you able to boot from this board using other ways, for example SD ?
SD card can be flashed using Host computer, as describes
Chapter 8 Using a Linux Host to Set Up an SD/MMC Card attached Linux Guide
in previous answer.
~igor.
If i flash my image using followinf linux command i can able to boot and run linux on board.
$ sudo dd if=<image name>.sdcard of=/dev/sd<partition> bs=1M && sync
But now i want to flash this image to eMMC. So i am using mfgtool.
So am i need to add/replace any other file in file folder like .bin .dtb etc??
After flashing using mfgtool i got u-boot interface after reset. But in Autoboot nothing boots up.
And in terminal i receiving continuously belowed message.
## Warning: gatewayip needed but not set
FEC: Link is down 7949