Hi Expert
In order to update my linux based on ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001,I had to rebuild U-boot.
1, source linux-devkit/environment-setup
2,make CROSS_COMPILE=arm-oe-linux-gnueabi- ARCH=arm O=am335x_evm_boot am335x_evm_defconfig,
but there have something wrong as below,
make[1]: 进入目录“/home/iot/ti-sdk/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2/am335x_evm_boot”
HOSTCC scripts/basic/fixdep
In file included from /home/iot/ti-sdk/linux-devkit/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/include/gnu/stubs.h:23,
from /home/iot/ti-sdk/linux-devkit/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/include/features.h:514,
from /home/iot/ti-sdk/linux-devkit/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/include/sys/types.h:25,
from ../scripts/basic/fixdep.c:92:
/home/iot/ti-sdk/linux-devkit/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/include/gnu/stubs-32.h:7:11: fatal error: gnu/stubs-soft.h: 没有那个文件或目录
7 | # include <gnu/stubs-soft.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:95:scripts/basic/fixdep] 错误 1
make[1]: *** [/home/iot/ti-sdk/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2/Makefile:492:scripts_basic] 错误 2
make[1]: 离开目录“/home/iot/ti-sdk/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2/am335x_evm_boot”
make: *** [Makefile:177:sub-make] 错误 2
I have searched for a lot of information but couldn't find the corresponding answer. Therefore, I am seeking help。
best regard
Qinlong