Fixing dependencies on older Android BSPs

Showing results for 
Search instead for 
Did you mean: 

Fixing dependencies on older Android BSPs

No ratings

Fixing dependencies on older Android BSPs

The decommission of the has caused some problems to BSPs dependent on packages stored in this repository. All contents on have been moved to one of three locations:

NXP · GitHub  (

NXP Micro · GitHub  (


In the case of some older Android BSP this causes an error when fetching the imx-firmware packages originally stored in this repository. A workaround to this is to switch the original location to the new location. To do this we would need to manually create a build directory and initialize repo to locally load the manifest files and then make this change.

Android BSP won’t require this workaround.

Please note that this workaround only addresses this specific error that may show up when running the script included on the BSP release.

We will be using the Oreo o8.0.0_1.0.0_ga BSP release as an example. Sources for this BSP can be found on the following link:

Documentation for this BSP can be found on the following link:


 1) Initialize the repo. If you have tried running the script the android build directory should already have been created. If this is the case, please skip to the next step.

If not, please create it either by running or manually with the following commands (using the android setup script is preferred):

$ mkdir android_build

Once inside the build directory, initialize the repo and then sync it:

$ repo init -u -b imx-android-oreo -m imx-o8.0.0_1.0.0_ga.xml

$ repo sync


2) Find and edit the Android Manifest.

Once inside the build directory after synching, enter the repo manifests directory by executing the following command while inside the android build directory

$ cd .repo/manifests

 And look for the corresponding Android manifest. In this case imx-o8.0.0_1.0.0_ga.xml

Open this file in any text editor (use sudo if running in a directory which requires it) In this case we’ll exemplify with nano

$nano imx-o8.0.0_1.0.0_ga.xml


And change the git://  to git://


Also the path for imx-firmware so the complete line goes from:

<project path="vendor/nxp/imx-firmware" name="imx-firmware" remote="imx-proprietary" revision="87ba304b9efbb2e8dbdd54af4c087584fb259535" />‍‍

To the following:

<project path="imx-firmware" name="imx-firmware" remote="imx-proprietary" revision="87ba304b9efbb2e8dbdd54af4c087584fb259535" />‍‍

The manifest should look like the following. Save the file with these changes.


Now you can run the build script successfully. Since the repo was already synced it won’t fetch the manifests again and the change we made will persist, which will allow to find the imx-firmware package on its new location.

Labels (1)

jamesbone‌, hello! Same with this document (I switched to English just in case). Should we run trough our documents trough the rest of the team in case they have some feedback before publishing?


Hello nxf54947nxf46838Bio_TICFSLisraelhernandezJoseLuisPacrez, would you also pleas help me giving a quick look to this document and provide your feedback, if there's any? And you approval after that.

jamesbone‌, I'm also adding the team to the approval of this document.


Thank you, nxf54947, for the feedback! I fixed the typos and took your suggestions! (It just took me a while to made the changes) I appreciate it!


Version history
Revision #:
2 of 2
Last update:
‎09-10-2020 02:27 AM
Updated by: