Re: [coreboot] [U-Boot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Wolfgang Denk
Dear Kevin O'Connor, In message <20110511035148.GA14339@morn.localdomain> you wrote: > > > And what about all those Linux drivers in drivers/video - Would porting > > them (to U-Boot) elliminate the need for BIOS/Option ROMs > > I'm not really sure - I'd guess it will vary significantly from card

Re: [coreboot] [PATCHes] Adopt coreboot build system for libpayload

2011-05-10 Thread Patrick Georgi
Am 10.05.2011 22:19, schrieb Stefan Reinauer: > * Patrick Georgi [110510 21:24]: >> -## modification, are permitted provided that the following conditions > Hm... can we relicense this under the original license instead? I > dislike going to GPL in an otherwise cleanly BSD license based project. >

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Kevin O'Connor
On Wed, May 11, 2011 at 01:27:30PM +1000, Graeme Russ wrote: > On Wed, May 11, 2011 at 1:20 PM, Kevin O'Connor wrote: > > On Wed, May 11, 2011 at 01:12:16PM +1000, Graeme Russ wrote: > >> What does Linux do? i.e. if you boot Linux from coreboot, how does it > >> output to the VGA console? I know i

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Graeme Russ
On Wed, May 11, 2011 at 1:20 PM, Kevin O'Connor wrote: > On Wed, May 11, 2011 at 01:12:16PM +1000, Graeme Russ wrote: >> >> > for two or three graphics chipsets. SeaBIOS can initialize any VGA >> >> > option ROM, but then you need SeaBIOS in the loop. >> >> > Option ROMs are ageold technology and

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Kevin O'Connor
On Wed, May 11, 2011 at 01:12:16PM +1000, Graeme Russ wrote: > >> > for two or three graphics chipsets. SeaBIOS can initialize any VGA > >> > option ROM, but then you need SeaBIOS in the loop. > >> > Option ROMs are ageold technology and stupid, but they are still > >> > firmly entrenched in PC har

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Graeme Russ
>> > for two or three graphics chipsets. SeaBIOS can initialize any VGA >> > option ROM, but then you need SeaBIOS in the loop. >> > Option ROMs are ageold technology and stupid, but they are still >> > firmly entrenched in PC hardware. A BIOS was always there so everyone >> > assumes it will alway

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Kevin O'Connor
On Wed, May 11, 2011 at 02:46:53AM +0200, Peter Stuge wrote: > Graeme Russ wrote: > > >> Would be interesting to investigate implementing a stub in U-Boot to > > >> initialise and use VGA option ROMs > > > > > > VGA option ROMs call BIOS functions.  So, one needs a BIOS > > > implementation (eg, Se

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Graeme Russ
On Wed, May 11, 2011 at 10:46 AM, Peter Stuge wrote: > Graeme Russ wrote: >> >> Would be interesting to investigate implementing a stub in U-Boot to >> >> initialise and use VGA option ROMs >> > >> > VGA option ROMs call BIOS functions.  So, one needs a BIOS >> > implementation (eg, SeaBIOS) or an

Re: [coreboot] [U-Boot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Kevin O'Connor
On Wed, May 11, 2011 at 10:11:41AM +1000, Graeme Russ wrote: > On Wed, May 11, 2011 at 4:03 AM, Wolfgang Denk wrote: > > In message <4dc94cd4.2050...@gmail.com> you wrote: > >>  - coreboot payloads should be in ELF (linked to libpayload) > > > > Is this really necessary, assuming we have a self-co

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Kevin O'Connor
On Wed, May 11, 2011 at 10:40:23AM +1000, Graeme Russ wrote: > On Wed, May 11, 2011 at 10:23 AM, Kevin O'Connor wrote: > > VGA option ROMs call BIOS functions.  So, one needs a BIOS > > implementation (eg, SeaBIOS) or an emulator for them (eg, in > > coreboot). > > How many functions are needed?

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Peter Stuge
Graeme Russ wrote: > >> Would be interesting to investigate implementing a stub in U-Boot to > >> initialise and use VGA option ROMs > > > > VGA option ROMs call BIOS functions.  So, one needs a BIOS > > implementation (eg, SeaBIOS) or an emulator for them (eg, in > > coreboot). > > How many funct

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Graeme Russ
Hi Kevin On Wed, May 11, 2011 at 10:23 AM, Kevin O'Connor wrote: > On Wed, May 11, 2011 at 09:44:00AM +1000, Graeme Russ wrote: >> On Wed, May 11, 2011 at 2:08 AM, Peter Stuge wrote: >> > Graeme Russ wrote: >> >>  - Do we care about legacy BIOS support (SeaBIOS) for now (I think >> >>    not)? >

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Kevin O'Connor
On Wed, May 11, 2011 at 09:44:00AM +1000, Graeme Russ wrote: > On Wed, May 11, 2011 at 2:08 AM, Peter Stuge wrote: > > Graeme Russ wrote: > >>  - Do we care about legacy BIOS support (SeaBIOS) for now (I think > >>    not)? > > > > IMO it is not relevant to the integration of coreboot and U-Boot.

Re: [coreboot] [U-Boot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Graeme Russ
Hi Wolfgang On Wed, May 11, 2011 at 4:03 AM, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message <4dc94cd4.2050...@gmail.com> you wrote: >> >> So coreboot and U-Boot are a good complement to each other so bringing >> U-Boot to x86 PC mainboards via coreboot looks like a good idea - Now the >>

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Graeme Russ
On Wed, May 11, 2011 at 2:08 AM, Peter Stuge wrote: > Graeme Russ wrote: >> I am extremely excited about this as the x86 U-Boot maintainer, but >> even more so by the idea of two very mature and respected FLOSS >> projects potentially becoming greater than the sum of their parts :) > > Yes good fu

Re: [coreboot] [PATCH] Replace the values of APIC timer init with macros

2011-05-10 Thread Scott Duplichan
Vikram Narayanan wrote: ]On Sun, 2011-05-08 at 00:34 +0530, Vikram Narayanan wrote: ]> This replaces the fixed shift values in the apic timer init with macros. ]> ]> Signed-off by: Vikram Narayanan ]> --- ]> --- a/src/cpu/x86/lapic/apic_timer.c Sun May 8 00:18:12 2011 ]> +++ b/src/cpu/x86/lapic

Re: [coreboot] [PATCH] Hide CMOS_VSTART_ and CMOS_VLEN_ prefixes for read_option() use

2011-05-10 Thread Patrick Georgi
Am 11.05.2011 00:04, schrieb Stefan Reinauer: > Yes, given how complex most cmos.layouts look, I was surprised. > Is there an easy way to clean those cmos.layout files up? Obsolete build_opt_tbl by moving its functionality to nvramtool (that's WIP here), define a new format (eg. the one on Infrastr

Re: [coreboot] Alternate for serial port debug messages

2011-05-10 Thread Stefan Reinauer
* Vikram Narayanan [110510 20:10]: > Hi, > > I am using a DELL laptop. The superio used is > "Found Nuvoton WPCE775x / NPCE781x (id=0x03, rev=0x06) at 0x4e". > > Now the thing is there are no serial ports exposed outside in my laptop. > Is there any other way out to see the debug messages of c

Re: [coreboot] [PATCH] Hide CMOS_VSTART_ and CMOS_VLEN_ prefixes for read_option() use

2011-05-10 Thread Stefan Reinauer
* Patrick Georgi [110510 23:55]: > Am 10.05.2011 22:07, schrieb Stefan Reinauer: > >> Signed-off-by: Patrick Georgi > > Acked-by: Stefan Reinauer > r6565, thanks. thanks. > But yes, there aren't any more read_option uses. Probably a sign that > the nvram subsystem is underused? Yes, given ho

Re: [coreboot] [PATCH] Hide CMOS_VSTART_ and CMOS_VLEN_ prefixes for read_option() use

2011-05-10 Thread Patrick Georgi
Am 10.05.2011 22:07, schrieb Stefan Reinauer: >> Signed-off-by: Patrick Georgi > Acked-by: Stefan Reinauer r6565, thanks. >> 15 files changed, 24 insertions(+), 23 deletions(-) > Wow are those the only occurences of readoption in romstage code? read_option is used in romstage, get_option in ram

[coreboot] [commit] r6565 - in trunk/src: cpu/amd/dualcore cpu/amd/model_10xxx cpu/amd/model_fxx cpu/amd/quadcore include/pc80 lib mainboard/getac/p470 mainboard/kontron/986lcd-m mainboard/roda/rk886e

2011-05-10 Thread repository service
Author: oxygene Date: Tue May 10 23:53:13 2011 New Revision: 6565 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6565 Log: Change read_option() to a macro that wraps some API uglyness Simplify read_option(CMOS_VSTART_foo, CMOS_VLEN_foo, somedefault) to read_option(foo, somedefault) Si

[coreboot] [commit] r6564 - trunk/src/cpu/x86/lapic

2011-05-10 Thread repository service
Author: oxygene Date: Tue May 10 23:47:57 2011 New Revision: 6564 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6564 Log: This replaces the fixed shift values in the apic timer init with macros. Signed-off-by: Vikram Narayanan Acked-by: Patrick Georgi Modified: trunk/src/cpu/x86

[coreboot] [commit] r6563 - trunk/util/options

2011-05-10 Thread repository service
Author: oxygene Date: Tue May 10 23:42:52 2011 New Revision: 6563 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6563 Log: Fix compilation error due to non-unix style line endings in cmos.layout file while generating option_table.h. Windows, Mac and *nix type line endings are now take

Re: [coreboot] [RFC] src/drivers/generic/generic used but not there

2011-05-10 Thread Stefan Reinauer
* Patrick Georgi [110510 23:07]: > Am 10.05.2011 00:17, schrieb Stefan Reinauer: > > Looking for drivers/generic/generic in the source code, we use it quite > > a lot: > > > Should we drop all those sub trees? Or try to fix them? What is needed > > to fix them? > > Fix what? Is there an issue tha

Re: [coreboot] [RFC] src/drivers/generic/generic used but not there

2011-05-10 Thread Patrick Georgi
Am 10.05.2011 00:17, schrieb Stefan Reinauer: > Looking for drivers/generic/generic in the source code, we use it quite > a lot: > Should we drop all those sub trees? Or try to fix them? What is needed > to fix them? Fix what? Is there an issue that needs fixing or should we just remove all refere

Re: [coreboot] [PATCHes] Adopt coreboot build system for libpayload

2011-05-10 Thread Stefan Reinauer
* Patrick Georgi [110510 21:24]: > -## modification, are permitted provided that the following conditions > -## are met: > -## 1. Redistributions of source code must retain the above copyright > -##notice, this list of conditions and the following disclaimer. > -## 2. Redistributions in binary

Re: [coreboot] [PATCH] Hide CMOS_VSTART_ and CMOS_VLEN_ prefixes for read_option() use

2011-05-10 Thread Stefan Reinauer
* Patrick Georgi [110510 21:23]: > [let's try again] > Hi, > > as a first step to the CMOS infrastructure project (as detailed in the > wiki), this patch changes read_option() by wrapping it in a macro, > simplifying its use from > read_option(CMOS_VSTART_foo, CMOS_VLEN_foo, somedefault) > to > r

Re: [coreboot] Lenovo T60 coreboot build error

2011-05-10 Thread Josh Stump
I have attempted using Advanced Mode, I get the same error when I click "Advanced Settings"... Corrupted interface descriptors in the new BIOS file. Part Table Signature not found in the Interface. Error code: -161 I will consider trying phlash16... On Tue, May 10, 2011 at 11:13 AM, Scott Duplic

Re: [coreboot] Alternate for serial port debug messages

2011-05-10 Thread Corey Osgood
On Tue, May 10, 2011 at 2:10 PM, Vikram Narayanan wrote: > Hi, > > I am using a DELL laptop. The superio used is > "Found Nuvoton WPCE775x / NPCE781x (id=0x03, rev=0x06) at 0x4e". > > Now the thing is there are no serial ports exposed outside in my laptop. > Is there any other way out to see the d

[coreboot] [PATCHes] Adopt coreboot build system for libpayload

2011-05-10 Thread Patrick Georgi
[resend] Hi, attached patches change libpayload to use the coreboot build system copied into libpayload. Among the advantages is that it simplifies building a more standard set of libraries (eg. libcurses, libc, libpci) which simplifies porting code to libpayload a bit (as Makefiles can be used wi

[coreboot] [PATCH] Hide CMOS_VSTART_ and CMOS_VLEN_ prefixes for read_option() use

2011-05-10 Thread Patrick Georgi
[let's try again] Hi, as a first step to the CMOS infrastructure project (as detailed in the wiki), this patch changes read_option() by wrapping it in a macro, simplifying its use from read_option(CMOS_VSTART_foo, CMOS_VLEN_foo, somedefault) to read_option(foo, somedefault) Signed-off-by: Patric

[coreboot] Alternate for serial port debug messages

2011-05-10 Thread Vikram Narayanan
Hi, I am using a DELL laptop. The superio used is "Found Nuvoton WPCE775x / NPCE781x (id=0x03, rev=0x06) at 0x4e". Now the thing is there are no serial ports exposed outside in my laptop. Is there any other way out to see the debug messages of coreboot.(If at all coreboot supports my motherboar

Re: [coreboot] [U-Boot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Wolfgang Denk
Dear Graeme Russ, In message <4dc94cd4.2050...@gmail.com> you wrote: > > So coreboot and U-Boot are a good complement to each other so bringing > U-Boot to x86 PC mainboards via coreboot looks like a good idea - Now the > politics ;) > - The U-Boot source 'must' be self contained - No external l

Re: [coreboot] [U-Boot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Wolfgang Denk
Dear Peter Stuge, In message <20110510160850.2499.qm...@stuge.se> you wrote: > > > - U-Boot relocates to 'Top of RAM' - This is a fundamental architectural > >design and not x86 specific. This feature should be retained for > >consistency with other U-Boot arches > > IMO this might be a

Re: [coreboot] Lenovo T60 coreboot build error

2011-05-10 Thread Scott Duplichan
Josh Stump wrote: ] Any chances of being able to use a Windows based utility to flash, ] I tried with Pheonix WinPhlash but it gave an error The advanced mode of WinPhlash might help. You could uncheck "Verify BIOS part number" and "Verify BIOS checksum". The help file shows how to enable adv

Re: [coreboot] [PATCH] Replace the values of APIC timer init with macros

2011-05-10 Thread Vikram Narayanan
On Sun, 2011-05-08 at 00:34 +0530, Vikram Narayanan wrote: > This replaces the fixed shift values in the apic timer init with macros. > > Signed-off by: Vikram Narayanan > --- > --- a/src/cpu/x86/lapic/apic_timer.c Sun May 8 00:18:12 2011 > +++ b/src/cpu/x86/lapic/apic_timer.c Sun May 8 00:08

Re: [coreboot] Lenovo T60 coreboot build error

2011-05-10 Thread Peter Stuge
Josh Stump wrote: > http://www.coreboot.org/Supported_Motherboards Ah, ok. This wiki page is correct. coreboot is separate from flashrom, so being supported by one doesn't automatically mean being supported by the other. Laptops are difficult for both projects. > And I am slightly incorrect I mu

Re: [coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Peter Stuge
Graeme Russ wrote: > I am extremely excited about this as the x86 U-Boot maintainer, but > even more so by the idea of two very mature and respected FLOSS > projects potentially becoming greater than the sum of their parts :) Yes good fun! > OK, enough with the warm and fuzzies. Lets look first

Re: [coreboot] Lenovo T60 coreboot build error

2011-05-10 Thread Josh Stump
http://www.coreboot.org/Supported_Motherboards And I am slightly incorrect I must admit. It is the Lenovo T60P that is listed on that page. Do you have a good site with information on an external programmer or are they costly? Any chances of being

Re: [coreboot] Lenovo T60 coreboot build error

2011-05-10 Thread Josh Stump
http://www.coreboot.org/Supported_Motherboards And I am slightly incorrect I must admit. It is the Lenovo T60P that is listed on that page. Do you have a good site with information on an external programmer or are they costly? Any chances of being

Re: [coreboot] Lenovo T60 coreboot build error

2011-05-10 Thread Josh Stump
http://www.coreboot.org/Supported_Motherboards And I am slightly incorrect I must admit. It is the Lenovo T60P that is listed on that page. Do you have a good site with information on an external programmer or are they costly? Any chances of being

Re: [coreboot] Hackaton in Prague 2011

2011-05-10 Thread Harald Gutmann
On Monday 09 May 2011 07:37:32 Rudolf Marek wrote: > Hi all, > > I think it is time to make a reservation for the Hotel/Hostel. Is there > anyone else besides Peter, Sven and Florentin? Just reminding that it take > place in Prague on last weekend in May. Hey, that's a good date as I'd be anyways

[coreboot] U-Boot-x86 / coreboot Integration

2011-05-10 Thread Graeme Russ
Hi All, I figured it might be best to start a new, clean thread dealing with the technical design aspects of bootstrapping U-Boot from coreboot. I am extremely excited about this as the x86 U-Boot maintainer, but even more so by the idea of two very mature and respected FLOSS projects potentially

Re: [coreboot] news about coreboot & llano Fudzilla.com

2011-05-10 Thread Rudolf Marek
Yes and LWN and slashdot: http://hardware.slashdot.org/story/11/05/09/1115235/AMD-To-Support-Coreboot-On-All-Upcoming-Processors http://lwn.net/Articles/442042/ Rudolf -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot

[coreboot] news about coreboot & llano Fudzilla.com

2011-05-10 Thread Knut Kujat
Hi everyone, FYI: http://www.fudzilla.com/processors/item/22677-amd-to-use-coreboot-in-llano-other-upcoming-parts Bye, Knut Kujat. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Lenovo T60 coreboot build error

2011-05-10 Thread Peter Stuge
Sven Schnelle wrote: > Josh Stump writes: > > > Thank you kindly.  I have now compiled the BIOS.  Next challenge is > > how to get flashrom to flash it.  The wiki shows flashrom support. Which wiki and page please? > The Vendor BIOS prevents flashing with flashrom. (In fact it doesn't > allow

Re: [coreboot] Lenovo T60 coreboot build error

2011-05-10 Thread Sven Schnelle
Josh Stump writes: > Thank you kindly.  I have now compiled the BIOS.  Next challenge is > how to get flashrom to flash it.  The wiki shows flashrom support. >  I have downloaded the latest svn version and flashrom does not detect > my system.  flashrom -L does not list Lenovo T60, any > suggesti