天天看點

yocto 一些bitbake cmd記錄

bitbake fsl-image-qt5 -c populate_sdk  

bitbake fsl-image-qt5 -c populate_sdk_qt5

1.bitbake u-boot -c compile -f

2. bitbake linux-imx -c compile -f

3.bitbake -c deploy linux-imx/u-boot

bitbake -c menuconfig linux-imx

4.bitbake -c menuconfig linux-imx

bitbake qt-in-industrial-embedded-smarthome-e -c compile -f

5.. ./setup-environment  build

bitbake -g -u depexp imx6q-sabresd

bitbake -c cleansstate meta-toolchain

source ./setup-environment build-qt4

bitbake imx-lib -c compile -f

bitbake -c deploy  imx-lib

export PATH=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/:$PATH

export ARCH=arm

export CROSS_COMPILE=arm-none-linux-gnueabi-

make imx_v7_defconfig

sudo apt-get install lzop (need to install zlop)

make uImage LOADADDR=0x10008000 (need to specify load address to avoid build error)

The output file uImage was put under ./arch/arm/boot.

6.bitbake -c cleansstate linux-imx

bitbake -g -u depexp imx6q-sabresd

7.bitbake-layers show-layers

ERROR1:

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.

    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).

    Following is the list of potential problems / advisories:

    libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.

ERROR: Execution of event handler 'check_sanity_eventhandler' failed

ERROR: Command execution failed: Exited with 1

solution:

#sudo apt-get install libsdl1.2-dev

confifgure busybox on yocto project;

bitbake busybox -c menuconfig