[yocto] build error on raspberrypi3

vishal ashapur vishalashapur at gmail.com
Wed Oct 25 20:59:16 PDT 2017


hi im buliding linux on rpi3 using yocto pyro branch. after doing
"bitbake linux-raspberrypi -c menuconfig"  it is downloading all
sources but at the end it is showing the following error.

ERROR: linux-raspberrypi-1_4.9.30+gitAUTOINC+e54215a9bc-r28 do_fetch:
Fetcher failure for URL:
'git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y'.
Unable to fetch URL from any source.
ERROR: linux-raspberrypi-1_4.9.30+gitAUTOINC+e54215a9bc-r28 do_fetch:
Function failed: base_do_fetch
ERROR: Logfile of failure stored in:
/u/rpi2/rpi/build/tmp/work/raspberrypi2-poky-linux-gnueabi/linux-raspberrypi/1_4.9.30+gitAUTOINC+e54215a9bc-r28/temp/log.do_fetch.30856
ERROR: Task (/u/rpi2/sources/poky-morty/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.9.bb:do_fetch)
failed with exit code '1'

so can anybody help with this error.
my detailed procedure for build is below
git clone -b pyro git://git.yoctoproject.org/poky
cd poky
git clone -b pyro git://git.openembedded.org/meta-openembedded
git clone -b pyro git://git.yoctoproject.org/meta-raspberrypi

source sources/poky/oe-init-build-env rpi-build

changes in local.conf
MACHINE = "raspberrypi3"
PREFERRED_VERSION_linux-raspberrypi = "4.9.%"
DISTRO_FEATURES_remove = "x11 wayland"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
IMAGE_INSTALL += "packagegroup-core-buildessential"

changes in bblayers.conf
BBLAYERS ?= " \
  ${BSPDIR}/sources/poky/meta \
  ${BSPDIR}/sources/poky/meta-poky \
  ${BSPDIR}/sources/poky/meta-yocto-bsp \
  ${BSPDIR}/sources/meta-openembedded/meta-oe \
  ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
  ${BSPDIR}/sources/meta-raspberrypi \

bitbake linux-raspberrypi -c menuconfig



More information about the yocto mailing list