No u-boot console when loaded from DDR

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

No u-boot console when loaded from DDR

1,867件の閲覧回数
mohamed-ali_fod
Contributor I

Hi,

I am using  "JLinkExe -device CORTEX-A9 -JTAGConf -1,-1  -if JTAG -speed auto -CommandFile uboot.jlink"
to load the uboot to the memory (attached is the script and the uboot binary), but I am still not able to get u-boot traces from the console. The u-boot was compiled with following config:

CONFIG_BOOTDELAY=5
# CONFIG_DISABLE_CONSOLE is not set
The uboot.imx.bin was successfully loaded as mentioned below:
J-Link>mem32 0x177ff000,9
177FF000 = 402000D1 17800000 00000000 177FF42C
177FF010 = 177FF420 177FF400 00000000 00000000
177FF020 = 177FF000
J-Link>mem32 177FF42C,9
177FF42C = 00000000 00000000 00000000 00000000
177FF43C = 00000000 00000000 00000000 00000000
177FF44C = 00000000
IVT - start = 177FF000
IVT - entry = 17800000
Any idea?
Thanks.
0 件の賞賛
返信
3 返答(返信)

1,785件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Mohamed

reason may be that memory is not working at all, one can try

to test it with baremetal sdk test (folder  /..apps..tests/ddr_test.c), debugger scripts in

../tools, "1.1.0_iMX6_Platform_SDK.zip" found on link SMP Enable in IMX6 

Check signals with oscilloscope, use IMX6DQ6SDLHDG, Hardware Development Guide for i.MX 6Quad, 6Dual, 6DualLite, 6Solo Families of Applic...

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

0 件の賞賛
返信

1,785件の閲覧回数
mohamed-ali_fod
Contributor I

Hi Igorpadykov,

Thank for you reply but I don't think that is a memory issue because I am able to write/read data correctly as I mentioned in my first post, if it was a memory issue I should not have access to the memory for write or read operations.

Before loading uboot I did the configuration of the DDR through J-link. I attached also these settings in the first post.

Best Regards,

Mohamed

0 件の賞賛
返信

1,785件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

is that uboot working fine when loaded in usual way, not with jtag.

Probably it was wrongly built/configured.

First, suggest to check if correct uart port is configured for building uboot.imx.bin

mx6sabresd.h\configs\include - uboot-imx - i.MX U-Boot 

#define CONFIG_MXC_UART_BASE    UART1_BASE
#define CONSOLE_DEV        "ttymxc0"

Best regards
igor

0 件の賞賛
返信