IMX6UL: imx-4.1.15-1.0.0_ga uboot-imx.git is not accessible

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

IMX6UL: imx-4.1.15-1.0.0_ga uboot-imx.git is not accessible

Jump to solution
3,383 Views
sikumar3
Contributor III

I am trying to build imx6ulevk jethro (imx-4.1.15-1.0.0_ga) by following the below steps.

repo init -u https://source.codeaurora.org/external/imx/fsl-arm-yocto-bsp -b imx-4.1.15-1.0.0_ga

repo sync

DISTRO=fsl-imx-x11 MACHINE=imx6ulevksource fsl-setup-release.sh -b build

bitbake core-image-base

ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/sikumar3/jethro_new/downloads//git2/git.freescale.com.imx.uboot-imx.git'...
fatal: unable to connect to git.freescale.com:
git.freescale.com[0: 192.88.156.202]: errno=Connection refused


ERROR: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=imx_v2015.04_4.1.15_1.0.0_ga'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/sikumar3/jethro_new/build/tmp/work/imx6uloib-poky-linux-gnueabi/u-boot-imx/2015.04-r0/temp/log.do_fetch.97967
ERROR: Task 200 (/home/sikumar3/jethro_new/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2015.04.bb, do_fetch) failed with exit code '1'

Labels (3)
1 Solution
2,857 Views
radhikasomaiya
Senior Contributor II

Hi Sivakumar Rajachidambaram,

After going through the errors it seems like the issue is in selecting proper branch name and SHA. Please try highlighted modifications as below to resolve your issue. We have verified that going forward you will face an issue in Linux too. So providing appropriate fixes for both the recipe files.

  • imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2015.04.bb changes:

SRCBRANCH = "nxp/imx_v2015.04_4.1.15_1.0.0_ga"
UBOOT_SRC ?= "git://source.codeaurora.org/external/imx/uboot-imx;protocol=git"
SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"

  • imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb changes:

SRCBRANCH = "imx_4.1.15_1.0.0_ga"
LOCALVERSION = "-1.2.0"
KERNEL_SRC ?= "git://source.codeaurora.org/external/imx/linux-imx;protocol=git"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH}"

You can check u-boot-imx for the actual branch name and commit id for U-boot and linux-imx for the actual branch name and commit id for Linux which I have used above.

Best Regard,

Radhika

View solution in original post

5 Replies
2,857 Views
karangajjar
Senior Contributor II

Hi Sivakumar Rajachidambaram,

Hope below document is useful:

unable to connect to git.freescale.com 

Regards,

Karan Gajjar

0 Kudos
2,857 Views
sikumar3
Contributor III

Hi Karan,

I changed the sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2015.04.bb to access the correct repository as below.

SRCBRANCH = "rel_imx_4.1.15_1.0.0_ga"

UBOOT_SRC ?= "git://source.codeaurora.org/external/imx/uboot-imx;protocol=git"
SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"
SRCREV = "${AUTOREV}"

But, still I am getting the below errors.

ERROR: Fetcher failure: Unable to find revision 384e1c1f527d732a863cef360f5da419a728b1d5 in branch rel_imx_4.1.15_1.0.0_ga even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://source.codeaurora.org/external/imx/uboot-imx;protocol=git;branch=rel_imx_4.1.15_1.0.0_ga'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/sikumar3/jethro_new/build/tmp/work/imx6uloib-poky-linux-gnueabi/u-boot-imx/2015.04-r0/temp/log.do_fetch.498
ERROR: Task 200 (/home/sikumar3/jethro_new/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2015.04.bb, do_fetch) failed with exit code '1'

Let me know whether i can download the uboot-imx.tar.gz file from somewhere?

0 Kudos
2,857 Views
karangajjar
Senior Contributor II

Hi Sivakumar Rajachidambaram,

You can directly clone the u-boot source using below link:

uboot-imx - i.MX U-Boot 

Regards,

Karan Gajjar

0 Kudos
2,858 Views
radhikasomaiya
Senior Contributor II

Hi Sivakumar Rajachidambaram,

After going through the errors it seems like the issue is in selecting proper branch name and SHA. Please try highlighted modifications as below to resolve your issue. We have verified that going forward you will face an issue in Linux too. So providing appropriate fixes for both the recipe files.

  • imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2015.04.bb changes:

SRCBRANCH = "nxp/imx_v2015.04_4.1.15_1.0.0_ga"
UBOOT_SRC ?= "git://source.codeaurora.org/external/imx/uboot-imx;protocol=git"
SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"

  • imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb changes:

SRCBRANCH = "imx_4.1.15_1.0.0_ga"
LOCALVERSION = "-1.2.0"
KERNEL_SRC ?= "git://source.codeaurora.org/external/imx/linux-imx;protocol=git"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH}"

You can check u-boot-imx for the actual branch name and commit id for U-boot and linux-imx for the actual branch name and commit id for Linux which I have used above.

Best Regard,

Radhika

2,857 Views
sikumar3
Contributor III

Thank you so much Radhika! It worked!!

I also changed sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx-mfgtool_2015.04.bb as below.

SRCBRANCH = "nxp/imx_v2015.04_4.1.15_1.0.0_ga"
UBOOT_SRC ?= "git://source.codeaurora.org/external/imx/linux-imx.git;protocol=git"