[Top] [All Lists]

Re: VPE loader support on 34K

To: Alan Wu <>
Subject: Re: VPE loader support on 34K
From: "tiejun.chen" <>
Date: Thu, 26 Mar 2009 09:42:50 +0800
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Thunderbird (X11/20080925)
Alan Wu wrote:
> Hello,
> 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 recommend you refer to the file, MIPS® SDE Programmers' Guide (.pdf).

It's easy to build the sample with SDE. And ever I program a sample to output
some messages from UART to validate AP/AP. I think even you can implement the
same to display something from the LED.

Best Regards

> Thanks.

<Prev in Thread] Current Thread [Next in Thread>