Re: [SeaBIOS] great things are coming your way :-)

2012-10-17 Thread Peter Stuge
ron minnich wrote: > I don't even know what to say :-) > > Checking out SeaBIOS revision 51755c3b5ed9dcdfdef8cee56631d68642bde416 > Already on 'master' > fatal: reference is not a tree: 51755c3b5ed9dcdfdef8cee56631d68642bde416 Sorry for not testing more thoroughly, the checkout did work for m

Re: [SeaBIOS] [PATCH v2 0/6] add F11 shortcut for network boot

2012-10-17 Thread Kevin O'Connor
On Wed, Oct 17, 2012 at 06:23:42PM +0200, Paolo Bonzini wrote: > This series adds a shortcut for network boot, similar to what is present > on bare-metal machines. F11 will prioritize BCV/BEV entries for network > devices over all the other items of the boot list. > > After testing with a more re

Re: [SeaBIOS] I2C console16/32 segment problems

2012-10-17 Thread Dave Frodin
I found a solution to my problem. My I2C code relies on using several "static int" variables. In order to get the code to build I had to change them to global and add the VAR16VISIBLE definition. int i2c_inited VAR16VISIBLE = 0; My "static" i2c_inited variable doesn't need global visibility.

[SeaBIOS] [PATCH v2 3/6] boot: bump priority of storage-device option ROMs

2012-10-17 Thread Paolo Bonzini
Right now, BCVs have DefaultHDPrio priority, while BEVs have DefaultBEVPrio priority. The right thing to do instead is to look at the PCI class, while keeping DefaultHDPrio priority for legacy option ROMs. Signed-off-by: Paolo Bonzini --- src/boot.c | 7 +-- 1 file modificato, 5 inserzioni(

[SeaBIOS] [PATCH v2 5/6] boot: wait for key release before continuing boot

2012-10-17 Thread Paolo Bonzini
Ensure that SeaBIOS eats the key corresponding to the menu entry, even the user keeps it pressed for a while. Signed-off-by: Paolo Bonzini --- src/boot.c | 6 +- 1 file modificato, 5 inserzioni(+). 1 rimozione(-) diff --git a/src/boot.c b/src/boot.c index e3bdd7b..c136ad4 100644 --- a/src/b

[SeaBIOS] [PATCH v2 6/6] boot: add F11 shortcut for network boot

2012-10-17 Thread Paolo Bonzini
This patch adds a shortcut for network boot, similar to what is present on bare-metal machines. F11 will prioritize BCV/BEV entries for network devices over all the other items of the boot list. Signed-off-by: Paolo Bonzini --- src/boot.c | 36 +++- 1 file modifi

[SeaBIOS] [PATCH v2 4/6] boot: reorganize interactive_bootmenu

2012-10-17 Thread Paolo Bonzini
This reindents the code and introduces a switch statement, to prepare for adding F11 as a shortcut for network boot. Signed-off-by: Paolo Bonzini --- src/boot.c | 76 +- 1 file modificato, 40 inserzioni(+), 36 rimozioni(-) diff --git a

[SeaBIOS] [PATCH v2 0/6] add F11 shortcut for network boot

2012-10-17 Thread Paolo Bonzini
This series adds a shortcut for network boot, similar to what is present on bare-metal machines. F11 will prioritize BCV/BEV entries for network devices over all the other items of the boot list. After testing with a more recent QEMU I found that it deploys a BCV ROM that breaks network boot. So

[SeaBIOS] [PATCH v2 2/6] boot: track the PCI class of BCV/BEV boot entries

2012-10-17 Thread Paolo Bonzini
In order to find network devices in the boot list, remember the PCI class for each BCV/BEV (which is also present in the PNP header as the device type code). Signed-off-by: Paolo Bonzini --- src/boot.c | 10 ++ src/boot.h | 4 ++-- src/optionroms.c | 8 +--- 3 file modi

[SeaBIOS] [PATCH v2 1/6] boot: change definition of IPL_TYPE_* constants

2012-10-17 Thread Paolo Bonzini
We will soon add a PCI class in the low 4 bits. Signed-off-by: Paolo Bonzini --- src/boot.c | 17 + 1 file modificato, 9 inserzioni(+), 8 rimozioni(-) diff --git a/src/boot.c b/src/boot.c index 3ca7960..b9bcb57 100644 --- a/src/boot.c +++ b/src/boot.c @@ -285,12 +285,13 @@ struct

[SeaBIOS] Get rid of a compile time dprintf warning

2012-10-17 Thread Dave Frodin
This patch gets rid of a compile time dprintf warning. A 'long int' was being passed to a '%d'. Signed-off-by: Dave Frodin --- src/post.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/post.c b/src/post.c index 924b311..b84d19e 100644 --- a/src/post.c +++ b/src

Re: [SeaBIOS] [PATCH] add F11 shortcut for network boot

2012-10-17 Thread Paolo Bonzini
Il 16/10/2012 15:36, Peter Stuge ha scritto: > Paolo Bonzini wrote: >> +++ b/src/boot.c >> @@ -400,54 +400,75 @@ interactive_bootmenu(void) >> while (get_keystroke(0) >= 0) >> ; >> >> -printf("Press F12 for boot menu.\n\n"); >> +wait_threads(); >> +struct bootentry_s *po

Re: [SeaBIOS] great things are coming your way :-)

2012-10-17 Thread ron minnich
I don't even know what to say :-) Cloning SeaBIOS from Git Cloning into '/root/coreboot.new/build/seabios'... remote: Counting objects: 8297, done remote: Finding sources: 100% (8297/8297) remote: Total 8297 (delta 6606), reused 8297 (delta 6606) Receiving objects: 100% (8297/8297), 1.93 MiB |

Re: [SeaBIOS] [RFC PATCH v3 06/19] Implement "-dimm" command line option

2012-10-17 Thread Avi Kivity
On 10/17/2012 11:19 AM, Vasilis Liaskovitis wrote: >> >> I don't think so, but probably there's a limit of DIMMs that real >> controllers have, something like 8 max. > > In the case of i440fx specifically, do you mean that we should model the DRB > (Dram row boundary registers in section 3.2.19 o

Re: [SeaBIOS] [RFC PATCH v3 06/19] Implement "-dimm" command line option

2012-10-17 Thread Vasilis Liaskovitis
On Sat, Oct 13, 2012 at 08:57:19AM +, Blue Swirl wrote: > On Tue, Oct 9, 2012 at 5:04 PM, Vasilis Liaskovitis > wrote: > >> snip > >> Maybe even the dimmbus device shouldn't exist by itself after all, or > >> it should be pretty much invisible to users. On real HW, the memory > >> controller o