• gForth builds from source on StarFive2 JH7110 RISC-V System On Chip

    From jan Coombs@21:1/5 to All on Wed Apr 24 16:48:36 2024
    jan@t530:~$ ssh user@starfive01eth0
    user@starfive01e0's password:
    Linux starfive01 6.1.31-starfive #1 SMP Mon Mar 4 21:31:49 CST 2024 riscv64 [...]
    user@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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anton Ertl@21:1/5 to jan Coombs on Wed Apr 24 16:11:42 2024
    jan Coombs <jan4comp.lang.forth@murray-microft.co.uk> writes:
    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?

    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 <2018Apr9.131810@mips.complang.tuwien.ac.at>.

    In February 2022 we got a VisionFive1 (with Fedora 33), and built
    Gforth on it <2022Feb26.193309@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From mhx@21:1/5 to All on Wed Apr 24 16:26:41 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anton Ertl@21:1/5 to mhx on Wed Apr 24 17:05:32 2024
    mhx@iae.nl (mhx) writes:
    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.

    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.

    does it have FPUs

    Yes, but again, if you want FPUs, your Ryzen or a Raspi 5 will be better.

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From albert@spenarnc.xs4all.nl@21:1/5 to jan4comp.lang.forth@murray-microft. on Thu Apr 25 09:56:08 2024
    In article <20240424164836.01e6364d@t530>,
    jan Coombs <jan4comp.lang.forth@murray-microft.co.uk> wrote:
    jan@t530:~$ ssh user@starfive01eth0
    user@starfive01e0's password:
    Linux starfive01 6.1.31-starfive #1 SMP Mon Mar 4 21:31:49 CST 2024 riscv64 >[...]
    user@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.

    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 -

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)