i.MX6Q booting problem

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

i.MX6Q booting problem

1,094件の閲覧回数
hammal
Contributor I

Hi,

I am working on a custom i.MX6Q board and having problem with booting the board from the SD3. The USB OTG is not accessible in this board and I am using JTAG/OpenOCD for debugging. How can I read the BOOT_MODE/BOOT_CFG values for verifying the selected boot device. I dumped the Boot_data (mdb 0x902190 256) which changes when I change the boot setting using onboard Dip switch. dumped boot rom data is :

0x00902190: 02 00 01 00 f0 00 02 00 00 00 03 00 00 00 04 00 00 00 05 00 05 00 06 00 00 00 07 00 f0 00 07 00

0x009021b0: 00 00 09 00 33 05 0a 00 ff 1f 06 00 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x009021d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x009021f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00902210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00902230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00902250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0x00902270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

How can figure out the boot setting from the log?

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

675件の閲覧回数
AlanZhang
Contributor V

Hi, Hammal,

First, I do not know OpenOCD/JTAG can do the correct connection to the debug unit inside i.MX6, so what you see maybe not the correct information. Usually, Trace32 is the tool.

Second, pls use osc to capture the bootmode pin w/ reset signal to see whether the bootmode for SD boot is correct.

Third, check your power-on sequence to see whether the seq is ok.

Fourth, do DDR stress test.

Fifth, insert GPIO output 1 on some optional GPIO pins in your uboot code, that will help u to see where  has been gone w/o printf enabling.

After you do the above  steps, you can locate where is the "not-bootup" issue.

Regards,

Alan Zhang

675件の閲覧回数
AlbertT
Contributor V

Hi,

I am not sure to understand well your issue. You can configure the way the board boots using the dip switch, if you look into the Linux User's Guide of your board you will see the configuration to boot from SD. For instance, using a Sabre SD it will be switch 2 & 7 ON and others set to OFF.

0 件の賞賛

675件の閲覧回数
YixingKong
Senior Contributor IV

Albert, please click Correct Answer/Helpful Answer, if your question has been answered.

Thanks,

Yixing

0 件の賞賛