Patchworkβ [oe,1/5] xilinx-ml507.conf: fix several options

login
register
about
Submitter Adrian Alonso
Date 2010-03-05 01:09:32
Message ID <1267751376-17182-1-git-send-email-aalonso00@gmail.com>
Download mbox | patch
Permalink /patch/1654/
State Superseded
Headers show

Comments

Adrian Alonso - 2010-03-05 01:09:32
* Fix u-boot entry and load address
* Prefered kernel based on xilinx repos, not all drivers in mainline tree
* Add device nodes for system ace

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
---
 conf/machine/xilinx-ml507.conf |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
Stefan Schmidt - 2010-03-05 09:07:53
Hello.

Where did you base this patchset on?

I tried to applay it on top of your older patches, but it failed:

Applying: xilinx-ml507.conf: fix several options
error: patch failed: conf/machine/xilinx-ml507.conf:30
error: conf/machine/xilinx-ml507.conf: patch does not apply
Patch failed at 0003 xilinx-ml507.conf: fix several options

Applying it without them does of course not work as the machine file does not
exist.

I would really like to get this in sadly I only have today or it has to wait a
week. Mind sending a patchset with all your patches included to get it working
from git HEAD? That would make my life easier over here.

regards
Stefan Schmidt
Adrian Alonso - 2010-03-05 15:54:26
The newer patches are based and apply from the previous patches that I send
to the list, let me regenerate them from HEAD so I can be applyed discarding
the previous patchs.

I had on github [1] the corresponding hardware reference project and at my
blog [2] a brief description on how I'm using OE on the target platform.

[1] http://github.com/aalonso/xilinx-ml507
[2] http://aalonso.wordpress.com/2010/03/05/angstrom-on-xilinx-ml507/
Regards.

On Fri, Mar 5, 2010 at 3:07 AM, Stefan Schmidt <stefan@datenfreihafen.org>wrote:

> Hello.
>
> Where did you base this patchset on?
>
> I tried to applay it on top of your older patches, but it failed:
>
> Applying: xilinx-ml507.conf: fix several options
> error: patch failed: conf/machine/xilinx-ml507.conf:30
> error: conf/machine/xilinx-ml507.conf: patch does not apply
> Patch failed at 0003 xilinx-ml507.conf: fix several options
>
> Applying it without them does of course not work as the machine file does
> not
> exist.
>
> I would really like to get this in sadly I only have today or it has to
> wait a
> week. Mind sending a patchset with all your patches included to get it
> working
> from git HEAD? That would make my life easier over here.
>
> regards
> Stefan Schmidt
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Patch

diff --git a/conf/machine/xilinx-ml507.conf b/conf/machine/xilinx-ml507.conf
index b2448e3..693f904 100644
--- a/conf/machine/xilinx-ml507.conf
+++ b/conf/machine/xilinx-ml507.conf
@@ -11,15 +11,18 @@  TARGET_FPU = "soft"
 require conf/machine/include/tune-ppc440.inc
 
 #ASSUME_PROVIDED += "virtual/kernel"
-PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_PROVIDER_virtual/kernel = "linux-xilinx-ml507"
 
 KERNEL_IMAGETYPE = "uImage"
 
-MACHINE_FEATURES = "kernel26 ext2 usbhost udev"
+MACHINE_FEATURES = "kernel26 apm ext2 vfat ethernet"
 MACHINE_EXTRA_RECOMMENDS = "kernel-modules"
 
 UBOOT_ARCH = "ppc"
 UBOOT_MACHINE = "ml507_config"
+UBOOT_ENTRYPOINT ?= "0x00000000"
+UBOOT_LOADADDRESS ?= "0x00000000"
+PREFERRED_VERSION_u-boot_xilinx-ml507 = "git"
 
 # Xilinx EDK override hardware  definitions for xilinx-bsp
 # Include in your local.conf
@@ -30,4 +33,6 @@  UBOOT_MACHINE = "ml507_config"
 USE_VT = "0"
 SERIAL_CONSOLE = "9600 ttyS0"
 
-
+# Device nodes add xsa for (system ace)
+IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt \
+                       files/device_table_add-xsa.txt"