Gentoo Archives: gentoo-embedded

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Re: boot linux without a bios on intel platform
Date: Thu, 23 Dec 2010 15:05:33
Message-Id: AANLkTi=WJEpf3SaD7mZ-0+CZPr6oANtD9HTcZ+6QvFVJ@mail.gmail.com
In Reply to: Re: [gentoo-embedded] Re: boot linux without a bios on intel platform by Peter Stuge
1 On Thu, Dec 23, 2010 at 1:53 PM, Peter Stuge <peter@×××××.se> wrote:
2
3 > Kfir Lavi wrote:
4 > > > I have an intel board, and the bios boots after 22sec.
5 > > > Is it possible to boot the linux without a bios.
6 >
7 > coreboot is your only alternative to a BIOS. I'm active in the
8 > project since some years. Instead of coreboot you could of course
9 > also consider buying licenses for a custom BIOS from AMI but that
10 > is often prohibitively expensive.
11 >
12 >
13 > > I have spoke in irc #gentoo-embedded with landley and he explained
14 > > some stuff about my question regarding coreboot, uboot on x86.
15 >
16 > uboot is not widely used on x86 so far. There has been some talk
17 > between coreboot and uboot because the two could complement each
18 > other well, but not yet.
19 >
20 > You're of course welcome to stop by #coreboot and talk to us, and/or
21 > check out some of the talks.
22 >
23 > http://www.coreboot.org/Screenshots#Videos
24 >
25 > I'd recommend "Beyond The Final Frontier" from 25C3 as a start:
26 >
27 >
28 > http://www.coreboot.org/Screenshots#Chaos_Communication_Congress_2008_.2825C3.29:_coreboot:_Beyond_The_Final_Frontier
29 >
30 > coreboot completes it's task in a few hundred milliseconds. Some more
31 > complicated boards (lots of busses and CPUs) take longer, maybe a
32 > second or even two.
33 >
34 > We have a list of supported mainboards:
35 >
36 > http://www.coreboot.org/Supported_Motherboards
37 >
38 > If your board is not listed it may be easy or it may be hard. When
39 > talking to us about it please be sure to provide very specific
40 > information about your hardware. "intel board" is e.g. useless, we
41 > need details for CPU, chipset, superio and the boot flash.
42 >
43 > As a general rule, NVIDIA and Intel are the worst possible targets
44 > for coreboot, because they will not release documentation.
45 >
46 > NVIDIA is simply impossible. Intel can be done, but you need a strong
47 > business case with promise of many many units, and you need to sign
48 > two NDAs in order to access the required, but insufficient,
49 > documentation. The docs have some information but not all. It's
50 > generally neccessary to reverse engineer parts of the factory BIOS in
51 > order to actually get a board fully working.
52 >
53 > On the opposite end of the spectrum is AMD, who have engineers
54 > actively contributing code to coreboot. AMD recently let us know that
55 > they will be adding AGESA support to coreboot, as well as releasing
56 > AGESA under open source license, which means that coreboot will be
57 > able to initialize many if not all AMD platforms with the code
58 > written by AMD themselves, which is also being used by commercial
59 > BIOS vendors. (AGESA is a firmware plugin system for AMD systems.)
60 > This is of course really great news! :)
61 >
62 > There was mention of BOCHS BIOS in the chat log. coreboot does not
63 > want to be a BIOS, because BIOS is a 30 year old concept. There is
64 > clean separation between coreboot and what we call a payload.
65 > coreboot does hardware init, the payload starts the operating system.
66 > I rant about ACPI a bit in the talks.
67 >
68 > Payloads can be bootloaders or even a kernel. But for maximum
69 > performance you will want to use SeaBIOS, an open source BIOS
70 > implementation, as payload - because it supports ATA DMA, and boot
71 > flash is much slower than that. (See http://stuge.se/pc2010.png - the
72 > flash chip is *far* away from the CPU, on a slow bus.)
73 >
74 > SeaBIOS was originally forked from BOCHS BIOS, but is very much a
75 > project of it's own by now, is continually being updated, and is also
76 > the default BIOS shipped with QEMU since some versions back.
77 >
78 >
79 > Hope this helps clarify a bit.
80 >
81 > //Peter
82 >
83 > Hi Peter,
84 Thanks for your lengthy replay. Very interesting talk.
85 I loved the push pins idea. Now I'm asking myself,
86 how I didn't thought about it myself. I used a paper clip, but it is
87 awkward.
88 I have a kontron board with an intel cpu. How can I get the spec with the
89 parts
90 in order to check if I will be able to use coreboot?
91 Attached is the lspci of the board.
92 I would also like to know (if it is possible) how hard is to create support
93 for this
94 board myself.
95
96 Regards,
97 Kfir

Attachments

File name MIME type
lspci.txt text/plain

Replies

Subject Author
Re: [gentoo-embedded] Re: boot linux without a bios on intel platform Peter Stuge <peter@×××××.se>