Yocto Build From Source

You have a problem with your Wandboard and want to ask the community for help.

Yocto Build From Source

Postby acelg » Tue Jun 06, 2017 3:22 pm

Hi,

I have a Wandboard Dual (motherboard is Rev C1, i.MX6 board is Rev A1). I have booted the board with the Yocto image "WB All (rev B+C1+D1): Yocto 2.0 with Qt armhf" from the Wandboard Downloads page (http://www.wandboard.org/index.php/downloads) and the board is fully operational. I now want to create a custom Yocto build, but have not been able to produce a fully working build. When I build an image myself the Ethernet doesn't work. The source I am using comes from a Freescale Yocto project and claims to support the Wandboard Rev C1 and D1. Linux version is 4.1.15. I'm using the Pyro branch of Yocto. The source for the build is collected with "repo":
Code: Select all
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b pyro


One thing I've noticed is that, in our build, U-Boot decides the board is a rev B1 board and loads the revb1 DTB, whereas on the good build ("WB All (rev B+C1+D1): Yocto 2.0 with Qt armhf"), it decides that the board is Rev D1 and loads the revd1 DTB. In our build, I've manually forced U-Boot to think the board is Rev C1 and it then loads the revc1 DTB, but this doesn't fix the Ethernet problem. I'm now trying to include the revd1 DTB in the build and force U-Boot to load this, but I don't think this will fix it.

Can anyone provide a link to source code for a fully functional Yocto build on this version of the Wandboard? Has anyone else had Ethernet problems with their build?

Thanks,
Arthur
acelg
 
Posts: 2
Joined: Tue Jun 06, 2017 2:54 pm

Re: Yocto Build From Source

Postby acelg » Wed Jun 07, 2017 11:56 am

Turns out it was the DTB revision that was the issue. See this forum post for how to fix it:

http://forums.wandboard.org/viewtopic.php?f=8&t=1471
acelg
 
Posts: 2
Joined: Tue Jun 06, 2017 2:54 pm

Re: Yocto Build From Source

Postby Umamahesh » Wed Jun 28, 2017 10:23 am

Hi,
I cloned pyro version and compiled for core-image-minimal, it got compiled but .sdcard image is not generated. How to generate .sdcard image.
Please update .
Umamahesh
 
Posts: 14
Joined: Fri May 26, 2017 11:56 am

Re: Yocto Build From Source

Postby nefethael » Thu Jun 29, 2017 9:09 am

Hi

You need to put SOC_DEFAULT_IMAGE_FSTYPES = "sdcard.gz" instead of wic.gz.
Nevertheless, the WIC image is the "new" format for sdcard, it can be flashed the same way.

B.R.
Vincent
nefethael
 
Posts: 2
Joined: Thu Jun 29, 2017 9:06 am

Re: Yocto Build From Source

Postby venakatesh » Mon Jul 24, 2017 11:40 am

The Yocto Project is an open-source collaboration project whose focus is ... The Build Appliance allows you to build and boot a custom embedded Linux image The Yocto Project is an open source project formed with the goal of making embedded Linux development easier and more portable across Is it good practice to edit source code in poky/build/tmp/work directory ? because if we accidentally cleansstate ,the changes will be erased
venakatesh
 
Posts: 1
Joined: Mon Jul 24, 2017 11:33 am

Re: Yocto Build From Source

Postby nefethael » Thu Jul 27, 2017 7:11 am

Best way is to use devtool. You can look at this video :
https://www.youtube.com/watch?v=CiD7rB35CRE
nefethael
 
Posts: 2
Joined: Thu Jun 29, 2017 9:06 am


Return to Getting started

Who is online

Users browsing this forum: No registered users and 17 guests