LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "McMullan, Jason" <jason.mcmullan@timesys.com>
To: "Peter Asemann" <peter.asemann@web.de>
Cc: PPC_LINUX <linuxppc-embedded@ozlabs.org>
Subject: Re: Writing a small test program - a bit off topic
Date: Mon, 09 May 2005 16:04:57 -0400
Date: Mon, 9 May 2005 15:59:17 -0400	[thread overview]
Message-ID: <1115669098.9050.48.camel@jmcmullan.timesys> (raw)
In-Reply-To: <427F3441.2010108@web.de>

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

On Mon, 2005-05-09 at 11:58 +0200, Peter Asemann wrote:
> I *hope* this mail isn't very off topic. In principle it probably is, 
> but I don't know a mailing list which is about writing test programs to 
> test processors in order to debug a hardware to get linux running. Plus, 
> I suppose there are people out there who could help me. So I hope you 
> won't stone me for this post.

assuming 'foo.c' is your program, and you want to run it at origin 0.

Step 1)	ppc8xx-linux-gcc -Dmain=_start -nostdlib foo.c -o foo

Step 2) ppc8xx-linux-objcopy foo -O binary foo.bin

Done!

	
-- 
Jason McMullan <jason.mcmullan@timesys.com>
TimeSys Corporation


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2005-05-09 20:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09  9:58 Writing a small test program - a bit off topic Peter Asemann
2005-05-09 20:04 ` McMullan, Jason [this message]

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=1115669098.9050.48.camel@jmcmullan.timesys \
    --to=jason.mcmullan@timesys.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=peter.asemann@web.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