Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)

Liste des GroupesRevenir à cl forth 
Sujet : Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forth
Date : 19. Oct 2024, 12:20:29
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$1b4bff72$2d921b40@6cc2be919654136f>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <vetqgo$1k6sl$1@paganini.bofh.team>,
Waldek Hebisch <antispam@fricas.org> wrote:
albert@spenarnc.xs4all.nl wrote:
In article <vesgmb$1i2rq$1@paganini.bofh.team>,
Waldek Hebisch <antispam@fricas.org> wrote:
LIT <zbigniew2011@gmail.com> wrote:
I ordered 3 kinds: 64Mb, 256Mb and Milkv-Duo-S (this has 512 Mb).
Linux images fetched from Github boot fine and simple things
work.  This is very minimal Linux, on 64Mb board I get:
>
[root@milkv-duo]~# cat /proc/cpuinfo
processor     : 0
hart          : 0
isa           : rv64imafdvcsu
mmu           : sv39
>
[root@milkv-duo]~# df
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/root         770048 177105    549526  25% /
>
This must be the "largest" one, not that 64 MB,
from what I see ("Available 549526" and its
prompt "root@milkv-duo")? Correct?
>
No. 'df' report "disc" (actually SD-card) space.  'free' reports
RAM:
>
[root@milkv-duo]~# free
             total        used        free      shared
buff/cache   available
Mem:          28972       14496        4148          76
10328       11720
Swap:             0           0           0
>
As you can see "total" is about 29Mb with 4Mb free.  I put total in
quotes because part of RAM is reserved and in default configuration
there is large hunk reserved for media (camera, TPU, etc).
>
Concerning prompt, the 64Mb boards runs Linux and by default offers
root login.
>
--
                             Waldek Hebisch
>
For what it is worth.
I have ported the ciforth model (only 64 bits,the 5.4.0 level) onto
linux running on a riscv, taking advantage from earlier Dutch
implementation of noforth for triecky code words (UMD/MOD).
http://home.hccnet.nl/a.w.m.van.der.horst/lina.html
As usual, all words are extensively tested, all words are documented.
>
Thanks, works on Milkv.
>
Once you have mapped the io space in virtual space and access it
via VMA-IO, you can apply all knowledge gained from the documentation
of the underlying System On a Chip.
For this particular board the printed circuit layout, the schematics
(9 pages) and a full 1000+ page documentation of the SoC (Allwinner
D1) is available. That is why I bought it.
>
For Milkv there are schematics and chipset documentation (I did not
check how complete it is).

Could you try if the mapping succeeds?
Start up as root.
Now do
  MMAP-IO
and check VMA-IO
It contains the virtual memory address, or possible an error code
-13. The SoC descriptions maps from VMA-IO.
You can also check DEV-MEM that should be 4, normally.
In forth.lab you can see the use of MMAP-IO in relation to
a number of SoC's.
I strive to have working: set-function gpio-on gpio-off gpio-on.
The io-nummers are system dependant.

--
                             Waldek Hebisch
--
Temu exploits Christians: (Disclaimer, only 10 apostles)
Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style Wall
Art For Home, Office And Garden Decor - Perfect For Windows, Bars,
And Gifts For Friends Family And Colleagues.

Date Sujet#  Auteur
24 Sep 24 * 1 euro Olimex RISC-V mini-PC: this needs Forth ;)35Paul Rubin
25 Sep 24 +* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)12dxf
25 Sep 24 i+* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)10Paul Rubin
25 Sep 24 ii`* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)9dxf
25 Sep 24 ii `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)8Paul Rubin
29 Sep 24 ii  +- Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)1Waldek Hebisch
29 Sep 24 ii  `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)6LIT
29 Sep 24 ii   `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)5dxf
29 Sep 24 ii    `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)4LIT
30 Sep 24 ii     `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)3dxf
30 Sep 24 ii      `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)2LIT
30 Sep 24 ii       `- Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)1dxf
28 Sep 24 i`- Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)1LIT
25 Sep 24 +- Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)1David De La Harpe Golden
29 Sep 24 +- Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)1Waldek Hebisch
29 Sep 24 `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)20LIT
29 Sep 24  `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)19Paul Rubin
29 Sep 24   `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)18LIT
29 Sep 24    `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)17Paul Rubin
17 Oct 24     `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)16Waldek Hebisch
17 Oct 24      `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)15LIT
18 Oct 24       `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)14Waldek Hebisch
18 Oct 24        `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)13albert
18 Oct 24         `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)12Waldek Hebisch
19 Oct 24          `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)11albert
21 Oct 24           `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)10Waldek Hebisch
21 Oct 24            `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)9Waldek Hebisch
21 Oct 24             +* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)2albert
23 Oct 24             i`- Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)1Waldek Hebisch
26 Oct 24             `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)6Waldek Hebisch
26 Oct 24              +* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)3albert
26 Oct 24              i`* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)2Waldek Hebisch
27 Oct 24              i `- Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)1albert
26 Oct 24              `* Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)2albert
26 Oct 24               `- Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)1Waldek Hebisch

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal