Questions about MFG tool(i.mx6)

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

Questions about MFG tool(i.mx6)

Jump to solution
691 Views
宗標廖
Contributor V

Hello,Community

I have some questions about MFG tool,please help me.

Q1:

In the stage of state="BootStrap", where are u-boot and uImage loaded to?

(Is it IRAM or DDR?)

Q2:

After the jump command of MFG tool being excuted,what will i.MX6 do?

(is it some action about ROM?)

----------------------------------------------------------------------------

<LIST name="MX6Q-Sabreauto-SPI_NOR & SD card" desc="Choose SPI-NOR/SD as media">
<CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6q-sabreauto-spi-nor.bin" >Loading uboot.</CMD>
<CMD state="BootStrap" type="load" file="uImage" address="0x10800000"
  loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Kernel.</CMD>
<CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x10C00000"
  loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Initramfs.</CMD>
<CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>

<!--burn the uboot to SPI-NOR: -->
<CMD state="Updater" type="push" body="$ flash_erase /dev/mtd0 0 0">Erasing Boot partition</CMD>
<CMD state="Updater" type="push" body="send" file="files/u-boot-mx6q-sabreauto-spi-nor.bin">Sending U-Boot</CMD>
<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mtd0 bs=512">write U-Boot to SPI-NOR</CMD>

--------------------------------------------------------------------------

Thank you!

Best Regards!

ZongbiaoLiao

Labels (2)
0 Kudos
1 Solution
500 Views
BiyongSUN
NXP Employee
NXP Employee

When power up,  the rom is run first.  the ROM finish the downloading.

Jump is to tell ROM code jump to a cerntain address. Here is uboot start address, which is in the i.MX uboot IVT.

You can get details in the reference manual and mfg tool documents.

View solution in original post

0 Kudos
3 Replies
500 Views
BiyongSUN
NXP Employee
NXP Employee

A1:  uImage load to the DDR. and the rootfs as well.

A2: Once all the files: mfg tool uboot, mfg tool uImage/zImge and ramdisk rootfs are loaded to the DDR.

      Jump and a linux OS system is running in the DDR includng rootfs. In the rootfs, there a utility called uuc is waiting for the commands from  pc side mfg tool.

      The commands are what you see after jump in xml file.

You can treat the usb download mode as "usb boot".

It  is the similar to you boot a linux system from sd card them flash a image to a nand device or an emmc.   

500 Views
宗標廖
Contributor V

Hi, Sun

Thank you for your reply.

Could you tell me after excuting the JUMP command,will it jump from where to where?

Thank you!

0 Kudos
501 Views
BiyongSUN
NXP Employee
NXP Employee

When power up,  the rom is run first.  the ROM finish the downloading.

Jump is to tell ROM code jump to a cerntain address. Here is uboot start address, which is in the i.MX uboot IVT.

You can get details in the reference manual and mfg tool documents.

0 Kudos