ERROR with emulating u-boot on QEMU

Aloha experts,
I was trying to emulate u-boot on qemu on Ubuntu 14.04 for some debugging purpose, but ended with an issue…

uka_in@madaari:~/Downloads/u-bootbd/ti-u-boot$ qemu-system-arm -M beagle -drive file=./u-boot,if=sd,cache=writeback -clock unix --nographic WARNING: Image format was not specified for './u-boot' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. qemu: hardware error: no boot device found CPU #0: R00=00000000 R01=00000000 R02=00000000 R03=00000000 R04=00000000 R05=00000000 R06=00000000 R07=00000000 R08=00000000 R09=00000000 R10=00000000 R11=00000000 R12=00000000 R13=00000000 R14=00000000 R15=400140a4 PSR=400001d3 -Z-- A svc32 s00=00000000 s01=00000000 d00=0000000000000000 s02=00000000 s03=00000000 d01=0000000000000000 s04=00000000 s05=00000000 d02=0000000000000000 s06=00000000 s07=00000000 d03=0000000000000000 s08=00000000 s09=00000000 d04=0000000000000000 s10=00000000 s11=00000000 d05=0000000000000000 s12=00000000 s13=00000000 d06=0000000000000000 s14=00000000 s15=00000000 d07=0000000000000000 s16=00000000 s17=00000000 d08=0000000000000000 s18=00000000 s19=00000000 d09=0000000000000000 s20=00000000 s21=00000000 d10=0000000000000000 s22=00000000 s23=00000000 d11=0000000000000000 s24=00000000 s25=00000000 d12=0000000000000000 s26=00000000 s27=00000000 d13=0000000000000000 s28=00000000 s29=00000000 d14=0000000000000000 s30=00000000 s31=00000000 d15=0000000000000000 s32=00000000 s33=00000000 d16=0000000000000000 s34=00000000 s35=00000000 d17=0000000000000000 s36=00000000 s37=00000000 d18=0000000000000000 s38=00000000 s39=00000000 d19=0000000000000000 s40=00000000 s41=00000000 d20=0000000000000000 s42=00000000 s43=00000000 d21=0000000000000000 s44=00000000 s45=00000000 d22=0000000000000000 s46=00000000 s47=00000000 d23=0000000000000000 s48=00000000 s49=00000000 d24=0000000000000000 s50=00000000 s51=00000000 d25=0000000000000000 s52=00000000 s53=00000000 d26=0000000000000000 s54=00000000 s55=00000000 d27=0000000000000000 s56=00000000 s57=00000000 d28=0000000000000000 s58=00000000 s59=00000000 d29=0000000000000000 s60=00000000 s61=00000000 d30=0000000000000000 s62=00000000 s63=00000000 d31=0000000000000000 FPSCR: 00000000 Aborted (core dumped) uka_in@madaari:~/Downloads/u-bootbd/ti-u-boot$

I used ti-u-boot and used following commands to build it:

`

uka_in@madaari:~/u-boot$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi distclean

uka_in@madaari:~/u-boot$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi am335x_evm_config

Configuring for am335x_evm - Board: am335x_evm, Options: SERIAL1,CONS_INDEX=1,NAND

uka_in@madaari:~/u-boot$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-

`

version of QEMU:

`
uka_in@madaari:~/Downloads/u-bootbd/ti-u-boot$ qemu-system-arm -version
QEMU emulator version 2.3.50 (qemu-linaro from git), Copyright © 2003-2008 Fabrice Bellard
uka_in@madaari:~/Downloads/u-bootbd/ti-u-boot$

`

i am sure about the problem, can anyone please help??