AnsweredAssumed Answered

How to call standalone application in uboot?

Question asked by Anshul khare on Jan 15, 2018
Latest reply on Jan 15, 2018 by Anshul khare

I have created standalone application in uboot  e.g"hello_world.bin" with load_addr 0x84000000 at ram

 

I am combining the above bin and uboot.imx in a single uboot.img

using "cat uboot.imx hello_world.pad > uboot.img"

 

The "uboot.img" image is loaded on board via sdcard. Now i want to run the above application.

 

I tried "go 0x84000000" command, it gives output

 

starting application at 0x84000000

  undefined instruction  

pc : [<84000138>]       lr : [<8ff6eb60>]
 reloc pc : [<83cc1138>]       lr : [<8fc2fb60>]
 sp : 8ef3cd60  ip : 8ef3cb01     fp : 8ef3e2b0
 r10: 00000002  r9 : 8ef3ceb8     r8 : 8ffd8e78
 r7 : 8ef3df30  r6 : 84000000     r5 : 00000002  r4 : 8ef3df34
 r3 : 84000000  r2 : 8ef3df34     r1 : 8ef3df34  r0 : 00000000
 Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
 Resetting CPU ...
 
 resetting ...   

                                                             

and restart the uboot.

 

PS: Reset cause: WDOG

 

 

 

 

Thanks

Outcomes