Hello, when attempting to add the gputop and libgpuperfcnt bitbake files to my Yocto image from https://github.com/nxp-imx/meta-imx/tree/kirkstone-5.15.71-2.2.0/meta-sdk/recipes-graphics/libgpuper... it appears that the link in the bb file is broken.
I am assuming that this is due to a server change? Hoping to get advice on the correct link to update the recipe file.
libgpuperfcnt-6.4.3.p4.6-r0 do_fetch: Failed to fetch URL https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//libgpuperfcnt-6.4.3.p4.6-aarch64-fb.bin;fsl-eula=true;nam..., attempting MIRRORS if available
Seems like there is a missing bin in the lgfiles dir or the link is incorrect.
imx8mq
Currrently, i am working with L6.1. So i test if the server can work and then it can work with NXP yocto:
~/imx-yocto-bsp$ bitbake libgpuperfcnt
/usr/lib/python3/dist-packages/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping
Loading cache: 100% |###################################################################################################| Time: 0:00:01
Loaded 4973 entries from dependency cache.
Parsing recipes: 100% |#################################################################################################| Time: 0:00:01
Parsing of 3353 .bb files complete (3351 cached, 2 parsed). 4975 targets, 569 skipped, 3 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.2.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mqevk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "6.1-langdale"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:b50f718e4cb73214e7ad298484ecdadd6cfeb866"
meta-oe
meta-multimedia
meta-python = "HEAD:c354f92778c1d4bcd3680af7e0fb0d1414de2344"
meta-freescale = "HEAD:09c47379218167dda9fb0098129909a667fea2ec"
meta-freescale-3rdparty = "HEAD:96c1f6a6c2cad246687cd695e0873fcc6cdde935"
meta-freescale-distro = "HEAD:1069c2f210b18cd707a4d8a82140a684a42a4ff6"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:d13ade4fdaf536ba7d2db34420755fd23e8736c8"
meta-nxp-demo-experience = "HEAD:c057a681cf11923b22e16b9cdb0ad2b9187eced2"
meta-arm
meta-arm-toolchain = "HEAD:025124814e8676e46d42ec5b07220283f1bdbcd0"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:22f1cc330d3501923d2dc27cd3fc424c69c3a73a"
meta-gnome
meta-networking
meta-filesystems = "HEAD:c354f92778c1d4bcd3680af7e0fb0d1414de2344"
meta-qt6 = "HEAD:4f7d02004cd78f0fca77489deb7487bfb301ea36"
meta-parsec
meta-tpm = "HEAD:2aa48e6f4e519abc7d6bd56da2c067309a303e80"
meta-virtualization = "HEAD:8857b36ebfec3d548755755b009adc491ef320ab"
Initialising tasks: 100% |##############################################################################################| Time: 0:00:01
Sstate summary: Wanted 61 Local 0 Mirrors 0 Missed 61 Current 258 (0% match, 80% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 1242 tasks of which 1124 didn't need to be rerun and all succeeded.
Sorry for the delay, got pulled onto some other projects at work.
I tried the recipe listed in the L6.1 release https://github.com/nxp-imx/meta-imx/blob/langdale-6.1.1-1.0.0/meta-sdk/recipes-graphics/libgpuperfcn... however it still fails to find the aarch64 link.
It appears this is a dead link. Can you confirm that libgpuperfcnt-6.4.11.p1.0-aarch64-fb.bin is on the lgfile server?
libgpuperfcnt-6.4.11.p1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//libgpuperfcnt-6.4.11.p1.0-aarch64-fb.bin;fsl-eula=true;na...')
Only exists https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//libgpuperfcnt-6.4.11.p1.0-aarch64-wayland.bin
~/imx-yocto-bsp/build-8mp$ bitbake libgpuperfcnt -c fetch
/usr/lib/python3/dist-packages/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping
Loading cache: 100% |#########################################################################| Time: 0:00:00
Loaded 4967 entries from dependency cache.
Parsing recipes: 100% |#######################################################################| Time: 0:00:02
Parsing of 3352 .bb files complete (3345 cached, 7 parsed). 4974 targets, 552 skipped, 4 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.2.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "6.1-langdale"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:b50f718e4cb73214e7ad298484ecdadd6cfeb866"
meta-oe
meta-multimedia
meta-python = "HEAD:c354f92778c1d4bcd3680af7e0fb0d1414de2344"
meta-freescale = "HEAD:09c47379218167dda9fb0098129909a667fea2ec"
meta-freescale-3rdparty = "HEAD:96c1f6a6c2cad246687cd695e0873fcc6cdde935"
meta-freescale-distro = "HEAD:1069c2f210b18cd707a4d8a82140a684a42a4ff6"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:d13ade4fdaf536ba7d2db34420755fd23e8736c8"
meta-nxp-demo-experience = "HEAD:c057a681cf11923b22e16b9cdb0ad2b9187eced2"
meta-arm
meta-arm-toolchain = "HEAD:025124814e8676e46d42ec5b07220283f1bdbcd0"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:22f1cc330d3501923d2dc27cd3fc424c69c3a73a"
meta-gnome
meta-networking
meta-filesystems = "HEAD:c354f92778c1d4bcd3680af7e0fb0d1414de2344"
meta-qt6 = "HEAD:4f7d02004cd78f0fca77489deb7487bfb301ea36"
meta-parsec
meta-tpm = "HEAD:2aa48e6f4e519abc7d6bd56da2c067309a303e80"
meta-virtualization = "HEAD:8857b36ebfec3d548755755b009adc491ef320ab"
workspace = "<unknown>:<unknown>"
Initialising tasks: 100% |####################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Local 0 Mirrors 0 Missed 0 Current 0 (0% match, 0% complete)
NOTE: No setscene tasks
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
DEBUG: libgpuperfcnt-6.4.11.p1.0-r0 do_fetch: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp -O /home/nxf65025/imx-yocto-bsp/downloads/libgpuperfcnt-6.4.11.p1.0-aarch64-wayland.bin.tmp -P /home/nxf65025/imx-yocto-bsp/downloads/ 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//libgpuperfcnt-6.4.11.p1.0-aarch64-wayland.bin'
DEBUG: libgpuperfcnt-6.4.11.p1.0-r0 do_fetch: Running export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/44813/bus"; export ftp_proxy="http://127.0.0.1:3128"; export FTP_PROXY="http://127.0.0.1:3128"; export https_proxy="http://127.0.0.1:3128"; export HTTPS_PROXY="http://127.0.0.1:3128"; export http_proxy="http://127.0.0.1:3128"; export HTTP_PROXY="http://127.0.0.1:3128"; export PATH="/home/nxf65025/imx-yocto-bsp/build-8mp/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/nxf65025/imx-yocto-bsp/sources/poky/scripts:/home/nxf65025/imx-yocto-bsp/build-8mp/tmp/work/armv8a-mx8mp-poky-linux/libgpuperfcnt/6.4.11.p1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/nxf65025/imx-yocto-bsp/build-8mp/tmp/work/armv8a-mx8mp-poky-linux/libgpuperfcnt/6.4.11.p1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/nxf65025/imx-yocto-bsp/build-8mp/tmp/work/armv8a-mx8mp-poky-linux/libgpuperfcnt/6.4.11.p1.0-r0/recipe-sysroot-native/usr/sbin:/home/nxf65025/imx-yocto-bsp/build-8mp/tmp/work/armv8a-mx8mp-poky-linux/libgpuperfcnt/6.4.11.p1.0-r0/recipe-sysroot-native/usr/bin:/home/nxf65025/imx-yocto-bsp/build-8mp/tmp/work/armv8a-mx8mp-poky-linux/libgpuperfcnt/6.4.11.p1.0-r0/recipe-sysroot-native/sbin:/home/nxf65025/imx-yocto-bsp/build-8mp/tmp/work/armv8a-mx8mp-poky-linux/libgpuperfcnt/6.4.11.p1.0-r0/recipe-sysroot-native/bin:/home/nxf65025/imx-yocto-bsp/sources/poky/bitbake/bin:/home/nxf65025/imx-yocto-bsp/build-8mp/tmp/hosttools"; export HOME="/home/nxf65025"; /usr/bin/env wget -t 2 -T 30 --passive-ftp -O /home/nxf65025/imx-yocto-bsp/downloads/libgpuperfcnt-6.4.11.p1.0-aarch64-wayland.bin.tmp -P /home/nxf65025/imx-yocto-bsp/downloads/ 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//libgpuperfcnt-6.4.11.p1.0-aarch64-wayland.bin' --progress=dot -v
DEBUG: libgpuperfcnt-6.4.11.p1.0-r0 do_fetch: Python function base_do_fetch finished
DEBUG: libgpuperfcnt-6.4.11.p1.0-r0 do_fetch: Python function do_fetch finishe
Okay so the others are missing then, unless this is intentional not to have support for them anymore? In which case the repo needs to be updated to remove them. Is there a reason they are not available anymore?
The file name has changed to libgpuperfcnt-6.4.11.p1.0-arm-fb.bin
You can find information in this file:https://github.com/nxp-imx/meta-imx/blob/langdale-6.1.1-1.0.0/SCR-6.1.1-1.0.0.txt
Okay thanks for getting back to me, I will check with the new recipe however looking at the diff between them I notice that the SRC I am using (aarch64-fb) is unchanged so I don't expect it to have different results?
Ill check this weekend and update any results here.