Sujet : Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 18. Oct 2024, 10:36:04
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$7333f007$3e92c5ac@65cd2d86d6fdd342>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
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) ontolinux 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.htmlAs usual, all words are extensively tested, all words are documented.
There is I/O for this DongshanNeZha STU board.
Serial port is easily configured to accomodate 31.25 baud (midi)
and manx happily plays the "FIG leaf rag" on my keyboard.
For these single board linux computers (also Orange pi, raspberry pi)
I supply
worddoc({INITIALISATIONS},{MMAP-IO},
{memory_map_io},
{},{},{Fills VMA-IO with the memory base address or else an error code.
forthdefi({DEV-MEM}) has been filled at forthdefi({COLD}).
If that failed VMA-IO will contains a same negative number,
that indicates the error. }
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.
Sorry, if I had announced this before.
An official announcement has to wait before a burn in period has expired
and I manage to have TICKS available (blocked by really paranoia protection
shit.)
Groetjes Albert
-- Temu exploits Christians: (Disclaimer, only 10 apostles)Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style WallArt For Home, Office And Garden Decor - Perfect For Windows, Bars,And Gifts For Friends Family And Colleagues.