<div><span class="highlight" style="background-color:rgb(255, 255, 255)"><span class="colour" style="color:rgb(85, 85, 85)"><span class="font" style="font-family:Arial, "Helvetica Neue", Helvetica, sans-serif"><span class="size" style="font-size:14px">An auron yuna chromebook.</span></span></span></span><br></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 11:18 AM<br></div><div>UTC Time: May 5, 2017 5:18 PM<br></div><div>From: rminnich@gmail.com<br></div><div>To: Healer64 <Healer64@protonmail.com>, coreboot@coreboot.org <coreboot@coreboot.org><br></div><div><br></div><div dir="ltr">First off, what board is this on? <br></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Fri, May 5, 2017 at 10:12 AM Healer64 via coreboot <<a href="mailto:coreboot@coreboot.org" rel="noreferrer nofollow noopener">coreboot@coreboot.org</a>> wrote:<br></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" class="gmail_quote"><div>I've looked through all the docs I can find on this, but there doesn't seem to be much available. Hopefully some of you can help answer my questions. My distribution includes a vmlinuz kernel. Do I need to compile a custom bzimage kernel or will the stock kernel suffice?<br></div><div><br></div><div>I am using lvm on a dmcrypted disk for the root filesystem. Presumably these binaries and helper scripts will be needed in the initrd. So far the only help I've seen on creating the initrd for the payload is Ron's email to this list where he says <br></div><div><br></div><div>"Your best bet is to do the standard trivial initramfs with a simple program: main(){printf("hi\n"); while (1);} Let's pretend it's called mymain.c cc -o mymain -static mymain.c put that in your prototype root file system with the name init. make sure you create /dev/console. Then bundle it all up with cpio and you've got an initramfs"<br></div><div><br></div><div>That seems to describe more of a shim than a true initrd. Also he mentions initramfs whereas menuconfig asks for initrd. Which is correct? I don't see any reference to filesystem drivers in Ron's email, but surely they are required to mount the root. I'm guessing this is a test example that is not intended to boot. <br></div><div><br></div><div>Can anyone provide help or instructions on an actual bootable initrd/initramfs? Can a pointer to the initramfs in /boot be used? What kind of size will it be? My rom is limited to 8Mb and the kernel is over 5Mb.<br></div><div><br></div><div class="m_-7797733419314028741protonmail_signature_block"><div class="m_-7797733419314028741protonmail_signature_block-user m_-7797733419314028741protonmail_signature_block-empty"><br></div><div class="m_-7797733419314028741protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" rel="noreferrer nofollow noopener">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>--<br></div><div> coreboot mailing list: <a href="mailto:coreboot@coreboot.org" rel="noreferrer nofollow noopener">coreboot@coreboot.org</a><br></div><div> <a rel="noreferrer nofollow noopener" href="https://mail.coreboot.org/mailman/listinfo/coreboot">https://mail.coreboot.org/mailman/listinfo/coreboot</a><br></div></blockquote></div></blockquote><div><br></div>