Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
2,136 Views

how to build poky yocto for cyclone v?

Hi all, I am new in the embedded Linux, I am trying to learn up how to build the boot up related files for poky in cyclone V, any guide or suggestion? appreciate for the helps. thx..

0 Kudos
20 Replies
Altera_Forum
Honored Contributor I
343 Views

The poky is kind of older build environment for cyclone currently.. I would recommend you just play around with this http://rocketboards.org/foswiki/view/documentation/gsrd131gettingstartedyocto first... interesting learning material !

Altera_Forum
Honored Contributor I
343 Views

The poky is kind of older build environment for cyclone currently.. I would recommend you just play around with this "rocketboards.org/foswiki/view/Documentation/GSRD131GettingStartedYocto" first... interesting learning material !

Altera_Forum
Honored Contributor I
343 Views

any way.. are you using stand alone Linux for the build or virtual Linux os?

Altera_Forum
Honored Contributor I
343 Views

i am using windows 7.... currently plan to use some virtual linux os to run the linux build..

Altera_Forum
Honored Contributor I
343 Views

 

--- Quote Start ---  

i am using windows 7.... currently plan to use some virtual linux os to run the linux build.. 

--- Quote End ---  

 

 

It it all right,,, i am also using a win 7 operating system and launch a centos 6.2vmdk via oracle Vm virtualbox. Everything i mean the steps are compatible in order for you to build those boot files.
Altera_Forum
Honored Contributor I
343 Views

13.1 is a bit older generation of yocto build. why not just go for newer versions?

Altera_Forum
Honored Contributor I
343 Views

I think you can try the latest 15.0 where getting a new yocto branch should be more stable version from the rocketboard.

Altera_Forum
Honored Contributor I
343 Views

You can start building the boot loader and then continue with the kernel, for first timer it should take up maybe 2-3 hours, my computer is a i7 processor.

Altera_Forum
Honored Contributor I
343 Views

sorry , where can I get more command usage for this version of Yocto? any web link?

Altera_Forum
Honored Contributor I
343 Views

 

--- Quote Start ---  

sorry , where can I get more command usage for this version of Yocto? any web link? 

--- Quote End ---  

 

 

So, you're not going to be happy with this, but there are tons of online references about Yocto, depending on what your goal is. If you're just trying to build for a specific architecture, then rocketboards has very good step-by-step walkthroughs. My favorite that gives a general overview is about building Angstrom and gives all the necessary commands and reasons why: http://rocketboards.org/foswiki/documentation/angstromonsocfpga_1 

 

Now in general, you're looking at needing to understand Yocto recipes and how they work. Yocto has several reference manuals available on building a custom BSP, custom applications, new recipes, etc, but if you're just building a default Linux image, then the only important commands are: 

 

MACHINE=socfpga_cyclone5 bitbake virtual/kernel MACHINE=socfpga_cyclone5 bitbake  

 

After you've already pulled down the version of Linux you want and setup your build environment using the environment variable scripts, these commands tell the Yocto bitbake tool that they should build the kernel for the cyclone 5 and then the full image, usually console-image or extended-console-image, if you want defaults. All the generated files get put in to the "deploy" folder and need to be copied over to the SD card or wherever else you're booting from. 

 

BSP Manual: http://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html 

Reference Manual: http://www.yoctoproject.org/docs/1.7/ref-manual/ref-manual.html 

Development Manual: http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html 

Bitbake Manual: http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html 

 

You need to know what your goal is-- just "building Linux" is a goal, but it's different if you're just playing vs wanting to use Yocto to cross-compile your own applications and build your own recipes to generate packages to be deployed in Linux.
Altera_Forum
Honored Contributor I
343 Views

You can try to stick your self back with the version that you are using, referring back to rocket board which is in line with the Cyclone V. If you go and read those Yocto community guide. I guess you might get your self in more trouble... lol... 

 

http://rocketboards.org/foswiki/view/documentation/gsrd131yoctousermanual
Altera_Forum
Honored Contributor I
343 Views

 

--- Quote Start ---  

13.1 is a bit older generation of yocto build. why not just go for newer versions? 

--- Quote End ---  

 

 

I recommend just downloading a stable build of Yocto/Poky directly... I didn't realize it came with the EDS!
Altera_Forum
Honored Contributor I
343 Views

jeinstei a.k.a Sensei.....  

 

Very appreciate for the basic guide and hint,,, as for now, i would just start to have all the reading according to your web link . This ia good start for me to learn up.
Altera_Forum
Honored Contributor I
343 Views

 

--- Quote Start ---  

I recommend just downloading a stable build of Yocto/Poky directly... I didn't realize it came with the EDS! 

--- Quote End ---  

 

 

 

Pps.. I should say why not just go to get the 14.1 or 15.0 GHRD which is using another type of build, I saw is named as Angstrom.
Altera_Forum
Honored Contributor I
343 Views

 

--- Quote Start ---  

Pps.. I should say why not just go to get the 14.1 or 15.0 GHRD which is using another type of build, I saw is named as Angstrom. 

--- Quote End ---  

 

 

 

Ah! Yes. You can use yocto or buildroot or really any good build tool as long as you have a good guide the first time!
Altera_Forum
Honored Contributor I
343 Views

good guide line for new comer!

Altera_Forum
Honored Contributor I
343 Views

Please beware of version of the linux to build the yocto, especially that is not listed or tested by the guys who provide solution in the rocketboard.org. i came across for certain version pop for error. end up i just back rolled the operating system version in order to match the requirement.

Altera_Forum
Honored Contributor I
343 Views

 

--- Quote Start ---  

Please beware of version of the linux to build the yocto, especially that is not listed or tested by the guys who provide solution in the rocketboard.org. i came across for certain version pop for error. end up i just back rolled the operating system version in order to match the requirement. 

--- Quote End ---  

 

 

Wile I in general agree, remember that linux I'd basically kernel or package based and it is possible to build your own packages from source, etc. In general, stick with known good versions, but if one knows the required dependencies, it is often possible to get things working. Especially if using Yocto to do a custom build, keep this in mind as the built linux version will also need to be vetted.
Altera_Forum
Honored Contributor I
343 Views

 

--- Quote Start ---  

sorry , where can I get more command usage for this version of Yocto? any web link? 

--- Quote End ---  

 

 

hi even this 13.1 is quite outdated, but the documentation still sufficient to do more stuff..check this out 

 

http://rocketboards.org/foswiki/view/documentation/gsrd131yoctousermanual
Altera_Forum
Honored Contributor I
95 Views

hope this works for you.!

Reply