1

这些是我的 git2 文件夹的内容:

rama@RRCH21:~/repositories/oe-core/build/downloads/git2$ ls
anongit.freedesktop.org.pkg-config                 git.kernel.org.pub.scm.utils.dtc.dtc.git.done
anongit.freedesktop.org.pkg-config.done            git.kernel.org.pub.scm.utils.kernel.kmod.kmod.git
anonscm.debian.org.collab-maint.ncurses.git        git.kernel.org.pub.scm.utils.kernel.kmod.kmod.git.done
anonscm.debian.org.collab-maint.ncurses.git.done   git.linaro.org.toolchain.binutils-gdb.git
git.denx.de.u-boot.git                             git.linaro.org.toolchain.binutils-gdb.git.done
git.denx.de.u-boot.git.done                        git.linaro.org.toolchain.gcc.git
github.com.Cyan4973.lz4.git                        git.linaro.org.toolchain.gcc.git.done
github.com.Cyan4973.lz4.git.done                   git.sv.gnu.org.config.git
github.com.file.file.git                           git.sv.gnu.org.config.git.done
github.com.file.file.git.done                      git.toradex.com.linux-toradex.git.lock
github.com.mendersoftware.mender                   git.toradex.com.u-boot-toradex.git
github.com.mendersoftware.mender.done              git.toradex.com.u-boot-toradex.git.done
github.com.philb.update-rc.d.git                   git.yoctoproject.org.opkg-utils
github.com.philb.update-rc.d.git.done              git.yoctoproject.org.opkg-utils.done
github.com.systemd.systemd.git                     git.yoctoproject.org.prelink-cross.git
github.com.systemd.systemd.git.done                git.yoctoproject.org.prelink-cross.git.done
git.infradead.org.mtd-utils.git                    git.yoctoproject.org.yocto-kernel-tools.git
git.infradead.org.mtd-utils.git.done               git.yoctoproject.org.yocto-kernel-tools.git.done
git.kernel.org.pub.scm.fs.ext2.e2fsprogs.git       sourceware.org.git.glibc.git
git.kernel.org.pub.scm.fs.ext2.e2fsprogs.git.done  sourceware.org.git.glibc.git.done
git.kernel.org.pub.scm.utils.dtc.dtc.git

在您建议的 bitbake 命令期间,我没有看到任何 linux 名称文件(git.lock 文件除外),我等了 5 分钟并再次检查了相同的内容。它再次卡在这里:

Initialising tasks: 100% |###########################################################################################| Time: 0:00:01
NOTE: Executing RunQueue Tasks
Currently  1 running tasks (64 of 65)  96% |####################################################################################   |
0: linux-toradex-4.1-2.0.x-2.7.5 do_fetch (pid 1125)  26% |###############

当我尝试使用以下设置对 core-image-minimal 进行 bitbake 时:

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-angstrom-linux-gnueabi"
MACHINE           = "apalis-imx6"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v2016.12"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
TARGET_FPU        = "hard"
meta-angstrom     = "HEAD:9625910bb4bb48b3f4d87a1e9ff3576d40bd656a"
meta-toradex-nxp  = "HEAD:c4f34b34bf34f44b974a7add623cafff17d880ad"
meta-freescale    = "HEAD:05681fdf8298bb441c15135eae424c7601b07e98"
meta-freescale-3rdparty = "HEAD:e55167c3c2770c07a475342f99cc2a3a23fbfa0c"
meta-toradex-tegra = "HEAD:8deaad62384fbe4f4079f62bb7fdfa70ef199236"
meta-jetson-tk1   = "HEAD:e8b87fe8da7c6fcffa37ab245f50082953cc1ee1"
meta-toradex-bsp-common = "HEAD:bb3fafea5a3094909c8d7fb3216c37210fcfc339"
meta-snappy       = "HEAD:f6df6a63756d9976bcccb5fefdbc64e5cc794c99"
meta-linaro-toolchain = "HEAD:5d2cb685217794293ea2bab18d7e62019c329d06"
meta-oe           
meta-efl          
meta-gpe          
meta-gnome        
meta-xfce         
meta-initramfs    
meta-systemd      
meta-networking   
meta-multimedia   
meta-python       = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-lxde         = "HEAD:1bd36a4d0f7e1e9fdea9c4c991188bc1dc9da421"
meta-browser      = "HEAD:1569eeb9cc1b87632abbf35fbb05f4ac4eeb3987"
meta-qt4          = "HEAD:f389368dc86e745df14cab9eeb9a94bc02bd273e"
meta-qt5          = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-toradex-demos = "HEAD:a08f1a3164e9ce16fca09f1f1c016b81eb1fcfaa"
meta              = "HEAD:93b7f83a4212409a55ddf568a34468d4f6ef2c06"
oe-meta-go        = "master:514b2a80a2a4235687e92fb28328bb3e7c2d6c74"

Initialising tasks: 100% |##########################################################################################################| Time: 0:00:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently  1 running tasks (716 of 2038)  35% |##################################                                                                 |
0: linux-toradex-4.1-2.0.x-2.7.5 do_fetch (pid 2686)  26% |###################

它总是卡在(如上所示)26% 的 linux toradex,永远不会超过这个。我尝试清理,清空 tmp 文件夹,像这样卡住了。任何可能有效的解决方案?

谢谢。

4

1 回答 1

1

打开linux-toradex-4.1-2.0.x-2.7.5.bb路径中存在的文件 meta-toradex/recipes-kernel/linuxSRC_URI然后获取变量中存在的 git 链接。
然后转到其他命令链接并git clone <git site >检查克隆linux repo. 它将显示速度和数据,然后您将了解bitbake编译是否卡住。
例如:git clone -b your-branch git://git.toradex.com/linux-toradex.git

于 2017-12-21T09:59:06.527 回答