Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 17366

Re: Build BSP 1.0.0 - image-full-galileo Fails at do_kernel_configme

$
0
0

Thank you and thank @Intel_Jesus. I have read the two links you shown to me, and get more about the issue.

 

But I still can't resolve this problem although I think my addition in local.conf would be enough to work.

 

Now when I do "bitbake -c fetchall image-full", yocto starts to do_fetch libav. The libav is large and the network connection is very bad to me. So I press "ctrl+c"  to terminal bitbake (maybe the abnormal termination causes unknown error?) and copy four libav files from Board_Support_Package_Sources_for_Intel_Quark_v1.0.0_full_yocto_archive.tar.bz2 to /home/johnny/galileo/localsrc directory and yocto_build/download directory and set yocto_build/conf/local.conf as:

 

SOURCE_MIRROR_URL ?= "file:///home/johnny/galileo/localsrc/"

INHERIT += "own-mirrors"

BB_GENERATE_MIRROR_TARBALLS = "1"

#BB_NO_NETWORK = "1"

 

PREMIRRORS_prepend = "\

git://.*/.* file:///home/johnny/galileo/localsrc/ \n \

svn://.*/.* file:///home/johnny/galileo/localsrc/ \n \

cvs://.*/.* file:///home/johnny/galileo/localsrc/ \n \

ftp://.*/.* file:///home/johnny/galileo/localsrc/ \n \

http://.*/.* file:///home/johnny/galileo/localsrc/ \n \

https://.*/.* file:///home/johnny/galileo/localsrc/ \n"

 

#DL_DIR = "/home/johnny/galileo/localsrc/"

 

I also comment PREMIRRORS_prepend and try, and set DL_DIR to my local src, but all didn't work. Yocto fetches libav all the time.

 

And I found another interesting thing: when I set DL_DIR to my local src directory and bitbake -c fetchall image-full, yocto starts to download all the packages, of course. But when I cancel it and comment DL_DIR which means reset DL_DIR to default download directory, and yocto calculates the fetch tasks very soon, which means yocto knows that the packages have been downloaded in default download directory and not do fetch them. So why yocto does not know libav which is also copied to default download directory and local src?

 

And I also tried rm -rf tmp/cache/default-uclibc and rm -rf tmp/stamps/i586-poky-linux-uclibc and try, also doesn't work.

 

So there are three questions confused me:

1. how to make yocto to fetch packages from local directory successfully?

2. how does yocto know the package is already fetched? Maybe in fact It is the same question with 1.

3. is there state for yocto? When it begins to fetch from internet, it will never fetch from local directory?

 

I think they are very common questions and your advice will do great help to many people. Thank you very much.


Viewing all articles
Browse latest Browse all 17366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>