Re: [yocto] Problems building yocto for Xilinx ML507 (with some tentative fixes)

2013-05-11 Thread Andrea Sterbini

Updates

1) I was wrong with git.xilinx.com and git.denx.de not working ... it's 
just a HUGE download that took forever ... I have reverted my changes
2) I have been able to compile u-boot-xilinx (after some trial-error to 
generate the proper xparameters.h with XPS/XSDK, e.g. the FLASH memory 
is required)


A small fix was needed to complete u-boot-xilinx compilation ... I had 
to add

#include "xparameters.h"
to the file
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c

3) I have been able to compile linux-xilinx,
but first I had to copy the file defconfig as 
linux-xilinx/3.3-r02/git/.config


Now core-image-minimal is done and I am going to try it (as soon I find 
how to build the ace)


All the best
AndreaS

On Fri 10 May 2013 08:45:33 PM CEST, Andrea Sterbini wrote:

Found why that error
|
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/run.do_configure.10130:
line 157:
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/git/board/xilinx/ml507/xparameters.h:
Not a directory

The u-boot downloaded from github.com/Xilinx has no
board/xilinx/ml507/ directory but only a board/xilinx/ppc440-generic
Now I will try the original from git://git.denx.de/u-boot.git
(but bitbake seems to have problems fetching it)

A

On Fri 10 May 2013 07:51:11 PM CEST, Andrea Sterbini wrote:

Not yet.
I haven't been able to complete the complete run

bitbake core-image-minimal

I moved to the meta-xilinx master branch
I am able to complete almost 1600 tasks of 1666 by doing (after the
git.xilinx.com -> github.com/Xilinx fixes)

bitbake core-image-minimal -k

The error I get is


Build Configuration:
BB_VERSION= "1.19.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-18"
TARGET_SYS= "powerpc-poky-linux"
MACHINE   = "virtex-5-ml507-powerpc-440"
DISTRO= "poky"
DISTRO_VERSION= "1.3+snapshot-20130510"
TUNE_FEATURES = "m32 ppc440 fpu-soft"
TARGET_FPU= "soft"
meta
meta-yocto
meta-yocto-bsp= "master:88a7b041fbf2583472aa9408a33dd8881223a0c1"
toolchain-layer   = "master:cc0067dc0c7ea469057238db6422864d1bce311c"
toolchain-layer   = "master:cd5f284730a6430d563443786c409aa6783d4b04"
meta-xilinx   = "master:4f1a74f86c402e0810e84ab0588b5de2ca9ccfff"
meta-angstrom = "master:fe82cbd08eef51cd5d5a38c1cd0ed6ce7e57fb18"

--- a lot of diagnostic messages later

ERROR: Function failed: do_configure (see
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130

for further information)
ERROR: Logfile of failure stored in:
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130


Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| NOTE: Replacing xparameters header to match hardware model
|
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/run.do_configure.10130:

line 157:
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/git/board/xilinx/ml507/xparameters.h:

Not a directory
| ERROR: Function failed: do_configure (see
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130

for further information)
ERROR: Task 79
(/home/andrea/src/FPGA/poky/meta-xilinx/recipes-bsp/u-boot/u-boot-xilinx_git.bb,

do_configure) failed with exit code '1'
ERROR: Function failed: do_compile (see
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129

for further information)
ERROR: Logfile of failure stored in:
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129


Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 uImage CC=powerpc-poky-linux-gcc
LD=powerpc-poky-linux-ld.bfd
| scripts/kconfig/conf --silentoldconfig Kconfig
| ***
| *** Configuration file ".config" not found!
| ***
| *** Please run some configurator (e.g. "make oldconfig" or
| *** "make menuconfig" or "make xconfig").
| ***
| make[2]: *** [silentoldconfig] Error 1
| make[1]: *** [silentoldconfig] Error 2
| make: *** No rule to make target `include/config/auto.conf', needed
by `include/config/kernel.release'.  Stop.
| make: *** Waiting for unfinished jobs
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129

for further information)
ERROR: Task 811
(/home/andrea/src/FPGA/poky/meta-xilinx/reci

Re: [yocto] Problems building yocto for Xilinx ML507 (with some tentative fixes)

2013-05-10 Thread Andrea Sterbini

Found why that error
| 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/run.do_configure.10130: 
line 157: 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/git/board/xilinx/ml507/xparameters.h: 
Not a directory


The u-boot downloaded from github.com/Xilinx has no board/xilinx/ml507/ 
directory but only a board/xilinx/ppc440-generic

Now I will try the original from git://git.denx.de/u-boot.git
(but bitbake seems to have problems fetching it)

A

On Fri 10 May 2013 07:51:11 PM CEST, Andrea Sterbini wrote:

Not yet.
I haven't been able to complete the complete run

bitbake core-image-minimal

I moved to the meta-xilinx master branch
I am able to complete almost 1600 tasks of 1666 by doing (after the
git.xilinx.com -> github.com/Xilinx fixes)

bitbake core-image-minimal -k

The error I get is


Build Configuration:
BB_VERSION= "1.19.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-18"
TARGET_SYS= "powerpc-poky-linux"
MACHINE   = "virtex-5-ml507-powerpc-440"
DISTRO= "poky"
DISTRO_VERSION= "1.3+snapshot-20130510"
TUNE_FEATURES = "m32 ppc440 fpu-soft"
TARGET_FPU= "soft"
meta
meta-yocto
meta-yocto-bsp= "master:88a7b041fbf2583472aa9408a33dd8881223a0c1"
toolchain-layer   = "master:cc0067dc0c7ea469057238db6422864d1bce311c"
toolchain-layer   = "master:cd5f284730a6430d563443786c409aa6783d4b04"
meta-xilinx   = "master:4f1a74f86c402e0810e84ab0588b5de2ca9ccfff"
meta-angstrom = "master:fe82cbd08eef51cd5d5a38c1cd0ed6ce7e57fb18"

--- a lot of diagnostic messages later

ERROR: Function failed: do_configure (see
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130
for further information)
ERROR: Logfile of failure stored in:
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130

Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| NOTE: Replacing xparameters header to match hardware model
|
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/run.do_configure.10130:
line 157:
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/git/board/xilinx/ml507/xparameters.h:
Not a directory
| ERROR: Function failed: do_configure (see
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130
for further information)
ERROR: Task 79
(/home/andrea/src/FPGA/poky/meta-xilinx/recipes-bsp/u-boot/u-boot-xilinx_git.bb,
do_configure) failed with exit code '1'
ERROR: Function failed: do_compile (see
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129
for further information)
ERROR: Logfile of failure stored in:
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 uImage CC=powerpc-poky-linux-gcc
LD=powerpc-poky-linux-ld.bfd
| scripts/kconfig/conf --silentoldconfig Kconfig
| ***
| *** Configuration file ".config" not found!
| ***
| *** Please run some configurator (e.g. "make oldconfig" or
| *** "make menuconfig" or "make xconfig").
| ***
| make[2]: *** [silentoldconfig] Error 1
| make[1]: *** [silentoldconfig] Error 2
| make: *** No rule to make target `include/config/auto.conf', needed
by `include/config/kernel.release'.  Stop.
| make: *** Waiting for unfinished jobs
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129
for further information)
ERROR: Task 811
(/home/andrea/src/FPGA/poky/meta-xilinx/recipes-kernel/linux/linux-xilinx_3.3.bb,
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1662 tasks of which 1660 didn't need
to be rerun and 2 failed.
Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
/home/andrea/src/FPGA/poky/meta-xilinx/recipes-bsp/u-boot/u-boot-xilinx_git.bb,
do_configure
/home/andrea/src/FPGA/poky/meta-xilinx/recipes-kernel/linux/linux-xilinx_3.3.bb,
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit
code.


All the best
Andrea


On Fri 10 May 2013 05:11:48 PM CEST, Elvis Dowson wrote:


Hi Andrea,

On May 10, 2013, at 6:02 PM, Andrea Sterbini 
wrote:



The problems I have found (and someway fixed) are:

1) when I do "bitbake meta-toolchain" I get an error complaining
that the compiler is not ab

Re: [yocto] Problems building yocto for Xilinx ML507 (with some tentative fixes)

2013-05-10 Thread Andrea Sterbini

Not yet.
I haven't been able to complete the complete run

bitbake core-image-minimal

I moved to the meta-xilinx master branch
I am able to complete almost 1600 tasks of 1666 by doing (after the 
git.xilinx.com -> github.com/Xilinx fixes)


bitbake core-image-minimal -k

The error I get is


Build Configuration:
BB_VERSION= "1.19.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-18"
TARGET_SYS= "powerpc-poky-linux"
MACHINE   = "virtex-5-ml507-powerpc-440"
DISTRO= "poky"
DISTRO_VERSION= "1.3+snapshot-20130510"
TUNE_FEATURES = "m32 ppc440 fpu-soft"
TARGET_FPU= "soft"
meta
meta-yocto
meta-yocto-bsp= "master:88a7b041fbf2583472aa9408a33dd8881223a0c1"
toolchain-layer   = "master:cc0067dc0c7ea469057238db6422864d1bce311c"
toolchain-layer   = "master:cd5f284730a6430d563443786c409aa6783d4b04"
meta-xilinx   = "master:4f1a74f86c402e0810e84ab0588b5de2ca9ccfff"
meta-angstrom = "master:fe82cbd08eef51cd5d5a38c1cd0ed6ce7e57fb18"

--- a lot of diagnostic messages later
ERROR: Function failed: do_configure (see 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130 
for further information)
ERROR: Logfile of failure stored in: 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130

Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| NOTE: Replacing xparameters header to match hardware model
| 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/run.do_configure.10130: 
line 157: 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/git/board/xilinx/ml507/xparameters.h: 
Not a directory
| ERROR: Function failed: do_configure (see 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/u-boot-xilinx/v2012.04.01-r17/temp/log.do_configure.10130 
for further information)
ERROR: Task 79 
(/home/andrea/src/FPGA/poky/meta-xilinx/recipes-bsp/u-boot/u-boot-xilinx_git.bb, 
do_configure) failed with exit code '1'
ERROR: Function failed: do_compile (see 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129 
for further information)
ERROR: Logfile of failure stored in: 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 uImage CC=powerpc-poky-linux-gcc 
LD=powerpc-poky-linux-ld.bfd

| scripts/kconfig/conf --silentoldconfig Kconfig
| ***
| *** Configuration file ".config" not found!
| ***
| *** Please run some configurator (e.g. "make oldconfig" or
| *** "make menuconfig" or "make xconfig").
| ***
| make[2]: *** [silentoldconfig] Error 1
| make[1]: *** [silentoldconfig] Error 2
| make: *** No rule to make target `include/config/auto.conf', needed 
by `include/config/kernel.release'.  Stop.

| make: *** Waiting for unfinished jobs
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see 
/home/andrea/src/FPGA/poky/build/tmp/work/virtex_5_ml507_powerpc_440-poky-linux/linux-xilinx/3.3-r02/temp/log.do_compile.10129 
for further information)
ERROR: Task 811 
(/home/andrea/src/FPGA/poky/meta-xilinx/recipes-kernel/linux/linux-xilinx_3.3.bb, 
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1662 tasks of which 1660 didn't need to 
be rerun and 2 failed.

Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
/home/andrea/src/FPGA/poky/meta-xilinx/recipes-bsp/u-boot/u-boot-xilinx_git.bb, 
do_configure
/home/andrea/src/FPGA/poky/meta-xilinx/recipes-kernel/linux/linux-xilinx_3.3.bb, 
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit 
code.


All the best
Andrea


On Fri 10 May 2013 05:11:48 PM CEST, Elvis Dowson wrote:


Hi Andrea,

On May 10, 2013, at 6:02 PM, Andrea Sterbini  
wrote:




The problems I have found (and someway fixed) are:

1) when I do "bitbake meta-toolchain" I get an error complaining that 
the compiler is not able to build for powerpc with FPU

Fix: I have changed the ml507 rules to include just the soft FPU



I never did get soft-float to work properly with gcc-4.6 or gcc-4.7. I 
got soft-float to work with gcc-4.5.4.


hard float fpu support worked with gcc-4.7.

Were you able to boot and login to the command prompt with the 
generated images ?


Best regards,

Elvis Dowson



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Problems building yocto for Xilinx ML507 (with some tentative fixes)

2013-05-10 Thread Elvis Dowson
Hi Andrea,

On May 10, 2013, at 6:02 PM, Andrea Sterbini  wrote:

> The problems I have found (and someway fixed) are:
> 
> 1) when I do "bitbake meta-toolchain" I get an error complaining that the 
> compiler is not able to build for powerpc with FPU
> Fix: I have changed the ml507 rules to include just the soft FPU

I never did get soft-float to work properly with gcc-4.6 or gcc-4.7. I got 
soft-float to work with gcc-4.5.4.

hard float fpu support worked with gcc-4.7.

Were you able to boot and login to the command prompt with the generated images 
?

Best regards,

Elvis Dowson
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Problems building yocto for Xilinx ML507 (with some tentative fixes)

2013-05-10 Thread Andrea Sterbini

Hi
I have just bought an old Xilinx ML507 and I am trying to build yocto, 
but I find some problems building the minimal image

I am a yocto newbie ... thus I wonder if I am missing something important.

My setup: Linux Fedora 18 64 bits

I hope I am following the correct procedure:

git clone git://git.yoctoproject.org/poky
cd poky
git clone git://git.yoctoproject.org/meta-xilinx -b 
master-xilinx-ml507-gcc-4.7 meta-xilinx

git clone git://git.openembedded.org/meta-openembedded
. oe-init-build-env


My bblayers contains

BBLAYERS ?= " \
  /home/andrea/src/FPGA/poky/meta \
  /home/andrea/src/FPGA/poky/meta-yocto \
  /home/andrea/src/FPGA/poky/meta-yocto-bsp \
  /home/andrea/src/FPGA/poky/meta-openembedded/toolchain-layer \
/home/andrea/src/FPGA/poky/meta-openembedded-contrib/toolchain-layer \
  /home/andrea/src/FPGA/poky/meta-xilinx \
  /home/andrea/src/FPGA/poky/meta-angstrom \
  "


My local.conf contains


BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j 4"

XILINX_LOC ?= "/opt/Xilinx/13.3/ISE_DS"

MACHINE ?= "virtex-5-ml507-powerpc-440"

XILINX_BSP_PATH ?= "/home/andrea/src/FPGA/poky-ml507/xilinx-ml507-updated"
XILINX_BOARD ?= "ml507"

INHERIT += "rm_work"

PREFERRED_VERSION_libffi = "3.0.13"
PREFERRED_VERSION_libffi-native = "3.0.13"

MACHINE ??= "qemux86"

DISTRO ?= "poky"

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"

CONF_VERSION = "1"


The problems I have found (and someway fixed) are:

1) when I do "bitbake meta-toolchain" I get an error complaining that 
the compiler is not able to build for powerpc with FPU

Fix: I have changed the ml507 rules to include just the soft FPU

diff --git a/conf/machine/virtex-5-ml507-powerpc-440.conf 
b/conf/machine/virtex-5-ml507-powerpc-440.conf

index d44fc87..d268919 100644
--- a/conf/machine/virtex-5-ml507-powerpc-440.conf
+++ b/conf/machine/virtex-5-ml507-powerpc-440.conf
@@ -5,7 +5,8 @@
 #@DESCRIPTION: Machine configuration for the Xilinx ML507 FPGA 
development platform with a Virtex-5 PowerPC 440 processor (with APU FPU).


 include conf/machine/include/virtex-5/virtex-5-base.inc
-include conf/machine/include/tune-ppc440e.inc
+#AS include conf/machine/include/tune-ppc440e.inc
+include conf/machine/include/tune-ppc440.inc

 # Specify linux kernel devicetree
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/virtex440-ml507.dts"


2) the libffi library version "3.0.12" has a small bug (a misplaced 
#ifndef), which is fixed in version "3.0.13"

Fix: I have added to my local.conf


PREFERRED_VERSION_libffi = "3.0.13"
PREFERRED_VERSION_libffi-native = "3.0.13"


This way the toolchain compiles properly

When I try "bitbake core-image-minimal" I get 2 problems:

1) the Xilinx git repository has moved from git.xilinx.com to 
github.com/Xilinx

Fix: I have changed the links in u-boot and linux-xilinx


--- a/recipes-bsp/u-boot/u-boot-xilinx_2012.10.bb
+++ b/recipes-bsp/u-boot/u-boot-xilinx_2012.10.bb
@@ -12,7 +12,7 @@ PR = "r01"

 # U-Boot source location
 KBRANCH = "master"
-SRC_URI = 
"git://git.xilinx.com/u-boot-xlnx.git;branch=${KBRANCH};protocol=git"
+SRC_URI = 
"git://github.com/Xilinx/u-boot-xlnx.git;branch=${KBRANCH};protocol=git"


 S = "${WORKDIR}/git"
diff --git a/recipes-kernel/linux/linux-xilinx_3.3.bb 
b/recipes-kernel/linux/linux-xilinx_3.3.bb

index d803676..76c1edd 100644
--- a/recipes-kernel/linux/linux-xilinx_3.3.bb
+++ b/recipes-kernel/linux/linux-xilinx_3.3.bb
@@ -18,7 +18,7 @@ SRCREV = "1e92da8e3a66b051766b1be57be67e2bff11e19d"
 PR = "r02"

 KBRANCH = "master"
-SRC_URI = 
"git://git.xilinx.com/linux-xlnx.git;protocol=git;branch=${KBRANCH} \
+SRC_URI = 
"git://github.com/Xilinx/linux-xlnx.git;protocol=git;branch=${KBRANCH} \

file://0001-Xilinx-Update-IP-Core-support-for-Xilinx-ISE-14.1.patch \
file://0002-virtex440-ml507.dts-Update-device-tree-file-using-Xi.patch \
file://0003-xilinxfb-Fix-regression-in-call-to-XPS-TFT-controlle.patch \
diff --git a/recipes-kernel/linux/linux-xilinx_3.6.bb 
b/recipes-kernel/linux/linux-xilinx_3.6.bb

index 5d529a6..b7d2904 100644
--- a/recipes-kernel/linux/linux-xilinx_3.6.bb
+++ b/recipes-kernel/linux/linux-xilinx_3.6.bb
@@ -17,7 +17,7 @@ SRCREV = "04d9378881401e71f83b8b4fea0abd71d33b4052"
 PR = "r02"

 KBRANCH = "master"
-SRC_URI = 
"git://git.xilinx.com/linux-xlnx.git;protocol=git;branch=${KBRANCH} \
+SRC_URI = 
"git://github.com/Xilinx/linux-xlnx.git;protocol=git;branch=${KBRANCH} \

file://defconfig \
"
 # Apply machine specific patches.
diff --git a/recipes-kernel/linux/linux-xilinx_git.bb 
b/recipes-kernel/linux/linux-xilinx_git.bb

index 1800183..32351f7 100644
--- a/recipes-kernel/linux/linux-xilinx_git.bb
+++ b/recipes-kernel/linux/linux-xilinx_git.bb
@@ -18,