Yocto Build for wandboard with "warrior"

Yocto related software discussions are here

Yocto Build for wandboard with "warrior"

Postby GregTahoe » Tue Sep 17, 2019 4:09 pm

I am trying to build a Yocto based image for the wandboard with the WB-EDM-iMX6 REV C1 board installed.

I am using the repo initialization: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b warrior along with repo sync.

There is not w wandboard-quad supported by this BSP so I then initialize the build with the following:

MACHINE=wandboard DISTRO=poky source setup-environment build

I then use the bitbake command:

bitbake core-image-minimal

The results of the build are successful, however, the output does not have an SD Card image

ls tmp/deploy/images/wandboard/
core-image-minimal-wandboard-20190916223433.rootfs.manifest imx6qp-wandboard-revd1-wandboard.dtb
core-image-minimal-wandboard-20190916223433.rootfs.wic.bmap imx6q-wandboard--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.dtb
core-image-minimal-wandboard-20190916223433.rootfs.wic.gz imx6q-wandboard.dtb
core-image-minimal-wandboard-20190916223433.testdata.json imx6q-wandboard-revb1--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.dtb
core-image-minimal-wandboard.manifest imx6q-wandboard-revb1.dtb
core-image-minimal-wandboard.testdata.json imx6q-wandboard-revb1-wandboard.dtb
core-image-minimal-wandboard.wic.bmap imx6q-wandboard-revd1--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.dtb
core-image-minimal-wandboard.wic.gz imx6q-wandboard-revd1.dtb
extlinux.conf imx6q-wandboard-revd1-wandboard.dtb
extlinux.conf-wandboard imx6q-wandboard-wandboard.dtb
extlinux.conf-wandboard-r0 modules--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.tgz
imx6dl-wandboard--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.dtb modules-wandboard.tgz
imx6dl-wandboard.dtb SPL
imx6dl-wandboard-revb1--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.dtb SPL-wandboard
imx6dl-wandboard-revb1.dtb SPL-wandboard-v2019.07+gitAUTOINC+ca0ab15271-r0
imx6dl-wandboard-revb1-wandboard.dtb u-boot.img
imx6dl-wandboard-revd1--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.dtb u-boot-wandboard.img
imx6dl-wandboard-revd1.dtb u-boot-wandboard-v2019.07+gitAUTOINC+ca0ab15271-r0.img
imx6dl-wandboard-revd1-wandboard.dtb zImage
imx6dl-wandboard-wandboard.dtb zImage--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.bin
imx6qp-wandboard-revd1--5.0.5+git0+c7a0e482a1-r0-wandboard-20190916223433.dtb zImage-wandboard.bin

How do I create the sdcard image?
Should I be using the MACHINE type wandboard-quad, if so how do I add support for this?

As a reference here is the local.conf file contents

MACHINE ??= 'wandboard'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= 'package_rpm'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
STOPTASKS,/tmp,100M,100K \
ABORT,${DL_DIR},100M,1K \
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
DL_DIR ?= "${BSPDIR}/downloads/"
Posts: 3
Joined: Tue Sep 17, 2019 3:17 pm

Re: Yocto Build for wandboard with "warrior"

Postby GregTahoe » Tue Sep 17, 2019 8:44 pm

I found I could just copy the "wic" file to an SD Card and it booted as expected
Posts: 3
Joined: Tue Sep 17, 2019 3:17 pm

Re: Yocto Build for wandboard with "warrior"

Postby ClayMontgomery » Wed Sep 18, 2019 4:50 pm

Hi Greg,

I'm glad to see I'm not the only one using a current version of Yocto. You have inspired me to give Warrior a try.
However, the problems have been booting on the new "rev D1" boards (which is all that are available now) and support for the VPU and GPU.
The last version where I got everything to work was Pyro (2.4).

Have you tried playing video or any graphics yet?

Regards, Clay
Posts: 106
Joined: Tue Nov 19, 2013 9:14 pm

Return to Software - Yocto

Who is online

Users browsing this forum: No registered users and 3 guests