Questions about MFG tool(i.mx6)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Questions about MFG tool(i.mx6)

跳至解决方案
913 次查看
宗標廖
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

标签 (2)
0 项奖励
回复
1 解答
722 次查看
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 项奖励
回复
3 回复数
722 次查看
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.   

722 次查看
宗標廖
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 项奖励
回复
723 次查看
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 项奖励
回复