Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- 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.