Hello,
I am actually trying to build the yocto image for Banana-Pi M1 board. I came across the yocto tutorial for RPI from Mender Hub. Was really very informative thank you. As I am doing yocto for the first time I thought of going with raspberry Pi so that I can get some feeling how does yocro works. I followed the tutorial but on running
$: bitbake core-image-base
The build process started but after reaching 51 %, the whole process stopped. Below is the error log:
siddhu@siddhu:~/Documents/yocto/build$ bitbake core-image-base
Parsing recipes: 100% |############################################################################################| Time: 0:04:06
Parsing of 2254 .bb files complete (0 cached, 2254 parsed). 3320 targets, 135 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = “1.42.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “ubuntu-18.04”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “raspberrypi3”
DISTRO = “poky”
DISTRO_VERSION = “2.7.3”
TUNE_FEATURES = “arm vfp cortexa7 neon vfpv4 thumb callconvention-hard”
TARGET_FPU = “hard”
meta
meta-poky
meta-yocto-bsp = “warrior:274e8c50eee14c0bfc1fc3f51d5b33cbc44c3a31”
meta-oe
meta-multimedia
meta-python
meta-networking = “warrior:a24acf94d48d635eca668ea34598c6e5c857e3f8”
meta-raspberrypi = “warrior:5551792e642d6cc32e22dfe6dbfd29ac3e2390cd”
NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/2.8/x86_64-nativesdk-libc.tar.xz;sha256sum=a09922172c3a439105e0ae6b943daad2d83505b17da0aba97961ff433b8c21ab
Initialising tasks: 100% |#########################################################################################| Time: 0:00:07
Sstate summary: Wanted 1195 Found 0 Missed 1195 Current 0 (0% match, 0% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: sqlite3-native-3_3.27.2-r0 do_fetch: Failed to fetch URL http://www.sqlite.org/2019/sqlite-autoconf-3270200.tar.gz, attempting MIRRORS if available
WARNING: icu-native-63.1-r0 do_fetch: Checksum mismatch for local file /home/siddhu/Documents/yocto/build/downloads/icu4c-63_1-src.tgz
Cleaning and trying again.
WARNING: icu-native-63.1-r0 do_fetch: Renaming /home/siddhu/Documents/yocto/build/downloads/icu4c-63_1-src.tgz to /home/siddhu/Documents/yocto/build/downloads/icu4c-63_1-src.tgz_bad-checksum_c48521bfa28b0dde100f68f632e76518
WARNING: icu-native-63.1-r0 do_fetch: Checksum failure encountered with download of http://download.icu-project.org/files/icu4c/63.1/icu4c-63_1-src.tgz - will attempt other sources if available
WARNING: procps-3.3.15-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-3.3.15.tar.xz, attempting MIRRORS if available
WARNING: quota-4.04-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/project/linuxquota/quota-tools/4.04/quota-4.04.tar.gz, attempting MIRRORS if available
WARNING: cwautomacros-native-20110201-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/cwautomacros.berlios/cwautomacros-20110201.tar.bz2, attempting MIRRORS if available
WARNING: zip-3.0-r2 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/infozip/Zip%203.x%20(latest)/3.0/zip30.tar.gz, attempting MIRRORS if available
WARNING: rpcbind-1.2.5-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/rpcbind/rpcbind-1.2.5.tar.bz2, attempting MIRRORS if available
WARNING: linux-raspberrypi-1_4.19.88+gitAUTOINC+988cc7beac-r0 do_fetch: Failed to fetch URL git://github.com/raspberrypi/linux.git;branch=rpi-4.19.y, attempting MIRRORS if available
ERROR: linux-raspberrypi-1_4.19.88+gitAUTOINC+988cc7beac-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS=“unix:path=/run/user/1000/bus,guid=3cbc88bac87693904d5dd3825e9fdc95”; export SSH_AGENT_PID=“1591”; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/siddhu/Documents/yocto/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/siddhu/Documents/yocto/sources/poky/scripts:/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/recipe-sysroot/usr/bin/crossscripts:/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/recipe-sysroot-native/usr/sbin:/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/recipe-sysroot-native/usr/bin:/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/recipe-sysroot-native/sbin:/home/siddhu/Documents/yocto/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/recipe-sysroot-native/bin:/home/siddhu/Documents/yocto/sources/poky/bitbake/bin:/home/siddhu/Documents/yocto/build/tmp/hosttools"; export HOME="/home/siddhu"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/raspberrypi/linux.git /home/siddhu/Documents/yocto/build/downloads/git2/github.com.raspberrypi.linux.git --progress failed with exit code 128, output:
Cloning into bare repository ‘/home/siddhu/Documents/yocto/build/downloads/git2/github.com.raspberrypi.linux.git’…
remote: Enumerating objects: 139, done.
remote: Counting objects: 100% (139/139), done.
remote: Compressing objects: 100% (108/108), done.
fatal: read error: Connection reset by peer579.82 MiB | 370.00 KiB/s
fatal: early EOF
fatal: index-pack failed
ERROR: linux-raspberrypi-1_4.19.88+gitAUTOINC+988cc7beac-r0 do_fetch: Fetcher failure for URL: ‘git://github.com/raspberrypi/linux.git;branch=rpi-4.19.y’. Unable to fetch URL from any source.
ERROR: linux-raspberrypi-1_4.19.88+gitAUTOINC+988cc7beac-r0 do_fetch:
ERROR: linux-raspberrypi-1_4.19.88+gitAUTOINC+988cc7beac-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/siddhu/Documents/yocto/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.19.88+gitAUTOINC+988cc7beac-r0/temp/log.do_fetch.3159
ERROR: Task (/home/siddhu/Documents/yocto/sources/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.19.bb:do_fetch) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 1752 tasks of which 0 didn’t need to be rerun and 1 failed.
Summary: 1 task failed:
/home/siddhu/Documents/yocto/sources/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.19.bb:do_fetch
Summary: There were 10 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
siddhu@siddhu:~/Documents/yocto/build$
I kindly request you to suggest me what wrong I am doing here.
Later I tried to take up same yocto for my target BananaPi-M1 board but I am not able to do it. May I knoe what wrong I am doing.
Regards,
Siddhartha V