Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
petalinux-build error with XenZynqDist-Beta_02_19_2016
#1
I am using latest XenZynqDist and followed instruction in Section 5.2 to build petalinux.  However, petalinux-build failed and error message was:

......
[INFO ] build system.dtb
[INFO ] build linux/kernel
[INFO ] generate linux/u-boot configuration files
[INFO ] update linux/u-boot source
[INFO ] build linux/u-boot
[ERROR] make[5]: *** [silentoldconfig] Error 1
[ERROR] make[4]: *** [silentoldconfig] Error 2
[ERROR] make[3]: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'.  Stop.
[ERROR] make[2]: *** [sub-make] Error 2
[ERROR] make[1]: *** [/home/lcc014/XenZynqDist-Beta_02_19_2016/XenZynqDist/build/linux/u-boot/u-boot-xlnx/u-boot] Error 2
ERROR: Failed to build linux

Have anyone experience the same failure ?

Thanks,

Ching-Ho Cheng
Reply
#2
Ching-Ho,

What version of linux are you using?
Do you have petalinux version 2015.4 installed?

Regards,

-Jarvis
Reply
#3
(02-24-2016, 07:59 PM)jarvis_roach Wrote: Ching-Ho,

What version of linux are you using?
Do you have petalinux version 2015.4 installed?

Regards,

-Jarvis

Jarvis,

Yes, I had petalinux version 2015.4 installed per instruction.  petalinux 2015.4 was downloaded from Xilinx.  I just did a u-boot only build and got the following error:

lcc014@ubuntu:~/XenZynqDist-Beta_02_19_2016/XenZynqDist$ petalinux-build -c u-boot
INFO: Checking component...
INFO: Generating make files and build linux/u-boot
INFO: Checking if the remote url is a valid git remote repository!
INFO: Fetching remote component u-boot
Cloning into '/home/lcc014/XenZynqDist-Beta_02_19_2016/XenZynqDist/build/linux/u-boot/download/u-boot-xlnx'...
remote: Counting objects: 11733, done.
remote: Compressing objects: 100% (10436/10436), done.
remote: Total 11733 (delta 1915), reused 5009 (delta 1059), pack-reused 0
Receiving objects: 100% (11733/11733), 14.12 MiB | 2.60 MiB/s, done.
Resolving deltas: 100% (1915/1915), done.
Checking connectivity... done.
INFO: Generating make files for the subcomponents of linux/u-boot
INFO: Building linux/u-boot
[INFO ] generate linux/u-boot configuration files
[INFO ] update linux/u-boot source
[INFO ] build linux/u-boot
[ERROR] make[4]: *** [silentoldconfig] Error 1
[ERROR] make[3]: *** [silentoldconfig] Error 2
[ERROR] make[2]: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'.  Stop.
[ERROR] make[1]: *** [sub-make] Error 2
ERROR: Failed to build linux/u-boot

It looks like petalinux-build was fetch u-boot source code for Github and then did the build.  So could the latest Github source have issue and caused u-boot build failure ?

Thanks.

Ching-Ho Cheng
Reply
#4
Ching-Ho,

I was able to reproduce your problem, and it looks like if you run `petalinux-config -c u-boot` and simply exit out of the menu and save the configuration subsequent builds will work. We are still looking into why that step is needed when it wasn't needed during our internal validation. We apologize for the inconvenience.

Regards,

-Jarvis

Issuing 'petalinux-config -c kernel' or 'petalinux-config --old_config' before 'petalinux-build' will also work.
Reply
#5
(02-25-2016, 01:26 PM)jarvis_roach Wrote: Ching-Ho,

I was able to reproduce your problem, and it looks like if you run `petalinux-config -c u-boot` and simply exit out of the menu and save the configuration subsequent builds will work. We are still looking into why that step is needed when it wasn't needed during our internal validation. We apologize for the inconvenience.

Regards,

-Jarvis

Issuing 'petalinux-config -c kernel' or 'petalinux-config --old_config' before 'petalinux-build' will also work.
Jarvis,

I tried petalinux-config --oldconfig and build went fine.

Thank you.

Ching-Ho
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)