Building Yocto Rootfs ERROR

I’ve been following the new methods described in:
https://rocketboards.org/foswiki/Documentation/BuildingBootloader#Cyclone_V_SoC_45_Boot_from_SD_Card

In the “Building Yocto Rootfs” section. Everything is going good, but when I type the command:

bitbake core-image-minimal

I got the following message:

I already tried doing a cleanall, with no luck

Try running

 $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
 build-essential chrpath socat libsdl1.2-dev xterm

directions from:
https://www.yoctoproject.org/docs/2.0/yocto-project-qs/yocto-project-qs.html

I just successfully built the rootfs for CycloneV a couple of days ago on Ubuntu 18.04.

1 Like

That solved the problem, thanks!

I’d add

sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib build-essential chrpath socat xterm libsdl2-image-2.0-0 u-boot-tools python-minimal python3 python3-pip python3-pexpect python3-git python3-jinja2 libncurses-dev

Also, in this file

vim conf/bblayers.conf

Add the following lines:

(place your directory)/meta-altera \

With

vim conf/local.conf

comment this line

# MACHINE ??= "qemux86"

and add

MACHINE =“cyclone5”`
PREFERRED_PROVIDER_virtual/kernel = “linux-altera”
DEFAULTTUNE = “cortexa9hf-neon”

You can check for errors with:

 bitbake-layers show-layers

Credits to:
https://github.com/robseb/meta-altera/blob/master/README.md#getting-started-with-the-yocto-project-and-usage-of-this-bsp-layer