Linux for ml310

Joachim Meyer Jogi95 at web.de
Thu Jan 10 02:19:55 EST 2008


Hi

First I want to thank you for you fast and useful answer last time.
I decided to use the kernel 2.6 for my ml310 now.

I downloaded this Kernel:
http://git.secretlab.ca/git/gitweb.cgi?p=linux-2.6-virtex.git;a=snapshot;h=d7ed933b578d9c4dec0e23a5a6f78c464b31c47c;sf=tbz2
Is this a complete Kernel? I don't really understand this whole git-tree stuff.
then i copied the arch/ppc/configs/ml300_defconfig to .config.
I used an edk9.1 with linux_2_6 as OS for the ppc405_0,  0x10000000 for memory size, 100000000 for uart16550 bus clock freq and set the target directory. Under connected_periphs where: RS232_Uart, SPI_EEPROM, PCI32_BRIDGE, SysACE_CompactFlash and opb_intc_0.
At Software I pressed the "Generate Libaries and BSPs" Button and copied the generated xparameters.h to linux-2.6-virtex/arch/ppc/platforms/4xx/xparameters.
I tried to compile with 
make ARCH=ppc CROSS_COMPILE=powerpc-405-linux-gnu- zImage
but it soon aborted with:
---------------------------
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      arch/ppc/syslib/xilinx_pic.o
In file included from arch/ppc/syslib/xilinx_pic.c:16:
arch/ppc/platforms/4xx/xparameters/xparameters.h:14:26: linux/config.h: No such file or directory
make[1]: *** [arch/ppc/syslib/xilinx_pic.o] Error 1
make: *** [arch/ppc/syslib] Error 2
------------------------------

Can you help me?
Is there any tutorial (beside http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex) which provides detailed information?
Which Kernel should I use (And where to get it)?
Are ther eany patches necessary?
As crosscompiler I used crosstool with:
eval `cat powerpc-405.dat gcc-4.1.0-glibc-2.3.6.dat` sh all.sh --notest

I hope I don't bother you too much
Greetings & Thanks
Joachim
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220



More information about the Linuxppc-embedded mailing list