Hi Alex,<div>Thank for you suggestion. I think bayou is suitable for me.<br><div><br><div class="gmail_quote">On Sun, Aug 12, 2012 at 6:40 PM, Alex G. <span dir="ltr"><<a href="mailto:mr.nuke.me@gmail.com" target="_blank">mr.nuke.me@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 08/10/2012 03:09 AM, Lap Ngo Doan wrote:<br>
> Hi all, As you may know, when we enter to BIOS, we can use the<br>
> keyboard to change some settings such as : enable/disable<br>
> something, change boot devices priority ....It is kind of user<br>
</div>> interface on BIOS. In the coreboot website, they said "*coreboot*<br>
> is a Free Software project aimed at *replacing the<br>
> proprietary**BIOS*<br>
This statement is unfortunately misleading. It's not our fault really.<br>
It comes from the tendency to name the firmware "BIOS", which is in<br>
fact hardware initialization, then the actual BIOS.<br>
Coreboot is the hardware initialization part.<br>
<div class="im"><br>
> If we want to add some interactions with hardware like BIOS<br>
> firmware provided us (use keyboard to enable/disable some<br>
> options....),  how could we do it with coreboot?<br>
<br>
</div>Keep those settings in NVRAM, and write a payload to read and modify<br>
NVRAM. libpayload is there for the taking; the biggest hurdle may be<br>
figuring out how to parse NVRAM (different hardware stores different<br>
settings in different places). You might also need to modify parts of<br>
coreboot to make it use NVRAM for settings.<br>
Some to most boards have a cmos.layout file. You can find a way to<br>
make that available to your payload. You have a bunch of options to<br>
play with.<br>
<br>
Then SeaBIOS can boot from CBFS, and you'd just have to use its boot<br>
menu to load your payload. For all others, there's debit bayou.<br>
<br>
This sounds like a cool project, and a nice way to get your hands<br>
dirty with coreboot, learn your way around.<br>
<br>
Alex<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iQIcBAEBAgAGBQJQKDDgAAoJEL0kPHNPXJJKSdMP/jIJ5NMpaDSHydv1SVPOXmPt<br>
D4uuUogV+8sDk+dqaSoTfwpXlW9UMSaAXjFbMfoF+zA0iIU9uyNyVfzuVtabNRoO<br>
TsvhF7VM+UfIHsGoNBDdwAfdAqswdvx8gQ9RlpsUv9jTI9uC00iX/FWB30NKI5Sf<br>
oic4kxqTkU5+Akhz3htk0Hn71ZozmdaNy/xS50X1bMeeiYRSEZMsCVNX9KR2rmHX<br>
P2fTA697xXkpv1ZtnwvhTAZ4cbpPMsYaEBKOw41uF441XA0TmvV9qbHpG5NFOODz<br>
1YueHPgieFXQzvV3gsFF/vBWcBe60CSId9WwlIJuWnMakBULXfVJWCAx3LCRpq5m<br>
/iiS188ENXQ24dSkKjmOcf4Hxdfbat+szZRW4dBFdx9/LKl6XaVsvVRDmcjsrqKu<br>
YbLxyJGRCWSXViE99Cf4/jcSB20w8+wLwWgfqVSagj0A2RGD6V1l6j/YyK0vj02j<br>
BVko7oKial4NQczBT7JzExhw20+HmYNE4b0VZtTwRGqjI3aVn02Y+bk8c+sAx0th<br>
p5r5FLAsq01Z7TyoKnPVMUenTWFP2FsV9uEFEHqx1fAXAkBp/G9xaHVaQGhcQW+y<br>
Gp1p0whgVIOJHvqvH7YVrXwjTf01FY3unwTnZhZnEFsZ8I+yvz7zKnOHDgCfFv0s<br>
twX/0lgHUW2HDSZ1NwcD<br>
=Dftw<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div></div>