AnsweredAssumed Answered

bitbake u-boot-imx fail

Question asked by 益 李 on Jul 29, 2016
Latest reply on Jul 31, 2016 by 益 李

hi

i have builded a yocto project,and used the

Yocto Project 2.0Jethro

 

the local.conf:

MACHINE ??= 'imx6ulevk'

DISTRO ?= 'poky'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    STOPTASKS,/tmp,100M,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K \

    ABORT,/tmp,10M,1K"

PACKAGECONFIG_append_pn-qemu-native = " sdl"

PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"

CONF_VERSION = "1"

 

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = "1"

BB_NUMBER_THREADS = '8'

PARALLEL_MAKE = '-j 8'

 

 

 

after  bitbake core-image-sato.(done)

i got the files :

搜狗截图16年07月30日1409_1.png

i want to using the mfgtool on pc ,no u-boot.imx.

so i done this:

bitbake -c clean u-boot-imx (done)

bitbake -c patch u-boot-imx (done)

bitbake -c compile -f u-boot-imx (error)

log:

|   ./tools/mkimage -n board/freescale/mx6ul_14x14_evk/imximage.cfg.cfgtmp -T imximage -e 0x87800000 -d u-boot.bin u-boot.imx

| Image Type:   Freescale IMX Boot Image

| Image Ver:    2 (i.MX53/6 compatible)

| Mode:         DCD

| Data Size:    360448 Bytes = 352.00 kB = 0.34 MB

| Load Address: 877ff420

| Entry Point:  87800000

| make[1]: Leaving directory `/home/lyi/imx/fsl-connunity-bsp-jethro/build/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git/mx6ul_14x14_evk_config'

| cp: cannot stat '/home/lyi/imx/fsl-connunity-bsp-jethro/build/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git/mx6ul_14x14_evk_config/u-boot.img': No such file or directory

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/lyi/imx/fsl-connunity-bsp-jethro/build/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2015.04-r0/temp/log.do_compile.31796)

ERROR: Task 4 (/home/lyi/imx/fsl-connunity-bsp-jethro/sources/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2015.04.bb, do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 240 tasks of which 238 didn't need to be rerun and 1 failed.

 

 

Summary: 1 task failed:

  /home/lyi/imx/fsl-connunity-bsp-jethro/sources/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2015.04.bb, do_compile

Summary: There was 1 WARNING message shown.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

 

 

lyi@imx:~/imx/fsl-connunity-bsp-jethro/build/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git/mx6ul_14x14_evk_config$ ls

arch   common  drivers   fs       lib       net      source      test   u-boot      u-boot.imx  u-boot.map

board  disk    examples  include  Makefile  scripts  System.map  tools  u-boot.bin  u-boot.lds  u-boot.srec

 

i have tried this:

bitbake -c clean u-boot (done)

bitbake -c patch u-boot (done)

bitbake -c compile -f u-boot (error)

there was no error ,  no u-boot.imx.

 

u-boot-fslc was the same phenomenon。

 

only the u-boot-imx i can got u-boot.imx

but what's the mean of the error,why?

 

Q1:

how can i got the u-boot.imx?

 

Q2:

the different about these(u-boot ,u-boot-imx, u-boot-fslc)?

 

thanks for you help!

Outcomes