Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Risc-v
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 19113

PostPosted: Sun Aug 08, 2021 8:08 pm    Post subject: Reply with quote

pa4wdh wrote:
pa4wdh wrote:

These days the controllers are more or less complete systems in itself. A nice proof of that is a talk of a guy that installed Linux on his harddrive ... the harddrive controller that is :) I can't find a link to the video now :(

I found the video again: http://spritesmods.com/?art=hddhack (the link to the actual video is on that page)
Have fun :)
Thanks. That's really cool and disturbing. It also makes me wish I could repurpose my old hard drives, and that I'd gone into hardware/electrical engineering (far from the first time).
_________________
Magna Carta (1215) | Spectral evidence no longer permissible (c. 1792) | Cancel culture, deplatforming (c. 2016)
Back to top
View user's profile Send private message
pa4wdh
Guru
Guru


Joined: 16 Dec 2005
Posts: 556

PostPosted: Sat Sep 25, 2021 9:07 am    Post subject: Reply with quote

It has been quite some time since we posted in this topic, and I'd like to give an update:

What works:
- EFI Booting with grub (instead of only u-boot), which requires quite some patching to grub
- Recent 5.13 kernels, the amount of patching required is becoming lower and lower (which is a good thing)
- NFS Client
- Bluetooth (using a USB BT dongle), i was able to play music from a NFS share to a bluetooth speaker withing bluez-alsa
- OpenVPN, OpenVPN-NL, OpenSC, pcsc-lite and ccid, so you can even use smartcards to setup a VPN, it can handle 5.5-6.0 MB/s of VPN traffic
- I don't have a GPU, but i can use xdm and awesomewm via a remote X server
- Playing videos over ssh with mplayer and aalib ;)
- Alsa with a USB audio device

What doesn't work:
- RTC (there are some unofficial patches, but since it's the same chip that does power regulation I'm not a fan of unofficial patches in this area)
- Reboot (same issue as previous, same chip that handles it)
- Scummvm (but that's due to the remote X server, it uses shared memory with the X server for graphics)

It still amazes me how much packages aren't even keyworded for RISC-V and still compile and function properly. I guess most programs are already written to be compiled on different architectures (like arm, mips, x86, amd64) and that helps RISC-V a lot :)
_________________
The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world

Free as in Freedom is not limited to software only:
Music: http://www.jamendo.com
Recipes: http://www.opensourcefood.com
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 2416
Location: Rasi, Finland

PostPosted: Tue Oct 12, 2021 3:14 pm    Post subject: Nice update! Reply with quote

pa4wdh, what board you have? Nice improvements.
    How's the compiling times?
    ...or have you set up a binhost?
    How's the power consumption?

_________________
..: Zucca :..
Gentoo IRC channels no longer reside on freenode but instead on Libera.Chat.
[Quick IRC quide]
Back to top
View user's profile Send private message
pa4wdh
Guru
Guru


Joined: 16 Dec 2005
Posts: 556

PostPosted: Tue Oct 12, 2021 5:09 pm    Post subject: Reply with quote

Quote:
what board you have?

It's the Sifive HiFive Unmatched: https://www.sifive.com/boards/hifive-unmatched

Quote:
How's the compiling times?
...or have you set up a binhost?

I always compile from source, no exceptions :wink:. Compile times are long but not excessive.
As an indication, this is way qlop says about gcc:
Code:
2021-07-24T18:29:29 >>> sys-devel/gcc: 7:56:20
2021-09-15T12:53:28 >>> sys-devel/gcc: 7:52:47

This is done with -j5 in maketops and /var/tmp on tmpfs.

Quote:
How's the power consumption?

I posted that earlier in this topic, so i'll quote myself :)
Quote:
I did some power measurements and it consumes 37 watts for the board and SSD (and probably some losses in the PSU). My J1900 which has double the performance, and an SSD and a (built-in) GPU uses 33 Watts.

_________________
The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world

Free as in Freedom is not limited to software only:
Music: http://www.jamendo.com
Recipes: http://www.opensourcefood.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum