All of lore.kernel.org
 help / color / mirror / Atom feed
From: iismail <iismail@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users]  Standalone hello_world, data abort error on ARM926 (AP)
Date: Wed, 30 Jan 2008 19:00:27 -0800 (PST)	[thread overview]
Message-ID: <15197260.post@talk.nabble.com> (raw)


Hi all,

I am having problem running the "hello_world" examples that comes with
u-boot on ARM926 board.

Board: ARM926 (AB) application baseboard
Tools: CodeSourcery (arm-none-linux-gnueabi-)

I manage to build u-boot successfully as follow
	1. make versatileab_config CROSS_COMPILE=arm-none-linux-gnueabi-
	2. make all CROSS_COMPILE=arm-none-linux-gnueabi-
Then i flash "u-boot.bin" into the board memory.

Then i load and run the standalone program "hello_world.bin" as follow

VersatileAB # tftp 0xc100000 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: 0xc100000
Loading: #
done
Bytes transferred = 506 (1fa hex)
VersatileAB # go 0xc100000
## Starting application at 0x0C100000 ...
undefined instruction
pc : [<0c100004>]          lr : [<01005d3c>]
sp : 00fddb88  ip : ffffffff     fp : 00000000
r10: 00000000  r9 : 00000000     r8 : 00fddfdc
r7 : 00fddcb0  r6 : 00000002     r5 : 00fddea8  r4 : 0c100000
r3 : 00000000  r2 : 101f1018     r1 : 00fddea8  r0 : 00000001
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

ARM Versatile/AB926EJ-S Boot Monitor
Version:    V2.0.2
Build Date: Apr 12 2005
Endian:     Little
> 

I notice the load address 0xc100000 is pointing to reserve area according to
User Guide Manual from ARM

Reserved (MPMC Chip Select 1, dynamic expansion memory on
Versatile/PB926EJ-S)	-	-	0x08000000? 0x0FFFFFFF	128MB


Any idea?

Thanks
-- 
View this message in context: http://www.nabble.com/Standalone-hello_world%2C-data-abort-error-on-ARM926-%28AP%29-tp15197260p15197260.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

             reply	other threads:[~2008-01-31  3:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  3:00 iismail [this message]
2008-01-31 11:18 ` [U-Boot-Users] Standalone hello_world, data abort error on ARM926 (AP) iismail
2008-01-31 12:01 ` Peter Pearse
2008-01-31 13:27   ` idris ismail
2008-01-31 15:27   ` idris ismail
2008-01-31 15:40     ` Rune Torgersen
2008-01-31 16:04     ` Peter Pearse
2008-02-01 13:57 ` Leonid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15197260.post@talk.nabble.com \
    --to=iismail@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.