Add GDB to target
conf/local.conf
1 | EXTRA_IMAGE_FEATURES += " tools-debug" |
Do add the licence to whitelist, other wise it will report license error:
1 | Parsing of 1108 .bb files complete (0 cached, 1108 parsed). 1771 targets, 268 skipped, 0 masked, 0 errors. |
Resize root file system size
1 | diff --git a/recipes-xxx-subcore/images/xxx-subcore-image.bb b/recipes-xxx-subcore/images/xxx-subcore-image.bb |
Yocto command
Useful | commands |
---|---|
bitbake-layers show-recipes | Show all recipes |
bitbake linux-xxx -c do_listtasks | Show all task of a package |
bitbake-layers show-appends | Show bbappends are used |
bitbake linux-xxx -c menuconfig | Enter the menuconfig of kernel |
bitbake linux-xxx -c devshell | Enter the devshell of a package |
bitbake-layers show-recipes “-image-“ | Show all support target images |
bitbake |
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). |