Yocto Build Fails

Moderator: nferre

Posts: 4
Joined: Tue May 06, 2014 2:04 pm

Yocto Build Fails

Tue May 06, 2014 2:17 pm

We are evaluating the sama5d3 and are trying to build the linux image.

Following the instructions at linux4sam/bin/view/Linux4SAM/PokyBuild# ... y_for_AT91 I'm trying to build the core-minimal image and it is failing. The only changes to the process that I have made are that I am using the dora-10.0.1 tag and I set my machine to sama5d3-xplained.

I get an error that do_rootfs retruns 1. The log file is attached, does anyone have an idea what is going wrong?

Text files are not allows to be attached so here is the contents of the log file:

EDIT: removed most of log file, this is what is at the end.

Code: Select all

Running intercept scripts:
WARNING: The license listed MIT was not in the licenses collected for packagegroup-core-boot
/home/banderson/git/poky/meta-atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_rootfs.32574: 393: /home/banderson/git/poky/meta-atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_rootfs.32574: sama5d3_xplained_rootfs_postprocess: not found
WARNING: exit code 127 from a shell command.
ERROR: Function failed: do_rootfs (log file is located at /home/banderson/git/poky/meta-atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_rootfs.32574)
Posts: 4
Joined: Tue May 06, 2014 2:04 pm

Re: Yocto Build Fails

Thu May 08, 2014 2:34 pm

Apparently this has been a reported bug in the meta-atmel layer. See https://github.com/linux4sam/meta-atmel/pull/11.

Commenting out the ROOTFS_POSTPROCESS_COMMAND at the end of meta-atmel/conf/machines/sama5d3_xplained.conf allowed the build to succeed. If there are any issues with it after flashing to the board, I will repost.
User avatar
Location: Bergamo, Italia
Posts: 212
Joined: Wed May 12, 2004 6:59 pm

Re: Yocto Build Fails

Wed May 14, 2014 4:37 pm

Problem solved with patches submitted on Mon May 12.
Please do a git pull in your meta-atmel layer.
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
- Atmel Third Party Consultant
Tel. +39-(0)35-255.235 - Fax +39-178-223.9748
http://www.KoanSoftware.com | http://www.KaeilOS.com

Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 6 guests