[yocto] install and use "bitbake -c populate_sdk"

Trevor Woerner twoerner at gmail.com
Thu Jan 24 09:12:22 PST 2013


On Thu, Jan 24, 2013 at 8:48 AM, Eddy Lai GMail <eddy.lai.tw at gmail.com> wrote:
> how can I "extend" the
> target system to use the rest USB disk space? ( it's FAT file system)
>     or how to modify configuration to force build the .hddimg create ~"8GB"


By default a certain amount of overhead is applied to the final image.
So the scripts figure out the size of your image and add a certain
overhead.

In your conf/local.conf you can specify "IMAGE_ROOTFS_SIZE" which you
can set to the size, in kB, you want your image to have. But if you
image (plus overhead) would have been larger than this size, then
you'll get the larger + overhead size you would have received had you
not specified IMAGE_ROOTFS_SIZE.

You can adjust the overhead by playing with the IMAGE_OVERHEAD_FACTOR variable.

These calculations are performed by code from meta/classes/image_types.bbclass



More information about the yocto mailing list