What is the meaning of imx_usb serial downloader parameters?

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

What is the meaning of imx_usb serial downloader parameters?

4,039件の閲覧回数
paulroy
Contributor I

Hi

I´m using serial_downloader to boot my iMX53 board, using imx_usb binary.

I see, its config file has this contents:

mx53
#hid/bulk,[old_header,]max packet size, {ram start, ram size}(repeat valid ram areas)
bulk,512,0x70000000,512M,0xf8006000,0x12000
#file:dcd,plug,load nnn,jump [nnn/header/header2]
#jump nnn - new header is placed after last downloaded word
#            entire file is loaded before jump, needs load nnn as well
# i.e. file:load nnn,jump nnn
#jump header - only length parameter is downloaded
#     header - uses existing header(error if none), but clears plug and dcd values unless plug also specified
#     header2 - uses 2nd header found(error if none)
#plug - without jump uses header but clears plug flag to stop after plug execution

uboot_serial_downloader.bin:dcd,plug,jump header

#../imx_utils/mx53_ddr_init_xm.bin:dcd,plug
#../u-boot-watchie/mx53_ubl_ecspi.bin:load 0x73f00000
#../imx_utils/mx53_ecspi_ram_write_xm.bin:jump header2

 

I wonder if with this tool I can recover the last boot error (or log) and write or read specific NAND memory addresses, or do some kind of boot problem debugging.

Could somebody explain what are the meanings of this patrameters? (dcd, plug,...etc)

Once I have boot with it, could I read something at UBoot prompt to know what is the previous boot error?

Thanks

ラベル(2)
タグ(1)
0 件の賞賛
3 返答(返信)

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

Hi Paul

please look in Chapter 7 System Boot i.MX53 Reference Manual

https://www.nxp.com/docs/en/reference-manual/iMX53RM.pdf

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

0 件の賞賛

800件の閲覧回数
paulroy
Contributor I

Thanks Igor.

It was of some help to understand how serial_downloader works.

But do you know if I can use it to discover why my system is not booting from NAND? I´ve read here

https://community.nxp.com/message/959549?commentID=959549#comment-959549

about a tool,  Boot_Tester.exe , that seems to do this on iMX6 . I´d like to know if there is something similar for mx53, or if I can read some "magic" address with uboot to see why I can´t boot.

Thank you

0 件の賞賛

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

Hi Paul

I am afraid Boot_Tester.exe will not work o i.MX53.

There are no simple ways to discover why system is not booting from NAND.

Suggest to create new thread with detailed description of problem.

Best regards
igor

0 件の賞賛