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

Honored Contributor II

According to the docs: 



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://;protocol=http;branch=socfpga-3.11-rel'. The command git ls-remote 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? 




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/ /home/bobo/yocto/meta-altera/recipes-kernel/linux/ This usually means one provides something the other doesn't and should.
0 Kudos
1 Reply
Honored Contributor II

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/" from: 


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




SRC_URI = "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