Problems building yocto for Xilinx ML507 (with some tentative fixes)
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:
Quoted 5 lines
git clone
git://git.yoctoproject.org/poky
cd poky
git clonegit://git.yoctoproject.org/meta-xilinx-b master-xilinx-ml507-gcc-4.7 meta-xilinx git clonegit://git.openembedded.org/meta-openembedded
. oe-init-build-env
My bblayers contains
Quoted 9 lines
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
Quoted 35 lines
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"
Quoted 1 line
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
Quoted 9 lines
conf/machine/virtex-5-ml507-powerpc-440.conf +0
-0@@ -5,7 +5,8 @@ #@DESCRIPTION: Machine configuration for the Xilinx ML507 FPGAdevelopment platform with a Virtex-5 PowerPC 440 processor (with APU FPU).
include conf/machine/include/virtex-5/virtex-5-base.inc
conf/machine/virtex-5-ml507-powerpc-440.conf
Quoted 6 lines
conf/machine/virtex-5-ml507-powerpc-440.conf +2
-1-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
Quoted 2 lines
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
Quoted 57 lines
recipes-bsp/u-boot/u-boot-xilinx_2012.10.bb +0
-1@@ -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"
recipes-kernel/linux/linux-xilinx_3.3.bb +1
-1@@ -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 \recipes-kernel/linux/linux-xilinx_3.6.bb +1
-1@@ -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.
recipes-kernel/linux/linux-xilinx_git.bb +1
-1@@ -18,7 +18,7 @@ PV = "${LINUX_VERSION}+git-${SRCREV}" PR = "r18" KBRANCH = "master-next" -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"
Quoted 2 lines
FILESPATH = "${@base_set_filespath([
'${FILE_DIRNAME}/${PN}/${SOC_FAMILY}' ], d)}"
2) bitbake complains about the license missing from the u-boot recipe
3) I have troubles also with the git.denx.de repository, which I can easily clone by hand but not by bitbake
Fix: I have added the required variables at the end (and fixed the git links)
Quoted 52 lines
recipes-bsp/u-boot/u-boot-xilinx_git.bb +1
-1@@ -4,6 +4,7 @@ require recipes-bsp/u-boot/u-boot.inc DEFAULT_PREFERENCE = "-1" PR = "r17" + PV_virtex-5 = "v2012.04.01" PV_microblaze = "v2012.10" PV_zynq-7 = "v2012.10"@@ -16,19 +17,27 @@ FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/${PN}/${SOC_FAMILY}' ], d) # Virtex-5 src location KBRANCH_virtex-5 = "master" -SRC_URI_virtex-5 ="
git://git.denx.de/u-boot.git;branch=${KBRANCH};protocol=git"recipes-bsp/u-boot/u-boot-xilinx_git.bb +1
-1-SRCREV_virtex-5 = "415d386877df49eb051b85ef74fa59a16dc17c7d" +#SRC_URI_virtex-5 ="
git://git.denx.de/u-boot.git;branch=${KBRANCH};protocol=git"recipes-bsp/u-boot/u-boot-xilinx_git.bb +2
-0+#SRCREV_virtex-5 = "415d386877df49eb051b85ef74fa59a16dc17c7d" +SRC_URI_virtex-5 ="
git://github.com/Xilinx/u-boot-xlnx.git;branch=${KBRANCH};protocol=git"recipes-bsp/u-boot/u-boot-xilinx_git.bb +1
-1+SRCREV_virtex-5 = "26786228acfdc0a02190a8d9ca9fcca51a5dcf28" # Spartan-6 src location KBRANCH_spartan-6 = "master" -SRC_URI_spartan-6 ="
git://git.xilinx.com/u-boot-xlnx.git;branch=${KBRANCH};protocol=git" +SRC_URI_spartan-6 = "git://github.com/Xilinx/u-boot-xlnx.git;branch=${KBRANCH};protocol=git"
SRCREV_spartan-6 = "26786228acfdc0a02190a8d9ca9fcca51a5dcf28"# Zynq-7 src location
KBRANCH_zynq-7 = "master"
-SRC_URI_zynq-7 = "git://git.xilinx.com/u-boot-xlnx.git;branch=${KBRANCH};protocol=git" +SRC_URI_zynq-7 = "git://github.com/Xilinx/u-boot-xlnx.git;branch=${KBRANCH};protocol=git"
SRCREV_zynq-7 = "26786228acfdc0a02190a8d9ca9fcca51a5dcf28"recipes-bsp/u-boot/u-boot-xilinx_git.bb +6
-0+PV = "${PV_${SOC_FAMILY}}" +LIC_FILES_CHKSUM = "${LIC_FILES_CHKSUM_${SOC_FAMILY}}" +KBRANCH = "${KBRANCH_${SOC_FAMILY}}" +SRC_URI = "${SRC_URI_${SOC_FAMILY}}" +SRCREV = "${SRCREV_${SOC_FAMILY}}" + XILINX_BOARD ?= "${@find_board(bb.data.getVar('XILINX_BSP_PATH', d,1), d)}"
Quoted 1 line
S = "${WORKDIR}/git"
There still some problems which stop my build ...
I will get them to you in a following email
All the best
AndreaS
Hi Andrea,
Quoted 4 lines · Andrea Sterbini
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
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
Quoted 17 lines
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
Quoted 28 lines
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.10130for 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.10130Log 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.10129for 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.10129Log 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)
Quoted 8 lines
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
Quoted 21 lines · Elvis Dowson
Hi Andrea,
Quoted 5 lines · Andrea Sterbini
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 FPUI 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
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
Quoted 126 lines · Andrea Sterbini
Not yet.
I haven't been able to complete the complete runbitbake 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
Quoted 17 lines
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
Quoted 55 lines
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.10130for 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.10130Log 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.10130for 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.10129for 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.10129Log data follows:
| DEBUG: Executing shell functiondo_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.10129for 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:Quoted 7 lines
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
AndreaQuoted 25 lines · Elvis Dowson
Hi Andrea,
Quoted 6 lines · Andrea Sterbini
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 FPUI 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
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 fileboard/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
Quoted 155 lines · 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 directoryThe 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
Quoted 138 lines · Andrea Sterbini
Not yet.
I haven't been able to complete the complete runbitbake 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
Quoted 17 lines
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
Quoted 68 lines
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.10130for 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.10130Log 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.10130for 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.10129for 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.10129Log data follows:
| DEBUG: Executing shell functiondo_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.10129for 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,Quoted 6 lines
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
AndreaQuoted 25 lines · Elvis Dowson
Hi Andrea,
Quoted 6 lines · Andrea Sterbini
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 FPUI 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