Re: [coreboot] Using USB keyboard in payloads

2012-11-19 Thread Patrick Georgi
Am 17.11.2012 06:58, schrieb Dave Frodin: I'm unable to get the USB keyboard to work in payloads. I'm using it with libpayload, and configured libpayload to enable the USB_HID, USB_OHCI, USB_EHCI, USB_UHCI, USB_XHCI drivers. What chipset is it (ie. which driver is responsible)? Could you try to

Re: [coreboot] Using USB keyboard in payloads

2012-11-19 Thread Nico Huber
I'm unable to get the USB keyboard to work in payloads. I'm using it with libpayload, and configured libpayload to enable the USB_HID, USB_OHCI, USB_EHCI, USB_UHCI, USB_XHCI drivers. I call usb_initialize() in the early part of my payload. Calls to usbhid_havechar() just return 0. When

Re: [coreboot] Using USB keyboard in payloads

2012-11-19 Thread Dave Frodin
Thanks to everyone who sent feedback. Here's where I've gotten. First I got a current libpayload. That made the biggest difference. Evidently something critical changed in the last month. The USB keyboard specific stuff in my code is... usb_initialize(); if (havekey()) usb_key =

Re: [coreboot] Using USB keyboard in payloads

2012-11-19 Thread Patrick Georgi
Am 19.11.2012 18:19, schrieb Dave Frodin: First I got a current libpayload. That made the biggest difference. Evidently something critical changed in the last month. Nico improved the stack a lot, in particular the OHCI implementation (and then bug fixes pretty much everywhere). 00:12.2

Re: [coreboot] Using USB keyboard in payloads

2012-11-19 Thread Peter Stuge
Patrick Georgi wrote: This only means that the device provides multiple interfaces. Dave, please send lsusb -v output for this keyboard. In USB you have to select one, and the HID driver simply defaults to the first. We didn't find a useful clue what to do in limited environments when

[coreboot] Patch merged into coreboot/master: 1fc2bda build system: use strip_quotes on cbfs-files

2012-11-19 Thread gerrit
the following patch was just integrated into master: commit 1fc2bda92b9994e1b39e505c94987109762bd587 Author: Patrick Georgi patrick.geo...@secunet.com Date: Thu Nov 15 14:51:54 2012 +0100 build system: use strip_quotes on cbfs-files If they come from the build system, file names

[coreboot] Patch merged into coreboot/master: 4b62ebe Add nvramcui

2012-11-19 Thread gerrit
the following patch was just integrated into master: commit 4b62ebe961846b5b07aa57dacc24878a30ea9cc9 Author: Patrick Georgi patrick.geo...@secunet.com Date: Fri Nov 16 15:05:11 2012 +0100 Add nvramcui nvramcui is a small libpayload based utility that provides an interactive

Re: [coreboot] Using USB keyboard in payloads

2012-11-19 Thread Dave Frodin
Peter, Is this what you were wanting? dave, Bus 003 Device 002: ID 045e:009d Microsoft Corp. Wireless Optical Desktop 3.0 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level)

Re: [coreboot] Using USB keyboard in payloads

2012-11-19 Thread Peter Stuge
Hi Dave! Dave Frodin wrote: Is this what you were wanting? Exactly! Thanks! I'll explain the important parts: Bus 003 Device 002: ID 045e:009d Microsoft Corp. Wireless Optical Desktop 3.0 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB

[coreboot] Patch merged into coreboot/master: f943901 mc146818rtc: disable RTC before writing to nvram

2012-11-19 Thread gerrit
the following patch was just integrated into master: commit f943901777990554e3f5fb27b63613f6cd95c958 Author: Patrick Georgi patrick.geo...@secunet.com Date: Thu Nov 15 14:54:05 2012 +0100 mc146818rtc: disable RTC before writing to nvram In principle this isn't necessary. However

[coreboot] Patch merged into coreboot/master: d8e6d40 bootblock: Guard CMOS rewrite in disable/enable RTC

2012-11-19 Thread gerrit
the following patch was just integrated into master: commit d8e6d4085ffd10d399551a2ec75a57fd1f594fec Author: Patrick Georgi patrick.geo...@secunet.com Date: Thu Nov 15 14:57:27 2012 +0100 bootblock: Guard CMOS rewrite in disable/enable RTC This ensures that there's only one

[coreboot] Patch merged into coreboot/master: 0d82674 siemens/sitemp_g1p1: Drop copy of cmos checksum calculation

2012-11-19 Thread gerrit
the following patch was just integrated into master: commit 0d8267464d093dfddda56e8095c455a8ee96d3e5 Author: Patrick Georgi patrick.geo...@secunet.com Date: Thu Nov 15 14:55:52 2012 +0100 siemens/sitemp_g1p1: Drop copy of cmos checksum calculation This code used a special case for

[coreboot] Patch merged into coreboot/master: 40f36e0 Make sure only one udelay function is available

2012-11-19 Thread gerrit
the following patch was just integrated into master: commit 40f36e0d8d15a275d0109eac778e3b99bf4e0173 Author: Stefan Reinauer reina...@chromium.org Date: Thu Nov 15 16:03:27 2012 -0800 Make sure only one udelay function is available The Agesa wrapper and UDELAY_TIMER2 define their

[coreboot] Patch merged into coreboot/master: 82ecf4c secondary.S: Fix dropping ramstage.a

2012-11-19 Thread gerrit
the following patch was just integrated into master: commit 82ecf4c582fdab341d88bd80ae3e9a629619c263 Author: Stefan Reinauer reina...@chromium.org Date: Thu Nov 15 15:53:30 2012 -0800 secondary.S: Fix dropping ramstage.a This unused code was not silently dropped as before.

Re: [coreboot] [PATCH][v2] megasas: Add boot support for LSI MegaRAID SAS

2012-11-19 Thread Kevin O'Connor
On Tue, Nov 13, 2012 at 03:03:31PM +0100, Hannes Reinecke wrote: This patch adds boot support for LSI MegaRAID SAS controllers. Thanks. I applied this patch. I'm a little leery of turning on hardware support on real hardware without testing. I wonder if someone from the coreboot list has an