[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] microblaze



guys, i have just read your replies. thanks! i guess i would really have to purchase that suzaku board :) your comments are very well-appreciated :) thanks again!

-jag


Matthew Rubenstein wrote:

	To be even more explicit: MicroBlaze is an interated-instruction CPU
implemented in FPGA circuits, like a Pentium. uCLinux is a Linux kernel
OS that can run on CPUs without MMU controllers, like the MicroBlaze
"soft CPU". A C compiler runs on uCLinux like any uCLinux app would. If
it's directed to produce "native" instructions (as opposed to
"cross-compiling", if the compiler can do that, for other CPUs like eg.
a Pentium or PowerPC), it will compile a C source file into MicroBlaze
instructions and uCLinux API calls. The resulting binary will therefore
run under the uCLinux OS on the MicroBlaze CPU on FPGA hardware. Change
any of the OS, CPU or underlying HW, and you have to compile your SW,
and possibly change its API calls, to suit the new environment.


On Fri, 2005-12-02 at 17:53 +0900, Yasushi SHOJI wrote:
At Fri, 02 Dec 2005 12:10:56 +0800,
Jag Glifonea wrote:
In relation with this I would like to know if it is possible to run a C
source code via the microblaze. I mean can I compile a C source code
then the uClinux will create instructions for the microblaze to perform
the algorithm described by the C code?
huh?  are you tring to run a executable compiled from C on uClinux on
microblaze?  if so, the answer is yes.

uClinux does not _generate_ mb inst. at run time.  so if you are
thinking about uclinux as some VM, the answer is no.

hope this helps.
--
           yashi
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/