U-boot on imx53 custom design

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

U-boot on imx53 custom design

跳至解决方案
1,127 次查看
woutervh
Contributor IV

Hello all,

I'm trying to port u-boot to our custom design.

I got the master sources from git.denx.de/u-boot-imx and adapted my board from the imx53 loco platform. (We have NAND flash, DDR3) Everything compiles well.

I'm loading it to the board throug gdb via a Peedi (Ronetix).

The board is now configured to boot from NAND. When the NAND is empty, the bootloader blocks at line 283 in lowlevel_init.S

#else/* CONFIG_MX53 */
ldr r0, =CCM_BASE_ADDR

/* Gate of clocks to the peripherals first */
ldr r1, =0x3FFFFFFF
str r1, [r0, #CLKCTL_CCGR0]
str r4, [r0, #CLKCTL_CCGR1]

However, when I first flash barebox to the board (from a previous attempt on which I also have some problems, causing me to try uboot instead) which do run fine, then I'm also able to start uboot through gdb... Apparently, it does some other initialisation before the jtag takes over...

Who knows what is happening here?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
852 次查看
JackyAtFreescal
Senior Contributor II

Not sure how to configure Peedi jtag, but for Realview ICE it should be looked like this:

worddavc1f53298886db4ea194c98e3ecbec864.png

Device=>Custom Device=>UNKNOWN=>IR Length = 5

Device=>Custom Device=>UNKNOWN=>IR Length = 4

Device=>Registered Device=>CoreSight=>ARMCS-DP

Device=>Registered Device=>Cortex=>Cortex-A8

Set CoreSight base address = 0xC0008000

   

Regards,

Jacky

在原帖中查看解决方案

0 项奖励
回复
2 回复数
852 次查看
YixingKong
Senior Contributor IV

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

Thanks,

Yixing

0 项奖励
回复
853 次查看
JackyAtFreescal
Senior Contributor II

Not sure how to configure Peedi jtag, but for Realview ICE it should be looked like this:

worddavc1f53298886db4ea194c98e3ecbec864.png

Device=>Custom Device=>UNKNOWN=>IR Length = 5

Device=>Custom Device=>UNKNOWN=>IR Length = 4

Device=>Registered Device=>CoreSight=>ARMCS-DP

Device=>Registered Device=>Cortex=>Cortex-A8

Set CoreSight base address = 0xC0008000

   

Regards,

Jacky

0 项奖励
回复