Coder Social home page Coder Social logo

Comments (6)

terpstra avatar terpstra commented on July 28, 2024

What version of risc-v tools are you using and which kernel version? It is very unlikely that error is caused by your host CPU being 32-bits. The file being compiled in your example was a RISC-V file.

from riscv-linux.

sorear avatar sorear commented on July 28, 2024

@terpstra This appears to have been an attempt to compile the kernel for riscv32.

from riscv-linux.

palmer-dabbelt avatar palmer-dabbelt commented on July 28, 2024

This has been fixed.

from riscv-linux.

s-macke avatar s-macke commented on July 28, 2024

Check this emulator:
http://s-macke.github.io/jor1k/demos/riscv.html
RISC-V 32-Bit is finally working with the new privilege spec.

from riscv-linux.

terpstra avatar terpstra commented on July 28, 2024

Very cool! I see you copied spike's device tree string, but changed mmu-type to sv32. Does this mean spike now also can run linux 32-bit? Did you have to change much in the kernel to handle sv32? Are those changes merged?

from riscv-linux.

s-macke avatar s-macke commented on July 28, 2024

Following tree should compile out of the box.
https://github.com/riscv/riscv-linux/tree/riscv-next

Today, I have also commented on the necessary changes for spike/pk here: #61

Not much to do I think. It is just the console handling.

from riscv-linux.

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.