This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Standalone application from u-boot on PandaBoard ES Rev B2

Hello,

I am getting an "undefined instruction" exception while executing hello_world application.

My Panda board gets booted from SD card and then hello_world.bin is loaded to location 0x82000000 using "kermit" and even CONFIG_STANDALONE_LOAD_ADDR is set to 0x82000000 in arch/arm/config.mk.

When the command "go 82000000 hello" is executed the board resets by dumping the following information

Panda # go 82000000 hello
## Starting application at 0x82000000 ...
undefined instruction
pc : [<8200000c>]          lr : [<bff83147>]
sp : bfeffe40  ip : bfeffc10     fp : 00000000
r10: 00000003  r9 : bffac954     r8 : bfefff68
r7 : bff01d88  r6 : 82000000     r5 : bff01d8c  r4 : 00000003
r3 : 82000000  r2 : bff01d8c     r1 : bff01d8c  r0 : 00000002
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2013.01.-rc1-g0f45941 (Dec 17 2013 - 14:23:41)
OMAP4460 ES1.1
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.bin
reading u-boot.bin

....

Can any one please help me why is this "undefined instruction" exception is coming though I have configured u-boot for "omap4_panda_config"?

gcc-arm-none-eabi-4_6-2012q2 pre-built toolchain from linaro is used.