Forum Discussion
20 Replies
- Altera_Forum
Honored Contributor
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
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
any way.. are you using stand alone Linux for the build or virtual Linux os?
- Altera_Forum
Honored Contributor
i am using windows 7.... currently plan to use some virtual linux os to run the linux build..
- Altera_Forum
Honored Contributor
--- 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
13.1 is a bit older generation of yocto build. why not just go for newer versions?
- Altera_Forum
Honored Contributor
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
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
sorry , where can I get more command usage for this version of Yocto? any web link?
- Altera_Forum
Honored Contributor
--- 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:
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.MACHINE=socfpga_cyclone5 bitbake virtual/kernel MACHINE=socfpga_cyclone5 bitbake