Skip to contentSkip to conversation

Error while building image for 5.4.y on RPI4

DISCUSSION Pankaj Vinadrao Joshi 3 participants 3 messages Jun 12, 2020 – Jun 13, 2020

lore
Share & tools
lore
#0 lore raw

Hi,
i am trying to build an image for RPI4 for 5.4.y kernel but i am getting following error , i

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:04 Sstate summary: Wanted 1094 Found 0 Missed 1094 Current 1154 (0% match, 51% complete)
NOTE: Executing Tasks
WARNING: libfm-extra-1.3.1-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/pcmanfm/libfm-1.3.1.tar.xz, attempting MIRRORS if available
*WARNING: linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Failed to fetch URL git://github.com/raspberrypi/linux.git;branch=rpi-5.4.y, attempting MIRRORS if available* *ERROR: linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Fetcher failure: Unable to find revision 97badb4baeb8999263a9bc2fa85c3060ffff344b in branch rpi-5.4.y even from upstream* *ERROR: linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Fetcher failure for URL: 'git://github.com/raspberrypi/linux.git;branch=rpi-5.4.y'. Unable to fetch URL from any source.* *ERROR: Logfile of failure stored in: /home/pankaj/Oe-Raspberrypi4/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi/1_5.4.40+gitAUTOINC+97badb4bae-r0/temp/log.do_fetch.10175*
ERROR: Task (/home/pankaj/meta-raspberry/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2294 tasks of which 1551 didn't need to be rerun and 1 failed.

This my linux-raspberrypi_5.4.bb file

LINUX_VERSION ?= "5.4.40"
LINUX_RPI_BRANCH ?= "rpi-5.4.y"

SRCREV = "97badb4baeb8999263a9bc2fa85c3060ffff344b"

require linux-raspberrypi_5.4.inc

SRC_URI += "file://0001-perf-Make-perf-able-to-build-with-latest-libbfd.patch \
file://0001-Revert-selftests-bpf-Skip-perf-hw-events-test-if-the.patch \
file://0002-Revert-selftests-bpf-Fix-perf_buffer-test-on-systems.patch \
file://0001-selftest-bpf-Use-CHECK-macro-instead-of-RET_IF.patch \
file://powersave.cfg \
"

pankaj@exaleap-Inspiron-3584:~/Oe-Raspberrypi4$ bitbake -e | grep ^PREFERRED_VERSION_linux-raspberrypi
PREFERRED_VERSION_linux-raspberrypi="5.4.%"

am i missing anything,why i am getting this error can someone help??

#1 lore raw

I don't mean to be insensitive, but can this be sent to the proper mailing list, as there's no linux-raspberrypi in OE-Core. Mostly because this list is already high traffic and a bit of a structure would be appreciated. Thanks.

Signature · 1 line
Denys
Quoted 36 lines · Pankaj Vinadrao Joshi

Hi,
i am trying to build an image for RPI4 for 5.4.y kernel but i am getting following error , i

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:04 Sstate summary: Wanted 1094 Found 0 Missed 1094 Current 1154 (0% match, 51% complete)
NOTE: Executing Tasks
WARNING: libfm-extra-1.3.1-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/pcmanfm/libfm-1.3.1.tar.xz, attempting MIRRORS if available
*WARNING: linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Failed to fetch URL git://github.com/raspberrypi/linux.git;branch=rpi-5.4.y, attempting MIRRORS if available* *ERROR: linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Fetcher failure: Unable to find revision 97badb4baeb8999263a9bc2fa85c3060ffff344b in branch rpi-5.4.y even from upstream* *ERROR: linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Fetcher failure for URL: 'git://github.com/raspberrypi/linux.git;branch=rpi-5.4.y'. Unable to fetch URL from any source.* *ERROR: Logfile of failure stored in: /home/pankaj/Oe-Raspberrypi4/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi/1_5.4.40+gitAUTOINC+97badb4bae-r0/temp/log.do_fetch.10175*
ERROR: Task (/home/pankaj/meta-raspberry/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2294 tasks of which 1551 didn't need to be rerun and 1 failed.

This my linux-raspberrypi_5.4.bb file

LINUX_VERSION ?= "5.4.40"
LINUX_RPI_BRANCH ?= "rpi-5.4.y"

SRCREV = "97badb4baeb8999263a9bc2fa85c3060ffff344b"

require linux-raspberrypi_5.4.inc

SRC_URI += "file://0001-perf-Make-perf-able-to-build-with-latest-libbfd.patch \
file://0001-Revert-selftests-bpf-Skip-perf-hw-events-test-if-the.patch \
file://0002-Revert-selftests-bpf-Fix-perf_buffer-test-on-systems.patch \
file://0001-selftest-bpf-Use-CHECK-macro-instead-of-RET_IF.patch \
file://powersave.cfg \
"

pankaj@exaleap-Inspiron-3584:~/Oe-Raspberrypi4$ bitbake -e | grep ^PREFERRED_VERSION_linux-raspberrypi
PREFERRED_VERSION_linux-raspberrypi="5.4.%"

am i missing anything,why i am getting this error can someone help??

#2 lore raw
In reply to Pankaj Vinadrao Joshi
Quoted 45 lines · PDT Pankaj Vinadrao Joshi

Hi,
i am trying to build an image for RPI4 for 5.4.y kernel but i am getting following error , i

Initialising tasks: 100% |##########################################################################
############################################################################
#############| Time: 0:00:04 Sstate summary: Wanted 1094 Found 0 Missed 1094 Current 1154 (0% match, 51% complete) NOTE: Executing Tasks
WARNING: libfm-extra-1.3.1-r0 do_fetch: Failed to fetch URL
https://downloads.sourceforge.net/pcmanfm/libfm-1.3.1.tar.xz, attempting MIRRORS if available *WARNING:
linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Failed to fetch URL git://github.com/raspberrypi/linux.git;branch=rpi-5.4.y,
attempting MIRRORS if available* *ERROR:
linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Fetcher
failure: Unable to find revision 97badb4baeb8999263a9bc2fa85c3060ffff344b in branch rpi-5.4.y even from upstream* *ERROR:
linux-raspberrypi-1_5.4.40+gitAUTOINC+97badb4bae-r0 do_fetch: Fetcher failure for URL: 'git://github.com/raspberrypi/linux.git;branch=rpi-5.4.y'. Unable to fetch URL from any source.* *ERROR: Logfile of failure stored in:
/home/pankaj/Oe-Raspberrypi4/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/l inux-raspberrypi/1_5.4.40+gitAUTOINC+97badb4bae-r0/temp/log.do_fetch.10175*
ERROR: Task (/home/pankaj/meta-raspberry/meta-raspberrypi/recipes-kernel/linux/linux-ra spberrypi_5.4.bb:do_fetch) failed with exit code '1' NOTE: Tasks Summary:
Attempted 2294 tasks of which 1551 didn't need to be rerun and 1 failed.

This my linux-raspberrypi_5.4.bb file

LINUX_VERSION ?= "5.4.40"
LINUX_RPI_BRANCH ?= "rpi-5.4.y"

SRCREV = "97badb4baeb8999263a9bc2fa85c3060ffff344b"

require linux-raspberrypi_5.4.inc

SRC_URI += "file://0001-perf-Make-perf-able-to-build-with-latest-libbfd.patch \
file://0001-Revert-selftests-bpf-Skip-perf-hw-events-test-if-the.patch \
file://0002-Revert-selftests-bpf-Fix-perf_buffer-test-on-systems.patch \
file://0001-selftest-bpf-Use-CHECK-macro-instead-of-RET_IF.patch \
file://powersave.cfg \
"

Quoted 5 lines
pankaj@exaleap-Inspiron-3584:~/Oe-Raspberrypi4$ bitbake -e | grep
^PREFERRED_VERSION_linux-raspberrypi
PREFERRED_VERSION_linux-raspberrypi="5.4.%"

am i missing anything,why i am getting this error can someone help??

upstream has not yet make 5.4 as defualt kernel for rpi until they do so they keep rebasing it unfortunately which means meta-raspberrypi has to keep updating SRCREVs,

you can cherrypick https://github.com/agherzan/meta-raspberrypi/pull/654
until its merged