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.

[参考译文] AM5726:是否可以知道如何通过器件树配置来同时使用 AM5726芯片的 Cortex-A15处理器?

Guru**** 2487425 points
Other Parts Discussed in Thread: AM5726

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1439506/am5726-may-i-know-how-to-use-both-cortex-a15-processors-of-am5726-chip-through-device-tree-configuration

器件型号:AM5726

工具与软件:

您好、TI 团队 J ü、

我从以下网站下载了 Linux SDK 6.3工程:

www.ti.com.cn/.../PROCESSOR-SDK-AM57X

但在 Linux 内核器件树中只有一个 CPU0配置:

我是否可以知道如何通过器件树配置来同时使用 AM5726芯片的 Cortex-A15处理器?

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

    您好、Zhicheng、

    正在使用两个 CPU:

     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2019.11 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# ls /sys/dev
    dev/     devices/ 
    root@am57xx-evm:~# ls /sys/devices/system/cpu
    cpu0        cpufreq     hotplug     kernel_max  offline     possible    present
    cpu1        cpuidle     isolated    modalias    online      power       uevent
    root@am57xx-evm:~# [  132.043637] NET: Registered protocol family 15
    [  132.132495] Initializing XFRM netlink socket
    ls /sys/devices/system/cpu
    cpu0        cpufreq     hotplug     kernel_max  offline     possible    present
    cpu1        cpuidle     isolated    modalias    online      power       uevent
    root@am57xx-evm:~# cd /sys/devices/system/cpu                                                       
    root@am57xx-evm:/sys/devices/system/cpu# ll
    -sh: ll: command not found
    root@am57xx-evm:/sys/devices/system/cpu# ls -l
    drwxr-xr-x    5 root     root             0 Apr 19 02:13 cpu0
    drwxr-xr-x    5 root     root             0 Apr 19 02:13 cpu1
    drwxr-xr-x    4 root     root             0 Apr 19 02:15 cpufreq
    drwxr-xr-x    2 root     root             0 Apr 19 02:15 cpuidle
    drwxr-xr-x    2 root     root             0 Apr 19 02:15 hotplug
    -r--r--r--    1 root     root          4096 Apr 19 02:15 isolated
    -r--r--r--    1 root     root          4096 Apr 19 02:15 kernel_max
    -r--r--r--    1 root     root          4096 Apr 19 02:15 modalias
    -r--r--r--    1 root     root          4096 Apr 19 02:15 offline
    -r--r--r--    1 root     root          4096 Apr 19 02:13 online
    -r--r--r--    1 root     root          4096 Apr 19 02:15 possible
    drwxr-xr-x    2 root     root             0 Apr 19 02:15 power
    -r--r--r--    1 root     root          4096 Apr 19 02:15 present
    -rw-r--r--    1 root     root          4096 Apr 19 02:13 uevent
    root@am57xx-evm:/sys/devices/system/cpu# 
    

    是否看到了同样的行为?

    第二个 CPU 可能由不同的文件添加、请参阅 dra74x.dtsi。

    -若苏厄