Skip to main content
Visitor II
March 17, 2025
Question

Stm32mp2 Android Problem with repo sync

  • March 17, 2025
  • 2 replies
  • 709 views

hi st team 

my environnement i use that : virtual box / ubuntu 24.0.0 / git 2.43.0  and repo 2.52

i follow this wiki https://wiki.stmicroelectronics.cn/stm32mpu/wiki/STM32MPU_Distribution_Package_for_Android

 

when i execute "repo sync" i have error on all github of stm32 repository  :

device-stm-openocd: fatal: not repository  git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd.git' device-stm-openocd: sleeping 4.0 seconds before retrying fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd.git' error: Cannot fetch device-stm-openocd from https://github.com/STMicroelectronics/device-stm-openocd Fetching: 100% (1/1), done in 4.100s Fetching: 0% (0/1) 0:04 | 1 job | 0:04 device-stm-openocd @ device/stm/stm32m.. fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd.git' device-stm-openocd: fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd.git' device-stm-openocd: sleeping 4.0 seconds before retrying fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd.git' error: Cannot fetch device-stm-openocd from https://github.com/STMicroelectronics/device-stm-openocd Fetching: 100% (1/1), done in 4.060s error: Cannot checkout device-stm-openocd: ManifestInvalidRevisionError: revision refs/tags/st-android-13.0.0-2024-07-31 in device-stm-openocd not found Checking out: 0% (0/1), done in 0.024s error: in sync device-stm-openocd: revision refs/tags/st-android-13.0.0-2024-07-31 in device-stm-openocd not found

So when i try git clone this repository  is work "git clone https://github.com/STMicroelectronics/device-stm-openocd "

In the manifest https://github.com/STMicroelectronics/android-manifest/blob/default/stm32mp2droid.xml 

have you same error ? 

 

Best regard 

 

 

 

 

 

 

 

 

 

 

 

 

    This topic has been closed for replies.

    2 replies

    ST Employee
    March 18, 2025

    Hi

    Just to be sure, did you set your $HOME/.netrc file with :

     machine github.com
     login "github login"
     password "github password"

    See the information in the Wiki here after : https://wiki.st.com/stm32mpu/wiki/System_build_troubleshooting_grid

    Regards

    Nicolas

    Visitor II
    March 19, 2025

    Hi 

    I created .netrc is work with my account github.

    But i have same error : 

    Fetching: 50% (1/2) 0:04 | 1 job | 0:03 stm32wrapper4dbg @ device/stm/stm32mp2..
    fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd/stm32wrapper4dbg.git'

    stm32wrapper4dbg:
    fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd/stm32wrapper4dbg.git'
    stm32wrapper4dbg: sleeping 4.0 seconds before retrying
    fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd/stm32wrapper4dbg.git'
    error: Cannot fetch stm32wrapper4dbg from https://github.com/STMicroelectronics/stm32wrapper4dbg
    Fetching: 100% (2/2), done in 4.236s
    info: A new version of repo is available
    warning: repo is not tracking a remote branch, so it will not receive updates
    ================================================================================
    Repo command failed: RepoUnhandledExceptionError
    GitCommandError: 'reset --keep v2.53^0' on repo failed
    stderr: error: Entry 'project.py' not uptodate. Cannot merge.
    fatal: Impossible de réinitialiser le fichier d'index à la révision 'v2.53^0'.

     

    i dont understand will when i try my envirronement repo with this project https://wiki.st.com/stm32mpu/wiki/STM32MPU_Distribution_Package and this line :

    " repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06"

    " repo sync"

    I dont have error , is work 

    thanks for help