Skip to contentSkip to conversation

how to set u-boot in meta-machine

DISCUSSION tab 2 participants 2 messages Jun 28, 2016

lore
Share & tools
lore

tab

author
#0 lore raw

Hi,
I'm going to build a linux distro for LeMaker Guitar with yocto project and I've meet some problems, hope you can help me:
I refer this
page(http://www.yoctoproject.org/docs/2.1/bsp-guide/bsp-guide.html) to build a layer named 'meta-guitar' with a custom kernel source (https://github.com/LeMaker/linux-actions).
It seems nothing wrong during the building time and i get a 'meta-guitar' successfuly.
But when i try to build a image with bitbake core-image-minimal i get a error:

ERROR: u-boot-v2016.03+gitAUTOINC+df61a74e68-r0 do_compile: oe_runmake failed
ERROR: u-boot-v2016.03+gitAUTOINC+df61a74e68-r0 do_compile: Function failed: do_compile (log file is located at /home/tab/work/yocto/build/guitar/tmp/work/guitar-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_compi le.16108)

and the logfile says: Configuration file ".config" not found.

It seems that I need to do something with the u-boot while building the meta-guitar?
But there's no more info about the u-boot while I'm building meta-guitar, such as the path of the u-boot source file?
How can i solve this problem?
Hope for your help.

Tab Liu

Signature · 19 lines
 **

 *
 *

 *Tab Liu
 *


 *LeMaker ****Support * *Team *

 **Making Innovation Easy *.
 *

 Email:
 [email protected] <mailto:[email protected]> (Technical Support)
 [email protected] <mailto:[email protected]> (Product Distribution)

 Website: http://www.lemaker.org/ <http://www.lemaker.org/>
#1 lore raw
Quoted 13 lines · tab

Hi,
I'm going to build a linux distro for LeMaker Guitar with yocto project and I've meet some problems, hope you can help me:
I refer this page(http://www.yoctoproject.org/docs/2.1/bsp-guide/bsp-guide.html) to build a layer named 'meta-guitar'
with a custom
kernel source (https://github.com/LeMaker/linux-actions).
It seems nothing wrong during the building time and i get a 'meta-guitar' successfuly.
But when i try to build a image with bitbake core-image-minimal i get a error:

ERROR: u-boot-v2016.03+gitAUTOINC+df61a74e68-r0 do_compile: oe_runmake failed
ERROR: u-boot-v2016.03+gitAUTOINC+df61a74e68-r0 do_compile: Function failed: do_compile (log file is located at /home/tab/work/yocto/build/guitar/tmp/work/guitar-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_compi le.16108)

Quoted 8 lines

and the logfile says: Configuration file ".config" not found.

It seems that I need to do something with the u-boot while building the meta-guitar?
But there's no more info about the u-boot while I'm building meta-guitar, such as the path of the u-boot source file?
How can i solve this problem?
Hope for your help.

Tab Liu

Try looking at some of the <MACHINE>.conf files in meta-fsl-arm where you should be able to see how to set up the U-Boot build.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------