<div dir="ltr">And let's not forget John Lewis' excellent work on JELTKA for chromebooks, which is also Linux and kexec. I've used it and it's great.<div><br></div><div>I have a replacement for petitboot which is an all-Go userland: u-root. Programs  in the root file system are Go source and are compiled on first use -- there's a full Go toolchain embedded in flash. There are only 5 userland binaries on the root file system, four of which are Go toolchain, one is /init, and the rest is all Go source. I've got this working today on a KGPE-D16. I first tested it in Prague in 2014, and we've also had it working on the Gizmo II and a Chromebox. If you have 16 MiB flash, it just works -- really. <br><div><br></div><div>So there's five efforts, working today, all based on linux and kexec, and at least one in commercial use.</div><div><br></div><div>I think the lifeboat should come with a penguin painted on its side. It's known to work -- since 1999 :-) -- and it avoids recreating the full universe of drivers, protocols, file systems, and so on. </div><div><br></div><div>ron</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Nov 26, 2016 at 4:20 PM Zaolin <<a href="mailto:zaolin@das-labor.org">zaolin@das-labor.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
    <p class="gmail_msg">In my opinion there are currently two payloads which are really
      interesting and promising for end users:</p>
    <p class="gmail_msg">* HEADS - <a class="m_3297935995391858888moz-txt-link-freetext gmail_msg" href="https://github.com/osresearch/heads" target="_blank">https://github.com/osresearch/heads</a></p>
    <p class="gmail_msg">* Petitboot -
      <a class="m_3297935995391858888moz-txt-link-freetext gmail_msg" href="https://secure.raptorengineering.com/content/kb/1.html" target="_blank">https://secure.raptorengineering.com/content/kb/1.html</a></p>
    <p class="gmail_msg">I am currently working on the UI of Heads. So feel free to
      contribute ;)</p>
    <p class="gmail_msg"><br class="gmail_msg">
    </p>
    <p class="gmail_msg">Best Regards</p></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
    <p class="gmail_msg">Zaolin<br class="gmail_msg">
    </p></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
    <br class="gmail_msg">
    <div class="m_3297935995391858888moz-cite-prefix gmail_msg">On 11/26/2016 11:47 PM, ron minnich
      wrote:<br class="gmail_msg">
    </div>
    </div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><blockquote type="cite" class="gmail_msg">
      <div dir="ltr" class="gmail_msg">Oh, my fingers type too much for me now.
        <div class="gmail_msg"><br class="gmail_msg">
        </div>
        <div class="gmail_msg"><span style="color:rgb(33,33,33)" class="gmail_msg">The current set of (as
            you point out) not terrific options is a result of linux
            growing too big for flash, and flash growing too SMALL for
            linux, ca. 2002, when we adopted the payload model.<span class="m_3297935995391858888inbox-inbox-Apple-converted-space gmail_msg"> </span></span><br class="gmail_msg">
        </div>
      </div>
      <br class="gmail_msg">
      </blockquote></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><blockquote type="cite" class="gmail_msg"><div class="gmail_quote gmail_msg">
        <div dir="ltr" class="gmail_msg">On Sat, Nov 26, 2016 at 3:46 PM ron minnich <<a href="mailto:rminnich@gmail.com" class="gmail_msg" target="_blank">rminnich@gmail.com</a>>
          wrote:<br class="gmail_msg">
        </div>
        </div></blockquote></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><blockquote type="cite" class="gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr" class="gmail_msg">coreboot today is linuxbios
            minus the linux. The original intent was always that linux
            be our lifeboat. The current set of (as you point out) not
            terrific options is a result of linux growing too big for
            flash, and flash growing too big for linux, ca. 2002, when
            we adopted the payload model. The original keyword in the
            config file was 'linux', not 'payload'. The bootloaders we
            adopted (etherboot, filo, ...) were never (to me) a very
            satisfactory replacement for linux. They always came with
            lots of limitations. 
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">But why linux? Why a full OS? Simple
              observation, here in my 35th year of working with firmware
              and bootloaders. </div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">Every bootloader starts simple, and
              becomes an OS. Every single one starts with the intent of
              being small and compact and only supporting some needed
              subset of file systems/devices/protocols and ends up
              implementing everything. Because there was an attempt to
              start out simple, no matter how good the intial design is,
              that design is overwhelmed by the continuous addition of
              features, the result being a badly bloated, huge system
              with no apparent design.</div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">The exception, it has been argued, is
              EFI, which had some sort of design in 1999. From my point
              of view, it skipped right past all the initial stages and
              entered the world bloated and with no apparent design, or
              at least not a very good one.</div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">So you need to think, not in terms of
              lean and clean, but in terms of what it looks like after a
              few years when everyone has attached their favorite
              features to your lifeboat. I think it's a mistake to ever
              think you are going to implement some limited-function,
              limited-footprint bootloader, because people will jump on
              it and just add code. Just look at what's happened with
              systemd.</div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">Also worth considering is that the
              tinykernel configs have got linux down to 400K. You can
              trim it down to that, and carefully add features back.
              This comes with huge benefits I think. You get drivers
              that work, protocols that work, all the file systems you
              want, and you can put nice interactive boot UIs in user
              mode. Today's flash parts are more than large enough to do
              a good environment -- tinycore linux could be used, for
              example, once it was trimmed a bit. It's only about 12M
              today with a full X environment. </div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">Power8 and Power9 systems use linux
              in flash as their bootloader. This example has not been
              lost on other systems being developed today.</div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">I think it's worth considering a
              tinykernel linux as bootloader before you start with a new
              thing.</div>
          </div>
          <div dir="ltr" class="gmail_msg">
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">ron</div>
          </div>
        </blockquote>
      </div></blockquote></div></blockquote></div>