Fixing dependencies on older Android BSPs

Document created by gusarambula Employee on May 25, 2020Last modified by gusarambula Employee on Jun 18, 2020
Version 2Show Document
  • View in full screen mode

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.

2 people found this helpful