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

consistent versions #9

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

consistent versions #9

wants to merge 2 commits into from

Conversation

pdelteil
Copy link

@pdelteil pdelteil commented May 2, 2023

No description provided.

@vti
Copy link
Owner

vti commented May 3, 2023

That's an interesting functionality. I'd merge no problem (with some cleanup though if you don't mind). But it needs some work :)

Screenshot_2023-05-03_07-39-32

Also I don't think creating a new card is justifiable, maybe just extend the "Software" to "Software & Hardware" and add couple lines there.

@vti
Copy link
Owner

vti commented May 3, 2023

Here's my dump from Bolt v1. Instead of logging everything I recommend adding some tests, you can find some examples already written. And move log level to debug for that kind of things. Info level should be really for something useful to the end user.

cat /proc/cpuinfo
Processor	: ARMv7 Processor rev 3 (v7l)
processor	: 0
BogoMIPS	: 1993.93
Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 3

Processor	: ARMv7 Processor rev 3 (v7l)
processor	: 1
BogoMIPS	: 1993.93
Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 3

Hardware	: MT2601
Revision	: 0000
Serial		: 0000000000000000

@vti
Copy link
Owner

vti commented May 3, 2023

Ok, so for Bolt v1 sort is not available apparently:

/system/bin/sh: sort: not found

@vti
Copy link
Owner

vti commented May 3, 2023

And here is Bolt v2 dump

processor	: 0
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

processor	: 1
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

processor	: 2
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

processor	: 3
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

Hardware	: Qualcomm Technologies, Inc APQ8009
Revision	: 0000
Serial		: 0000000000000000
Processor	: ARMv7 Processor rev 5 (v7l)

@vti
Copy link
Owner

vti commented May 3, 2023

Roam v2

processor  : 0
model name  : ARMv7 Processor rev 5 (v7l)
BogoMIPS  : 38.40
Features  : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer  : 0x41
CPU architecture: 7
CPU variant  : 0x0
CPU part  : 0xc07
CPU revision  : 5

processor  : 1
model name  : ARMv7 Processor rev 5 (v7l)
BogoMIPS  : 38.40
Features  : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer  : 0x41
CPU architecture: 7
CPU variant  : 0x0
CPU part  : 0xc07
CPU revision  : 5

processor  : 2
model name  : ARMv7 Processor rev 5 (v7l)
BogoMIPS  : 38.40
Features  : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer  : 0x41
CPU architecture: 7
CPU variant  : 0x0
CPU part  : 0xc07
CPU revision  : 5

processor  : 3
model name  : ARMv7 Processor rev 5 (v7l)
BogoMIPS  : 38.40
Features  : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer  : 0x41
CPU architecture: 7
CPU variant  : 0x0
CPU part  : 0xc07
CPU revision  : 5

Hardware  : Qualcomm Technologies, Inc APQ8009
Revision  : 0000
Serial    : 0000000000000000
Processor  : ARMv7 Processor rev 5 (v7l)

@pdelteil
Copy link
Author

pdelteil commented May 3, 2023

Hello there @vti,

I'm sorry, I added the hardware card to the PR by mistake. I just finished some basic testing last night.

In my case it looks like this (reformatted the version number as well) :

image

I think using sort, grep or another linux tool is as robust as processing the output on the app side.

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

Successfully merging this pull request may close these issues.

2 participants