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.

[参考译文] Linux/AM3351:在 U-boot 中禁用以太网

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/661164/linux-am3351-disabling-ethernet-in-u-boot

器件型号:AM3351

工具/软件:Linux

您好、修改了如下所示的.config 文件

未设置# CONFIG_CMD_NET
未设置# CONFIG_CMD_TFTPPUT
# CONFIG_CMD_TFTPSRV 未设置
# CONFIG_CMD_RARP 未设置
未设置# CONFIG_CMD_DHCP
未设置# CONFIG_CMD_NFS
# CONFIG_CMD_MII 未设置
未设置# CONFIG_CMD_ping
# CONFIG_CMD_CDP 未设置
未设置# CONFIG_CMD_SNTP
未设置# CONFIG_CMD_DNS
未设置# CONFIG_CMD_LINK_LOCAL

我出错了

include/config_distro_bootcmd.h:264:2:在'boot_target_devices_references _PXE_Without_config_CMD_DHCP_OR_PXE'之前出现错误:预期"}"
 boot_target_devices_references _PXE_Without_config_CMD_DHCP_OR_PXE
 ^μ A
include/config_distro_bootcmd.h:268:2:注意:在宏"bootenv_dev_name_PXE"的扩展中
 bootenv_dev_name_##devtypeu (devtypeu、devtypel、实例)
 ^μ A
include/configs/AM335x_evm.h:92:2:注意:在宏"bootenv_dev_name"的扩展中
 FUNC (PXE、PXE、NA)\
 ^μ A
include/config_distro_bootcmd.h:270:18:注意:在宏"boot_target_devices"的扩展中
 "boot_targets=" boot_target_devices (bootenv_dev_name)"\0"
                 ^μ A
include/config_distro_bootcmd.h:287:2:注意:在宏"bootenv_targets"的扩展中
 bootenv_boot_targets \
 ^μ A
include/configs/AM335x_evm.h:189:2:注意:在宏"bootenv"的扩展中
 Bootenv
 ^μ A
include/env_default.h:104:2:注意:在宏'CONFIG_EXTER_ENV_SETTINGS'的扩展中
 CONFIG_Extra _ENV_settings
 ^μ A
scripts/Makefile.build:280:目标'common/env_common.o'的配方失败
maked[1]:***[common/env_common.o]错误1.

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

    是否可以附加.config 文件。 (不像文本那样发布其内容)

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

    大家好、感谢您的回答。 我使用的是 PROCESSOR-SDK-03.00.04、基于 EVM-SK 参考、我使用以下命令编译了 u-boot。 如果有任何问题、请告诉我

    $export path=/opt/sdk_ti/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$path
    $export ARCH=ARM

    $make ARCH=arm CROSS_COMPILE=/opt/sdk_ti/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-

    e2e.ti.com/.../5707.config.txt

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

    e2e.ti.com/.../eth.diffI进行了这些更改以及其他一些更改。 我已通过执行'git diff '命令附加了一个 diff 文件、以便您可以查看我所做的所有更改。 现在、当我引导 u-boot 时、我看到了

    未设置。 验证第一个电子保险丝 MAC

    NET: 已跳过 NET 初始化

    未找到以太网。

    Steve K.