Home/Support/Support Forum/How can I configure digi-u-boot.inc to get the u-boot source local from a tar file?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How can I configure digi-u-boot.inc to get the u-boot source local from a tar file?

0 votes
Hi

I use the digi u-boot source form the digi-embedded git u-boot repository.

The source is downloaded through the u-boot-dey_2017.03.bb recipe.

How can I use local source code (e.g. tar archive) instead the git access only for the u-boot.

I tried:
=> SRC_URI = "file://${HOME}/LocalUboot/<archive_file>" #e.g. u-boot.zip or u-boot.tar
instead of
=> SRC_URI = "git://github.com/digi-embedded/u-boot.git;protocol=https;nobranch=1"


It always ends with a meaningless error: "u-boot-dey-2017.03-r0 do_compile: Function failed"

Any advise?

Regards
Michael
asked Jan 14 in Linux by hellsmoke New to the Community (4 points)

Please log in or register to answer this question.

2 Answers

0 votes
Have you tried to put your tar with the same name into downloads folder of your project? The bitbake should see that it's there and use it without downloading a new one.
answered 6 days ago by LeonidM Veteran of the Digi Community (3,213 points)
0 votes
Hi

Thank you i will try it.

Regards
Michael
answered 1 day ago by hellsmoke New to the Community (4 points)
...