Sujet : Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)
De : antispam (at) *nospam* fricas.org (Waldek Hebisch)
Groupes : comp.lang.forthDate : 18. Oct 2024, 03:21:01
Autres entêtes
Organisation : To protect and to server
Message-ID : <vesgmb$1i2rq$1@paganini.bofh.team>
References : 1 2 3 4 5 6 7
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
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