Yocto_s32v234_bsp14.0 unable to fetch linux git repo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto_s32v234_bsp14.0 unable to fetch linux git repo

1,939 Views
derickbengyuh
Contributor II

Hi *,

i am trying to build a Yocto linux image for S32v234 as written in the S32V234_LinuxBSP_14.0_Quick_Start. But unfortunately the git repo from NXP seems to be a wrong link. Any help please?. See log below.

➜  build_s32v234evb_release bitbake fsl-image-s32v2xx
WARNING: Host distribution "Ubuntu-16.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.
Parsing recipes: 100% |######################################################################################################################################################################################################################################################################################| Time: 00:00:49
Parsing of 1936 .bb files complete (0 cached, 1936 parsed). 2464 targets, 163 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.26.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "aarch64-fsl-linux"
MACHINE           = "s32v234evb"
DISTRO            = "fsl-networking"
DISTRO_VERSION    = "1.8"
TUNE_FEATURES     = "aarch64"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "(nobranch):03b0fbcf6b3b5cd16ae16738fbaabd1c6bf98536"
meta-fsl-arm      = "(nobranch):c9f259a4bf8472dfa3ff75f1c3fcbe5e0ded7aaf"
meta-fsl-networking = "(nobranch):b8ff02a8d508464a16c84e1d13c155f45aa98cbe"
meta-fsl-toolchain = "(nobranch):0a235c4bcd4057608ee60b8c898eec9509632b95"
meta-virtualization = "(nobranch):0277cbcb47db4239d0a4aa3b37c5c6a705070951"
meta-fsl-s32v     = "(nobranch):03d7f660fc15b639c3ddd0cb596a68ae73b61871"
meta-oe           
meta-networking   
meta-python       
meta-webserver    
meta-filesystems  = "(nobranch):c841231b9f327d2d06d19d2ba1324dd86b83617c"
meta-linaro       
meta-aarch64      
meta-linaro-toolchain = "(nobranch):5075a82bd510d19617803fb16da2375605225cbb"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL git://git.freescale.com/auto/linux.git;protocol=git;branch=master, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/visydg/Downloads/Bosch_NXP_BSP/Yocto_s32v234_bsp14.0/build_s32v234evb_release/../sources/git2/git.freescale.com.auto.linux.git'...
2017/10/13 10:31:58 socat[2745] E CONNECT git.freescale.com:9418: Bad Gateway
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

ERROR: Function failed: Fetcher failure for URL: 'git://git.freescale.com/auto/linux.git;protocol=git;branch=master'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/visydg/Downloads/Bosch_NXP_BSP/Yocto_s32v234_bsp14.0/build_s32v234evb_release/tmp/work/s32v234evb-fsl-linux/linux-s32v2xx/4.1.26-r0/temp/log.do_fetch.2683
ERROR: Task 73 (/home/visydg/Downloads/Bosch_NXP_BSP/Yocto_s32v234_bsp14.0/meta-fsl-s32v/recipes-kernel/linux/linux-s32v2xx_4.1.26.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 574 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/visydg/Downloads/Bosch_NXP_BSP/Yocto_s32v234_bsp14.0/meta-fsl-s32v/recipes-kernel/linux/linux-s32v2xx_4.1.26.bb, do_fetch
Summary: There were 2 WARNING messages shown.

0 Kudos
Reply
2 Replies

1,231 Views
eddypetrisor
NXP Employee
NXP Employee

Hi,

The problem you saw was due to a temporary issue with the service hosting git.freescale.com whci now should be fixed.

Also note that we have started work to migrate to hosting on Linux Foundation's Code Aurora Forum (CAF) and the repositories from git.freescale.com are mirrored already on CAF here:

Code Aurora git repositories 

Unfortunately, those are not identical mirrors, so you can't use the MIRROR Yocto feature to point to CAF. The reason is that the names of the mirrored branches from git.freescale.com were prefixed with 'nxp/', so master from git.freescale.com is nxp/master on CAF.

In case git.freescale.com still has conenctivity issues, you could try using the SRC_URI and SRC_URI override described in the README.FIRST file to override the branch and the URL. Of course, you need to adapt to the CAF URI, instead of the stash URI example provided.

0 Kudos
Reply

1,231 Views
derickbengyuh
Contributor II

Hi Eddy,

The issue does not seem to be fixed up till now. It stays at "do_fetch" trying to fetch linux-s32v2xx-4.1 for like ever (more than 1hr). Is it that big or is it just the repo still not fixed?.

I checked linux - Unnamed repository  and i don't just understand what url to use for the SRC_URI. Could you just give me the complete information for me to past it in my local.conf as described in the ReadMe please?.

Secondliy, now that it does not break at fetching the linux kernel (but never finishes), i get another error concerning sdl

pastedImage_2.png

But i checked and libsdl1.2-dev is installed. At least pkg-config finds it. What could be the problem?.

I also executed the script ./poky/scripts/host-prepare.sh as written in the ReadMe file before executing "bitbake fsl-image-s32v2xx". I can see in the script, that it installs libsdl1.2-dev.

Best Regard

Derick

0 Kudos
Reply