faried nawaz

The operating system is a Debian trixie derivative. Out of the box, it has Firefox 131.0.2 and Xfce 4.18. apt-get install build-essential gave me gcc-14; other items in the repos: nodejs 20.17.0, emacs 29.4, golang 1.23. Elixir's still at 1.14.0 (aside: erlang won't get a JIT for RISC-V any time soon), Python's at 3.12, rustc 1.80.1 (but of course you can use rustup).

Anyway, on to some benchmarks. glmark2-es2 reports a score of 1714, which is surprisingly 38% higher than @geerlingguy 's benchmark of the HiFive Premier P550.

My real test is compiling sbcl; it's not in Debian or Ubuntu's repositories for RISC-V. I bootstrap it with GNU CLISP, and then rebuild it with itself, with sh ./make.sh --with-sb-doc --without-sb-thread. Unfortunately, I believe the build is single-core; I'm not sure if it's possible to use all the cores on my system for it.

Times to rebuild sbcl with itself, including modules:

Lichee Pi 3A (Ubuntu 24.04 derivative): 30 minutes VisionFive 2 (Ubuntu 24.04): 20 minutes Megrez (Debian trixie derivative): 12 minutes Ryzen 9900x (Ubuntu 24.04): 1 minute

So, progress, but a long way to go.

(Incidentally, both the Megrez and my desktop have 6400 memory.)

#milkv #megrez #riscv #sbcl

Erlang RISC-V Architecture JIT Support · Issue #7498 · erlang/otp

We can develop and test RISC-V support with official…

GitHub
faried nawaz

My 16 GB Milk-V Megrez arrived earlier this week. I had a spare sdcard for the OS image, but didn't have an SSD to install everything on. I went out and bought that today, and hooked everything up using my dying desktop's power supply (650w is overkill for this board).

It booted off the sdcard, and I partitioned the SSD and copied everything over. I manually modified /etc/fstab and /etc/default/u-boot on the SSD to point to the new filesystems, ran u-boot-update inside a chroot, and popped the sdcard.

I did it this way instead of dd'ing the image to the SSD as described in the docs because I wanted a larger swap partition. I wonder if this system supports suspend/hibernate (added to Linux 6.4 for RISC-V).

I/O isn't fast, but it'll work:

# hdparm -t --direct /dev/sda /dev/sda: Timing O_DIRECT disk reads: 1020 MB in 3.00 seconds = 339.89 MB/sec #

The board has an M2 slot, but it's for SATA, not NVMe. I had a cheap PCIe to NVMe adapter, so I installed a 1 TB drive on it, and repeated the above exercise to boot off that. The boot order appears to be sdcard, nvme/pci, ssd.

# hdparm -t --direct /dev/nvme0n1 /dev/nvme0n1: Timing O_DIRECT disk reads: 1570 MB in 3.00 seconds = 523.25 MB/sec #

I'm not sure if it's because the motherboard has a slow PCIe slot (it's PCIe Gen 3) or my adapter is slow.

#milkv #megrez #riscv

Pierre Lecourt

La carte Mini-ITX RISC-V Milk-V Oasis semble être abandonnée
Vous êtes plusieurs à m'avoir signalé l'annulation de votre commande de la carte Milk-V Oasis… sans aucune explication.... #milkv #riscv
minimachines.net/?p=132191

Lup Yuen Lee 李立源

#Sophgo SG2000 #RISCV SoC is officially supported by Apache #NuttX RTOS ... Let’s do Daily Automated Testing for NuttX on #MilkV Duo S SBC, controlled by an IKEA Smart Power Plug with Home Assistant API

Article: lupyuen.codeberg.page/articles

Lup Yuen Lee 李立源

Apache #NuttX RTOS 12.6.0 released ... Supports #Sophgo SG2000 #RISCV SoC, #Pine64 #Oz64 SBC and #MilkV Duo S 🎉

Source: nuttx.apache.org/releases/12.6

Lup Yuen Lee 李立源

Remember to Enable MMU Cache in #RISCV T-Head C906! (#Ox64 BL808 / #MilkV Duo S SG2000) ... Otherwise things get super slooooooow 😬

Article: lupyuen.github.io/articles/pli

Justin

Just pushed an update to my Debian images for the MilkV Duo and Sipeed Licheervnano boards. We now support the DuoS EMMC variant.

github.com/Fishwaldo/sophgo-sg

Next version will be mainline kernel support!

#MilkV #RISCV #sophgo

Releases · Fishwaldo/sophgo-sg200x-debian

Debian Image for SG200x based boards such as Milk Duo256/DuoS…

github.com
Linux ✅

Ubuntu 24.04 LTS for Milk-V Mars RISC-V single board computer :ubuntu: ✅

What does this credit-card-sized PC hold?

◉RISC-V 64-bit cores ~1.5GHz
◉1gb / 2gb / 4gb / 8gb LPDDR4 ◉eMMC / microSD
◉HDMI / Gigabit ethernet
◉USB3 / USB2 ports
◉40-pin GPIO-header
◉Price $49 for 4gb model

canonical.com/blog/canonical-e

#MilkV #Mars #RISCV #Ubuntu #Linux #Canonical #SBC @risc_v #OpenSource #hardware #computers

Canonical enables Ubuntu on Milk-V Mars, a credit-card-sized RISC-V SBC | Canonical

May 28th, 2024 – Canonical announced that the optimised…

canonical.com
Josh :t_blink:

Internet peeps, anyone have a good idea/use for my lil #MilkV Mars #sbc?

I am struggling to find a use for it, and to be honest it has not been that fun to tinker around with.

I prefer to not have it collect dust if possible.

Send me ideas please 🙏

#RISCV #needhelp

Josh :t_blink:

After some tinkering I was able to get the milk v mars up and running again. Some how between me last using it and now something happened to its ability to boot off micro SD. Luckily I had an 8gig emmc laying around to use.

We'll see how this goes, but I don't expect much.

#riscv #milkv #neofetch #cmtrix #btop

Justin

Just released a Debian image (and builder) for the Sophgo SG200x chips. (This includes the MilkV Duo256, LicheeRVNano and soon, the DuoS). The Buildroot images they provide are nice, but nothing like having a few thousand packages ready to install at your fingertips on 256Mb of Ram (or 512Mb if you splurged on the DuoS!)

It runs surprisingly well!

github.com/Fishwaldo/sophgo-sg
#sophgo #MilkV #sipeed

GitHub - Fishwaldo/sophgo-sg200x-debian: Debian Image for SG200x based boards such as Milk Duo/Duo256 and Sipeed LicheeRVNano

Debian Image for SG200x based boards such as Milk Duo/Duo256…

github.com
Wesley Moore

Played around with the MILK-V Duo this morning. It certainly feels snappier than the Mango Pi, although that might be because it's running a buildroot image and not a full distro. Idle it uses about 75mA, running `while true; do echo Hello; done` over an ssh connection it pulls 100mA. #milkv #riscv #linux

gyptazy
#snac 2.48 (2.49-dev) compile for #RISCV64 #Debian & #Ubuntu. Thanks to @grunfink@comam.es for today's release!

This should help all the people that are running on #RV64 hardware (like the #VisionFive2, #MilkV, #LicheePi4A, ...) and also want to run #snac2 as a #ActivityPub instance in the #Fediverse like me.

You can grab it here: https://cdn.gyptazy.ch/files/riscv64/ubuntu/snac/snac_2.49_dev_ubuntu_23.10_riscv64_linux.tgz