Commit Graph

496 Commits

Author SHA1 Message Date
Dr-Noob
ccfcab88d3 [v0.92][ARM] Add MediaTek ASCII art 2020-11-26 20:33:35 +01:00
Dr-Noob
e5d5e5ef92 [v0.92][Refactoring] Refactor Intel and AMD printer code into algorithms 2020-11-26 18:45:33 +01:00
Dr-Noob
ff92107d7c [v0.92] Fix previous commit (I forgot to add the file) 2020-11-26 18:35:29 +01:00
Dr-Noob
b9e96baf91 [v0.92] Add printer algorithms. This approach allows more flexibility in the printer. Improve Snapdragon ASCII 2020-11-26 18:30:39 +01:00
Dr-Noob
c62a63f539 [v0.92][ARM] Print ACII art based on SoC instead of CPU vendor. Add snapdragon ASCII art. Refactor printer to save some lines of code 2020-11-26 16:42:36 +01:00
Dr-Noob
89e5e30e53 [v0.91][X86][BUGFIX] Fix annoying compilation issue 2020-11-26 13:05:14 +01:00
Dr-Noob
7c2463eb8f [v0.91][ARM] New experimental way of matching SoC names 2020-11-26 12:41:41 +01:00
Dr-Noob
b4b693a11e [v0.91][ARM][BUGFIX] Do not print error message if frequency file does not exist in ARM. Fix arm udev file (I uploaded my debug udev by mistake) 2020-11-26 12:15:07 +01:00
Dr-Noob
ff032efb28 [v0.91][ARM] Fix for snapdragon chips reporting name in lowercase 2020-11-26 11:51:06 +01:00
Dr-Noob
da94c7ee18 [v0.91][ARM] Add Exynos SoCs 2020-11-26 11:30:14 +01:00
Dr-Noob
4c36e4c5e5 [v0.91][ARM] Print manufacturing process from SoC information 2020-11-26 10:52:44 +01:00
Dr-Noob
20dbc3be27 [v0.90][ARM] Print bug message if SoC string is found but not detected. This is maybe too verbose, but I would like to increase the support for more ARM SoC, and I hope this message is useful for this purpose 2020-11-26 10:43:42 +01:00
Dr-Noob
53b4ff5793 [v0.90][ARM] Add MediaTek SoCs 2020-11-26 09:53:53 +01:00
Dr-Noob
4f1dd82bba [v0.90][ARM] Add most of Qualcomm SoCs 2020-11-25 11:34:49 +01:00
Dr-Noob
37e849978a [v0.90][ARM] Print right number of cores and frequency for each CPU 2020-11-24 16:17:53 +01:00
Dr-Noob
233565c052 [v0.89][ARM][BUGFIX] Fix uarch detection for Kryo 260 / 280 2020-11-24 16:16:22 +01:00
Dr-Noob
5d168f5707 [v0.89][ARM][BUGFIX] Fix obscure bug where cpufetch failed if cpuinfo did not start with "processor" string 2020-11-24 15:20:07 +01:00
Dr-Noob
0bc978564e [v0.89][ARM][BUGFIX] Two CPUs are equal when Main ID Register AND frequency are equal, not just when Main ID register are equal 2020-11-24 13:21:27 +01:00
Dr-Noob
fbea497740 [v0.89] Change freq from int64 to int32, which fixes a compilation issue. Fix Makefile in Windows 2020-11-24 12:52:42 +01:00
Dr-Noob
8645b54b58 [v0.89][ARM] Separate udev for ARM in a different file, since there are many functions that are ARM only. Refactoring of file reading code 2020-11-24 12:32:38 +01:00
Dr-Noob
220dd02abd [v0.89][ARM] Add very basic SoC parsing from cpuinfo/android strings. Only detects two SoCs, but allows debugging 2020-11-24 11:44:24 +01:00
Dr-Noob
685e78f2b7 [v0.88][ARM][BUGFIX] Fix bugs in single CPU SoCs and small bugs related to strings 2020-11-24 10:27:33 +01:00
Dr-Noob
71d660d7b1 [v0.88][ARM] Fetch raw soc name from cpuinfo or android (if supported) 2020-11-24 10:03:21 +01:00
Dr-Noob
bb05a4d577 [v0.88][ARM][BUGFIX] Fix some compilation issues 2020-11-23 18:45:42 +01:00
Dr-Noob
eaa86522a4 [v0.88][ARM] Add very basic SoC detection (Android only) 2020-11-23 18:30:00 +01:00
Dr-Noob
8927048c95 [v0.88] Reorganize files and documentation. Remove ascii directory (it was useless) 2020-11-23 16:15:46 +01:00
Dr-Noob
093222d533 [v0.88][DOC] Update documentation and divide it in two files, one for each architecture 2020-11-23 16:11:54 +01:00
Dr-Noob
716706d0a7 [v0.88][ARM][BUGFIX] Fetch number of cores from /sys/devices/system/cpu/present file, instead of /proc/cpuinfo. Pay attention to cases where frequency and/or MIDR can not be fetched from cpuinfo. This happens when the CPU has offline cores 2020-11-22 15:18:15 +01:00
Dr-Noob
fcb2c716db [v0.87][FREQ] Frequency in udev is now fetched as a per core basis. Before this commit, freq was always fetched from core 0. This allows ARM do detect the max frequency of each of the cores (which may or may not be the same in all of them) 2020-11-22 10:23:02 +01:00
Dr-Noob
0875c4d425 [v0.87][ARM] cpuInfo now holds all the structs (freq, cache, etc), instead of having them separated. This allows ARM to represent a single CPU, because from its pointer, it is able to access the specific frequency, cache, etc 2020-11-22 09:57:50 +01:00
Dr-Noob
f5ec566577 [v0.87][DOC] Explain commit #42ade63 in documentation. Add Android information in README 2020-11-22 09:20:35 +01:00
Dr-Noob
5b0cbd622f [v0.87][BUGFIX] Add checks to detect wrong ASCII arts. Fix ARM ASCII art 2020-11-21 19:21:19 +01:00
Dr-Noob
0b9f0e860c [v0.87][PRINTER] ASCII art attributes are no longer fixed in a given position, and are not fixed in length (max length is now 100). Added different algorithms for printing ASCII art for X86 and ARM, which allows ARM to show each CPU inside a SoC 2020-11-21 19:04:57 +01:00
Dr-Noob
50931ee94d [v0.86][BUGFIX] Fix print format for hex values 2020-11-21 16:45:51 +01:00
Dr-Noob
42ade63746 [v0.86][BUGFIX] Add old AMD CPUs cache fix to master branch 2020-11-21 16:41:08 +01:00
Dr-Noob
e4a4e13d56 [v0.82][BUGFIX] Using 0x80000006 in new AMD CPUs outputs wrong L3 size since it reports the full size instead the size of a single L3. Use old method just when is necessary 2020-11-21 16:37:51 +01:00
Dr-Noob
7d707916fb [v0.86][OPTIONS] Replace levels option with debug option, which does the same on x86, but also exists on ARM, which prints MIDR registers (need work to be properly implemented) 2020-11-18 23:41:42 +01:00
Dr-Noob
c44a646cd1 [v0.85][ARM] Add SoC field in ARM and remove CPU Name field, which is only valid in x86. Fix Makefile for some strict compilers 2020-11-18 23:22:26 +01:00
Dr-Noob
8c11cb2422 [v0.84][ARM] Add ISA field in ARM. ISA depends on uarch, not on specific CPU. Fill all the missing data in uarch.c 2020-11-14 11:11:32 +01:00
Dr-Noob
cb78f18de1 [v0.84][BUGFIX] Fix more compilation issues 2020-11-10 22:46:39 +01:00
Dr-Noob
07f3f26ff6 [v0.84][BUGFIX] Fix more compilation issues 2020-11-10 22:45:14 +01:00
Dr-Noob
27aabb35be [v0.84][BUGFIX] Fix compilation issues 2020-11-10 18:51:13 +01:00
Dr-Noob
904cb46765 [v0.84][ARM] Add lots of new microarch detection 2020-11-10 18:50:32 +01:00
Dr-Noob
3aa13269b7 [v0.83][ARM] Add basic support for microarchitecture and CPU name detection. Need to add the remaining models 2020-11-08 16:49:01 +01:00
Dr-Noob
b978ddc83d [v0.82][BUGFIX] Issue #33: Use 0x80000006 for cache fetching in AMD, instead of 0x8000001D. This means that a different approach in Intel and AMD CPUs 2020-11-07 10:48:48 +01:00
Dr-Noob
16abfa7022 [v0.82][README] Update README to show ARM experimental support 2020-11-06 11:10:30 +01:00
Dr-Noob
9c8e169592 [v0.82][ARM][ASCII][Refactoring] ARM ascii changes. Remove the assumption that all sockets are equal in a ARM based SoC. Little more support for ARM processors. Add ARM color style 2020-11-06 10:06:13 +01:00
Dr-Noob
4f1722ead6 [v0.81][ARM][Refactoring] Refactoring and very basic ARM support 2020-11-05 13:44:46 +01:00
Dr-Noob
f4f68287aa [v0.8][Refactoring] Refactoring ARM code and source code tree 2020-11-05 11:01:46 +01:00
Dr-Noob
1fad4fd10b [v0.8][ARM] Building support in ARM 2020-11-05 09:28:41 +01:00