From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] questions about stand alone application - flash a LED
Date: Thu, 17 Apr 2008 17:03:59 +0200 [thread overview]
Message-ID: <m2prsocylc.fsf@ohwell.denx.de> (raw)
In-Reply-To: <200804142118.18422.casainho@gmail.com> (J. P. Casainho's message of "Mon, 14 Apr 2008 21:18:18 +0100")
Hi,
>> You can use the go CMD to test your app.
>> Here post my used step.
>>
>> Write a simple code.It's just include a function definition
>> void _start()
>> {
>> }
>> Then compile it.After do that use following step:
>> ppc_82xx-ld -Bstatic -Ttext 0x00001000 board/bname/ttt.o -o ttt.elf
It just occured to me that you are overwriting the InstructionTLBMiss
exception vector here. Are you sure you want to do this?
This is one of the reasons why in examples/Makefile always 0x40000 is
chosen for the standalone apps:
ifeq ($(ARCH),ppc)
LOAD_ADDR = 0x40000
endif
Cheers
Detlev
--
A stated design goal of Motif was to give the X Window System the
window management capabilities of HP's circa-1988 window manager and
the visual elegance of Microsoft Windows. We kid you not.
-- The UNIX Haters Handbook
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
next prev parent reply other threads:[~2008-04-17 15:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <48032361.25bb720a.38ba.1253@mx.google.com>
2008-04-14 20:18 ` [U-Boot-Users] questions about stand alone application - flash a LED J.P. Casainho
2008-04-17 15:03 ` Detlev Zundel [this message]
2008-04-14 8:33 Casainho
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=m2prsocylc.fsf@ohwell.denx.de \
--to=dzu@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox