10-05-2010 12:07 PM
I'm trying to build Linux for the Virtex-5 on the ML507 evaluation board using version 12.1 of EDK and ELDK 4.1. My process is as follows:
1) Use Platform Studio's Base System Builder Wizard
a) Select the ML507 development board
b) Select Single-Processor system
c) Change to Processor Clock Frequency to 400 MHz and enable the Floating Point Unit.
d) Remove the PCIe_Bridge peripheral, change the Uarts to xps_uart16550, and enable interrupts for Uarts, SysACE, and Ethernet_MAC.
e) No instruction or data cache
f) Standard IO to RS232_Uart_1
2) Generate the Bitstream and Generate Libraries and BSPs
3) Get the Linux kernel source tree using "git clone git://git.xilinx.com/linux-2.6-xlnx.git"
4) In SDK, create a new Xilinx Hardware Platform Specification and point to the system.xml in the __xps folder.
5) In SDK, create a new Board Support Package
a) Select the Hardware Platform I created
b) Select linux_2_6 under Board Support Package OS
c) Set the memory size to 0x10000000 (256MB) and the target directory to the Linux kernel source tree.
6) Run "make ARCH=powerpc 44x/virtex5_defconfig" from the kernel source tree which results in the following ouput:
drivers/block/Kconfig:452: can't open file "drivers/block/Kconfig.iosched"
make: *** [44x/virtex5_defconfig] Error 1
make: *** [44x/virtex5_defconfig] Error 2
What is the correct process to build the Linux kernel with 12.1? I can build the kernel without the BSP by doing:
1) make ARCH=powerpc 44x/virtex5_defconfig
2) make ARCH=powerpc simpleImage.initrd.virtex440-ml507
But the kernel fails to boot with no output after creating an ace file with:
xmd -tcl genace.tcl -jprog -board ml507 -target ppc_hw -hw implementation/system.bit -elf simpleImage.initrd.virtex440-ml507.elf -ace my_ace.ace
Any help would be appreciated, thanks!
10-05-2010 12:17 PM
10-05-2010 12:17 PM
10-05-2010 12:59 PM
Ok, Platform Studio complains that using "Software Platform Settings" was deprecated and that SDK is the recommended application so I went there.
Those instructions worked fine. Thanks John