bitbake u-boot-imx fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bitbake u-boot-imx fail

4,147 Views
半醒的狐狸
Contributor I

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!

Labels (3)
0 Kudos
2 Replies

1,525 Views
igorpadykov
NXP Employee
NXP Employee

Hi

u-boot.imx can be found

http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/?h=imx_v2015.04_4.1.15_1.0.0_ga

regarding differencies please check attached Yocto Guide

sect.5.5 U-Boot configuration, sect.3.1 Host packages and link

https://community.freescale.com/message/402940#402940

1.jpg

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,525 Views
半醒的狐狸
Contributor I

hi

thanks for you help!

my bsp is L3.14.52.

QQ截图20160801091154.png

it's the same reason?

how can i build the u-boot.imx by bitbake?

thanks!

0 Kudos