You need to sign in or sign up before continuing.

RISC-V is awesome, Tumbleweed is awesome, chocolate cake is awesome. I'm planning to combine all of them in one project.

Project Description

I recently purchased a MILK-V Mars CM and managed to setup it up already using Debian Linux. My project for this Hackweek is to see how far I can get to run Tumbleweed on this compute module board.

Goal for this Hackweek

  • Run Tumbleweed on the Compute Module

Resources

  • http://milkv.io/mars-cm
  • https://en.opensuse.org/HCL:VisionFive2

Looking for hackers with the skills:

risc-v tumbleweed chocolatecake

This project is part of:

Hack Week 23 Hack Week 24

Activity

  • 10 months ago: jlp liked this project.
  • 10 months ago: a_faerber liked this project.
  • 10 months ago: michals liked this project.
  • almost 2 years ago: mbrugger liked this project.
  • almost 2 years ago: ph03nix liked this project.
  • almost 2 years ago: ph03nix added keyword "risc-v" to this project.
  • almost 2 years ago: ph03nix added keyword "tumbleweed" to this project.
  • almost 2 years ago: ph03nix added keyword "chocolatecake" to this project.
  • almost 2 years ago: ph03nix started this project.
  • almost 2 years ago: ph03nix originated this project.

  • Comments

    • ph03nix
      almost 2 years ago by ph03nix | Reply

      Could use some help and/or some pointers where and how to start.

    • ph03nix
      almost 2 years ago by ph03nix | Reply

      I'm trying to flash the openSUSE Tumbleweed image for the VisionFive2 to my eMMC Mars CM and am a bit stuck there: https://community.milkv.io/t/how-to-flash-the-emmc-on-the-mars-cm/854/3

    • ph03nix
      almost 2 years ago by ph03nix | Reply

      Might found a way to flash the eMMC on my Mars CM. One needs to follow http://milkv.io/docs/mars/compute-module/boot#burn-image and really using their custom Windows tool. After several failed attempts, I might get this one through this time knocksonwood

    • mbrugger
      almost 2 years ago by mbrugger | Reply

      I suppose the one thing you will need is to add a devicetree in u-boot that describes the devices on the board.

    • ph03nix
      almost 2 years ago by ph03nix | Reply

      Thank Michael, that's a good hint!

    • ph03nix
      almost 2 years ago by ph03nix | Reply

      I wrote https://feldspaten.org/2023/11/20/MilkV-CM/ as a summary of my work here.

    • ph03nix
      10 months ago by ph03nix | Reply

      I managed to build and flash a new U-Boot. With this I can reach GRUB via UEFI on our Tumbleweed images for the VisionFive Starfive2 add-emoji

    • ph03nix
      10 months ago by ph03nix | Reply

      I also started https://codeberg.org/grisu48/Mars-CM to write down my notes for the next one to follow up.

    Similar Projects

    pudc - A PID 1 process that barks to the internet by mssola

    Description

    As a fun exercise in order to dig deeper into the Linux kernel, its interfaces, the RISC-V architecture, and all the dragons in between; I'm building a blog site cooked like this:

    • The backend is written in a mixture of C and RISC-V assembly.
    • The backend is actually PID1 (for real, not within a container).
    • We poll and parse incoming HTTP requests ourselves.
    • The frontend is a mere HTML page with htmx.

    The project is meant to be Linux-specific, so I'm going to use io_uring, pidfs, namespaces, and Linux-specific features in order to drive all of this.

    I'm open for suggestions and so on, but this is meant to be a solo project, as this is more of a learning exercise for me than anything else.

    Goals

    • Have a better understanding of different Linux features from user space down to the kernel internals.
    • Most importantly: have fun.

    Resources