[oe] [PATCH] add xilinx ml507 machine

Adrian Alonso aalonso00 at gmail.com
Mon Feb 15 18:54:48 UTC 2010


Oops didn't know about the commit guide lines.

Actually I haven't found a guideline my self but some of the things that are
needed to
support xilinx dev board are:

Linux kernel recipe with the ability to specify to build a simpleImage so we
can program the fpga with a Jtag
u-boot recipe to preserve the u-boot elf image this also in early developing
stage for programing the fpga.

All hardware changes performed in the fpga must generate a new device
tree descriptor using Xilinx XPS tool  and should be replaced in the Linux
kernel and u-boot (actually some peripheral address in xparameters.h) to
match with the fpga hardware model.

I'm also going to crate a repository with my hardware project to make
available the hardware model (bitstream) used as target reference; and post
on my blog how I'm trying to use OE with the ml507 target platform.







On Mon, Feb 15, 2010 at 12:14 PM, Philip Balister <philip at balister.org>wrote:

> Can you make the commit log examples look like this:
>
> http://wiki.openembedded.net/index.php/Commit_log_example
>
> Do you know of any guides that could help me test this on my ml403? I would
> love to test this stuff!
>
> Philip
>
>
> On 02/15/2010 09:42 AM, Adrian Alonso wrote:
>
>> From: aalonso<aalonso00 at gmail.com>
>>
>> ---
>>  conf/machine/include/tune-ppc440.inc |    2 +-
>>  conf/machine/xilinx-ml507.conf       |   33
>> +++++++++++++++++++++++++++++++++
>>  2 files changed, 34 insertions(+), 1 deletions(-)
>>  create mode 100644 conf/machine/xilinx-ml507.conf
>>
>> diff --git a/conf/machine/include/tune-ppc440.inc
>> b/conf/machine/include/tune-ppc440.inc
>> index feca186..6a56bfa 100644
>> --- a/conf/machine/include/tune-ppc440.inc
>> +++ b/conf/machine/include/tune-ppc440.inc
>> @@ -1,4 +1,4 @@
>>  TARGET_CC_ARCH = "-mcpu=440"
>>  BASE_PACKAGE_ARCH = "ppc440"
>>  FEED_ARCH = "ppc440"
>> -PACKAGE_EXTRA_ARCHS += "ppc440e"
>> +PACKAGE_EXTRA_ARCHS += "ppc440"
>> diff --git a/conf/machine/xilinx-ml507.conf
>> b/conf/machine/xilinx-ml507.conf
>> new file mode 100644
>> index 0000000..c376cfe
>> --- /dev/null
>> +++ b/conf/machine/xilinx-ml507.conf
>> @@ -0,0 +1,33 @@
>> +# Copyright (C) 2010, Adrian Alonso<aalonso00 at gmail.com>
>> +# Released under the MIT license (see packages/COPYING)
>> +#@TYPE: Machine
>> +#@Name: Xilinx ML507 FPGA Development Platform
>> +#@DESCRIPTION: Machine configuration for Xilinx ML507
>> +
>> +TARGET_ARCH = "powerpc"
>> +TARGET_CPU = "440"
>> +TARGET_FPU = "soft"
>> +#tune for the 440 cpu
>> +require conf/machine/include/tune-ppc440.inc
>> +
>> +#ASSUME_PROVIDED += "virtual/kernel"
>> +PREFERRED_PROVIDER_virtual/kernel = "linux"
>> +
>> +KERNEL_IMAGETYPE = "uImage"
>> +
>> +MACHINE_FEATURES = "kernel26 ext2 usbhost udev"
>> +MACHINE_EXTRA_RECOMMENDS = "kernel-modules"
>> +
>> +UBOOT_ARCH = "ppc"
>> +UBOOT_MACHINE = "ml507_defconfig"
>> +
>> +# Xilinx EDK override paramater definitions for xilinx-bsp
>> +# Include in your local.conf
>> +# XILINX_BSP_PATH = "complete path for Xilinx EDK project"
>> +# XILINX_BOARD = "ml507"
>> +
>> +# Don't use tty1
>> +USE_VT = "0"
>> +SERIAL_CONSOLE = "115200 ttyS0"
>> +
>> +
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com



More information about the Openembedded-devel mailing list