I am 3days beginner of petalinux
and would like to ask for help about petalinux for ZYBO.
I have tried to build petalinux for ZYBO but failed as the attached.
It would be much appreciated if you would kindly give me
some help, hints, comments, and/or pointers.
Thanks in advance.
Best regards,
Tom IZUMI
----------------------------------------------------------------
Here is the list of tools and versions.
* Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)
* Vivado 2015.4
* petalinux-v2016.2-final
* Digilent-Zybo-Linux-BD-v2015.4.bsp
$ petalinux-build
WARNING: Your PetaLinux project was last modified by PetaLinux SDK version "2015.4",
WARNING: however, you are using PetaLinux SDK version "2016.2".
Please input "y" to continue. Otherwise it will exit![n]y (skip...First build without extra configuration is successfully done.) (BOOT.BIN and image.ub work well on my ZYBO)
$ petalinuc-config -c rootfs (select dropbear-openssh-sftp-server and save config.) (skip...it seems to be successfully done.)
$ petalinux-build
INFO: Checking component...
INFO: Generating make files and build linux
INFO: Generating make files for the subcomponents of linux
WARNING: /home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/kernel/download/linux-digilent already exists.
WARNING: Not fetching from remote url!
WARNING: If you want to get a fresh copy, please run 'petalinux-build -c <COMPONENT> -x mrproper'
WARNING: /home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/download/u-boot-digilent already exists.
WARNING: Not fetching from remote url!
WARNING: If you want to get a fresh copy, please run 'petalinux-build -c <COMPONENT> -x mrproper'
INFO: Building linux (skip)
[INFO ] build linux/u-boot
[ERROR] make[3]: *** [u-boot] Error 1
[ERROR] make[2]: *** [sub-make] Error 2
[ERROR] make[1]: *** [/home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/u-boot-digilent/u-boot] Error 2
ERROR: Failed to build linux
Question
izumitomonori
Dear Experts,
I am 3days beginner of petalinux
and would like to ask for help about petalinux for ZYBO.
I have tried to build petalinux for ZYBO but failed as the attached.
It would be much appreciated if you would kindly give me
some help, hints, comments, and/or pointers.
Thanks in advance.
Best regards,
Tom IZUMI
----------------------------------------------------------------
Here is the list of tools and versions.
* Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)
* Vivado 2015.4
* petalinux-v2016.2-final
* Digilent-Zybo-Linux-BD-v2015.4.bsp
The commands are as follows:
$ petalinux-create -t project -s /opt/Xilinx/Digilent-Zybo-Linux-BD-v2015.4.bsp
(skip...successfully done.)
$ petalinux-build
WARNING: Your PetaLinux project was last modified by PetaLinux SDK version "2015.4",
WARNING: however, you are using PetaLinux SDK version "2016.2".
Please input "y" to continue. Otherwise it will exit![n]y
(skip...First build without extra configuration is successfully done.)
(BOOT.BIN and image.ub work well on my ZYBO)
$ petalinuc-config -c rootfs
(select dropbear-openssh-sftp-server and save config.)
(skip...it seems to be successfully done.)
$ petalinux-build
INFO: Checking component...
INFO: Generating make files and build linux
INFO: Generating make files for the subcomponents of linux
WARNING: /home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/kernel/download/linux-digilent already exists.
WARNING: Not fetching from remote url!
WARNING: If you want to get a fresh copy, please run 'petalinux-build -c <COMPONENT> -x mrproper'
WARNING: /home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/download/u-boot-digilent already exists.
WARNING: Not fetching from remote url!
WARNING: If you want to get a fresh copy, please run 'petalinux-build -c <COMPONENT> -x mrproper'
INFO: Building linux
(skip)
[INFO ] build linux/u-boot
[ERROR] make[3]: *** [u-boot] Error 1
[ERROR] make[2]: *** [sub-make] Error 2
[ERROR] make[1]: *** [/home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/u-boot-digilent/u-boot] Error 2
ERROR: Failed to build linux
$ tail -12 build/build.log
[ALL ] LD u-boot
[ALL ] drivers/net/phy/built-in.o: In function `miiphy_reset':
[ALL ] /home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/src/u-boot-digilent/drivers/net/phy/phy.c:792: multiple definition of `miiphy_reset'
[ALL ] common/built-in.o::(.text.miiphy_reset+0x0): first defined here
[ERROR] make[3]: *** [u-boot] Error 1
[ALL ] make[3]: Leaving directory `/home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/u-boot-digilent'
[ERROR] make[2]: *** [sub-make] Error 2
[ALL ] make[2]: Leaving directory `/home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/src/u-boot-digilent'
[ERROR] make[1]: *** [/home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot/u-boot-digilent/u-boot] Error 2
[ALL ] make[1]: Leaving directory `/home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux/u-boot'
[ALL ] make: *** [sub_build_component_/none/u-boot/single/remote] Error 2
[ALL ] make: Leaving directory `/home/izumi/pltest/Digilent-Zybo-Linux-BD-v2015.4/build/linux'
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.