Useful bitbake commands

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Useful bitbake commands

Useful bitbake commands

NOTE: Please suggest bitbake commands you find it useful!

bitbake command
Description
bitbake <image>Bake an image (add -k to continue building even errors are found in the tasks execution)
bitbake <package> -c <task>

Execute a particular package's task. Default Tasks names: fetch, unpack, patch, configure, compile, install, package, package_write, and build.


Example: To (force) compiling a kernel and then build, type:

$ bitbake  linux-imx -f -c compile

$ bitbake linux-imx

bitbake <image > -g -u depexp

Show the package dependency for image.


Example: To show all packages included on fsl-image-gui

$ bitbake fsl-image-gui -g -u depexp

NOTE: This command will open a UI window, so it must be execute on a console inside the host machine (either virtual or native).

bitbake <package> -c  devshellOpen a new shell where with neccesary system values already defined for package
hobbitbake frontend/GUI.
bitbake <package> -c listtasksList all tasks for package
bitbake virtual/kernel -c menuconfig
Interactive kernel configuration
bitbake <image> -c fetchallFetch sources for a particular image
bitbake-layers show-layersShow layers
bitbake-layers show-recipes "*-image-*"Show possible images to bake. Without "*-images-*", it shows ALL recipes
bitbake -g <image> && cat pn-depends.dot | grep -v -e '-native' | grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniqShow image's packages
bitbake -g <pkg> && cat pn-depends.dot | grep -v -e '-native' | grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniqShow package's dependencies
bitbake –v <image> 2>&1 | tee image_build.log Print (on console) and store verbose baking
bitbake -s | grep <pkg>Check if certain package is present on current Yocto Setup




Labels (1)
Comments

Seems I can't use bitbake-layers with Daisy.  Can you verify this?

Yes, it can be used for sure.

Are you getting an error?

In my case, for example, we have:

otavio@nano ~/hacking/ossystems/yocto/build % bitbake-layers show-layers

layer                 path                                      priority

==========================================================================

meta                  /home/otavio/hacking/ossystems/yocto/sources/poky/meta  5

meta-yocto            /home/otavio/hacking/ossystems/yocto/sources/poky/meta-yocto  5

meta-yocto-bsp        /home/otavio/hacking/ossystems/yocto/sources/poky/meta-yocto-bsp  5

meta-oe               /home/otavio/hacking/ossystems/yocto/sources/meta-openembedded/meta-oe  1

meta-fsl-arm          /home/otavio/hacking/ossystems/yocto/sources/meta-fsl-arm  5

meta-fsl-arm-extra    /home/otavio/hacking/ossystems/yocto/sources/meta-fsl-arm-extra  4

meta-fsl-demos        /home/otavio/hacking/ossystems/yocto/sources/meta-fsl-demos  4

meta-qt5              /home/otavio/hacking/ossystems/yocto/sources/meta-qt5  7

meta-ossystems        /home/otavio/hacking/ossystems/yocto/sources/meta-ossystems  9

meta-ossystems-base   /home/otavio/hacking/ossystems/yocto/sources/meta-ossystems-base  8

There is a typo in the penultimate command, it should be "2>&1" instead of "2&>1".

There are even more tasks you can run like: configme, kernel_configcheck, compile_kernelmodules, clean, cleanall, cleansstate etc. I find myself the compile_kernelmodules is very useful for compiling the kernel drivers. You can take the driver and compile outside individually but most of them has lot of dependency, so...

LeonardoSandovalGonzalez‌ bitbake <image> -c fetchall not works for new version yocto, see:FutureMigrationGuide - Yocto Project 

          -c fetchall is replaced by --runall=fetch 

The bitbake -g command changed since yocto 2.3:

BitBake "-g" Output Changes: The package-depends.dot and pn-depends.dot files as previously generated using the bitbake -g command have been removed. A recipe-depends.dot file is now generated as a collapsed version of task-depends.dot instead.

%3CLINGO-SUB%20id%3D%22lingo-sub-1128559%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUseful%20bitbake%20commands%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1128559%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3ENOTE%3A%20Please%20suggest%20bitbake%20commands%20you%20find%20it%20useful!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CTABLE%20border%3D%221%22%20class%3D%22jiveBorder%22%20style%3D%22border%3A%201px%20solid%20%23000000%3B%20width%3A%20100%25%3B%22%3E%3CTBODY%3E%3CTR%3E%3CTH%20style%3D%22text-align%3A%20center%3B%20background-color%3A%20%236690bc%3B%20color%3A%20%23ffffff%3B%20padding%3A%202px%3B%22%20valign%3D%22middle%22%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CSTRONG%3E%3CSPAN%20style%3D%22font-size%3A%2014pt%3B%22%3Ebitbake%20command%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FTH%3E%3CTH%20style%3D%22text-align%3A%20center%3B%20background-color%3A%20%236690bc%3B%20color%3A%20%23ffffff%3B%20padding%3A%202px%3B%22%20valign%3D%22middle%22%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CSTRONG%3E%3CSPAN%20style%3D%22font-size%3A%2014pt%3B%22%3EDescription%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FTH%3E%3C%2FTR%3E%3CTR%3E%3CTD%20colspan%3D%221%22%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3Ebitbake%20%3CIMAGE%3E%3C%2FIMAGE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20colspan%3D%221%22%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3EBake%20an%20%3CEM%3Eimage%20%3C%2FEM%3E(add%20%3CEM%3E-k%20%3C%2FEM%3Eto%20continue%20building%20even%20errors%20are%20found%20in%20the%20tasks%20execution)%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22padding%3A%202px%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3Ebitbake%20%3CPACKAGE%3E%20-c%20%3CTASK%3E%3C%2FTASK%3E%3C%2FPACKAGE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20style%3D%22padding%3A%202px%3B%22%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CCODE%20class%3D%22filename%22%3EExecute%20a%20particular%20%3CEM%3Epackage%3C%2FEM%3E's%20%3CEM%3Etask%3C%2FEM%3E.%20%3C%2FCODE%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CCODE%20class%3D%22filename%22%3E%3C%2FCODE%3E%3C%2FSPAN%3E%3CCODE%20class%3D%22filename%22%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3EDefault%20Tasks%20names%3A%20%3C%2FCODE%3E%3CCODE%20class%3D%22filename%22%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3Efetch%2C%20%3C%2FEM%3E%3C%2FCODE%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3E%3CCODE%20class%3D%22filename%22%3Eunpack%3C%2FCODE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3E%3CCODE%20class%3D%22filename%22%3Epatch%3C%2FCODE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3E%3CCODE%20class%3D%22filename%22%3Econfigure%3C%2FCODE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3E%3CCODE%20class%3D%22filename%22%3Ecompile%3C%2FCODE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3E%3CCODE%20class%3D%22filename%22%3Einstall%3C%2FCODE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3E%3CCODE%20class%3D%22filename%22%3Epackage%3C%2FCODE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3E%3CCODE%20class%3D%22filename%22%3Epackage_write%3C%2FCODE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%2C%20and%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%3CEM%3E%3CCODE%20class%3D%22filename%22%3Ebuild.%3C%2FCODE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3E%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3EExample%3A%20%3C%2FEM%3ETo%20(force)%20compiling%20a%20kernel%20and%20then%20build%2C%20type%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3E%24%20bitbake%26nbsp%3B%20%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3Elinux-imx%20%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3E-f%20-c%20compile%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3E%24%20bitbake%20linux-imx%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20style%3D%22padding%3A%202px%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3Ebitbake%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CIMAGE%3E%20%3C%2FIMAGE%3E%3C%2FSPAN%3E%3C%2FEM%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CEM%3E-g%20-u%20depexp%3C%2FEM%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%20style%3D%22padding%3A%202px%3B%22%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3EShow%20the%20package%20dependency%20for%20%3CEM%3Eimage%3C%2FEM%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3EExample%3A%20To%20show%20all%20packages%20included%20on%20fsl-image-gui%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CEM%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E%24%20bitbake%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3Efsl-image-gui%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20sans-serif%3B%22%3E-g%20-u%20depexp%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3ENOTE%3A%20This%20command%20will%20open%20a%20UI%20window%2C%20so%20it%20must%20be%20execute%20on%20a%20console%20inside%20the%20host%20machine%20(either%20virtual%20or%20native).%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3Ebitbake%20%3CPACKAGE%3E%20-c%26nbsp%3B%20devshell%3C%2FPACKAGE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3EOpen%20a%20new%20shell%20where%20with%20neccesary%20system%20values%20already%20defined%20for%20%3CEM%3Epackage%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3Ehob%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3Ebitbake%20frontend%2FGUI.%20%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3Ebitbake%20%3CPACKAGE%3E%20-c%20listtasks%3C%2FPACKAGE%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3EList%20all%20tasks%20for%20%3CEM%3Epackage%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%3CEM%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3Ebitbake%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3Evirtual%2Fkernel%20%3C%2FSPAN%3E%3C%2FEM%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CEM%3E-c%20menuconfig%3C%2FEM%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%3E%3CSPAN%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3EInteractive%20kernel%20configuration%3C%2FSPAN%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3Ebitbake%20%3CIMAGE%3E%20-c%20fetchall%3C%2FIMAGE%3E%3C%2FTD%3E%3CTD%3EFetch%20sources%20for%20a%20particular%20%3CEM%3Eimage%3C%2FEM%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3Ebitbake-layers%20show-layers%3C%2FTD%3E%3CTD%3EShow%20layers%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3Ebitbake-layers%20show-recipes%20%22*-image-*%22%3C%2FTD%3E%3CTD%3EShow%20possible%20images%20to%20bake.%20Without%20%22*-images-*%22%2C%20it%20shows%20ALL%20recipes%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3Ebitbake%20-g%20%26lt%3B%3CEM%3Eimage%26gt%3B%3C%2FEM%3E%20%26amp%3B%26amp%3B%20cat%20pn-depends.dot%20%7C%20grep%20-v%20-e%20'-native'%20%7C%20grep%20-v%20digraph%20%7C%20grep%20-v%20-e%20'-image'%20%7C%20awk%20'%7Bprint%20%241%7D'%20%7C%20sort%20%7C%20uniq%3C%2FTD%3E%3CTD%3EShow%20%3CEM%3Eimage's%3C%2FEM%3E%20packages%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3Ebitbake%20-g%20%26lt%3B%3CEM%3Epkg%26gt%3B%3C%2FEM%3E%20%26amp%3B%26amp%3B%20cat%20pn-depends.dot%20%7C%20grep%20-v%20-e%20'-native'%20%7C%20grep%20-v%20digraph%20%7C%20grep%20-v%20-e%20'-image'%20%7C%20awk%20'%7Bprint%20%241%7D'%20%7C%20sort%20%7C%20uniq%3C%2FTD%3E%3CTD%3EShow%20%3CEM%3Epackage's%3C%2FEM%3E%20dependencies%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20Helvetica%3B%20color%3A%20black%3B%22%3Ebitbake%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20Helvetica%3B%20color%3A%20black%3B%22%3E%20%E2%80%93v%20%3CEM%3E%3CIMAGE%3E%3C%2FIMAGE%3E%3C%2FEM%3E%202%26gt%3B%26amp%3B1%20%7C%20tee%20%3CEM%3Eimage_%3C%2FEM%3Ebuild.log%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FTD%3E%3CTD%3EPrint%20(on%20console)%20and%20store%20verbose%20baking%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3Ebitbake%20-s%20%7C%20grep%20%3CEM%3E%3CPKG%3E%3C%2FPKG%3E%3C%2FEM%3E%3C%2FTD%3E%3CTD%3ECheck%20if%20certain%20%3CEM%3Epackage%3C%2FEM%3E%20is%20present%20on%20current%20Yocto%20Setup%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2018pt%3B%20font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CSTRONG%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2018pt%3B%20font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%20style%3D%22font-family%3A%20arial%2Chelvetica%2Csans-serif%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1128559%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EYocto%20Project%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1128564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Useful%20bitbake%20commands%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1128564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20class%3D%22jx-jive-macro-user%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fpeople%2FLeonardoSandovalGonzalez%22%20target%3D%22_blank%22%3ELeonardoSandovalGonzalez%3C%2FA%3E%E2%80%8C%26nbsp%3B%3CEM%3Ebitbake%20%3CIMAGE%3E%20-c%20fetchall%3C%2FIMAGE%3E%3C%2FEM%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%20not%20works%20for%20new%20version%20yocto%2C%20see%3A%3CSTRONG%3E%3CA%20class%3D%22link-titled%22%20href%3D%22https%3A%2F%2Fwiki.yoctoproject.org%2Fwiki%2FFutureMigrationGuide%22%20title%3D%22https%3A%2F%2Fwiki.yoctoproject.org%2Fwiki%2FFutureMigrationGuide%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EFutureMigrationGuide%20-%20Yocto%20Project%3C%2FA%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CEM%3E%20-c%20fetchall%3C%2FEM%3E%20is%20replaced%20by%20%3CEM%3E--runall%3Dfetch%3C%2FEM%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3EThe%20bitbake%20-g%20command%20changed%20since%20yocto%202.3%3A%3C%2FSPAN%3E%3C%2FP%3E%3CBLOCKQUOTE%20class%3D%22jive_macro_quote%20jive-quote%20jive_text_macro%22%3E%3CP%3EBitBake%20%22-g%22%20Output%20Changes%3A%20The%20package-depends.dot%20and%20pn-depends.dot%20files%20as%20previously%20generated%20using%20the%20bitbake%20-g%20command%20have%20been%20removed.%20A%20recipe-depends.dot%20file%20is%20now%20generated%20as%20a%20collapsed%20version%20of%20task-depends.dot%20instead.%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1128563%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Useful%20bitbake%20commands%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1128563%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThere%20are%20even%20more%20tasks%20you%20can%20run%20like%3A%20configme%2C%20kernel_configcheck%2C%20compile_kernelmodules%2C%20clean%2C%20cleanall%2C%20cleansstate%20etc.%20I%20find%20myself%20the%20compile_kernelmodules%20is%20very%20useful%20for%20compiling%20the%20kernel%20drivers.%20You%20can%20take%20the%20driver%20and%20compile%20outside%20individually%20but%20most%20of%20them%20has%20lot%20of%20dependency%2C%20so...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1128562%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Useful%20bitbake%20commands%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1128562%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThere%20is%20a%20typo%20in%20the%20penultimate%20command%2C%20it%20should%20be%20%222%26gt%3B%26amp%3B1%22%20instead%20of%20%222%26amp%3B%26gt%3B1%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1128561%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Useful%20bitbake%20commands%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1128561%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYes%2C%20it%20can%20be%20used%20for%20sure.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EAre%20you%20getting%20an%20error%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIn%20my%20case%2C%20for%20example%2C%20we%20have%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%0A%3CP%3Eotavio%40nano%20~%2Fhacking%2Fossystems%2Fyocto%2Fbuild%20%25%20bitbake-layers%20show-layers%3C%2FP%3E%0A%3CP%3Elayer%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20path%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20priority%3C%2FP%3E%0A%3CP%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FP%3E%0A%3CP%3Emeta%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fpoky%2Fmeta%26nbsp%3B%205%3C%2FP%3E%0A%3CP%3Emeta-yocto%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fpoky%2Fmeta-yocto%26nbsp%3B%205%3C%2FP%3E%0A%3CP%3Emeta-yocto-bsp%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fpoky%2Fmeta-yocto-bsp%26nbsp%3B%205%3C%2FP%3E%0A%3CP%3Emeta-oe%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fmeta-openembedded%2Fmeta-oe%26nbsp%3B%201%3C%2FP%3E%0A%3CP%3Emeta-fsl-arm%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fmeta-fsl-arm%26nbsp%3B%205%3C%2FP%3E%0A%3CP%3Emeta-fsl-arm-extra%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fmeta-fsl-arm-extra%26nbsp%3B%204%3C%2FP%3E%0A%3CP%3Emeta-fsl-demos%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fmeta-fsl-demos%26nbsp%3B%204%3C%2FP%3E%0A%3CP%3Emeta-qt5%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fmeta-qt5%26nbsp%3B%207%3C%2FP%3E%0A%3CP%3Emeta-ossystems%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fmeta-ossystems%26nbsp%3B%209%3C%2FP%3E%0A%3CP%3Emeta-ossystems-base%26nbsp%3B%26nbsp%3B%20%2Fhome%2Fotavio%2Fhacking%2Fossystems%2Fyocto%2Fsources%2Fmeta-ossystems-base%26nbsp%3B%208%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1128560%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Useful%20bitbake%20commands%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1128560%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESeems%20I%20can't%20use%20bitbake-layers%20with%20Daisy.%26nbsp%3B%20Can%20you%20verify%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎06-07-2013 10:55 AM
Updated by: