On Jan 31, 2008 7:01 AM, Peter Pearse <peter.pearse@arm.com> wrote:


> -----Original Message-----
> From: u-boot-users-bounces@lists.sourceforge.net
> [mailto:u-boot-users-bounces@lists.sourceforge.net] On Behalf
> Of iismail
> Sent: 31 January 2008 03:00
> To: u-boot-users@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



Hi Peter

> How did you come to choose 0xc1000000 - which as you say is Reserved?
I didn't choose that address, it it was part of the hello_world's Makefile
ifeq ($(ARCH),arm)
  LOAD_ADDR = 0xc100000
endif

> Try somewhere in SDRAM 0x000000 - 0x07FFFFFF (depending on your switch settings) as per your manual
Still no luck with 0x06000000 which is in the RAM area;
060081fa A __bss_end__
060081fa A __bss_start
060081fa A __bss_start__
060081fa R __data_start
060081fc A __end__
060001fa A __exidx_end
060001fa A __exidx_start
060081fa A _bss_end__
060081fa A _edata
060081fc A _end
06000148 T app_startup
06000124 T do_reset
060000bc T dummy
06000104 T free
060000f4 T free_hdlr
06000114 T get_timer
060000bc T get_version
060000c4 T getc
0600012c T getenv
06000000 T hello_world
060000ec T install_hdlr
060000fc T malloc
060000e4 T printf
060000d4 T putc
060000dc T puts
06000134 T setenv
0600013c T simple_strtoul
060000cc T tstc
0600010c T udelay
0600011c T vprintf


VersatileAB # tftp 0x06000000 hello_world.bin
Using MAC Address 00:02:F7:00:10:31
TFTP from server 192.168.1.105; our IP address is 192.168.1.109
Filename 'hello_world.bin'.
Load address: 0x6000000
Loading: #
done
Bytes transferred = 506 (1fa hex)
VersatileAB # go 0x06000000 hello
## Starting application at 0x06000000 ...
data abort
pc : [<0600015c>]          lr : [<06000014>]
sp : 00fddb78  ip : ffffffff     fp : 00000000
r10: 00000000  r9 : 00000000     r8 : 00fddfdc
r7 : 00fddcb7  r6 : 00fddea8     r5 : 00000002  r4 : 06000000
r3 : 00000000  r2 : 060081fa     r1 : 00fddea8  r0 : 00fddea8
Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

Regards,

Idris