Hello,
I am working on wrlinux sdk environment, and would like to build a image targetting s32g platform.
While I was following instructions from Windriver, I got a following error, which is "Failed to fetch URL".
I was looking for an answer by googling and found a similar problem, and it says the "autobsps32" is moved to github from codeaurora.
I am very new to wrlinux sdk environment, so still I couldn`t figure out whether the (codeaurora -> github) will fix my problem, or where to change the URL address,,
========================================================================
wonjin@DESKTOP-AOR5IK3:~/my-project/build$ bitbake wrlinux-image-std
WARNING: Host distribution "ubuntu-22.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |########################################################################################################################| Time: 0:00:00Loaded 8268 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
WRLINUX_VERSION = "10.21.20.13"
WRLINUX_BRANCH = "LTS"
BB_VERSION = "1.50.0"
BUILD_SYS = "x86_64-linux"
DISTRO = "wrlinux"
DISTRO_VERSION = "10.21.20.13"
MACHINE = "nxp-s32g"
DEFAULTTUNE = "cortexa53"
TARGET_SYS = "aarch64-wrs-linux"
TUNE_FEATURES = "aarch64 armv8a crc cortexa53"
TARGET_FPU = ""
lib32: TARGET_SYS = "aarch64-wrsmllib32-linux-gnueabi"
lib32: TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
lib32: TARGET_FPU = "hard"
wrlinux
wrlinux-distro = "WRLINUX_10_21_BASE_UPDATE0013:57cf18df2a7fc2b5dac30bf534804780a342fb3e"
nxp-s32g2xx = "WRLINUX_10_21_BASE_UPDATE0013:e96a91169418a022be520e9234e49238cabf956f"
meta = "WRLINUX_10_21_BASE_UPDATE0013:483fdb312e737e6f532b859162c784f6e2e31580"
meta-python2 = "WRLINUX_10_21_BASE_UPDATE0013:3215ce45bd68675e6508349ff633e9843d6300c9"
wr-template = "WRLINUX_10_21_BASE_UPDATE0013:5815e60443c83cb7ece70b46cd2b86df8a6ceabe"
meta-filesystems
meta-gnome
meta-initramfs
meta-python
meta-multimedia
meta-networking
meta-oe
meta-perl = "WRLINUX_10_21_BASE_UPDATE0013:06e5dd0a22e0eca2e5d2f448461bea8df1c47893"
meta-realtime = "WRLINUX_10_21_BASE_UPDATE0013:79242f9b72aa2527f56f8336246fd2899ca50ed6"
meta-virtualization = "WRLINUX_10_21_BASE_UPDATE0013:f7ec480e67f248618e99a2c8f139e761cb1ef9cc"
meta-webserver
meta-xfce = "WRLINUX_10_21_BASE_UPDATE0013:06e5dd0a22e0eca2e5d2f448461bea8df1c47893"
meta-clang = "WRLINUX_10_21_BASE_UPDATE0013:408cc834ef770124a9eeb34c150d2408c70d1e77"
meta-dpdk = "WRLINUX_10_21_BASE_UPDATE0013:38f43b01165232368b21f12c654c6a97a5cfd0b4"
meta-anaconda = "WRLINUX_10_21_BASE_UPDATE0013:525d235bd8bf5b00967a6f173371b95bbac39c43"
meta-efi-secure-boot
meta-encrypted-storage
meta-ids
meta-integrity
meta = "WRLINUX_10_21_BASE_UPDATE0013:7f64eaec953b3d0ac533f51754456cef9b41e513"
meta-security = "WRLINUX_10_21_BASE_UPDATE0013:b52f734a8c9cb31186c5164784bac4336ea97716"
meta-selinux = "WRLINUX_10_21_BASE_UPDATE0013:8bc453ff7d04ae8ef8c2095b11189c516607c039"
meta-signing-key
meta-tpm
meta-tpm2 = "WRLINUX_10_21_BASE_UPDATE0013:7f64eaec953b3d0ac533f51754456cef9b41e513"
local = "master:682f2f2b6290b97c103d64413cfc40515206a672"
NOTE: Fetching uninative binary shim file:///home/wonjin/my-project/layers/wrlinux/files/uninative-tarballs/126f4f7f6f21084ee140dac3eb4c536b963837826b7c38599db0b512c3377ba2/x86_64-nativesdk-libc-3.4.tar.xz;sha256sum=126f4f7f6f21084ee140dac3eb4c536b963837826b7c38599db0b512c3377ba2 (will check PREMIRRORS first)
WARNING: Your host glibc version (2.35) is newer than that in uninative (2.34). Disabling uninative so that sstate is not corrupted.
----------------------------------------------------------------------
The nxp-s32g layer includes third party components, where additional
third party licenses may apply.
----------------------------------------------------------------------
Initialising tasks: 100% |###################################################################################################################| Time: 0:00:04Sstate summary: Wanted 1541 Local 0 Network 0 Missed 1541 Current 81 (0% match, 4% complete)
NOTE: Executing Tasks
WARNING: u-boot-s32-2020.04-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/autobsps32/u-boot;protocol=https;branch=release/bsp32.0-2020.04, attempting MIRRORS if available
ERROR: u-boot-s32-2020.04-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export GIT_SSL_CAINFO="/home/wonjin/my-project/bin/buildtools.buildtools-standalone-10.21.20.4/sysroots/x86_64-wrlinuxsdk-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/wonjin/my-project/build/tmp-glibc/work/nxp_s32g-wrs-linux/u-boot-s32/2020.04-r0/recipe-sysroot-native/usr/bin/python3-native:/home/wonjin/my-project/layers/oe-core/scripts:/home/wonjin/my-project/build/tmp-glibc/work/nxp_s32g-wrs-linux/u-boot-s32/2020.04-r0/recipe-sysroot-native/usr/bin/aarch64-wrs-linux:/home/wonjin/my-project/build/tmp-glibc/work/nxp_s32g-wrs-linux/u-boot-s32/2020.04-r0/recipe-sysroot/usr/bin/crossscripts:/home/wonjin/my-project/build/tmp-glibc/work/nxp_s32g-wrs-linux/u-boot-s32/2020.04-r0/recipe-sysroot-native/usr/sbin:/home/wonjin/my-project/build/tmp-glibc/work/nxp_s32g-wrs-linux/u-boot-s32/2020.04-r0/recipe-sysroot-native/usr/bin:/home/wonjin/my-project/build/tmp-glibc/work/nxp_s32g-wrs-linux/u-boot-s32/2020.04-r0/recipe-sysroot-native/sbin:/home/wonjin/my-project/build/tmp-glibc/work/nxp_s32g-wrs-linux/u-boot-s32/2020.04-r0/recipe-sysroot-native/bin:/home/wonjin/my-project/layers/oe-core/bitbake/bin:/home/wonjin/my-project/build/tmp-glibc/hosttools:/home/wonjin/my-project/layers/local/scripts"; export HOME="/home/wonjin"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://source.codeaurora.org/external/autobsps32/u-boot /home/wonjin/my-project/build/downloads/git2/source.codeaurora.org.external.autobsps32.u-boot --progress failed with exit code 128, no output
ERROR: u-boot-s32-2020.04-r0 do_fetch: Fetcher failure for URL: 'git://source.codeaurora.org/external/autobsps32/u-boot;protocol=https;branch=release/bsp32.0-2020.04'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/wonjin/my-project/build/tmp-glibc/work/nxp_s32g-wrs-linux/u-boot-s32/2020.04-r0/temp/log.do_fetch.844136
ERROR: Task (/home/wonjin/my-project/layers/nxp-s32g2xx/recipes-bsp/u-boot/u-boot-s32_2020.04.bb:do_fetch) failed with exit code '1'
Second Keyboard Interrupt, stopping...
Summary: 1 task failed:
/home/wonjin/my-project/layers/nxp-s32g2xx/recipes-bsp/u-boot/u-boot-s32_2020.04.bb:do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Could you please guide me to the steps that I need to follow?
Hi Wonjin Shin
Hope you are doing well
=> Yes , It is now autobsps32 moved to github from codeaurora. on below link you can find
https://github.com/nxp-auto-linux/
=> Change link in file at sources/meta-alb/recipes-bsp/u-boot/u-boot-src.inc
from git://source.codeaurora.org/external/autobsps32/u-boot;protocol=https; to git://github.com/nxp-auto-linux/u-boot;protocol=https
i.e
URL ?= "git://github.com/nxp-auto-linux/u-boot;protocol=https"
BRANCH ?= "${RELEASE_BASE}-${PV}"
SRC_URI = "${URL};branch=${BRANCH}"
SRCREV = "9cdfca686e27add82d8f23e2ef9bd86c1270e137"
=> You may get another similar type of error like Fetcher failure for URL: 'git://source.codeaurora.org/. download below patch. apply or change manually link from codeaurora -> github as describe change in below patchs. go to meta-alb directory of your BSP in a bash shell and apply the patches from below three link
https://github.com/nxp-auto-linux/meta-alb/commit/9a8702cf4a0bc290398c3993dd4a501b0e68177b.patch
https://github.com/nxp-auto-linux/meta-alb/commit/31b5687270e5ac25244a263abf5412604c5a92ed.patch
https://github.com/nxp-auto-linux/meta-alb/commit/a4da9a67a2a910d22579bbca7d398929e52a0f08.patch
Regards ,
Tushar