From: "Ramakrishnan Muthukrishnan" <ram@rkrishnan.org>
To: 9front@9front.org
Subject: Pi 4 CPU server problems (Was Re: [9front] NVRAM access on Raspi)
Date: Sat, 15 Aug 2020 21:17:59 +0530 [thread overview]
Message-ID: <440bd4b2-77b0-4177-94de-f1febd7136eb@www.fastmail.com> (raw)
In-Reply-To: <a05779a8-7d2d-4198-b95c-257eb9bdf2a0@www.fastmail.com>
On Sat, Aug 15, 2020, at 8:38 PM, Ramakrishnan Muthukrishnan wrote:
>
> I am trying to do exactly this on a Pi4. This is what I did.
>
> I created a file plan9.ini in the dos partition.
>
> 9fs dos
> acme /n/dos/plan9.ini
>
> and added:
> nvram=#S/sdM0/nvram
>
> I did not understand the bit about nvme. What is the line you added for
> that? There is no nvme in /dev/sdM0. I rebooted and auth/wrkey is still
> complaining about nvram. There is no /env/nvram. How did you progress
> from this?
Answering my own query. It looks like on Pi kernels with 9front, plan9.ini does not seem to have any effect. I had to add nvram=#S/sdM0/nvram and service=cpu in the 9fat cmdline.txt file. auth/wrkey did work after that. (I could have just done nvram=/dev/sdM0/nvram as that would create the entry in /env, but took a while to sink in that environment variables are also files and I could just create one on the terminal..)
However, after a reboot, I am dropped into a shell:
cirno#
I can't seem to start rio ("rio -i riostart" says:
rio: can't open display: initdisplay: /dev/draw/new: '/dev/draw' file does not exist.
Indeed, that file does not exist. But I can drawterm into it (via drawterm compiled from 9front website): drawterm -h <ip address of pi> -u glenda
On the terminals, it shows:
aux/kbdfs: warning: can't open /dev/mousein: '/dev/mousein' './dev/mousein' file does not exist
tee: cannot open /dev/eia0: '/dev/eia0' mounted directory forbids creation
I wonder what this is saying. The mouse seem to work and I don't know what the eia device is.
Cheers
--
Ramakrishnan
next prev parent reply other threads:[~2020-08-15 15:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-10 18:14 NVRAM access on Raspi Eckard Brauer
2020-08-10 18:19 ` [9front] " ori
2020-08-10 18:55 ` Eckard Brauer
2020-08-10 19:21 ` Eckard Brauer
2020-08-15 15:08 ` Ramakrishnan Muthukrishnan
2020-08-15 15:47 ` Ramakrishnan Muthukrishnan [this message]
2020-08-15 19:18 ` Pi 4 CPU server problems (Was Re: [9front] NVRAM access on Raspi) Eckard Brauer
2020-08-15 16:45 ` [9front] NVRAM access on Raspi ori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=440bd4b2-77b0-4177-94de-f1febd7136eb@www.fastmail.com \
--to=ram@rkrishnan.org \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).