meta-raspberrypi icon indicating copy to clipboard operation
meta-raspberrypi copied to clipboard

openBMC on raspberry Pi 4

Open iankao0000 opened this issue 10 months ago • 5 comments

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.

iankao0000 avatar Feb 20 '25 11:02 iankao0000

is this persistent ?

kraj avatar Feb 20 '25 16:02 kraj

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"

iankao0000 avatar Feb 21 '25 04:02 iankao0000

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 ?

kraj avatar Feb 21 '25 04:02 kraj

Yes, it does work.

iankao0000 avatar Feb 21 '25 05:02 iankao0000

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 )

kraj avatar Feb 21 '25 06:02 kraj