AnsweredAssumed Answered

Start u-boot from u-boot using go command

Question asked by lequxu ciaran on Sep 1, 2018
Latest reply on Sep 3, 2018 by igorpadykov

Hello friends,

 

I have an imx6, u-boot booting on emmc, SYS_TEXT_BASE = 17800000

When i "go 0x17800000", it restart, good.

 

Now i wan't to start an other uboot from ram.

I've compiled it with SYS_TEXT_BASE = 17900000

I do :

tftp 0x17900000 u-boot.bin

go 0x7900000

It write "Starting application at ********" and it was blocked.

 

With lauterbach trace32 :

I see "stopped by vector catch", it's a data abord (SDABORT)

It failed in board_init_f at :

if (mxc_get_clock(MXC_ARM_CLK) == 396000000)
set_ahb_rate(132000000);

 

If i comment it, it fail after....

 

It's at my work, i wan't to use "go" command, not sb loader or other

 

Thanks for your help

Outcomes