Re: [coreboot] [PATCH 3/3] X60: use I/O 0x1600/0x1604 for ACPI accesses
Stefan Reinauer stefan.reina...@coreboot.org writes: * Sven Schnelle sv...@stackframe.org [110312 01:18]: Signed-off-by: Sven Schnelle sv...@stackframe.org --- src/mainboard/lenovo/x60/mainboard.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index b8e6a49..79e4a83 100644 --- a/src/mainboard/lenovo/x60/mainboard.c +++ b/src/mainboard/lenovo/x60/mainboard.c @@ -50,6 +50,11 @@ static void wlan_enable(void) static void mainboard_enable(device_t dev) { +/* Enable 1600/1604 register pair */ +ec_set_bit(0x00, 0x05); +/* switch to just enabled registers for ACPI */ +ec_set_ports(0x1604, 0x1600); + I think you only need to use the high ports in SMM code to avoid race conditions. Yes. But the original BIOS switches to those ports at the same time, and i want to do it the same way. Makes comparing bus cycles easier, and has no disadvantages IMHO. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] [PATCH 3/3] X60: use I/O 0x1600/0x1604 for ACPI accesses
Stefan Reinauer stefan.reina...@coreboot.org writes: * Sven Schnelle sv...@stackframe.org [110312 01:18]: Signed-off-by: Sven Schnelle sv...@stackframe.org --- src/mainboard/lenovo/x60/mainboard.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index b8e6a49..79e4a83 100644 --- a/src/mainboard/lenovo/x60/mainboard.c +++ b/src/mainboard/lenovo/x60/mainboard.c @@ -50,6 +50,11 @@ static void wlan_enable(void) static void mainboard_enable(device_t dev) { +/* Enable 1600/1604 register pair */ +ec_set_bit(0x00, 0x05); +/* switch to just enabled registers for ACPI */ I think the comment is misleading. ACPI has nothing to do with this. You're right. This is obviously wrong. Those are the EC registers, not ACPI ;) Sven. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] [PATCH 2/3] ec/acpi: make ACPI register pair configurable
Stefan Reinauer stefan.reina...@coreboot.org writes: * Sven Schnelle sv...@stackframe.org [110312 01:18]: Signed-off-by: Sven Schnelle sv...@stackframe.org --- src/ec/acpi/ec.c | 23 --- src/ec/acpi/ec.h |1 + 2 files changed, 17 insertions(+), 7 deletions(-) I wonder if you want two sets of access functions, like on the Getac P470 instead of changing the base address on the fly. I like the Adress configuration more. Accessing the 0x1600/0x1604 register pair works the same way as the 0x62/0x66 pair, so i dont like to copy all the accessor function just because the base address changed. And the performance impact of looking up the addresses instead of having it as a literal in the outb asembler instruction is probably negligible. Sven. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Support for Core i3 and better
On Fri, Mar 11, 2011 at 05:49:50PM +0200, Alex G. wrote: 1. Does Coreboot work with Phenom II Thuban CPU ? I want 6-core CPU of Phenom2 It's supported. I didn't know this had been tested. It's a little difficult for me to keep track of all mail in the list. http://www.coreboot.org/Supported_Chipsets_and_Devices says [only?] FAM10 revisions B0-B3 are supported. My Phenom II X4 910e is rev RB_C3 and still doesn't boot (although I no longer think it's the CPU but the southbridge, I can't confirm either until I can boot). According to http://en.wikipedia.org/wiki/List_of_AMD_Phenom_microprocessors#Phenom_series all Phenom II X6 would be revision E0 (one could look at more authoritative sources, maybe) In theory many revisions should work. In practice there are some constants in src/northbridge/amd/amdmct/amddefs.h which allocate one bit in a 32 bit value for each revision. Then these are used to build masks to test whether to apply workarounds for CPU errata or particular initializations (like in src/cpu/amd/model_10xxx/defaults.h). Some revisions (beyond HY_D0, I think), don't fit in these 32 bits. I suspect those revisions may not work, but maybe these revisions might work because they just don't need workarounds, etc. I even sent some patches that would only make sense for revision E and they were committed, but I couldn't test them (I sent them precisely because I thought no revision E CPU had been used with coreboot, so I couldn't break anything that worked before, just hopefully add a small part to support future work). It might be good to collect a list of tested CPU revisions and maybe any issues found or any tests performed, if the supported chipsets page is out of date for FAM10. I'm sorry I can't contribute to this list though, until my board boots. P.S. Whether E0 works or not, there's good documentation for it, so it is fixable. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Support for Core i3 and better
Oleg Gvozdev wrote: i dont want to spend money on unworking system I just need as much powerfull CPU as it can be to use with Coreboot. If you are willing to spend a bit of time with the source code, and you have programming experience and knowledge of CPUs then I think you'll be successful. As was pointed out, I'm not sure the higher end multicore CPUs have been tested on recent boards, however. You would help the project and your fellow CPU power needing person by testing with coreboot and worst case spending some time to get things to work. In general, if what you need is to pay for something that you do not want to touch, then open source is the wrong answer. If you are looking for a service provider that can create a solution then there are a few of those within the coreboot community as well. Explain a bit more about your requirements and one of them could get in touch, if this is what you seek. //Peter -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot Hackathon
Hello, Are you people (from Europe and .. abroad) still interested for a coreboot hackathon in april/may in Prague? Today there are only 4 answers for the doodle poll started by Rudolph. By the way, Rudolph, do you think it is still possible for you to organise this event in Prague anytime soon or not? Do you need some help eventually? In general, for my part, I'm very interested for this kind of event, but unfortunately I don't have right now the time/resources to travel to America so doing it in Europe will be a good thing this time for me.. :-/ Best regards, Florentin Quoting Peter Stuge pe...@stuge.se: Rudolf Marek wrote: Well for all those Europeans which might feel bit sad that California is far far way I have a following proposal. Lets meet in Prague for a weekend in April/May. These are really awesome initiatives! I wish I could come to both, but I guess it'll be Prague for me. In any case, we also have a good opportunity to meet up during FOSDEM, and I hope that a lot of people will be there. Last year we did the devroom and that pretty much kept everyone occupied full time. This year it is only an expo stand and a talk, but I think there will still not be a lot of time for hacking - so the hackathons are a wonderful idea. Prague is not so distant: Prague - Dresden - 153km Prague - Wien - 334km Prague - Nurnberg - 291km I might come by car from Berlin, and could of course pick up some passengers along the way. I created some doodle (which contains just fridays from the intended weekends). http://doodle.com/2n4h3gcugwvs6c9k Note that LinuxTag has moved into May (11-14) so we should plan a date around that somehow cleverly. I think the first two weekends in May are out, but question is if we want to do hackathon before or after LinuxTag. At LinuxTag there are usually more people interested in using coreboot than developing, but there are exceptions, and it would be great to invite those who are interested to the hackathon. //Peter -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot Hackathon
Hi, Yes I think it looks like the may 27,28,29 date fits for us all. The doodle is here: http://doodle.com/2n4h3gcugwvs6c9k I think I can still do that. Current plan is to use a computer lab at university with preinstalled coreboot related toolchains etc. As for the accommodation i think I can reserve some dormitory style. Preliminary Plan Friday evening, social pub style event (beer or Kofola drought ;) Saturday - hackaton from 9-21 afterwards some Prague night walk Sunday - hackaton + departure. As very preliminary I try to get some google money for google developers to get them to Prague even from US. Thanks, Rudolf -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot Hackathon
Great! Count me in!.. It would be nice if many coreboot historical gurus ( ;-) ) do the travel to make the event even more interesting.. Anyway thank you Rudolf for your efforts! Florentin Quoting Rudolf Marek r.ma...@assembler.cz: Hi, Yes I think it looks like the may 27,28,29 date fits for us all. The doodle is here: http://doodle.com/2n4h3gcugwvs6c9k I think I can still do that. Current plan is to use a computer lab at university with preinstalled coreboot related toolchains etc. As for the accommodation i think I can reserve some dormitory style. Preliminary Plan Friday evening, social pub style event (beer or Kofola drought ;) Saturday - hackaton from 9-21 afterwards some Prague night walk Sunday - hackaton + departure. As very preliminary I try to get some google money for google developers to get them to Prague even from US. Thanks, Rudolf -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot meeting @ Google, Sunday Mar. 13
On 3/11/11 8:14 PM, Gregg Levine wrote: Hello! I imagine it would not practical to throw a Coreboot based event here in NYC? I've been to the Google NYC Offices before, and it looks, well good to me. Although off list I can relate some issues I can't make public. I don't know of any NYC Googlers involved in coreboot. However, don't let that discourage you! If you find some fellow coreboot folks around NYC, you should go ahead and organize a meeting. If you can't find a conference room to use, any cafe will usually do fine. They might look weird at you when you bring too much hardware, but we've never had any (real) trouble with that approach when trying this in Brussels, Denver or Hamburg. :-) Stefan -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot meeting @ Google, Sunday Mar. 13
On Sat, Mar 12, 2011 at 12:32:52PM -0800, Stefan Reinauer wrote: If you find some fellow coreboot folks around NYC, you should go ahead and organize a meeting. If you can't find a conference room to use, any cafe will usually do fine. They might look weird at you when you bring too much hardware, but we've never had any (real) trouble with that approach when trying this in Brussels, Denver or Hamburg. :-) Well, in Hamburg they were a bit upset about this after about three consecutive evenings of hacking in the hotel lobby. Ah, well. Thanks, Ward. -- Ward Vandewege w...@fsf.org Free Software Foundation - Senior Systems Administrator -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot meeting @ Google, Sunday Mar. 13
Hello I am in the new england area so NYC is not to far for me :-) -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Gregg Levine gregg.drw...@gmail.com wrote: On Fri, Mar 11, 2011 at 9:29 PM, David Hendricks dhend...@google.com wrote: Hey everyone, Stefan and I are going to be @ Google in Mountain View hacking on Coreboot this weekend, so we figured this would be a good time to host another users group meeting for those interested. This time we'll be hacking on our shiny new AMD Persimmons (Fam 14h / Fusion) dev boards which I have been assured by AMD are non-confidential so anyone curious can come in and poke at 'em. Or you can swing by Fry's before coming and pick up a generic E350 board, like the one Scott Duplichan recently ported: http://www.coreboot.org/pipermail/coreboot/2011-February/063737.html When: Sunday Mar. 13, noon to 8pm Where: 1950 Charleston Rd. in Mountain View [ Link ], Alamitos conference room (1st floor, adjacent to lobby) Contact #: 408-512-3445 (last meeting's participants bcc'd since this is pretty short notice) -- David Hendricks (dhendrix) Systems Software Engineer, Google Inc. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Hello! I imagine it would not practical to throw a Coreboot based event here in NYC? I've been to the Google NYC Offices before, and it looks, well good to me. Although off list I can relate some issues I can't make public. - Gregg C Levine gregg.drw...@gmail.com This signature fought the Time Wars, time and again. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot meeting @ Google, Sunday Mar. 13
Ward Vandewege wrote: Well, in Hamburg they were a bit upset about this after about three consecutive evenings of hacking in the hotel lobby. Ah, well. I think because they wanted to rent out their conference room. Use a place without conference room, but just the lobby. :) //Peter -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot meeting @ Google, Sunday Mar. 13
how many other new englanders are there on CB? maybe portland or boston can do one On 03/12/11 16:09, Joseph Smith wrote: Hello I am in the new england area so NYC is not to far for me :-) -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Gregg Levine gregg.drw...@gmail.com wrote: On Fri, Mar 11, 2011 at 9:29 PM, David Hendricks dhend...@google.com wrote: Hey everyone, Stefan and I are going to be @ Google in Mountain View hacking on Coreboot this weekend, so we figured this would be a good time to host another users group meeting for those interested. This time we'll be hacking on our shiny new AMD Persimmons (Fam 14h / Fusion) dev boards which I have been assured by AMD are non-confidential so anyone curious can come in and poke at 'em. Or you can swing by Fry's before coming and pick up a generic E350 board, like the one Scott Duplichan recently ported: http://www.coreboot.org/pipermail/coreboot/2011-February/063737.html When: Sunday Mar. 13, noon to 8pm Where: 1950 Charleston Rd. in Mountain View [ Link ], Alamitos conference room (1st floor, adjacent to lobby) Contact #: 408-512-3445 (last meeting's participants bcc'd since this is pretty short notice) -- David Hendricks (dhendrix) Systems Software Engineer, Google Inc. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Hello! I imagine it would not practical to throw a Coreboot based event here in NYC? I've been to the Google NYC Offices before, and it looks, well good to me. Although off list I can relate some issues I can't make public. - Gregg C Levine gregg.drw...@gmail.com This signature fought the Time Wars, time and again. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot meeting @ Google, Sunday Mar. 13
I'm from the Bangor, ME area. I don't do coreboot hacking much anymore, but I might show up if the date and location worked. -Corey On Sat, Mar 12, 2011 at 5:07 PM, Anish Patel anish.mailing.l...@gmail.com wrote: how many other new englanders are there on CB? maybe portland or boston can do one On 03/12/11 16:09, Joseph Smith wrote: Hello I am in the new england area so NYC is not to far for me :-) -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Gregg Levine gregg.drw...@gmail.com wrote: On Fri, Mar 11, 2011 at 9:29 PM, David Hendricks dhend...@google.com wrote: Hey everyone, Stefan and I are going to be @ Google in Mountain View hacking on Coreboot this weekend, so we figured this would be a good time to host another users group meeting for those interested. This time we'll be hacking on our shiny new AMD Persimmons (Fam 14h / Fusion) dev boards which I have been assured by AMD are non-confidential so anyone curious can come in and poke at 'em. Or you can swing by Fry's before coming and pick up a generic E350 board, like the one Scott Duplichan recently ported: http://www.coreboot.org/pipermail/coreboot/2011-February/063737.html When: Sunday Mar. 13, noon to 8pm Where: 1950 Charleston Rd. in Mountain View [ Link ], Alamitos conference room (1st floor, adjacent to lobby) Contact #: 408-512-3445 (last meeting's participants bcc'd since this is pretty short notice) -- David Hendricks (dhendrix) Systems Software Engineer, Google Inc. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot Hello! I imagine it would not practical to throw a Coreboot based event here in NYC? I've been to the Google NYC Offices before, and it looks, well good to me. Although off list I can relate some issues I can't make public. - Gregg C Levine gregg.drw...@gmail.com This signature fought the Time Wars, time and again. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] mingw build problem with seabios/tools/kconfig
Hello, I am trying to overcome problems building seabios/tools/kconfig from the windows/mingw environment. Here are the failures: 1) Link step for tools/kconfig/conf fails to find regcomp/regexec/regfree. In the mingw environment these functions are available in libregex, but libregex is not included in the standard library search. I have not found a way to add '-lregex' to the link command line: $(Q)$(HOSTCC) $(HOSTLDFLAGS) -o $@ $(addprefix $(obj)/,$($(@F)-objs)) $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) HOSTLDFLAGS occurs too early in the file list for this use. 2) Link step for tools/kconfig/conf fails to find function uname(). I can come up with a library to provide this function but need help passing it to the linker, same as with item 1. 3) Function mkdir() takes only one argument in the mingw environment, yet takes 2 arguments otherwise. I have not found a good way to overcome this difference. Thanks, Scott -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] mingw build problem with seabios/tools/kconfig
Scott Duplichan wrote: I have not found a way to add '-lregex' to the link command line: $(Q)$(HOSTCC) $(HOSTLDFLAGS) -o $@ $(addprefix $(obj)/,$($(@F)-objs)) $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) HOSTLDFLAGS occurs too early in the file list for this use. I'd say the above command line is incorrect. HOSTLDFLAGS should come right before HOST_LOADLIBES. 3) Function mkdir() takes only one argument in the mingw environment, yet takes 2 arguments otherwise. I have not found a good way to overcome this difference. #ifdef WIN32 mkdir(path); #else mkdir(path, mask); #endif //Peter -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] mingw build problem with seabios/tools/kconfig
Am 13.03.2011 04:47, schrieb Scott Duplichan: Hello, I am trying to overcome problems buildingseabios/tools/kconfigfrom the windows/mingw environment.Hereare the failures: 1)Link step fortools/kconfig/conffails to findregcomp/regexec/regfree. In the mingw environment these functions are available in libregex, but libregexis notincluded inthe standard library search. I have not found away to add'-lregex'to the link command line: The main issue is that libregex isn't available reliably on mingw. On coreboot, I simply added a libregex implementation to the tree and added it to the build. In general, maybe just copy over coreboot's kconfig and look for the changes (there are some you'd have to revert)? Patrick -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot