[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Porting of redhat linux on PPC processor for memec board !!! pls help
Jivin Ujwal lays it down ...
> Hi John,
>
> this link
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/uclinux_powerpc/#linuxppc-2
> talks abt PowerPC linux . but i want to port redhat linux 2.4/2.6 kernel to
> powerpc on memec board.
> but this link says....
> "This IS NOT uClinux for the PowerPC - it's a regular Linux kernel (a
> modified MontaVista 2.4 kernel), build inside the uClinux-dist environment
> and toolset commonly used for uClinux environment"
>
> i dont understand if this is used for uClinux or powerpc separately???? How
> do i compile for powerpc when im in uClinux-dist directory without using the
> uClinux kernel??
The uClinux kernel is just the standard linux kernel with addition
processor support for !MMU systems.
So you can easily build it for PPC, ARM, x86, or whatever you want
and many people do :-)
Cheers,
Davidm
> Hi,
>
> I have to Port Redhat Linux with kernel 2.6.x/2.4.x to PowerPC on Memec
> Board - fg456 with Virtex II Pro FPGA. I'm using 2.6 kernel at the moment.
>
> As far as my knowledge goes, porting redhat linux to ppc has not been done
> by any1.
> Only Montavista linux 3.1/VxWorks can be ported to powerpc processor and
> usually done to ML300/400 series boards. The reason for choosing redhat is,
> its free OS.
>
> I have done the following until now :( not able to do step 4 and step 6)
>
> Step 1) peripheral selection : I have been using the Xilinx EDK (Embedded
> Development Kit) version 6.3i with the ISE 6.3i for selecting the various
> peripherals like Ethernet MAC, SDRAM, FLASH etc....
> Step 2) making a Board Support package(BSP) for Memec : generating the board
> support
> package , but generating it for montavista linuxv3.1 OS(this is the only
> procedure available) . Also , i read somewhere that , it should be done like
> that only.
> Step 3) generating the system.bit file : after doing the step 1 and 2 , i
> generate the libraries 1st using "libgen" and then generate the hardware(
> system.bit file) using "generate binary files" option.
> Step 4) now i get some files regarding the peripherals of the memec board
> in the BSP. A file called x_paramters_ml300.h contains the peripheral
> addresses
> of the memec board.
> Step 5) Meanwhile, i have created a cross compilation toolchain for powerpc
> using gcc3.4.1 and glibc ....and done that in the linux2.6.x.
> Step 6) I have my linux sources in /usr/src/linux-2.6.9 directory.I have to
> cross compile this kernel for powerpc, but the problem is that somehow i
> have to
> incorporate all the BSP packages in the linux kernel and make it know that
> x_paramaters_ml300.h file contains the board peripheral addresses and that
> the system should compile for this board.
> Step 7) that should generate a zImage.elf file that would be suitable to
> download to the board.
>
>
> Please give me info on the same if u know... especially Step 4 and Step 6.
>
> Thanks and Regards,
> Ujwal
--
David McCullough, david_mccullough@xxxxxxxxxxxxxxxxxxx, Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com
___________________________
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/