From: "Rodrigo G. López" <rgl@antares-labs.eu>
To: 9front@9front.org
Subject: fix readnvram for the rpi
Date: Mon, 29 Oct 2018 21:02:14 +0100 [thread overview]
Message-ID: <4bb1-5bd76780-7-ed4f5d0@183119168> (raw)
[-- Attachment #1: Type: text/plain, Size: 105 bytes --]
hi there!
i added new nvram paths for arm at readnvram(2) to deal with the rpi.
cheers!
-rodri
[-- Attachment #2: readnvram.patch --]
[-- Type: application/octet-stream, Size: 516 bytes --]
diff -r 8ae0e1edff80 sys/src/libauthsrv/readnvram.c
--- a/sys/src/libauthsrv/readnvram.c Sun Oct 28 07:10:27 2018 +0100
+++ b/sys/src/libauthsrv/readnvram.c Mon Oct 29 20:42:59 2018 +0100
@@ -50,6 +50,8 @@
"power", "/nvram", 0, sizeof(Nvrsafe), /* OK for Ucu */
"arm", "#F/flash/flash0", 0x100000, sizeof(Nvrsafe),
"arm", "#F/flash/flash", 0x100000, sizeof(Nvrsafe),
+ "arm", "#S/sdM0/nvram", 0, sizeof(Nvrsafe),
+ "arm", "#S/sdM0/9fat", -1, sizeof(Nvrsafe),
"debug", "/tmp/nvram", 0, sizeof(Nvrsafe),
};
reply other threads:[~2018-10-29 20:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4bb1-5bd76780-7-ed4f5d0@183119168 \
--to=rgl@antares-labs.eu \
--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).