can I copy the u-boot.imx image in ram to ROM for next boot up?

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

can I copy the u-boot.imx image in ram to ROM for next boot up?

858件の閲覧回数
damienhuang
Contributor IV

Hi all,

I need helps on this.

I downloaded my uboot image (i.e. u-boot.imx) into the ram of my imx6 sabrelite board using the "imx_usb" tool and started runing this image at 0x177ff400. I am wondering if I can transfer this runtime image into SPI ROM for next autoboot without using the "imx_usb" again or runing the 6x_upgrade script.

Will the run time image change from its original contents in file?

thanks in advance.

Cheers,

Damien

ラベル(2)
0 件の賞賛
2 返答(返信)

434件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Damien

yes run time image should work if written to spi with

proper 0x400 offset .

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

0 件の賞賛

434件の閲覧回数
damienhuang
Contributor IV

Yes, Igor, you are right.

After restored the header to the runtime image, just write it to 0x400

offset will do.

Cheers,

0 件の賞賛