Hello,

I am using the pre-built toolchain gcc-arm-none-eabi-4_6-2012q2 from linaro to compile u-boot (u-boot-linaro-stable) and to compile my standalone applications to run on target(PandaBoard ES rev b2)

hello_world standalone application which comes with u-boot is executing fine on target when I disable CONFIG_SYS_THUMB_BUILD, but when I enable it, target gets reset with 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 anyone please help me why thumb mode build is failing?