Discussion:
gForth builds from source on StarFive2 JH7110 RISC-V System On Chip
Add Reply
jan Coombs
2024-04-24 15:48:36 UTC
Reply
Permalink
***@t530:~$ ssh ***@starfive01eth0
***@starfive01e0's password:
Linux starfive01 6.1.31-starfive #1 SMP Mon Mar 4 21:31:49 CST 2024 riscv64
[...]
***@starfive01:~$ gforth
Gforth 0.7.9_20240418 [...]
Type `help' for basic help
ok
: EloWol ( -- ) cr ." Hello Wol, you diverse old chappie" cr ; ok
ok
EloWol
Hello Wol, you diverse old chappie
ok
words
EloWol thread-key prep-key keypollfds UDefer udefer-to kill event-block sleep...
[more testing needed?]

I had to remove the VisionFive2[1] GUI packages before updating to a mostly
regular debian sid. This allowed me to more easily install the tools needed
to bring gForth up from source.

Jan Coombs
--
[1a] RISC-V SBC VisionFive2 Officially Shipped 2022.12.14
https://www.starfivetech.com/en/site/new_details/976

[1b] 2023-01-04 "... it will take several months to mature the VisionFive
2 software ecosystem" Yu Zhang, StarFive

[1c] JH7110 System On Chip [driver problems? still needs more time]

[1d] Imagination BXE-4S32 GPU [awaiting open-source driver(s?) release,
but mostly working presently on black-box-blobs]
https://www.imaginationtech.com/product/img-bxe-4-32-mc2/

Euro150 for development? VisionFive2 RISC-V Single Board Computer,
with StarFive JH7110 System On Chip, Integrated 3D GPU
https://www.waveshare.com/visionfive2.htm

Euro800 for a 14" laptop? [Also uses StarFive JH7110 SOC]
https://deepcomputing.io/product/dc-roma-risc-v-laptop/

Sorry for -ve view. When/if Imagination Technologies release the
driver source for the GPU the JH7110 SOC becomes very attractive,
and this would help lead to further rounds of development.

ISTR Anton installed RISC-V gForth a decade ago, but couldn't find post.
Anton Ertl
2024-04-24 16:11:42 UTC
Reply
Permalink
Post by jan Coombs
I had to remove the VisionFive2[1] GUI packages before updating to a mostly
regular debian sid. This allowed me to more easily install the tools needed
to bring gForth up from source.
Interesting. So there's a Debian for the VisionFive2 (when we got our
VisionFive1, there was only Fedora). What conflicts are there between
the tools needed to bring up Gforth and the GUI packages?
Post by jan Coombs
ISTR Anton installed RISC-V gForth a decade ago, but couldn't find post.
We compiled Gforth on a virtual machine emulating RISC-V (RV64GC) in
2018 <***@mips.complang.tuwien.ac.at>.

In February 2022 we got a VisionFive1 (with Fedora 33), and built
Gforth on it <***@mips.complang.tuwien.ac.at>.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: https://forth-standard.org/
EuroForth 2023: https://euro.theforth.net/2023
mhx
2024-04-24 16:26:41 UTC
Reply
Permalink
I clicked on all the links, but am still in the dark why I should
want this 140$ pcb?

Can I add my own instruction set to it, does it have FPUs, will it
do automatic differentiation?

-marcel
Anton Ertl
2024-04-24 17:05:32 UTC
Reply
Permalink
Post by mhx
I clicked on all the links, but am still in the dark why I should
want this 140$ pcb?
Then you probably don't. We have the VisionFive1 to do testing and
development on RISC-V. But you can do it on an emulator as well.
Post by mhx
Can I add my own instruction set to it,
You can run emulators, but it's better (much faster) to run them on
your Ryzen or maybe a Raspi 5.
Post by mhx
does it have FPUs
Yes, but again, if you want FPUs, your Ryzen or a Raspi 5 will be better.
Post by mhx
will it
do automatic differentiation?
With the right software, sure.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: https://forth-standard.org/
EuroForth 2023: https://euro.theforth.net/2023
a***@spenarnc.xs4all.nl
2024-04-25 07:56:08 UTC
Reply
Permalink
Post by jan Coombs
Linux starfive01 6.1.31-starfive #1 SMP Mon Mar 4 21:31:49 CST 2024 riscv64
[...]
Gforth 0.7.9_20240418 [...]
Type `help' for basic help
ok
: EloWol ( -- ) cr ." Hello Wol, you diverse old chappie" cr ; ok
ok
EloWol
Hello Wol, you diverse old chappie
ok
words
EloWol thread-key prep-key keypollfds UDefer udefer-to kill event-block sleep...
[more testing needed?]
I had to remove the VisionFive2[1] GUI packages before updating to a mostly
regular debian sid. This allowed me to more easily install the tools needed
to bring gForth up from source.
Jan Coombs
--
[1a] RISC-V SBC VisionFive2 Officially Shipped 2022.12.14
https://www.starfivetech.com/en/site/new_details/976
[1b] 2023-01-04 "... it will take several months to mature the VisionFive
2 software ecosystem" Yu Zhang, StarFive
[1c] JH7110 System On Chip [driver problems? still needs more time]
[1d] Imagination BXE-4S32 GPU [awaiting open-source driver(s?) release,
but mostly working presently on black-box-blobs]
https://www.imaginationtech.com/product/img-bxe-4-32-mc2/
Euro150 for development? VisionFive2 RISC-V Single Board Computer,
with StarFive JH7110 System On Chip, Integrated 3D GPU
https://www.waveshare.com/visionfive2.htm
Euro800 for a 14" laptop? [Also uses StarFive JH7110 SOC]
https://deepcomputing.io/product/dc-roma-risc-v-laptop/
Sorry for -ve view. When/if Imagination Technologies release the
driver source for the GPU the JH7110 SOC becomes very attractive,
and this would help lead to further rounds of development.
ISTR Anton installed RISC-V gForth a decade ago, but couldn't find post.
A RISC-V version of ciforth for linux is available via
https://home.hccnet.nl/a.w.m.van.der.horst/lina.html
This is a linux version.
It has been tested on DongshanNeZha STU board with only minor
shortcomings under Ubuntu 22.04.
is
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat purring. - the Wise from Antrim -
Loading...