Dr-Noob / cpufetch

Simple yet fancy CPU architecture fetching tool
GNU General Public License v2.0
1.83k stars 100 forks source link

Is armv5tel architecture supported? #185

Closed rotteegher closed 3 months ago

rotteegher commented 1 year ago
 nap | [23:24:13]: ~/src/cpufetch $  -> make
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Makefile:51: Unsupported arch detected: armv5tel. See https://github.com/Dr-Noob/cpufetch#1-support
Makefile:52: If your architecture is supported but the compilation fails, please open an issue in https://github.com/Dr-Noob/cpufetch/issues
Makefile:53: *** Aborting compilation.  Stop.
 nap | [23:24:09]: ~/src/cpufetch $  -> neofetch
       _,met$$$$$gg.          nap@noisetide 
    ,g$$$$$$$$$$$$$$$P.       ------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 10 (buster) armv5tel 
 ,$$P'              `$$$.     Host: QNAP TS419 family 
',$$P       ,ggs.     `$$b:   Kernel: 4.19.0-21-marvell 
`d$$'     ,$P"'   .    $$$    Uptime: 29 mins 
 $$P      d$'     ,    $$P    Packages: 859 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.0.3 
 $$;      Y$b._   _,d$P'      Terminal: /dev/pts/0 
 Y$$.    `.`"Y$$$$P"'         CPU: Feroceon 88FR131 rev 1 (v5l) (1) @ 1.200GHz 
 `$$b      "-.__              Memory: 71MiB / 248MiB 
  `Y$$
   `Y$$.                                              
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""
 nap | [23:24:21]: ~/src/cpufetch $  -> cat /proc/cpuinfo
processor   : 0
model name  : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS    : 400.00
Features    : swp half thumb fastmult edsp 
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part    : 0x131
CPU revision    : 1

Hardware    : Marvell Kirkwood (Flattened Device Tree)
Revision    : 0000
Serial      : 0000000000000000
 nap | [23:24:27]: ~/src/cpufetch $  -> uname -a
Linux noisetide 4.19.0-21-marvell #1 Debian 4.19.249-2 (2022-06-30) armv5tel GNU/Linux
Dr-Noob commented 10 months ago

I'm not sure if will work, but it's definitely worth trying. Can you please edit your Makefile at line 33 and replace:

else ifeq ($(arch), $(filter $(arch), arm aarch64_be aarch64 arm64 armv8b armv8l armv7l armv6l))

with

else ifeq ($(arch), $(filter $(arch), arm aarch64_be aarch64 arm64 armv8b armv8l armv7l armv6l armv5tel))

and report back your results?