Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Alan Wu <alan.wu@mstarsemi.com>
Cc: linux-mips@linux-mips.org
Subject: Re: VPE loader support on 34K
Date: Wed, 25 Mar 2009 16:42:24 +0100	[thread overview]
Message-ID: <20090325154224.GB32398@linux-mips.org> (raw)
In-Reply-To: <B34CE01D80AD4D309E259934BA1361AA@mstarsemi.com.tw>

On Wed, Mar 25, 2009 at 10:37:20PM +0800, Alan Wu wrote:

> I'm porting 2.6.26 Linux on the platform of MIPS 34K. Currently, the uni-processor 
> kernel model(1 VPE) and SMP model (2 VPE) are up and work perfectly.
> 
> Now, I need to port the AP/SP model on a normal Linux uniprocessor kernel model. 
> I'd like to load an application program (ELF ?) into kernel space where this 
> application will run on a Secondary VPE undisturbed by the Linux kernel.
> 
> After I enabled the MIPS_VPE_LOADER [=y] in .config , the kernel is up without
> any error/warning message.
> 
> Please help :
> 
> 1. How to load the application into VPE1 from VPE0 ? (cat XYZapp >/dev/vpe1 ?)
> 2. Is there any sample "Hello World" application for this ? 
> 3. Any specific tool chain needed ?

I assume you're a MTI customer?  If so I suggest you talk to customer
support.  There are docs, SDE-based toolchain and example code showing
how to use this.  If you understand the technical details it will not
be too difficult to figure out your own solution using a standard
Linux/MIPS toolchains but of course in that case you can't use any of
the userspace libraries for building an AP/SP program.

  Ralf

  parent reply	other threads:[~2009-03-25 15:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 14:37 VPE loader support on 34K Alan Wu
2009-03-25 14:37 ` Alan Wu
2009-03-25 15:42 ` Ralf Baechle [this message]
2009-03-25 16:03 ` Kevin D. Kissell
2009-03-26  1:42 ` tiejun.chen

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=20090325154224.GB32398@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=alan.wu@mstarsemi.com \
    --cc=linux-mips@linux-mips.org \
    /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