Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Yocto and Build Linux

Altera_Forum
Honored Contributor II
1,301 Views

According to the docs: 

 

http://www.rocketboards.org/foswiki/documentation/alterasocdevelopmentboardyoctogettingstarted 

 

 

bitbake virtual/kernel and bitbake linux-altera are identical. For me the first command works but the second  

does not. I get this error when running linux-altera 

 

ERROR: Function failed: Fetcher failure for URL: 'git://git.rocketboards.org/linux-socfpga.git;protocol=http;branch=socfpga-3.11-rel'. The command git ls-remote http://git.rocketboards.org/linux-socfpga.git socfpga-3.11-rel gave empty output unexpectedly 

 

Anyhow, the second works but then I get no socfpga_cyclone5.dtb after a call to bitbake altera-image. 

 

Any ideas what to do? 

 

EDIT: 

 

Actually, this is the error: 

 

ERROR: Multiple .bb files are due to be built which each provide virtual/kernel (/home/bobo/yocto/meta-altera/recipes-kernel/linux/linux-altera_3.11.bb /home/bobo/yocto/meta-altera/recipes-kernel/linux/linux-altera-dist.bb). This usually means one provides something the other doesn't and should.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
509 Views

The "Fetcher failure for URL: ..." error is due to the 3.11 branch being actually named "socfpga-3.11", without the trailing "-rel". 

 

To solve it I edited the 2nd line of file "~/altera-yocto/meta-altera/recipes-kernel/linux/linux-altera.inc" from: 

 

SRC_URI = "git://git.rocketboards.org/linux-socfpga.git;protocol=http;branch=socfpga-${PV}-rel

 

to 

 

SRC_URI = "git://git.rocketboards.org/linux-socfpga.git;protocol=http;branch=socfpga-${PV}

 

 

Regarding the second error "Multiple .bb files ..." I came here looking for a solution to that :) I can't get a dtb either!
0 Kudos
Reply