[yocto] build error on raspberrypi3
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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Adding usb-modeswitch and minicom packages on yocto
Thank you! On 24-Oct-2017 2:34 PM, "Burton, Ross" <ross.bur...@intel.com> wrote: > On 24 October 2017 at 05:16, vishal ashapur <vishalasha...@gmail.com> > wrote: > >> Hi >> I want to add USB modeswitch and minicom packages on the target image. I >> am using raspberry pi 3 for the same. How to add those two packages so that >> they are enabled on target machine. >> >> > Find the recipes you're after using the layer index: > https://layers.openembedded.org > > Then customise your image as per the documentation: > http://www.yoctoproject.org/docs/2.3.2/dev-manual/dev- > manual.html#usingpoky-extend-customimage > > Ross > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Adding usb-modeswitch and minicom packages on yocto
Hi I want to add USB modeswitch and minicom packages on the target image. I am using raspberry pi 3 for the same. How to add those two packages so that they are enabled on target machine. Regards vishal -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Enabling_gcc
Ya, I want gcc compiler to be on target image. I'm using raspberry pi3 board. On 24-Oct-2017 1:14 AM, "Randy MacLeod" <randy.macl...@windriver.com> wrote: On 2017-10-23 01:17 PM, Khem Raj wrote: > On Mon, Oct 23, 2017 at 4:52 AM, vishal ashapur <vishalasha...@gmail.com> > wrote: > >> Hi >> I'm building a Linux kernel from yocto, on which I have to enable gcc. >> Can u >> please tell me how to enable gcc. And also usb_modeswitch package >> > > it uses gcc, I think you need to clarify your question a bit so > someone can provide you help. > > Do you mean that you want the compiler in the target image? If so, add: IMAGE_INSTALL += "packagegroup-core-buildessential" to your conf/local.conf file. ../Randy FYI, I looked-up that up in WR's distro feature: https://github.com/WindRiver-OpenSourceLabs/wr-base/blob/LB2 1_7.0_RCPL0002/templates/feature/target-toolchain/image.inc since I know it well. :) I didn't quickly find it in the YP manual: http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html but it should be there. -- # Randy MacLeod. WR Linux # Wind River an Intel Company -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Enabling_gcc
Hi I'm building a Linux kernel from yocto, on which I have to enable gcc. Can u please tell me how to enable gcc. And also usb_modeswitch package Regards Vishal -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto