<div dir="ltr">neat! Do you have serial console or  just graphics?<div><br><div>We've been doing a lot of this linux payload stuff lately. I assume you can recover from a bad image. If so, I'd recommend building a kernel with kerneltiny config</div><div>(or whatever it's called -- tinykernel?), add back in console support of your choice, set the command line in menuconfig for earlypintk=tty0 or ttyS0,keep and boot it and see how far it gets. the kerneltiny configf can get you to a 400K bzImage so it's worth the effort to start small and grow it up -- that's how we've done it in my project at Google (not a chromeos project, though I'll be talking about it this fall).</div><div><br></div><div>To give you an idea of just how far the tiny kernel stuff goes, it removes all tests for uid != 0 and also all options to set uid to !0. This makes sense in a firmware payload. There's a lot of space saving options in that config and that's how you get a tiny kernel.</div><div><br></div><div>Once you get past this point you can then look at what initramfs to add. Or maybe you are past that point, but let's talk. I've been doing this a lot for the past year and I have probably made lots of mistakes I can help you avoid ...</div><div><br></div><div>BTW, I'm looking for people to work with on a project embedding Linux and a Go userland in flash, so if anyone out there wants to get involved, please, we need your brains. see <a href="http://u-root.tk">u-root.tk</a>.</div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 5, 2017 at 11:02 AM Healer64 <<a href="mailto:Healer64@protonmail.com">Healer64@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Yes, I currently have a grub payload that mostly works.</div><div><br></div><div class="m_6792130179124747357protonmail_signature_block"><div class="m_6792130179124747357protonmail_signature_block-user m_6792130179124747357protonmail_signature_block-empty"><br></div><div class="m_6792130179124747357protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div><blockquote class="m_6792130179124747357protonmail_quote" type="cite"><div>-------- Original Message --------<br></div><div>Subject: Re: [coreboot] kernel payload<br></div><div>Local Time: May 5, 2017 11:25 AM<br></div><div>UTC Time: May 5, 2017 5:25 PM<br></div><div>From: <a href="mailto:rminnich@gmail.com" target="_blank">rminnich@gmail.com</a><br></div><div>To: Healer64 <<a href="mailto:Healer64@protonmail.com" target="_blank">Healer64@protonmail.com</a>>, <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a> <<a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a>><br></div><div><br></div><div dir="ltr"><div>OK, so you told me off-list it's an auron. <br></div><div><br></div><div>Did you try the full build/boot cycle with an unmodified coreboot first?<br></div></div></blockquote></blockquote></div>