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.

[参考译文] 编译器/AM4378:无法配置和编译 U-Boot

Guru**** 2595805 points
Other Parts Discussed in Thread: AM4378

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/647736/compiler-am4378-cannot-configure-and-compile-u-boot

器件型号:AM4378

工具/软件:TI C/C++编译器

大家好、我们有自己的基于 AM4378 EVM 的电路板。 我们需要对 U-Boot 进行更改。 我进行了这些更改、需要对其进行编译。 我认为我已经配置了电路板、并且是

http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide#Setting_the_tool_chain_path  当 II 使用以下命令 make am433x_evm_deconfig 命令调用编译器时、我不断收到错误"No rule to make target 'am43xx_evm_deconfig"。上述行指示我应该使用 am433_evm_deconfig

另外,当我发出 make cross_Compiler clean 命令或任何其他 cross_Compiler 命令时,我会看到错误 Makefile 487:***“System not configured - See README”。 我运行 mkconfig 时没有错误等

此外、U-Boot 代码是否需要位于 SDK 中所驻留目录结构之外的其他目录结构中?

感谢 Ed 的帮助

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Ed、

    在 Processor SDK 中构建 U-Boot 的正确方法是从顶部 SDK 目录运行 make u-boot 命令。 顶级 makefile 将采用交叉编译路径、为 Rules.make 中的 U-Boot 和内核配置文件

    如果您检查 Makefile 文件、您将看到它执行以下步骤:

    $ make -C board-support/linux-4.9.41+gitAUTOINC+e3a80a1c5c-ge3a80a1c5c/arch=arm cross_compile=$(pwd)/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- tisdk_AM437X-EVM_defconfig
    $ make -j 2 -C board-support/linux-4.9.41+gitAUTOINC+e3a80a1c5c-ge3a80a1c5c/arch=arm cross_compile=$(pwd)/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am43x-epos-evm.dTB AM437x-tB-evm.dtb AM437X-gp-exclp AM437x-evm-dk-dtbp-dk-dk-d4tb AM437x-dk-ex-mand-dsk.micro-mand-dsk.micro-mand-d37x-dk-ex-mand-mand-mand-d37x-evmu-dk-ex-

    $ make -j 2 -C board-support/u-boot-* cross_compile=$(pwd)/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am43xx_evm_config
    $ make -j 8 -C board-support/u-boot-* cross_compile=$(pwd)/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- DTC =$(pwd)/board-support/linux-4.9.41 +gitAUTOINC+e3a80a1c5c-ge3a80a1c5c/scripts/DTC

    此致、
    Kemal

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    大家好、Kemal、我这么做了、我的目录级别太低了。 我缺少编译器的软件包、但 U-Boot 现在会编译并获取我要查找的数据、它不会完全启动、但我可以找到它。

    感谢您的所有帮助。
    ED