From: Richard Miller <9fans@hamnavoe.com>
To: jrmu@inter9.org, users@p9f.org, 9fans@9fans.net
Subject: [9fans] Re: [p9fUsers] Re: Plan 9 rpi nvram not found
Date: Wed, 30 Oct 2024 14:54:01 +0000 [thread overview]
Message-ID: <da520de8f4cda8e5adbfaff1490a9216@hamnavoe.com> (raw)
In-Reply-To: <ZyHL2dnIY9IHP8SK@inter9.org>
> I tried adding nvram='#S/sdM0/nvram' into cmdline.txt as follows:
>
> readparts=1 nobootprompt=local console='0 b115200' ether1=type=4330 nvram='#S/sdM0/nvram'
>
> but the readnvram still says it can't find nvram.
When connecting via serial port, you don't have a user-friendly line-editing interface
so it's possible to get inadvertent control characters embedded in a string. Try this
experiment and see if you get a similar result:
init: starting /bin/rc
% echo $user
somebody
% echo $nvram
#S/sdM0/nvram
% echo $nvram | xd -c
0000000 # S / s d M 0 / n v r a m \n
000000e
% ls -l $nvram
--rw-r----- S 0 somebody somebody 512 Apr 14 19:54 '#S/sdM0/nvram'
% auth/readnvram
key proto=p9sk1 user=hamnavoe dom=hamnavoe.com !hex=XXXXXXXXXXXXXX !password=______
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9bb336bb1166fd70-M196830fc7d2db2b3b4c6eb94
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next parent reply other threads:[~2024-10-30 14:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ZyHL2dnIY9IHP8SK@inter9.org>
2024-10-30 14:54 ` Richard Miller [this message]
[not found] <ZyhnwidMOQUY4pOh@ircnow.org>
2024-11-05 11:04 ` Richard Miller
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=da520de8f4cda8e5adbfaff1490a9216@hamnavoe.com \
--to=9fans@hamnavoe.com \
--cc=9fans@9fans.net \
--cc=jrmu@inter9.org \
--cc=users@p9f.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).