Questions about MFG tool(i.mx6)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Questions about MFG tool(i.mx6)

ソリューションへジャンプ
792件の閲覧回数
宗標廖
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 解決策
601件の閲覧回数
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 返答(返信)
601件の閲覧回数
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.   

601件の閲覧回数
宗標廖
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 件の賞賛
返信
602件の閲覧回数
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 件の賞賛
返信