Fetch source code error

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

Fetch source code error

Jump to solution
666 Views
sinjhe
Contributor I

Hello NXP,

 

I want to build the image for S32G with version BSP33, I use the follow command to fetch the source:

repo init -u https://github.com/nxp-auto-linux/auto_yocto_bsp -b release/bsp33.0

repo sync

 

I get the error message:

curl: (6) Could not resolve host: source.codeaurora.org\n'
Syncing: 88% (8/9), done in 1m28.689s
Syncing: 133% (12/9) 2:09 | 1 job | 0:35 meta-linaro @ sources/meta-linaroThe following projects failed and could not be synced:
- sources/meta-alb
- sources/meta-linaro
- sources/meta-qoriq
error: Unable to fully sync the tree
error: Downloading network changes failed.
Failing repos (network):
sources/meta-alb
sources/meta-alb
sources/meta-linaro
sources/meta-linaro
sources/meta-qoriq
sources/meta-qoriq
error: Checking out local projects failed.
Failing repos (checkout):
sources/meta-alb
sources/meta-linaro
sources/meta-qoriq
Try re-running with "-j1 --fail-fast" to exit at the first error.

 

I think the reason is source.codeaurora.org no longer to access now.

So how do I modify the default.xml in .repo/manifests to download the source code for BSP33?

0 Kudos
Reply
1 Solution
658 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @sinjhe 

Thanks for your post.

Since the source.codeaurora.org cannot provide service for building the old version BSP, I suggest referencing the following document for building it with updated repo settings

https://community.nxp.com/t5/S32G-Knowledge-Base/Supplement-for-Building-Older-AUTO-Linux-BSPs/ta-p/...

Sorry for your inconvenience.

 

BR

Chenyin

View solution in original post

0 Kudos
Reply
3 Replies
631 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @sinjhe 

You are welcome, if any other issues, welcome raising new posts, we are happy to support.

 

BR

Chenyin

0 Kudos
Reply
644 Views
sinjhe
Contributor I

Hello chenyin,

 

It works, thank you.

 

0 Kudos
Reply
659 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @sinjhe 

Thanks for your post.

Since the source.codeaurora.org cannot provide service for building the old version BSP, I suggest referencing the following document for building it with updated repo settings

https://community.nxp.com/t5/S32G-Knowledge-Base/Supplement-for-Building-Older-AUTO-Linux-BSPs/ta-p/...

Sorry for your inconvenience.

 

BR

Chenyin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2150849%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFetch%20source%20code%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2150849%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20want%20to%20build%20the%20image%20for%20S32G%20with%20version%20BSP33%2C%20I%20use%20the%20follow%20command%20to%20fetch%20the%20source%3A%3C%2FP%3E%3CP%3Erepo%20init%20-u%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-auto-linux%2Fauto_yocto_bsp%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-auto-linux%2Fauto_yocto_bsp%3C%2FA%3E%20-b%20release%2Fbsp33.0%3C%2FP%3E%3CP%3Erepo%20sync%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20get%20the%20error%20message%3A%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3Ecurl%3A%20(6)%20Could%20not%20resolve%20host%3A%20source.codeaurora.org%5Cn'%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3ESyncing%3A%2088%25%20(8%2F9)%2C%20done%20in%201m28.689s%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3ESyncing%3A%20133%25%20(12%2F9)%202%3A09%20%7C%201%20job%20%7C%200%3A35%20meta-linaro%20%40%20sources%2Fmeta-linaroThe%20following%20projects%20failed%20and%20could%20not%20be%20synced%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E-%20sources%2Fmeta-alb%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E-%20sources%2Fmeta-linaro%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E-%20sources%2Fmeta-qoriq%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Eerror%3A%20Unable%20to%20fully%20sync%20the%20tree%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Eerror%3A%20Downloading%20network%20changes%20failed.%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3EFailing%20repos%20(network)%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-alb%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-alb%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-linaro%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-linaro%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-qoriq%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-qoriq%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Eerror%3A%20Checking%20out%20local%20projects%20failed.%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3EFailing%20repos%20(checkout)%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-alb%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-linaro%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3Esources%2Fmeta-qoriq%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3ETry%20re-running%20with%20%22-j1%20--fail-fast%22%20to%20exit%20at%20the%20first%20error.%3C%2FFONT%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20think%20the%20reason%20is%20source.codeaurora.org%20no%20longer%20to%20access%20now.%3C%2FP%3E%3CP%3ESo%20how%20do%20I%20modify%20the%20default.xml%20in%20.repo%2Fmanifests%20to%20download%20the%20source%20code%20for%20BSP33%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2151928%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Fetch%20source%20code%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2151928%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F127852%22%20target%3D%22_blank%22%3E%40sinjhe%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20are%20welcome%2C%20if%20any%20other%20issues%2C%20welcome%20raising%20new%20posts%2C%20we%20are%20happy%20to%20support.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2151565%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Fetch%20source%20code%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2151565%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20chenyin%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIt%20works%2C%20thank%20you.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2150948%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Fetch%20source%20code%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2150948%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F127852%22%20target%3D%22_blank%22%3E%40sinjhe%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%3C%2FP%3E%0A%3CP%3ESince%20the%26nbsp%3B%3CSPAN%3Esource.codeaurora.org%20cannot%20provide%20service%20for%20building%20the%20old%20version%20BSP%2C%20I%20suggest%20referencing%20the%20following%20document%20for%20building%20it%20with%20updated%20repo%20settings%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32G-Knowledge-Base%2FSupplement-for-Building-Older-AUTO-Linux-BSPs%2Fta-p%2F2105913%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32G-Knowledge-Base%2FSupplement-for-Building-Older-AUTO-Linux-BSPs%2Fta-p%2F2105913%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESorry%20for%20your%20inconvenience.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E