Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm Cortex-A78AE undetected. #275

Open
nullr0ute opened this issue Sep 3, 2024 · 4 comments
Open

Arm Cortex-A78AE undetected. #275

nullr0ute opened this issue Sep 3, 2024 · 4 comments

Comments

@nullr0ute
Copy link

nullr0ute commented Sep 3, 2024

A NVIDIA Cortex-A78AE platform goes undetected.

# cpufetch --verbose
[ERROR]: Unknown microarchitecture detected: IM=0x41 P=0xD42 V=0x0 R=0x1
[VERSION]: cpufetch v1.06 (Linux ARM build)
Please, create a new issue with this error message, your smartphone/computer model, the output of 'cpufetch --verbose' and 'cpufetch --debug' on https://github.com/Dr-Noob/cpufetch/issues
[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-efuse0/nvmem: No such file or directory
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-otp0/nvmem: No such file or directory
[WARNING]: guess_soc_from_uarch: No uarch matched the list
[WARNING]: guess_soc_from_pci: No PCI device matched the list

                                                            SoC:                 Unknown
                                                            Technology:          Unknown
                                                            Microarchitecture:   Unknown
                                                            Max Frequency:       2.201 GHz
                                                            Cores:               12 cores
                                                            Features:            NEON,SHA1,SHA2,AES,CRC32
                                                            Peak Performance:    52.82 GFLOP/s

The core from cpuinfo reports:

# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 62.50
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm paca pacg
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd42
CPU revision    : 1

Useful bits from lscpu:

# lscpu
Architecture:             aarch64
  CPU op-mode(s):         32-bit, 64-bit
  Byte Order:             Little Endian
CPU(s):                   12
  On-line CPU(s) list:    0-11
Vendor ID:                ARM
  BIOS Vendor ID:         NVIDIA
  Model name:             Cortex-A78AE
    BIOS Model name:      Not Specified Not Specified CPU @ 0.0GHz
    BIOS CPU family:      257
    Model:                1
    Thread(s) per core:   1
    Core(s) per cluster:  12
    Socket(s):            1
    Cluster(s):           1
    Stepping:             r0p1
    CPU(s) scaling MHz:   26%
    CPU max MHz:          2201.6001
    CPU min MHz:          115.2000
    BogoMIPS:             62.50
    Flags:                fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm paca pacg
@Dr-Noob
Copy link
Owner

Dr-Noob commented Sep 4, 2024

Thanks for reporting. You are running cpufetch release v1.06 which is updated. Please download and compile from source the last version of cpufetch and check again. You have instructions here.

@nullr0ute
Copy link
Author

I just installed the version in Fedora so I didn't self compile, will check upstream when I get a moment.

@ausil
Copy link

ausil commented Sep 9, 2024

$ ./cpufetch --verbose && ./cpufetch --debug
[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
[WARNING]: guess_soc_from_devtree: No match found for 'nvidia,p3768-0000+p3767-0005,nvidia,p3767-0005,nvidia,tegra234'
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-efuse0/nvmem: No such file or directory
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-otp0/nvmem: No such file or directory
[WARNING]: guess_soc_from_uarch: No uarch matched the list
[WARNING]: guess_soc_from_pci: No PCI device matched the list

                                                            SoC:                 Unknown
                                                            Technology:          Unknown
                                                            Microarchitecture:   Cortex-A78AE
                                                            Max Frequency:       1.510 GHz
                                                            Cores:               6 cores
                                                            Features:            NEON,SHA1,SHA2,AES,CRC32
                                                            Peak Performance:    144.96 GFLOP/s
                                                            

cpufetch v1.06-22-g977c (Linux ARM build)
[Core 0] 0x410FD421 1510 MHz
[Core 1] 0x410FD421 1510 MHz
[Core 2] 0x410FD421 1510 MHz
[Core 3] 0x410FD421 1510 MHz
[Core 4] 0x410FD421 1510 MHz
[Core 5] 0x410FD421 1510 MHz

Not the same system as initially reported. but showing issues from the latest commit

Dr-Noob added a commit that referenced this issue Sep 9, 2024
@Dr-Noob
Copy link
Owner

Dr-Noob commented Sep 9, 2024

$ ./cpufetch --verbose && ./cpufetch --debug
[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
[WARNING]: guess_soc_from_devtree: No match found for 'nvidia,p3768-0000+p3767-0005,nvidia,p3767-0005,nvidia,tegra234'
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-efuse0/nvmem: No such file or directory
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-otp0/nvmem: No such file or directory
[WARNING]: guess_soc_from_uarch: No uarch matched the list
[WARNING]: guess_soc_from_pci: No PCI device matched the list

                                                            SoC:                 Unknown
                                                            Technology:          Unknown
                                                            Microarchitecture:   Cortex-A78AE
                                                            Max Frequency:       1.510 GHz
                                                            Cores:               6 cores
                                                            Features:            NEON,SHA1,SHA2,AES,CRC32
                                                            Peak Performance:    144.96 GFLOP/s
                                                            

cpufetch v1.06-22-g977c (Linux ARM build)
[Core 0] 0x410FD421 1510 MHz
[Core 1] 0x410FD421 1510 MHz
[Core 2] 0x410FD421 1510 MHz
[Core 3] 0x410FD421 1510 MHz
[Core 4] 0x410FD421 1510 MHz
[Core 5] 0x410FD421 1510 MHz

Not the same system as initially reported. but showing issues from the latest commit

Thanks, just added support for your SoC in the latest version 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants