Skip to contentSkip to conversation

silo: Add support for firmware flash images on sun4u and later.

PATCH New David Miller 1 participant 1 message Apr 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 silo: Add support for firmware flash images on sun4u and later.

You specify the flash image just like a kernel image with "image=" and "label=" directives. Then you add the "flash" boolean option.

Here is an example:

image=/flash_image_file
label=whatever
flash

---

I've just used this to update the OBP/POST firmware on a Sunblade 2500 (Silver)

 second/cfg.c  |    1 +
 second/main.c |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 53 insertions(+), 3 deletions(-)
second/cfg.c +1 -0
index 13dfc64..69de34c 100644
@@ -93,6 +93,7 @@ CONFIG cf_image[]      {cft_flag, "pause-after", NULL},
     {cft_strg, "pause-message", NULL},
     {cft_flag, "solaris", NULL},
+    {cft_flag, "flash", NULL},
     {cft_flag, "fill-reboot-cmd", NULL},
     {cft_strg, "bootblock", NULL},
     {cft_flag, "single-key", NULL},
second/main.c +52 -3

91 lines not on this page · raw message

Signature · 1 line
1.7.2.5