HOB Quick Start Guide

Document created by gusarambula Employee on Oct 6, 2014Last modified by grantw on Oct 10, 2014
Version 6Show Document
  • View in full screen mode

What is HOB?

 

Hob is a graphical user interface for BitBake. Its primary goal is to enable a user to perform common tasks more easily. It basically runs the Bitbake commands on the background while showing a Graphic User Interface.

 

Hob may not work correctly with Daisy metadata as it is getting deprecated in favor of a new web based interface for Yocto under the name Toaster.

 

Here is what you can do with the current version of Hob on the Freescale Community BSP and BSP Release.

- Build images

- Edit existing image recipes

- Create your own image recipes

Note: HOB will write the local.conf file and make modifications which may conflict with baking images outside of HOB. In this case you may need to re-run the environment initialization in order to restore the local.conf file.



Starting HOB

 

Once the environment has been initialized (using the setup-environment script on the Freescale Community BSP or the fsl-setup-release on the Freescale BSP Release) use the command below.

 

$ hob &

 

The GUI should then appear:

HOB_MainScreen.png

You may then select the MACHINE for which you will build and the Layers of your project. HOB  will take and updated the local.conf and bblayers.conf values so the desired BSP layers will already be selected and available MACHINES on these layers will appear on the drop down menu.

 

HOB_Main_Options.png

Once these options are set HOB will parse the recipes and create a dependency tree in order to show available images for that MACHINE.

Image_Main.png

 

Image File System Types

 

Advance configuration options include image file system types. Please note that HOB does not support the sdcard format so if it is needed it has to be added manually on the local.conf file and then run bitbake outside of HOB. As HOB changed the local.conf file even if the sdcard format was originally available it may be rewrite and no longer available until the following line is added to local.conf.

 

IMAGE_FSTYPES="tar.bz2 ext3 sdcard"

ImageTypes.png

Recipes screen

 

On the recipes screen we can see the recipes included on the image and available recipes, then also package groups.

Recipes.png

Time to bake!

 

After these configurations you may either build the packages using HOB interface or run Bitbake outside of HOB. (In case you wish to have your image on the sdcard format please see the earlier image types clarification)

 

Build.pngDone_Image.png

The resulting image will be stored on

<BUILD>/tmp/deploy/images/<MACHINE>

 

You may also save your image recipe with the selected customizations.

Attachments

    Outcomes