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.
Hi, Expert :
Because of changing Ethernet phy chip (KSZ9031), we need try to re-configure u-boot and compiler boot binary code
Rules.mk define u-boot configuration, and I'm very sure it reference these files.
in "/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/Rules.mk"
#u-boot machine
UBOOT_MACHINE=j721e_evm_a72_config
UBOOT_MACHINE_R5=j721e_evm_r5_config
my questons is "where is j721e_evm_a72_config & j721e_evm_r5_config" files?
Many Thanks
Gibbs
Hi Gibbs,
You are right the r5 SPL Config file is: j721e_evm_r5_config & A72 SPL/ub-boot Config file is: j721e_evm_a72_config.
In the SDK install path these files are present in the folder:
$SDK_PTH/board-support/u-boot-2020.01+gitAUTOINC+f9b0d030d3-gf9b0d030d3/configs/
Please resolve this query in case you have no further questions on this.
Best Regards,
Keerthy
Hi, Keerthy :
follow your comment,
>> $SDK_PTH/board-support/u-boot-2020.01+gitAUTOINC+f9b0d030d3-gf9b0d030d3/configs/
this folder just include "j721e_evm_a72_defconfig" and "j721e_evm_r5_defconfig"
that's different.
so, this is my question point
Many Thanks
Gibbs,
u-boot compiles if you give j721e_evm_r5_defconfig or j721e_evm_r5_config.
You can try that on your setup. Also to double check we can simple rename j721e_evm_r5_defconfig file to temp and you
can see that compilation fails.
Bottomline is j721e_evm_r5_defconfig is the config file for R5 and j721e_evm_a72_defconfig for A72.
Hope it is clear.
Best Regards,
Keerthy
Hi, Keerthy :
Follow previous thread loop :
>>You can try that on your setup. Also to double check we can simple rename j721e_evm_r5_defconfig file to temp and you
>>can see that compilation fails.
you are right, I rename j721e_evm_r5_defconfig & j721e_evm_a72_defconfig, get some errors!
Many Thanks
===================================
Building U-boot for R5
===================================
make -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]: Entering directory '/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot-2020.01+gitAUTOINC+f9b0d030d3-gf9b0d030d3'
make[2]: Entering directory '/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot_build/r5'
GEN ./Makefile
***
*** Can't find default configuration "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: recipe for target 'j721e_evm_r5_defconfig' failed
make[3]: *** [j721e_evm_r5_defconfig] Error 1
/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot-2020.01+gitAUTOINC+f9b0d030d3-gf9b0d030d3/Makefile:539: recipe for target 'j721e_evm_r5_config' failed
make[2]: *** [j721e_evm_r5_config] Error 2
make[2]: Leaving directory '/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot_build/r5'
Makefile:167: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/gibbs/ti-processor-sdk-linux-automotive-j7-evm-07_00_01/board-support/u-boot-2020.01+gitAUTOINC+f9b0d030d3-gf9b0d030d3'
Makefile:140: recipe for target 'u-boot-r5' failed
make: *** [u-boot-r5] Error 2