[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Starting up questions
Dave,
I don't have much experience with standard Linux compilation (FreeBSD is
more my cup of tea), but I've been working a lot with uClinux for the
Microblaze lately. The easiest way to get a uClinux source tree is to
pull it directly from the www.uclinux.org CVS repository. It's based on
the 2.4 Linux kernel, but hopefully a 2.6 based version will be coming
soon. I'm not sure how many people start with a Xilinx Microblaze port
by pulling the kernel source from kernel.org so you may be going down
uncharted territory that most people here won't be familiar with, but I
guess I could be wrong.
There is a description of getting the uClinux kernel source tree here:
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/Documentation/obtaining_sources.html
I would suggest starting with the kernel sources from www.uclinux.org
first, get something working fairly quickly, and then backtracking to
your own source tree and tools once you learn more about the standard
uClinux build process that most people are using.
Getting started with uClinux on the MicroBlaze was fairly confusing for
me at the beginning. A number of months ago I made a write up of my
adventures of getting uClinux running starting with zero knowledge of
where to begin. Perhaps you will find it a useful place to start from:
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2006/03/msg00118.html
I now do things a bit differently as I've learned a lot in the last six
months or so, but I would be happy to answer any specific questions
while you work to get a uClinux build for the MicroBlaze.
Mike Thompson
David H. Lynch Jr wrote:
I have done Linux kernel development and board bringup before. But I
am somewhat lost regarding to proceeding with a MicroBlaze uCLinux port.
I pulled the gnu tools from xilinx and built them for my development
system - though it would be nice if xilinx would just submit the
MicroBlaze code to GNU to get it into the
main gnu tools chains, then things could be built with crosstools or
something normal.
I pulled a recent kernel source from kernel.org.
I pulled and applied the coresponding uCLinux patches.
Unless I am fairly blind MicroBlaze is not under arch/
I have pulled most of the itee/petalogic downloads. These seem to
add uCLinux as a target to Xilinx tools - as best as I can digest them.
I am not using Xilinx tools. I have done Linux 2.6 and GreenHills
ports for a PPC variant of the boards I am now trying to bring up using
the MicroBlaze.
I'd really rather not comment on the Xilinx Linux code - aside from
the fact that it isn't getting into the kernel.org kernels.
All I am looking for is A Linux source tree with MicroBlaze as an
architecture - maybe with an example platform - though the PPC platform
I have already done is sufficiently close to what I need I probably do
not need an example platform.
Where can I get a patch that adds the MicroBlaze as a architecture
to a uCLinux modified Linux source tree ?
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@xxxxxxxxxx http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@xxxxxxxxxx http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
___________________________
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/