openBMC on raspberry Pi 4
Hello everyone, I had a problem with trying to build openbmc on raspberrypi 4 ,
TEMPLATECONF=meta-evb/meta-evb-raspberrypi/conf/templates/default . openbmc-env bitbake obmc-phosphor-image
WARNING: linux-raspberrypi-1_6.6.63+git-r0 do_fetch: Failed to fetch URL git://github.com/raspberrypi/linux.git;name=machine;branch=rpi-6.6.y;protocol=https, attempting MIRRORS if available ERROR: linux-raspberrypi-1_6.6.63+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/raspberrypi/linux.git;name=machine;branch=rpi-6.6.y;protocol=https')
The logfile --2025-02-19 16:47:47-- http://downloads.yoctoproject.org/mirror/sources/git2_github.com.raspberrypi.linux.git.tar.gz Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 37.27.135.249, 2a01:4f9:3070:3985::2 Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|37.27.135.249|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2025-02-19 16:47:47 ERROR 404: Not Found. --2025-02-19 16:47:48-- https://mirrors.kernel.org/yocto-sources/git2_github.com.raspberrypi.linux.git.tar.gz Resolving mirrors.kernel.org (mirrors.kernel.org)... 139.178.88.99, 2604:1380:45e3:2400::1 Connecting to mirrors.kernel.org (mirrors.kernel.org)|139.178.88.99|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2025-02-19 16:47:49 ERROR 404: Not Found.
Asking for help.
is this persistent ?
I've tried serval times, all came to the same ERRORs. I modified conf/local.conf MACHINE??="raspberrypi4" and added FLASH_SIZE="131072" IMAGE_FSTYPES="rpi-sdimg" IMAGE_INSTALL:append="ipmitool wpa-supplicant webui-vue" LICENSE="synaptics-killswitch"
On the build machine try cloning git://github.com/raspberrypi/linux.git; outside yocto fetching it. Perhaps in /tmp folder
git clone https://github.com/raspberrypi/linux.git
does this work ?
Yes, it does work.
Yes, it does work.
ok in that case, I think you might have to look at your project and see what could be firewalling bitbake from fetching it. It works ok for me using latest master branch. ( I do not use openBMC setup though )