Z572, to guix zh-CN

#visionfive2 + #guix + linux-libre 能启动,但网络还是坏的,估计内核还缺点啥配置没开启。还得从 spi boot ,是 opensbi v1.2,v1.3 会炸。
并且得设置 fdtfile 为 starfive/jh7110-starfive-visionfive-2-v1.3b.dtb

https://github.com/Z572/guix/tree/visionfive2

jarkko, to RaspberryPi
@jarkko@social.kernel.org avatar

No more fighting with a loose TTL-USB-cables: I have USB hub shield with USB-to-UART port :-) Or two of these: one for Raspberry Pi 3B+ and other for VisionFive 2 RISC-V SBC (in the pic). Need to still pile a TPM2 chip to the pins on top of the shield and hopefully it will still work.

cwt, to archlinux
@cwt@mtd.bashell.com avatar
santiago, to random
@santiago@masto.lema.org avatar

Not that there’s anything particular about it but here’s the obligatory neofetch shot running Debian (provided image) on after installing everything suggested in QuickStart PDF.

In this context the experience isn’t very different from any ARM board but it’s nice to see in real life.

santiago, to random
@santiago@masto.lema.org avatar

Oops… after booting VisionFive 2 with official SD card I naturally changed the user credentials and naturally ran apt upgrade

Then I read the quick start item 3.5
“Avoid running apt upgrade”

So I guess I lost some custom packages and I just don’t know which ones :/

santiago,
@santiago@masto.lema.org avatar

The board still boots, still has GUI and network.. but anyway rather than being bitten by this later I’ll just reflash and avoid upgrading this time. It’s going to be hard to not do it by accident.

Not planning to use Debian much on this but it'll be a good tool / reference as I try to get running on it.

gyptazy, to debian
@gyptazy@gyptazy.ch avatar

2.48 (2.49-dev) compile for & . Thanks to @grunfink for today's release!

This should help all the people that are running on hardware (like the , , , ...) and also want to run as a instance in the 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

gyptazy, to ubuntu
@gyptazy@gyptazy.ch avatar

This is how one of the cases looks like for the board.

Happy serving on & . Hopefully soon again back on .

gyptazy, to debian
@gyptazy@gyptazy.ch avatar

Do we see here the first ever based node running? I just provided a TOR node for the network on one of my boards. This one currently runs on (will be switched to soon).

gyptazy,
@gyptazy@gyptazy.ch avatar

If someone wants to run a or on his based board (probably mostly users) on can obtain a precompiled version of Tor 0.4.8.10 right here: https://cdn.gyptazy.ch/files/riscv64/debian/tor/

gyptazy, to debian
@gyptazy@gyptazy.ch avatar

You asked for it!

Here's the output on the board based on running . If you have any question, feel free to ask.

maxleibman, (edited ) to sbc
@maxleibman@mastodon.social avatar

The acrylic case and fan I ordered for the VisionFive 2 a few weeks ago arrived today.

Like almost everything in the RISC-V ecosystem, it arrived as a bunch of raw parts without instructions. Nothing I couldn’t handle, though.

boilingsteam, to linux
@boilingsteam@mastodon.cloud avatar
zwangseinweisung, to random German
@zwangseinweisung@mastodon.social avatar

Sodele, mal gugge wie ich das alles miteinander verbaue

maxleibman, to random
@maxleibman@mastodon.social avatar

Greetings from RISC-V!

After kicking this hornets' nest of Linux users in general and RISC-V in particular this week, it occurred to me that I hadn't touched my RISC-V board in months, and things have probably improved in the meantime.

So, I fired up my VisionFive 2 again, and this time finally got it to boot off of an NVMe drive instead of micro SD.

Even with the SSD, it's still pretty pokey, but in an Ubuntu-on-Raspberry-Pi-circa-2020 kind of way (i.e., more or less usable).

maxleibman,
@maxleibman@mastodon.social avatar

I’ve opened LibreOffice and wrote and ran my first (very short) Python script on RISC-V.

Contemplating what place this thing is going to occupy in my computing life.

I suppose I should probably get a case and a fan if I’m going to try to actually use it for anything, but I enjoy seeing it on my desk, picking it up, and messing with it too much.

csgordon, to FreeBSD
@csgordon@discuss.systems avatar

<Vincent Price voice:> It's alive! It's alive! Ah ha ha ha-ha-ha-haaaa!

csgordon,
@csgordon@discuss.systems avatar

Okay, short instructions on booting on a board, maybe I'll put these somewhere more stable later:

  • Grab a copy of https://github.com/robn/freebsd-vf2
  • edit mkvf2img.sh to mention an actually-existing snapshot; I used alpha 2
  • optionally, edit it use grab a newer dtb for the board. 2.5.0 probably still works, but I took a gamble on 3.1.5 and it worked for me.
  • run mkvf2img.sh on a FreeBSD system. If you know how to replace those uses of mdconfig and mkimg (which appear FreeBSD-specific) you could probably get it to run elsewhere, but I don't know how
  • burn vf2.img to an sd card
  • set your board to boot from flash/SPI. On my board (v1.3B) there's already a working u-boot installation there; on earlier boards it's possible you'll have to follow StarFive's directions to flash u-boot if you haven't already (not sure, I only have a recent 1.3B). This is the main thing missing from the instructions in that repo (I'll make a PR at some point), was which u-boot was in use (common instructions work with images that stick a copy of u-boot on the sd card)
  • Now follow the instructions from the readme, using a USB TTL cable, except change the first command to fatload mmc 1:1 0x48000000 dtb/starfive/starfive_visionfive2.dtb (there was a PR that changed where the DTB went). All later commands work as advertised.
  • (they're not kidding about loading of root.img.uzip taking a while)

Useful tips:

  • Along the way you'll see a lot of one particular error message. Clearly something isn't quite right, but don't panic if you see the one error a few hundred times
  • If you get dumped at a dd&gt; prompt you probably mistyped something at the OK prompt (or accidentally hit enter, in which case it tries to boot without a root filesystem)
csgordon,
@csgordon@discuss.systems avatar

Mixed bag today:

  • Good: :openbsd: boots without issue on the without even mucking with u-boot (there are commits from at least 2 OpenBSD devs working with this board, they figured out where to store the EFI loader so the onboard OpenSBI finds it)
  • Good: the latest -current snapshot tries to attach several drivers!
  • Not great: the sd driver complains that it can't get a clock frequency to talk to the card and so doesn't attach. Booting in verbose mode indicates there are other failures attachments (also successful attachments for less exciting items).
  • Hope: I only had time to try a couple dtb versions today, and I tried the latest. But the last commit to the jh7110 files was July, so it was probably last tested with an older version. So maybe backing up to a July or earlier version will work
  • More encouraging news: the changes to the sd card driver basically consist of the driver just saying yes to a new manufacturer string, so if I can get this working under OpenBSD without the clock issue, there's a decent chance support is a similarly straightforward change to an existing driver.

If I can get sd storage working, I could try cross-building a :freebsd: (https://docs.freebsd.org/en/articles/nanobsd/) image for local (over serial) work...

opensuse, to openSUSE
@opensuse@fosstodon.org avatar

Are you in to ? Check out this tutorial for on https://youtu.be/qrly2gV-wMA

Natanox, to 3DPrinting
@Natanox@chaos.social avatar

sigh of course there are multiple Lenovo key cap styles that only differ just slightly enough on their underside (they're visually the same) to make them incompatible. Proprietary bullshittery 101.

There are no files for these (Lenovo V15)... gonna need to make my own.

lpwaterhouse,
@lpwaterhouse@ioc.exchange avatar

@Natanox So true. I've been irked by the same bullshit lately and I've been seriously thinking about building myself a with a fully custom keyboard pcb. I wish there was a better choice of powerful cpus, but maybe a would be easy enough to replace eventually... (I'm the I-need-to-invent-a-programming-language-and-rebuild-the-os-from-first-principles-to-fix-this-off-by-one-pixel-bug kind of geek, obviously :-P)

CyReVolt, to linux
@CyReVolt@mastodon.social avatar

FINALLY!

We just fully booted into on the board using as and a u-root rootfs. 🧑‍💻

This took quite a while again and I had needed some breaks here and there. Go 1.21RC2 has the necessary alignment checks for this to work without too much performance penalty otherwise caused if Linux or (even worse!) oreboot handled this.
In other news, this is a vast improvement to what OpenSBI offers. Less hacks, a cleaner architecture, and IT WORKS! 🥳

easytarget, to 3DPrinting
@easytarget@social.makerforums.info avatar

The GOOD thing about procedural is that you can rapidly iterate lots of versions of the same basic design.

the BAD thing is that you can get carried away..

Still rendering after 45 minutes... and I already can see some things to improve, and a bug. Ho Humm.

-v

fd9a, to guix
@fd9a@fosstodon.org avatar

Finally built a Guix image for visionfive2. 1 Gbit eth0 doesn't work yet and only half of the memory is detected, but it's already possible to write it to a flash drive and get a working system.
https://git.sr.ht/~akagi/vf2-guix
https://paste.sr.ht/~akagi/181a6cd25eefccddc592f8eb303597a437f49909
https://git.sr.ht/~akagi/guix/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • thenastyranch
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • Youngstown
  • everett
  • mdbf
  • slotface
  • ngwrru68w68
  • kavyap
  • provamag3
  • Durango
  • InstantRegret
  • GTA5RPClips
  • tester
  • cubers
  • cisconetworking
  • normalnudes
  • khanakhh
  • modclub
  • anitta
  • Leos
  • megavids
  • lostlight
  • All magazines