This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: SK-AM62A-LP编译问题

Part Number: SK-AM62A-LP

SK-AM62A-LP的linux sdk包编译报错,找不到文件

  • 我这边是安装好sdk后

    ./setup.sh

    然后直接

    make all

  • 还有如何编译出WIC镜像

  • 在构建wic镜像时,运行这步clone失败,如下:

    edu118@ubuntu:~/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/tisdk$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-08.06.00-config.txt
    /home/edu118/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/tisdk


    cloning repo bitbake

    Fetching origin
    Previous HEAD position was 0784db7d server/process: Disable gc around critical section
    Switched to branch '1.46'
    Your branch is up to date with 'origin/1.46'.
    Already up to date.
    Note: checking out '0784db7'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at 0784db7d server/process: Disable gc around critical section


    cloning repo meta-processor-sdk

    Fetching origin
    Previous HEAD position was fab130c edgeai-components: Add tags for EDGEAI_APP_STACK_08_06_00_02
    Switched to branch 'dunfell'
    Your branch is up to date with 'origin/dunfell'.
    Already up to date.
    Note: checking out '08.06.00'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at fab130c edgeai-components: Add tags for EDGEAI_APP_STACK_08_06_00_02


    cloning repo meta-arago

    Fetching origin
    Previous HEAD position was e4fcc247 ltp-ddt: CI/CD Auto-Merger: cicd.dunfell.202302211800
    Switched to branch 'dunfell'
    Your branch is up to date with 'origin/dunfell'.
    Already up to date.
    Note: checking out '08.06.00.007'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at e4fcc247 ltp-ddt: CI/CD Auto-Merger: cicd.dunfell.202302211800


    cloning repo meta-qt5

    Fetching origin
    fatal: unable to access 'github.com/.../': gnutls_handshake() failed: Error in the pull function.
    error: Could not fetch origin
    git failed... remaining attempts: 4 sleeping 15 seconds
    Fetching origin
    fatal: unable to access 'github.com/.../': Empty reply from server
    error: Could not fetch origin
    git failed... remaining attempts: 3 sleeping 30 seconds
    Fetching origin
    Switched to branch 'dunfell'
    Your branch is up to date with 'origin/dunfell'.
    Already up to date.
    Note: checking out '5ef3a0f'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at 5ef3a0f qtdeclarative: Fix build with gcc-11


    cloning repo meta-virtualization

    Fetching origin
    Switched to branch 'dunfell'
    Your branch is up to date with 'origin/dunfell'.
    Already up to date.
    Note: checking out 'beea119eb529b4a11f266004aee8b548427aea39'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at beea119 openvswitch: CVE-2021-3905 External triggered memory leak


    cloning repo meta-openembedded

    Fetching origin
    Previous HEAD position was 875713450 zeromq: 4.3.2 -> 4.3.4
    Switched to branch 'dunfell'
    Your branch is up to date with 'origin/dunfell'.
    Already up to date.
    Note: checking out '87571345059f82fb7599e3aa82e6fdcfbd361098'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at 875713450 zeromq: 4.3.2 -> 4.3.4


    cloning repo meta-ti

    Fetching origin
    Previous HEAD position was 45bdaf7d linux-ti-staging-rt: RC Auto-Merger: 08.06.00.007
    Switched to branch 'dunfell'
    Your branch is up to date with 'origin/dunfell'.
    Already up to date.
    Note: checking out '08.06.00.007'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at 45bdaf7d linux-ti-staging-rt: RC Auto-Merger: 08.06.00.007


    cloning repo meta-arm

    Fetching origin
    Previous HEAD position was c4f04f3f arm/trusted-firmware-a: add branch name for mbedtls
    Switched to branch 'dunfell'
    Your branch is up to date with 'origin/dunfell'.
    Already up to date.
    Note: checking out 'c4f04f3fb66f8f4365b08b553af8206372e90a63'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at c4f04f3f arm/trusted-firmware-a: add branch name for mbedtls


    cloning repo oe-core

    Fetching origin
    Previous HEAD position was daaee6fcb0 build-appliance-image: Update to dunfell head revision
    Switched to branch 'dunfell'
    Your branch is up to date with 'origin/dunfell'.
    Already up to date.
    Note: checking out 'daaee6fcb0d201f041678af433d8e1cd6f924d09'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at daaee6fcb0 build-appliance-image: Update to dunfell head revision


    cloning repo meta-sysrepo

    Fetching origin
    fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Connection refused
    error: Could not fetch origin
    git failed... remaining attempts: 4 sleeping 15 seconds
    Fetching origin
    fatal: unable to access 'github.com/.../': gnutls_handshake() failed: Error in the pull function.
    error: Could not fetch origin
    git failed... remaining attempts: 3 sleeping 30 seconds
    Fetching origin
    fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Connection refused
    error: Could not fetch origin
    git failed... remaining attempts: 2 sleeping 45 seconds
    Fetching origin
    fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Connection refused
    error: Could not fetch origin
    git failed... remaining attempts: 1 sleeping 60 seconds
    Fetching origin
    Previous HEAD position was 8bcc615 Merge pull request #5 from synther/master
    Switched to branch 'master'
    Your branch is up to date with 'origin/master'.
    Already up to date.
    Note: checking out '8bcc6151897c0e67c2931c78340477bf3a12d8cb'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    HEAD is now at 8bcc615 Merge pull request #5 from synther/master


    cloning repo meta-jupyter

    Cloning into '/home/edu118/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/tisdk/sources/meta-jupyter'...
    fatal: unable to access 'github.com/.../': gnutls_handshake() failed: Error in the pull function.
    git failed... remaining attempts: 4 sleeping 15 seconds
    Cloning into '/home/edu118/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/tisdk/sources/meta-jupyter'...
    fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Connection refused
    git failed... remaining attempts: 3 sleeping 30 seconds
    Cloning into '/home/edu118/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/tisdk/sources/meta-jupyter'...
    fatal: unable to access 'github.com/.../': Failed to connect to github.com port 443: Connection refused
    git failed... remaining attempts: 2 sleeping 45 seconds
    Cloning into '/home/edu118/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/tisdk/sources/meta-jupyter'...
    ^C

    还有如何单独烧入kernel镜像

  • 看log是访问github失败,这个要先解决吧

  • 把https改成http就好了。

    但是运行最后一步

    就卡在下面

    还有个问题就是如何单独烧入kernel镜像

  • 这是正常的,在编译yocto

    单独烧写内核,你要看内核在哪儿,一般是在一个分区里面,am62我也不熟,可以看一下uboot的printenv,那里面一般会写

  • 将内核、设备树写入SD卡,没跑起来,报上面错误,没找到设备树

  • 我这边是安装好sdk后

    ./setup.sh

    然后直接

    make all

    这个问题解决了吗?

    请安装以下命令所需的所有软件包:

    sudo apt-get install build-essential autoconf automake bison flex libssl-dev bc u-boot-tools swig

    然后

    make all

    看一下是否有报错。

  • 将内核、设备树写入SD卡,没跑起来,报上面错误,没找到设备树

    建议您另起新帖讨论,方便其他客户查看,另外将您的执行步骤描述一下。

  • makefile里把这3个去掉,别编就行了

    因为sdk的example-applications文件夹里没那几个应用程序,只有下面4个

  • 新的问题您另起新帖,方便其他客户查看,谢谢!

    原始贴中的问题已解决,我会将该帖关闭。

  • 这个不算解决,你们得完善SDK包, 不然不该makefile是编译不过的,避免其它客户编译出错

  • 您好,已起新帖,麻烦尽快帮忙看看,谢谢

  • 你们得完善SDK包, 不然不该makefile是编译不过的,避免其它客户编译出错

    感谢您的反馈,我会反馈给产品线工程师。