Hello
what changes i have to make in MFGTools2 if i want to burn my own images ? I am refering the Documents that comes along with the this tools.
I have u-boot.bin and uImage. I just want to know where to keep these two files in MFGTools Directory so that i can bring up u-boot and kernel on my sabre-sd platform. Any other changes if i have to make ,please guide me .
Hello Kapil,
I am quickly summarizing the required steps to support custom board in MFGTOOL. Do let me know if you want more information.
1. Update firmware files for MFGTool
2. Update final images to be flashed
3. Modify UCL script file (If needed)
4. Modify .vbs file (if needed)
First you need to copy the u-boot zImage device tree built for MFGTool into the following location
Profiles\Linux\OS Firmware\firmware
Next, You need to copy the images which you wish to flash in your board into the following location
Profiles\Linux\OS Firmware\files
Modify UCL script if you are using different file name other than what is mentioned in UCL.xml file. For example if your file name is kapil-uboot.imx then change the UCL script as folllows
<CMD state="Updater" type="push" body="send" file="files/kapil-uboot.imx" ifdev="MX6Q">Sending u-boot.bin</CMD>
Modify VB script(mfgtool2-yocto-mx6-sabresd-sd). Update the mmc number, if required.
Set wshShell = CreateObject("WScript.shell")
wshShell.run "mfgtool2.exe -c ""linux"" -l ""SDCard"" -s ""board=sabresd"" -s ""mmc=1"" "
Set wshShell = Nothing
Now you can run the .vbs file to start flashing your images to target.
Hello Kapil
You need to keep those file in
mfgtool\Profiles\MX6Q Linux Update\OS Firmware\files -> for Linux BSP
Following files are important for your custom board and new profile creation.
You need to create your profile in UCL.xml
mfgtool\Profiles\MX6Q Linux Update\OS Firmware\UCL.xml
like
<LIST name="ubuntu-SabreSD-eMMC" desc="Choose eMMC android as media">
Select this profile in cfg.ini file.
mfgtool\cfg.ini
name = ubuntu-SabreSD-eMMC
Thanks
Saurabh
Hello Saurabh
Suppose i have kapil-u-boot.bin file (for U-Boot). I added into
*mfgtool\Profiles\MX6Q
Linux Update\OS Firmware\files\kapil-u-boot.bin. *
Is there anything i need to delete before loading into sd-card because
there is already a file* "u-boot-mx6dl.bin" in the path mfgtool\Profiles\MX6Q
Linux Update\OS Firmware\files ???*
I tried loading into sd-card by deleting* "u-boot-mx6dl.bin", *then, it is
not getting downloaded and am getting an error window saying*
"initialization operation failed".*
Please, help me.
Best Regards,
Kapil Kumar.
On Thu, Dec 31, 2015 at 11:08 AM, saurabh206 <admin@community.freescale.com>
Hello Kapil,
Are you getting error during firmware update time? Does firmware update done correctly?
Or During boot up time you are getting error?
Hi Saurabh
I am getting error during Firmware updation time.
On Thu, Dec 31, 2015 at 4:37 PM, saurabh206 <admin@community.freescale.com>
Hi Kapil,
You can check error log in mfgtool\MfgTool.log
also what error message display on console?
Hello Kapil
Your first step is wrong, Firmware binary used to boot the board in firmware update mode.
In 2nd step,
You need to put your binary in files folder.
Do modification for updated binary after following code in your ucl.xml profile.
"<CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>"
Please make sure that your modified UCL.xml profile used in cfg.ini file.
Have you modified your cfg.ini file ?
Which board you are using?
which BSP you are using?
Hi Kapil
For Android BSP you need build boot.img.
Also make sure that you have used right profile according to your board.
You have used profile for i.MX6solo/DL board, I think this is wrong according to your SABRE SD board.
Hi Saurabh
I need boot.img for Android BSP. Okay..then, where i will place the
boot.img, means in which folder of MFGTools??? But Saurabh, boot.img is
also a kernel image file and uImage is also a kernel image file . so ,
both is needed to be there in the MFGTools???
One more question:
see, i have a folder "android" which contain images shown below:Path of
android folder is
*Mfgtools-Rel-13.01.00_ER_MX6DL_UPDATER\Profiles\MX6DL Linux Update\OS
Firmware\files\android *
these five images is not mine. these images came alongwith the MFGTool
*So , the question is to make it sure from yourside also that i have to
keep ( kapil-u-boot.bin, boot.img, uImage) in files folder or android
folder...*
*shall i need to remove u-boot-6dl.bin and boot.img with our
kapil-u-boot.bin and boot.img files respectively from the android
folder????*
Thanks Saurabh for helping me with the long time.
On Fri, Jan 1, 2016 at 5:21 PM, saurabh206 <admin@community.freescale.com>