[SeaBIOS] EHCI boot problems

2014-09-09 Thread Dave Frodin
I'm seeing a problem booting from USB thumbdrives with commit ab9d771ce ehci: Update usb command timeouts to use usb_xfer_time() I'm not quite sure what the problem is other than it not liking the new timeouts. I couldn't see any problems with the ehci_control() calls to ehci_wait_td(). But

Re: [SeaBIOS] EHCI boot problems

2014-09-09 Thread Dave Frodin
flashes when Seabios is identifying it. Thanks, Dave On Tue, Sep 9, 2014 at 2:46 PM, Kevin O'Connor ke...@koconnor.net wrote: On Tue, Sep 09, 2014 at 01:15:04PM -0600, Dave Frodin wrote: I'm seeing a problem booting from USB thumbdrives with commit ab9d771ce ehci: Update usb command

Re: [SeaBIOS] [PATCH] Add SD card support

2014-06-13 Thread Dave Frodin
and further develop the code. Thanks, Dave Frodin On Wed, Jun 11, 2014 at 1:37 PM, Dave Frodin dave.fro...@se-eng.com wrote: Kevin, Our intent at this time was to just get it out for others to see/use. I'll try attaching the files. Thanks, Dave On Tue, Jun 10, 2014 at 6:19 PM, Kevin

Re: [SeaBIOS] [PATCH] Add SD card support

2014-06-11 Thread Dave Frodin
Kevin, Our intent at this time was to just get it out for others to see/use. I'll try attaching the files. Thanks, Dave On Tue, Jun 10, 2014 at 6:19 PM, Kevin O'Connor ke...@koconnor.net wrote: On Thu, Jun 05, 2014 at 10:36:07AM -0600, Dave Frodin wrote: Paul, I'm resending the patch

Re: [SeaBIOS] MP Table corruption

2013-10-11 Thread Dave Frodin
Kevin, Comments are inline. Thanks, Dave - Original Message - From: Kevin O'Connor ke...@koconnor.net To: Dave Frodin dave.fro...@se-eng.com Cc: seabios seabios@seabios.org Sent: Tuesday, October 8, 2013 7:26:25 PM Subject: Re: [SeaBIOS] MP Table corruption On Tue, Oct 08, 2013

[SeaBIOS] MP Table corruption

2013-10-08 Thread Dave Frodin
We have a customer that runs a RTOS that uses the MP Tables (rather than ACPI). They are having an issue with the RTOS not being able to determine certain system interrupt settings from the MP tables. The sent me a MPDiag utility (this may be their own MPDiag utility, I believe I've seen

Re: [SeaBIOS] Commit b98a4b1 prevents USB drives from being detected

2013-07-22 Thread Dave Frodin
Kevin, Your patch does fix the problem with USB thumbdrives. I tested on a Gizmo (Family14/SB800) board. Thanks, Dave - Original Message - From: Kevin O'Connor ke...@koconnor.net To: Dave Frodin dave.fro...@se-eng.com Cc: seabios seabios@seabios.org Sent: Sunday, July 14, 2013 11:59

[SeaBIOS] Commit b98a4b1 prevents USB drives from being detected

2013-07-12 Thread Dave Frodin
I'm using the current seabios (master or stable) as a payload for coreboot. If I build the current seabios I've found that commit b98a4b1 Convert PCIDevices list to use standard list manipultion code. prevents the system from finding USB thumbdrives. The USB keyboard and mouse still work.

Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one

2013-07-09 Thread Dave Frodin
- Original Message - From: Kevin O'Connor ke...@koconnor.net To: Dave Frodin dave.fro...@se-eng.com Cc: seabios seabios@seabios.org Sent: Tuesday, July 2, 2013 10:29:39 PM Subject: Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one On Tue, Jul 02, 2013

Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one

2013-07-02 Thread Dave Frodin
Kevin, Did you ever get a chance to look over this patch? Thanks, Dave - Original Message - From: Dave Frodin dave.fro...@se-eng.com To: Kevin O'Connor ke...@koconnor.net Cc: seabios seabios@seabios.org Sent: Wednesday, June 5, 2013 8:45:11 AM Subject: Re: [SeaBIOS] [PATCH] Seabios

Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one

2013-06-05 Thread Dave Frodin
of the part is 10029804. The vgabios gets added to CBFS with the name pci1002,9802.rom. Thanks, DaveFrom 907686ae6a41a0cb75d0ff2a565586b6f4e25615 Mon Sep 17 00:00:00 2001 From: Dave Frodin dave.fro...@se-eng.com Date: Thu, 23 May 2013 16:07:17 -0600 Subject: [PATCH] Seabios: allow mapping of multiple PCI

Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one

2013-06-01 Thread Dave Frodin
- Original Message - From: Kevin O'Connor ke...@koconnor.net To: Dave Frodin dave.fro...@se-eng.com Cc: seabios seabios@seabios.org Sent: Friday, May 31, 2013 9:18:21 PM Subject: Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one On Fri, May 31

Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one

2013-05-31 Thread Dave Frodin
- Original Message - From: Kevin O'Connor ke...@koconnor.net To: Dave Frodin dave.fro...@se-eng.com Cc: seabios seabios@seabios.org Sent: Thursday, May 30, 2013 7:45:13 PM Subject: Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one On Thu, May 30

Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one

2013-05-30 Thread Dave Frodin
- Original Message - From: Kevin O'Connor ke...@koconnor.net To: Dave Frodin dave.fro...@se-eng.com Cc: seabios seabios@seabios.org Sent: Saturday, May 25, 2013 10:47:42 AM Subject: Re: [SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one On Fri, May 24

[SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one

2013-05-21 Thread Dave Frodin
5b7f2ba9f43fbc67a81a2449d8bbd3d2f6e530aa Mon Sep 17 00:00:00 2001 From: Dave Frodin dave.fro...@se-eng.com Date: Tue, 7 May 2013 13:51:56 -0600 Subject: [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one This feature was added to allow mapping multiple different PCI graphics vendor

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-10 Thread Dave Frodin
Thanks for looking into this. I'm using gcc version 4.6.3 I'm building this in cygwin, and using our (Sage's) toolchain. What version of gcc is it? If I change the format to %ld I get: Compile checking out/post.o src/post.c: In function ‘reloc_init’: src/post.c:350:5: warning:

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Dave Frodin
Here's a patch that's been lingering awhile. thanks, Dave - Original Message - From: Dave Frodin dave.fro...@se-eng.com To: seabios seabios@seabios.org Sent: Wednesday, October 17, 2012 9:30:01 AM Subject: Get rid of a compile time dprintf warning This patch gets rid

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Dave Frodin
int' [-Wformat] Compile checking out/shadow.o Compile checking out/memmap.o Compile checking out/coreboot.o I'm building this in cygwin, and using our (Sage's) toolchain. thanks, Dave - Original Message - From: Kevin O'Connor ke...@koconnor.net To: Dave Frodin dave.fro...@se

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. Is

[SeaBIOS] I2C console16/32 segment problems

2012-10-16 Thread Dave Frodin
All, I've added code to output.c to implement a I2C console interface. Everything was working great on my AMD/Persimmon until I added additional code to determine what south bridge I was on. I'm evidently not correctly handling the 16/32 bit code segments correctly. It's evident when I run

Re: [SeaBIOS] [PATCH] Use cpu_to_be32() (and related) instead of htonl (and related).

2012-09-07 Thread Dave Frodin
Is there anything preventing this from being added to seabios? thanks, dave - Original Message - From: Dave Frodin dave.fro...@se-eng.com To: Kevin O'Connor ke...@koconnor.net Cc: seabios@seabios.org Sent: Wednesday, August 15, 2012 11:18:09 AM Subject: Re: [SeaBIOS] [PATCH] Use

Re: [SeaBIOS] What do I pass to cbfs_run_payload() after finding the payload with romfile_find() ?

2012-08-30 Thread Dave Frodin
Subject: Re: [SeaBIOS] What do I pass to cbfs_run_payload() after finding the payload with romfile_find() ? On Wed, Aug 29, 2012 at 02:06:03PM -0500, Dave Frodin wrote: [...] This is where I'm at after the change ... // Output the LCD splash image to the Explorer board struct

[SeaBIOS] Bootorder file question regarding USB hubs/devices

2012-08-30 Thread Dave Frodin
Previously (before fetching the latest seabios/master) our bootorder file looked like this /pci@i0cf8/usb@12,2/*@4 /pci@i0cf8/usb@12,2/*@5 /pci@i0cf8/usb@12,2/*@3 /pci@i0cf8/usb@12,2/*@2 /pci@i0cf8/usb@12,2/*@1 /pci@i0cf8/usb@12,2/*@0 Now it looks like this. This also includes devices

[SeaBIOS] What do I pass to cbfs_run_payload() after finding the payload with romfile_find() ?

2012-08-29 Thread Dave Frodin
I'm having a problem finding/loading/executing a payload from seabios which is now using the romfile functions for cbfs (commit 59d6ca52a7eba5). I do have the cpu_to_be32() patch to get the correct payload destination address. Here's what I had previously that worked before the change...

Re: [SeaBIOS] The cbfs header for a payloads dest addr is a u64, use ntohll instead of ntohl

2012-08-15 Thread Dave Frodin
Kevin, Thanks, your patch works for me. Dave - Original Message - From: Kevin O'Connor ke...@koconnor.net To: Dave Frodin dave.fro...@se-eng.com Cc: Peter Stuge pe...@stuge.se, seabios@seabios.org Sent: Tuesday, August 14, 2012 7:20:01 PM Subject: Re: [SeaBIOS] The cbfs header

Re: [SeaBIOS] [PATCH] Use cpu_to_be32() (and related) instead of htonl (and related).

2012-08-15 Thread Dave Frodin
Kevin, This patch works for me. I also inappropriately ack'd the other patch use ntohll instead of ntohl which actually becomes obsolete with this patch. thanks, Dave - Original Message - From: Kevin O'Connor ke...@koconnor.net To: seabios@seabios.org Cc: Dave Frodin dave.fro...@se

Re: [SeaBIOS] The cbfs header for a payloads dest addr is a u64, use ntohll instead of ntohl

2012-08-14 Thread Dave Frodin
Peter, Have you had a chance to review my last patch (below)? thanks, dave - Original Message - From: Dave Frodin dave.fro...@se-eng.com To: Peter Stuge pe...@stuge.se Cc: seabios@seabios.org Sent: Wednesday, August 8, 2012 12:07:50 PM Subject: Re: [SeaBIOS] The cbfs header

Re: [SeaBIOS] usb-msc.c: TEST_UNIT_READY needs USB_DIR_OUT?

2012-03-16 Thread Dave Frodin
I tested this (the combined patches) with several of the different USB thumbdrives that I have and didn't have any problems. In fact it actually increased the pass rate of my failing Ubuntu booting problem from ~0% to ~50%, but I'll address that in that email stream. dave - Original Message

Re: [SeaBIOS] USB OHCI issues when keyboard activity occurs prior to booting from thumbdrive

2012-03-16 Thread Dave Frodin
Kevin, I mentioned in a response to the Re: [SeaBIOS] usb-msc.c: TEST_UNIT_READY needs USB_DIR_OUT? email thread that when I applied the patches related to that thread the Ubuntu booting issue that I see in this thread actually increases the passing rate from ~0% to ~50%. Perhaps setting the

Re: [SeaBIOS] [PATCH 08/19] usb: Push 'struct usbdevice_s' usage through to pipe allocation.

2012-03-12 Thread Dave Frodin
I had to do some whitespace cleanup in order for patch 08/19 to apply cleanly. I don't have much experience in applying patches so there might be something I'm missing. Here are the changes I had to do... Subject: [PATCH] Whitespace cleanup, replace two tabs with spaces --- src/usb-msc.c |

Re: [SeaBIOS] Booting from USB thumbdrives, older drives boot, newer drives don't.

2012-03-05 Thread Dave Frodin
- Original Message - From: Paolo Bonzini pbonz...@redhat.com To: Kevin O'Connor ke...@koconnor.net Cc: Dave Frodin d...@camp.se-eng.com, seabios@seabios.org Sent: Monday, March 5, 2012 1:17:08 AM Subject: Re: Booting from USB thumbdrives, older drives boot, newer drives don't

Re: [SeaBIOS] [PATCH] scsi: do not send MODE SENSE except to QEMU disks

2012-03-05 Thread Dave Frodin
Paolo, I tested your patch. It works with all 14 USB thumbdrives and with a USB-to-SATA adapter we dug up. Dave - Original Message - From: Paolo Bonzini pbonz...@redhat.com To: seabios@seabios.org Cc: Dave Frodin d...@camp.se-eng.com Sent: Monday, March 5, 2012 4:29:12 AM Subject

Re: [SeaBIOS] [PATCH] scsi: do not send MODE SENSE except to QEMU disks

2012-03-05 Thread Dave Frodin
Signed-off-by: Dave Frodin d...@camp.se-eng.com Paolo, Marc wanted me to request that this patch be included in the next stable SeaBIOS release. Thanks again for your help on this. Dave - Original Message - From: Paolo Bonzini pbonz...@redhat.com To: seabios@seabios.org Cc: Dave

Re: [SeaBIOS] Booting from USB thumbdrives, older drives boot, newer drives don't.

2012-03-02 Thread Dave Frodin
: Booting from USB thumbdrives, older drives boot, newer drives don't. Il 02/03/2012 01:34, Dave Frodin ha scritto: On a related topic, I have a copy of the Indispensable PC Hardware book that lists the return values for the mode page 4 request. It list the cyc/head data as follows

Re: [SeaBIOS] Booting from USB thumbdrives, older drives boot, newer drives don't.

2012-03-02 Thread Dave Frodin
recommendations on my direction? 2) Is there any way to differentiate between a USB thumbdrive and a USB-to-SATA adapter? dave - Original Message - From: Dave Frodin d...@camp.se-eng.com To: seabios@seabios.org Sent: Friday, March 2, 2012 8:53:54 AM Subject: Re: [SeaBIOS

[SeaBIOS] Booting from USB thumbdrives, older drives boot, newer drives don't.

2012-03-01 Thread Dave Frodin
I'm a new subscriber to seabios.org so feel free to straighten me out if needed. I've been debugging an problem we've been seeing with not being able to boot (Ubuntu specifically) off of a variety of newer USB thumb drives. I've been specifically looking at an older/newer pair of Sandisk Cruzer

Re: [SeaBIOS] Booting from USB thumbdrives, older drives boot, newer drives don't.

2012-03-01 Thread Dave Frodin
looking forward to any insight into this from anyone knowledgeable on the subject. Dave - Original Message - From: Dave Frodin d...@camp.se-eng.com To: seabios@seabios.org Sent: Wednesday, February 29, 2012 4:38:21 PM Subject: [SeaBIOS] Booting from USB thumbdrives, older drives boot