[U-Boot-Users] Standalone hello_world, data abort error on ARM926 (AP)

idris ismail iismail at gmail.com
Thu Jan 31 16:27:06 CET 2008


Hi Peter,

Thanks again for your quick reponse,
No matter what address i choose it is not working; below is my memory map

 iismail at ubuntu-desktop:~/seda/u-boot/u-bootARMPatched$
arm-none-linux-gnueabi-nm examples/hello_world
 030081fa A __bss_end__
 030081fa A __bss_start
 030081fa A __bss_start__
 030081fa R __data_start
 030081fc A __end__
 030001fa A __exidx_end
 030001fa A __exidx_start
 030081fa A _bss_end__
 030081fa A _edata
 030081fc A _end
 03000148 T app_startup
 03000124 T do_reset
 030000bc T dummy
 03000104 T free
 030000f4 T free_hdlr
 03000114 T get_timer
 030000bc T get_version
 030000c4 T getc
 0300012c T getenv
 03000000 T hello_world
 030000ec T install_hdlr
 030000fc T malloc
 030000e4 T printf
 030000d4 T putc
 030000dc T puts
 03000134 T setenv
 0300013c T simple_strtoul
 030000cc T tstc
 0300010c T udelay
 0300011c T vprintf


VersatileAB # tftp 0x03000000 hello_world.bin
Using MAC Address <X X X X X>
TFTP from server 192.168.1.105; our IP address is 192.168.1.109
Filename 'hello_world.bin'.
Load address: 0x3000000
Loading: #
done
Bytes transferred = 506 (1fa hex)
VersatileAB # to 0x03000000
Unknown command 'to' - try 'help'
VersatileAB # go 0x03000000
## Starting application at 0x03000000 ...
data abort
pc : [<0300015c>]          lr : [<03000014>]
sp : 00fddb78  ip : ffffffff     fp : 00000000
r10: 00000000  r9 : 00000000     r8 : 00fddfdc
r7 : 00fddcb1  r6 : 00fddea8     r5 : 00000001  r4 : 03000000
r3 : 00000000  r2 : 030081fa     r1 : 00fddea8  r0 : 00fddea8
Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...


On Jan 31, 2008 7:01 AM, Peter Pearse <peter.pearse at arm.com> wrote:
>
>
>
> > -----Original Message-----
> > From: u-boot-users-bounces at lists.sourceforge.net
> > [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf
> > Of iismail
> > Sent: 31 January 2008 03:00
> > To: u-boot-users at lists.sourceforge.net
> > Subject: [U-Boot-Users] Standalone hello_world, data abort
> > error on ARM926 (AP)
> >
> >
> > Hi all,
> >
> > I am having problem running the "hello_world" examples that
> > comes with u-boot on ARM926 board.
>
> ---snip
>
>
> >
> > Then i load and run the standalone program "hello_world.bin" as follow
> >
> > VersatileAB # tftp 0xc100000 hello_world.bin Using MAC
>
> How did you come to choose 0xc1000000 - which as you say is Reserved?
>
> Unless you have modified your AB accordingly you must expect problems
> using a reserved address....
>
> Try somewhere in SDRAM 0x000000 - 0x07FFFFFF
> (depending on your switch settings) as per your manual
>
> Regards
>
> Peter
>
>
>
>




More information about the U-Boot mailing list