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
我使用的是 tci6638K2K。 由于需要项目,我必须将 Linux 移植到0x6000 0000处运行。 Linux 有运行、但它只有 一个 ARM 内核运行。
启动内核消息显示:
为0xc05136a0-0xc05136f8设置静态标识映射
CPU1:无法联机
CPU2:无法联机
CPU3:无法联机
产生了1个 CPU
SMP:总共激活1个处理器(409.60 BogoMips);
您好!
这是哪个 TI SDK?
检查文件系统:
CAT /proc/cpuinfo
如果存在多个 cortex、请尝试:
CD /sys/devices/system/cpu/cpuX
root@am57xx-EVM:/sys/devices/system/cpu/cpuX echo 1 > online
还要检查 arch/arm/configs 中的 defconfig 文件中是否正确设置了以下内容:
CONFIG_FASH_SMP=y
CONFIG_SMP=y
CONFIG_SMP_ON_UP=y
CONFIG_ARM_CPU_topology=y
CONFIG_NR_CPU=8
CONFIG_HOTPLUG_CPU=y
如果出现以下情况、请检查:
/*安装程序已配置要激活的最大 CPU 数量*/
unsigned int setup_max_CPU= NR_CPU;
export_symbol (setup_max_CPU);
内核/SMP.C.中设置 您也可以尝试在此处对 setup_max_CPU 进行硬编码。
此致、
Yordan