Giter Site home page Giter Site logo

[RISCV] Error on Lichee PI 4a about cpufetch HOT 6 CLOSED

bbonev avatar bbonev commented on June 15, 2024
[RISCV] Error on Lichee PI 4a

from cpufetch.

Comments (6)

bbonev avatar bbonev commented on June 15, 2024 1

Thanks! Here are my RISC-V results so far:

Screenshot from 2023-11-02 20-49-41

Screenshot from 2023-11-02 20-50-27

from cpufetch.

Dr-Noob avatar Dr-Noob commented on June 15, 2024

As always, thanks for your feedback.

RISC-V extensions are indeed a headache sometimes, but this is mainly because my implementation was not initially designed for managing cases like the u extension, which, apparently is an invalid extension but still it is shown in cpuinfo...

It should work after the latest patch. Can you provide also the output of cpufetch --verbose? I'd like to fix the Unknown fields.

from cpufetch.

bbonev avatar bbonev commented on June 15, 2024

bf89096

image

9a578d3

image

# cat /proc/cpuinfo 
processor	: 0
hart		: 0
isa		: rv64imafdcvsu
mmu		: sv39
cpu-freq	: 1.848Ghz
cpu-icache	: 64KB
cpu-dcache	: 64KB
cpu-l2cache	: 1MB
cpu-tlb		: 1024 4-ways
cpu-cacheline	: 64Bytes
cpu-vector	: 0.7.1

processor	: 1
hart		: 1
isa		: rv64imafdcvsu
mmu		: sv39
cpu-freq	: 1.848Ghz
cpu-icache	: 64KB
cpu-dcache	: 64KB
cpu-l2cache	: 1MB
cpu-tlb		: 1024 4-ways
cpu-cacheline	: 64Bytes
cpu-vector	: 0.7.1

processor	: 2
hart		: 2
isa		: rv64imafdcvsu
mmu		: sv39
cpu-freq	: 1.848Ghz
cpu-icache	: 64KB
cpu-dcache	: 64KB
cpu-l2cache	: 1MB
cpu-tlb		: 1024 4-ways
cpu-cacheline	: 64Bytes
cpu-vector	: 0.7.1

processor	: 3
hart		: 3
isa		: rv64imafdcvsu
mmu		: sv39
cpu-freq	: 1.848Ghz
cpu-icache	: 64KB
cpu-dcache	: 64KB
cpu-l2cache	: 1MB
cpu-tlb		: 1024 4-ways
cpu-cacheline	: 64Bytes
cpu-vector	: 0.7.1

from cpufetch.

Dr-Noob avatar Dr-Noob commented on June 15, 2024

I'm afraid the microarchitecture cannot be detected because cpuinfo is missing the uarch field. Regarding the SoC, we might be slightly more lucky. Can you show the output of cat /proc/device-tree/compatible?

PS: Is this a VM?

from cpufetch.

bbonev avatar bbonev commented on June 15, 2024
cat /proc/device-tree/compatible
thead,light-valthead,light-lpi4athead,light

Note: there is no new line on the end.

No, it is not a VM, but still running the vendor modified Debian with kernel 5.10.113-lpi4a #2023.10.24.02.18+3e042d29a

from cpufetch.

Dr-Noob avatar Dr-Noob commented on June 15, 2024

I've added some patches to give support for your board. Now it should work everything except for the microarchitecture.

PS: Let me know if you have additional suggestions for the RISC-V backend 👍

from cpufetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.