Age | Commit message (Collapse) | Author |
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
There are a few variants of /proc/cpuinfo format for ARM.
Examples:
1. https://github.com/bp0/rpiz/blob/master/test/rpi3_cpuinfo
2. https://github.com/bp0/rpiz/blob/master/test/az100_cpuinfo
3. https://github.com/bp0/rpiz/blob/master/test/odroidx_cpuinfo
4. https://github.com/bp0/rpiz/blob/master/test/unk_marv0_cpuinfo
Previously, only 1 and 4 worked. Now all should be working.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Changed code arrangement to fix a problem where only the last
processor's mode was correct.
This also separates the /proc/cpuinfo data from the other data
in a logical way.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Report the ARM CPUID information from /proc/cpuinfo.
* Attempt to detect if running 32-bit on a 64-bit processor.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
A few more flags for ARM. No new defitions.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
A few more flag definitions for ARM.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Multiple processors/cores reported
* CPU min/max/cur frequency information reported
* Flag definitions
Tested only on Raspberry Pi models 1 and 3.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Mixed tab/space indentation to all space for indentation.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* dt_get_model() replaced by the simpler g_file_get_contents()
* rpi_get_boardname() declared static
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Uses /proc/device-tree/model for get_motherboard() when not x86.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Minor edits to the Raspberry Pi board data table.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
get_motherboard() will now return something for Raspberry Pi boards.
example:
"Raspberry Pi 3 (Q1 2016) pcb-rev:1.2 soc:BCM2835 mem:1GB mfg-by:Sony"
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Fixed compile warning in utils.c:
[ 37%] Building C object CMakeFiles/hardinfo.dir/hardinfo/util.c.o
/home/maxpayne/hardinfo/hardinfo/util.c: In function ‘seconds_to_string’:
/home/maxpayne/hardinfo/hardinfo/util.c:105:34: warning: too many arguments for format [-Wformat-extra-args]
return g_strdup_printf(ngettext("%d hour, ", "%d hours, ", hours), hours,
^
/home/maxpayne/hardinfo/hardinfo/util.c:108:37: warning: too many arguments for format [-Wformat-extra-args]
return g_strdup_printf(ngettext("%d day, ", "%d days, ", days), days,
^
[ 39%] Linking C executable hardinfo
|
|
Fixed compile warning in computer.c:
[ 70%] Building C object CMakeFiles/computer.dir/modules/computer.c.o
In file included from /home/maxpayne/hardinfo/modules/computer.c:27:0:
/home/maxpayne/hardinfo/modules/computer.c: In function ‘callback_os’:
/home/maxpayne/hardinfo/modules/computer.c:421:30: warning: too many arguments for format [-Wformat-extra-args]
return g_strdup_printf(_("[$ShellParam$]\n"
^
/home/maxpayne/hardinfo/includes/hardinfo.h:28:30: note: in definition of macro ‘_’
#define _(STRING) gettext(STRING)
^
|
|
There was compile warning in benchmark.c:
Scanning dependencies of target benchmark
[ 48%] Building C object CMakeFiles/benchmark.dir/modules/benchmark.c.o
/home/maxpayne/hardinfo/modules/benchmark.c: In function ‘get_benchmark_results’:
/home/maxpayne/hardinfo/modules/benchmark.c:565:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
gchar *result = g_strdup_printf("[param]\n"
^
[ 50%] Building C object CMakeFiles/benchmark.dir/modules/benchmark/blowfish.c.o
|
|
|
|
|
|
|
|
Everyone who follows the official build instructions will have a
build/.
Makes `git status` cleaner.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Add some more bug "feature" flags from old kernels to the bug
workaround list generated if no such list was available in
/proc/cpuinfo.
Also, fixes a crash if the first bug is not fdiv.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
There was the message after compiling:
[100%] Built target network
/hardinfo/po/fr.po:410: 'msgid' and 'msgstr' entries do not both end with '\n'
/usr/bin/msgfmt: found 1 fatal error
po/CMakeFiles/i18n.dir/build.make:57: recipe for target 'i18n' failed
make[2]: *** [i18n] Error 1
CMakeFiles/Makefile2:308: recipe for target 'po/CMakeFiles/i18n.dir/all' failed
make[1]: *** [po/CMakeFiles/i18n.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
|
|
Signed-off-by: yolateng0 <yoldc22@free.fr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Now the bugs list will be created from the old flags if it wasn't available.
* If a flag list is empty, it will now show "Empty List" for that set. This
is for the Power Management flag list that didn't exist on older kernels, or
if all old bug flags were off.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Show items and descriptions from the power management feature
list.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
In June 2014, /proc/cpuinfo added a bugs (fixes/workarounds) list that
works like the flags list.
Show this list in the CPU information with the extra description from
the source comments in arch/x86/include/asm/cpufeatures.h.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Remove some trailing whitespace.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Add "Comment" section to fix problems with AppStream.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return a helpful string instead to help translators
|
|
|
|
|