[meta-xilinx] gcc-cross-initial libgcc configure/compilation problems
Elvis Dowson
elvis.dowson at gmail.com
Thu Nov 28 04:45:44 PST 2013
Hi Martin,
On Nov 28, 2013, at 4:04 PM, Martin Townsend <martin.townsend at xsilon.com> wrote:
> I did try and received the following error
> ERROR: OE-core's config sanity checker detected a potential misconfiguration.
> Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
> Following is the list of potential problems / advisories:
>
> Please set a valid MACHINE in your local.conf or environment
>
> So I tried microblaze as well as microblazeel for the MACHINE with no joy.
If you look at the meta-xilinx repository, it currently lists the following machines
http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/conf/machine
kc705-trd-microblazeel.conf
qemumicroblaze.conf
qemuzynq.conf
zc702-zynq7.conf
zc706-zynq7.conf
zedboard-zynq7.conf
If you're using an ML605 board, try to create a new ml605-microblazeel.conf file with the following contents, but obtain the correct *.dts and xparameters.h file and .kconfig.cfg file from say the Petalinux distribution.
Filename: ml605-microblazeel.conf
#@TYPE: Machine
#@NAME: ml605-microblazeel
#@DESCRIPTION: Machine support for Xilinx ML605 Evaluation Board.
#
TARGET_CPU = "microblazeel"
MACHINE_FEATURES := ""
require conf/machine/include/tune-microblaze.inc
require conf/machine/include/machine-xilinx-default.inc
TUNE_FEATURES_tune-microblaze += "v8.50 little-endian barrel-shift pattern-compare reorder multiply-low"
SERIAL_CONSOLE = "115200 ttyS0"
# Note: Obtain the correct files for the ML605
#MACHINE_DEVICETREE := "ml605/ml605-microblazeel.dts"
#MACHINE_KCONFIG := "ml605/ml605-microblazeel.kconfig.cfg" # try using the kernel defaults first
#MACHINE_XPARAMETERS := "ml605/ml605-microblazeel.xparameters.h"
Then set your machine to ml605-microblazeel, and you should be able to build a toolchain.
However, the kernel build process will fail if you dont have the correct dts and xparameters.h file, you might need to tweak the *.dts, .kconfig.cfg and xparameters.h file, till you get it right, to build the kernel and execute in on the board.
You should do it in two steps,
- build the toolchain using yocto
- build the kernel, using the xilinx linux kernel repository, and the kernel to boot properly. After that, you can include the dts, and xparameters.h files, and have yocto build the kernel.
Best regards,
Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20131128/0cf0f091/attachment.html>
More information about the meta-xilinx
mailing list