<div>Thanks for the offer. I'll think about it once I can get a linux kernel working in my own hardware. :)<br></div><div><br></div><div>There is no dedicated serial port though I guess I could do serial over usb if I needed to.<br></div><div><br></div><div>It makes more sense to me to start by using the kernel I already have if possible and move to a custom kernel once I know that works. I have enough space for a kernel at this point though depending on the combined size of kernel + initrm I may run into a problem. I'm really not sure how big the initrd will end up being or if there is an option to link to the initrd on the hard drive.</div><div><br></div><div class="protonmail_signature_block "><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton ">Sent with <a href="https://protonmail.com">ProtonMail</a> Secure Email.<br></div></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div>-------- Original Message --------<br></div><div>Subject: Re: [coreboot] kernel payload<br></div><div>Local Time: May 5, 2017 12:14 PM<br></div><div>UTC Time: May 5, 2017 6:14 PM<br></div><div>From: rminnich@gmail.com<br></div><div>To: Healer64 <Healer64@protonmail.com><br></div><div>coreboot@coreboot.org <coreboot@coreboot.org><br></div><div><br></div><div dir="ltr"><div>neat! Do you have serial console or  just graphics?<br></div><div><div><br></div><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<br></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).<br></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.<br></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 ...<br></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" rel="noreferrer nofollow noopener">u-root.tk</a>.<br></div><div><br></div><div><br></div></div></div></blockquote><div><br></div>