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.
您好,专家:
由于更改了以太网 phy 芯片(KSZ9031)、我们需要尝试重新配置 u-boot 和编译器引导二进制代码
rules.mk 定义 u-boot 配置、我很确定它引用了这些文件。
在"/ti-processor-sdk-linux-Automotive-j7-evm-07_00_01/Rules.mk 中
u-boot 机器
uBoot_machine=j721e_evm_a72_config
uBoot_machine_r5=j721e_evm_r5_config
我的问题是"j721e_evm_a72_config & j721e_evm_r5_config" 文件在哪里?
非常感谢
Gibbs
您好、Gibbs、
您是对的、R5 SPL 配置文件为: j721e_evm_r5_config、A72 SPL/UB 引导配置文件为 :j721e_evm_a72_config。
在 SDK 安装路径中、这些文件位于以下文件夹中:
$SDK_PTH/board-support/u-boot-2020.01+gitAUTOINC+f9b0d030d3-gf9b0d030d3/configs/
如果您对此没有其他疑问、请解决此问题。
此致、
基尔西
您好,Keerty:
听从您的意见、
>>$SDK_PTH/board-support/u-boot-2020.01+gitAUTOINC+f9b0d030d3-gf9b0d030d3/configs/
该文件夹仅包含"j721e_evm_a72_defconfig"和 "j721e_evm_r5_defconfig"
这是不同的。
那么、这是我的问题
非常感谢
Gibbs、
如果提供 j721e_evm_r5_defconfig 或 j721e_evm_r5_config、则编译 U-boot。
您可以在设置中尝试该操作。 此外、为了进行双次检查、我们可以简单地将 j721e_evm_r5_defconfig 文件重命名为 temp 和您
可以看到编译失败。
Bottomline 是 j721e_evm_r5_defconfig 、是 R5的配置文件、 而是 A72的 j721e_evm_a72_defconfig。
希望这一点很清楚。
此致、
基尔西
您好,Keerty:
遵循上一个线程循环:
>>您可以在设置中尝试。 此外、为了进行双次检查、我们可以简单地将 j721e_evm_r5_defconfig 文件重命名为 temp 和您
>>可以看到编译失败。
您是对的、我重命名 j721e_evm_r5_defconfig 和 j721e_evm_a72_defconfig、遇到一些错误!
非常感谢
================================================================
为 R5构建 U-boot
================================================================
使-j 2 -C /home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot- cross_compile=/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-\
j721e_evm_r5_config O=/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot_build/r5
make[1]:进入目录'/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot-2020.01 +gitAUTOINC+f9b0d030d3-gf9b0d030d3'
make[2]:输入目录'/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot_build/r5
生成./Makefile
***
***找不到默认配置"arch/./configs/j721e_evm_r5_defconfig!
***
/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot-2020.01 +gitAUTOINC+f9b0d030d3-gf9b0d030d3/scripts/kconfig/Makefile:128:目标'j721e_evm_r5_defconfig'的配方失败
make[3]:***[j721e_evm_r5_defconfig]错误1.
/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot-2020.01 +gitAUTOINC+f9b0d030d3-gf9b0d030d3/Makefile:539:目标'j721e_evm_r5_config'的配方失败
make[2]:***[j721e_evm_r5_config]错误2.
make[2]:离开目录'/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot_build/r5
Makefile:167:目标'subB-make'的配方失败
maked[1]:***[sub-make]错误2.
make[1]:离开目录'/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot-2020.01 +gitAUTOINC+f9b0d030d3-gf9b0d030d3'
Makefile:140:目标'u-boot-R5'的配方失败
make:***[u-boot-R5]错误2.