* fix readnvram for the rpi
@ 2018-10-29 20:02 Rodrigo G. López
0 siblings, 0 replies; only message in thread
From: Rodrigo G. López @ 2018-10-29 20:02 UTC (permalink / raw)
To: 9front
[-- 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),
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-29 20:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-29 20:02 fix readnvram for the rpi Rodrigo G. López
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).