[coreboot] Linux kernel as payload?

Timothy Pearson tpearson at raptorengineeringinc.com
Thu Jan 21 18:55:48 CET 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/21/2016 11:49 AM, Kitestramuort wrote:
> On Thu, 21 Jan, 2016 at 4:08 PM, Aaron Durbin via coreboot
> <coreboot at coreboot.org> wrote:
>>
>>
>> You can always kexec() into your new kernel. The one sitting in flash
>> can be smart enough to interrogate your boot media and determine what
>> to load. Then just kexec().
>>
> 
> This is very interesting. So basically I should build a minimal kernel
> with kexec support to launch the "normal" kernel living in /boot. But
> what exactly needs to be compiled in the payload kernel? I guess some
> hardware has to be initialised at this stage... Can I compile it 64bit?
> Is there any further documentation on this?
> 
> I found something on the wiki 
> https://www.coreboot.org/Board:tyan/s2891#LAB_payload
> 
> 
> Thanks

If you're going to go the route of a bootstrap kernel, what about baking
petitboot into the ROM?

https://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html

If your system is 64-bit capable, you can use a 64-bit kernel, no problem.

- -- 
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
http://www.raptorengineeringinc.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJWoRuiAAoJEK+E3vEXDOFbti4IAJw9mltD1d2FRzACzx8jWWVc
H8LJShBzd+E4Vs+nWQ9yZaD0Oy3wj25xQ1uMgBG0exW1w2dEMUc9XQzJyZIxkmwt
lMeN4tgFC2w8jNrXUr7gv7B+MSQlycGohfdA6LCjAgkCXq/EcL32jM515Gin+pJQ
XHdualopCUbDah8lsH/pRrZuasF07i+RVAEyCoUAhB3SDoWqRHrrfoYceP8g9wJc
iF5Z0bMeyaBSVlLWcCJmIIXKjg8mfFGnpEc9qX7eVqRmhloqXiKFj2mRjn/zcKPR
mqxEJptcKR1p3qDDoZrdtPuV6iq6I8VqgE9AcR08cfR6ihPt0ujFjtybtgqclRA=
=jTmV
-----END PGP SIGNATURE-----



More information about the coreboot mailing list