[LinuxBIOS] Enabling APIC 82801xx

2007-09-27 Thread joe
OK, I have a new booting problem. LB dies on the i82801xx_enable_ioapic() function in 82801xx_lpc.c: void i82801xx_enable_ioapic(struct device *dev) { uint32_t reg32; volatile uint32_t *ioapic_index = (volatile uint32_t *)0xfec0; volatile uint32_t *ioapic_data = (vol

[LinuxBIOS] FILO with only hdb

2007-09-27 Thread Nikolay Petukhov
Hi. I have the same problem with iei/juki-511 and iei/lx-800. This patch allow to load from slave. -- Nikolay diff -Nru filo-0.5/drivers/ide.c filo-0.5-slave/drivers/ide.c --- filo-0.5/drivers/ide.c 2006-09-06 13:43:26.0 +0600 +++ filo-0.5-slave/drivers/ide.c 2007-09-17 15:18:20.0

Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive

2007-09-27 Thread joe
Quoting Baski <[EMAIL PROTECTED]>: >> >> On Wed, Sep 26, 2007 at 10:19:08PM -0700, Baski wrote: >>> I want to place an option ROM image on a raw USB flash drive. >> >> Please explain why, otherwise we can't help you much. >> >> >>> It will be an option ROM image of a proper controller with correct

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread Tom Sylla
On 9/28/07, ron minnich <[EMAIL PROTECTED]> wrote: > is there any reason in hardware that hdb can NOT work if there is no hda? Nope, it is only a problem with software. -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread ron minnich
On 9/27/07, Tom Sylla <[EMAIL PROTECTED]> wrote: > One easy solution is to just ground CSEL on the CF connector with a > little rework. That will force it to be master. > is there any reason in hardware that hdb can NOT work if there is no hda? ron -- linuxbios mailing list linuxbios@linuxbios

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread ron minnich
On 9/27/07, Corey Osgood <[EMAIL PROTECTED]> wrote: > Weird, I've been booting off hdc for a while now with the jetway, only > major difference against the current svn is Peter's speedup patch. It > boots either with or without hda connected. Perhaps something in that > patch fixed it? I haven't t

Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive (Peter

2007-09-27 Thread Baski
From: [EMAIL PROTECTED] Subject: Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive (Peter Stuge) To: linuxbios@linuxbios.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Quoting Baski : > > > --

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread Tom Sylla
ron minnich wrote: > Why they did not just put the CF slot on secondary is anyone's guess ... My guess is that it is because there is no secondary IDE on 5536. :) There isn't anything built into 5536 to make the drive 0/drive 1 swap easy. One easy solution is to just ground CSEL on the CF connec

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread Corey Osgood
ron minnich wrote: > anyone tried this? I can't get anywhere with a board with only hdb. I > did some hacking in the filo ide driver but I am sure I got it wrong. > Any ideas here? > > thanks > > ron Weird, I've been booting off hdc for a while now with the jetway, only major difference against th

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread Myles Watson
> On 9/27/07, Myles Watson <[EMAIL PROTECTED]> wrote: > > Does hdb only mean slave and no master on IDE-0 ? > > > > Why not just make it the master? > > The msm800sev has an IDE with hda and a CF slot which is hdb. I would > like to run CF only. I just don't know how to do it (yet). I wonder if >

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread ron minnich
On 9/27/07, Myles Watson <[EMAIL PROTECTED]> wrote: > Does hdb only mean slave and no master on IDE-0 ? > > Why not just make it the master? The msm800sev has an IDE with hda and a CF slot which is hdb. I would like to run CF only. I just don't know how to do it (yet). I wonder if there is some tr

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread Myles Watson
> On Thu, Sep 27, 2007 at 05:14:58PM -0700, ron minnich wrote: > > anyone tried this? I can't get anywhere with a board with only hdb. I > > did some hacking in the filo ide driver but I am sure I got it wrong. > > Any ideas here? > > I've only ever been able to make filo work with 'hda' - the fi

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread Ward Vandewege
On Thu, Sep 27, 2007 at 05:14:58PM -0700, ron minnich wrote: > anyone tried this? I can't get anywhere with a board with only hdb. I > did some hacking in the filo ide driver but I am sure I got it wrong. > Any ideas here? I've only ever been able to make filo work with 'hda' - the first drive on

Re: [LinuxBIOS] FILO with only hdb

2007-09-27 Thread Myles Watson
Does hdb only mean slave and no master on IDE-0 ? Why not just make it the master? Myles > anyone tried this? I can't get anywhere with a board with only hdb. I > did some hacking in the filo ide driver but I am sure I got it wrong. > Any ideas here? > > thanks > > ron > -- linuxbios mail

[LinuxBIOS] FILO with only hdb

2007-09-27 Thread ron minnich
anyone tried this? I can't get anywhere with a board with only hdb. I did some hacking in the filo ide driver but I am sure I got it wrong. Any ideas here? thanks ron -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios

Re: [LinuxBIOS] A8N5X port

2007-09-27 Thread ron minnich
On 9/27/07, Robert Millan <[EMAIL PROTECTED]> wrote: > - include: someone might break board A in a commit that was only tested > on board B. I can only say it's been a huge problem in the past. I've had cases where I tried to rebuild linuxbios for an older board, only to find that "improvem

Re: [LinuxBIOS] A8N5X port

2007-09-27 Thread Robert Millan
On Thu, Sep 27, 2007 at 07:14:08PM +0200, Uwe Hermann wrote: > [Sorry for being late, I'm a bit, um... Internet-challenged at the moment. > No PGP signature for the same reason.] > > On Wed, Sep 26, 2007 at 11:50:52AM +0200, Robert Millan wrote: > > On Tue, Sep 25, 2007 at 03:53:21PM -0700, ron m

Re: [LinuxBIOS] A8N5X port

2007-09-27 Thread Stefan Reinauer
* Uwe Hermann <[EMAIL PROTECTED]> [070927 19:14]: > No duplicated code whatsoever. Sure, this may not be too elegant > (there's some room for improvements, though), but it's definately a > _lot_ better than duplicating all those files. Another question: If that code needs to be duplicated for eac

Re: [LinuxBIOS] [PATCH] v3: lar header walk off-by-one

2007-09-27 Thread ron minnich
OK, I like signed offset, but let's let stefan weigh in. It's critical that we get this right. ron -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios

Re: [LinuxBIOS] A8N5X port

2007-09-27 Thread Uwe Hermann
[Sorry for being late, I'm a bit, um... Internet-challenged at the moment. No PGP signature for the same reason.] On Wed, Sep 26, 2007 at 11:50:52AM +0200, Robert Millan wrote: > On Tue, Sep 25, 2007 at 03:53:21PM -0700, ron minnich wrote: > > Robert, I understand the reason for the include of th

Re: [LinuxBIOS] Call for help: superiotool

2007-09-27 Thread Carl-Daniel Hailfinger
On 27.09.2007 18:45, Robinson Tryon wrote: > On 9/27/07, Carl-Daniel Hailfinger <[EMAIL PROTECTED]> wrote: >> On 27.09.2007 18:21, Robinson Tryon wrote: >>> On 9/23/07, Uwe Hermann <[EMAIL PROTECTED]> wrote: To make the tool more useful we need - As many supported Super I/Os as poss

Re: [LinuxBIOS] Call for help: superiotool

2007-09-27 Thread Robinson Tryon
On 9/27/07, Carl-Daniel Hailfinger <[EMAIL PROTECTED]> wrote: > On 27.09.2007 18:21, Robinson Tryon wrote: > > On 9/23/07, Uwe Hermann <[EMAIL PROTECTED]> wrote: > >> To make the tool more useful we need > >> > >> - As many supported Super I/Os as possible. > >> > >>Supporting new ones is rela

Re: [LinuxBIOS] Call for help: superiotool

2007-09-27 Thread Carl-Daniel Hailfinger
On 27.09.2007 18:21, Robinson Tryon wrote: > On 9/23/07, Uwe Hermann <[EMAIL PROTECTED]> wrote: >> To make the tool more useful we need >> >> - As many supported Super I/Os as possible. >> >>Supporting new ones is relatively easy, but a bit time-consuming. >>You have to grab the datasheet,

Re: [LinuxBIOS] Call for help: superiotool

2007-09-27 Thread Robinson Tryon
On 9/23/07, Uwe Hermann <[EMAIL PROTECTED]> wrote: > To make the tool more useful we need > > - As many supported Super I/Os as possible. > >Supporting new ones is relatively easy, but a bit time-consuming. >You have to grab the datasheet, find out the ID/version of the >Super I/O and

Re: [LinuxBIOS] r2811 - trunk/util/flashrom

2007-09-27 Thread Carl-Daniel Hailfinger
On 27.09.2007 17:53, Peter Stuge wrote: > So, I should have reviewed sooner. Thanks for reviewing now. I will take your comments into account for the ongoing rewrite/restructuring. > On Thu, Sep 27, 2007 at 04:29:57PM +0200, [EMAIL PROTECTED] wrote: >> +/* Generic Super I/O helper functions */ >>

Re: [LinuxBIOS] [PATCH] v3: lar header walk off-by-one

2007-09-27 Thread Carl-Daniel Hailfinger
On 26.09.2007 18:11, ron minnich wrote: > On 9/26/07, Carl-Daniel Hailfinger <[EMAIL PROTECTED]> wrote: >> OK, this patch is not for the weak of hart because it touches some logic >> we had lots of problems with in the past. >> Basically, the lar archive header walk will not see a header at the end

Re: [LinuxBIOS] r2811 - trunk/util/flashrom

2007-09-27 Thread Peter Stuge
So, I should have reviewed sooner. On Thu, Sep 27, 2007 at 04:29:57PM +0200, [EMAIL PROTECTED] wrote: > +/* Generic Super I/O helper functions */ > +uint8_t regval(uint16_t port, uint8_t reg) > +{ > + outb(reg, port); > + return inb(port + 1); > +} > + > +void regwrite(uint16_t port, uint

Re: [LinuxBIOS] retrieving MAC from romstrap

2007-09-27 Thread Peter Stuge
On Thu, Sep 27, 2007 at 04:20:28PM +0200, Robert Millan wrote: > I just wrote a small utility to set the appropiate bytes in > linuxbios.rom. > > Any comments? I prefer the xxd trick. Note that I am exclusively working on systems where (I can make sure) xxd is available. //Peter -- linuxbios

Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive (Peter Stuge)

2007-09-27 Thread joe
Quoting Baski <[EMAIL PROTECTED]>: > > > -- > > Message: 4 > Date: Thu, 27 Sep 2007 11:04:22 +0200 > From: Peter Stuge > > Subject: Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive > To: linuxbios@linuxbios.org > Message-ID: <[EMAIL PROTECTED]> > Content-Typ

[LinuxBIOS] r2811 build service

2007-09-27 Thread LinuxBIOS information
Dear LinuxBIOS readers! This is the automated build check service of LinuxBIOS. The developer "ward" checked in revision 2811 to the LinuxBIOS source repository and caused the following changes: Change Log: Add preliminary SPI flash identification support for SPI chips attached to ITE IT8716F

Re: [LinuxBIOS] Mobile Phone ROMs

2007-09-27 Thread Darmawan Salihun
Hi, Laith Juwaidah wrote: > Hi, > > I found your website by accident, I was looking for a way to flash the ROM of > my Samsung I600 so I can install Linux on it (It's a project I want to do)... > > I am a programmer but I'm completely new to this... > > That's why I was wondering if I can use

Re: [LinuxBIOS] GA-M57SLI SPI support

2007-09-27 Thread Ward Vandewege
On Thu, Sep 27, 2007 at 11:31:14AM +0200, Carl-Daniel Hailfinger wrote: > No problem. Can you commit with your changes? Changelog follows: > > Add preliminary SPI flash identification support for SPI chips attached > to ITE IT8716F Super I/O. Right now this is hardcoded to the Gigabyte > M57SLI bo

[LinuxBIOS] r2811 - trunk/util/flashrom

2007-09-27 Thread svn
Author: ward Date: 2007-09-27 16:29:57 +0200 (Thu, 27 Sep 2007) New Revision: 2811 Modified: trunk/util/flashrom/board_enable.c Log: Add preliminary SPI flash identification support for SPI chips attached to ITE IT8716F Super I/O. Right now this is hardcoded to the Gigabyte M57SLI board. It wo

Re: [LinuxBIOS] retrieving MAC from romstrap

2007-09-27 Thread Robert Millan
On Wed, Sep 26, 2007 at 05:07:45PM -0400, Ward Vandewege wrote: > > I would like a way to change the MAC address for a rom image with some tool - > ideally as an option to flashrom, I guess. Keep in mind that there can be > multiple addresses on a board! I just wrote a small utility to set the ap

Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive (Peter Stuge)

2007-09-27 Thread Baski
-- Message: 4 Date: Thu, 27 Sep 2007 11:04:22 +0200 From: Peter Stuge Subject: Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive To: linuxbios@linuxbios.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii On Wed, Sep 26, 2007 a

Re: [LinuxBIOS] [PATCH] probe_superio: Cosmetics, cleanup, better structure

2007-09-27 Thread Carl-Daniel Hailfinger
On 26.09.2007 00:25, Robert Millan wrote: > On Sat, Sep 01, 2007 at 09:00:57PM +0200, Carl-Daniel Hailfinger wrote: >> You patch in the other mail looked fine. Fix the issues mentioned above >> as "FIX" and post another probe_superio from a lb boot after fixes. > > This is getting weird. I just a

Re: [LinuxBIOS] retrieving MAC from romstrap

2007-09-27 Thread Carl-Daniel Hailfinger
On 26.09.2007 23:07, Ward Vandewege wrote: > On Wed, Sep 26, 2007 at 05:02:33PM -0400, Tom Sylla wrote: >> On 9/26/07, Robert Millan <[EMAIL PROTECTED]> wrote: >>> unsigned long mac_pos; >>> mac_pos = 0xffd0; // refer to romstrap.inc and >>> romstrap.lds >>>

[LinuxBIOS] Mobile Phone ROMs

2007-09-27 Thread Laith Juwaidah
Hi, I found your website by accident, I was looking for a way to flash the ROM of my Samsung I600 so I can install Linux on it (It's a project I want to do)... I am a programmer but I'm completely new to this... That's why I was wondering if I can use flashrom to flash the ROM of my Samsung...

Re: [LinuxBIOS] GA-M57SLI SPI support

2007-09-27 Thread Carl-Daniel Hailfinger
On 27.09.2007 02:38, Ward Vandewege wrote: > Hi Carl-Daniel, > > On Tue, Sep 25, 2007 at 03:00:55AM +0200, Carl-Daniel Hailfinger wrote: >> Updated patch attached. This one was unfortunately an old version of the >> code. > > This certainly does something! > > # ./flashrom --mainboard gigabyte

Re: [LinuxBIOS] LinuxBIOS from Dell

2007-09-27 Thread Peter Stuge
On Thu, Sep 27, 2007 at 03:55:17AM +0200, [EMAIL PROTECTED] wrote: > > > How about AMD ? > > > > AMD has been a huge contributor to linuxbios for several years > > now. I don't know where we would be without them. > > And in the future?.. I see no reason for things to change. On the contrary I th

Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive

2007-09-27 Thread Peter Stuge
On Wed, Sep 26, 2007 at 10:19:08PM -0700, Baski wrote: > I want to place an option ROM image on a raw USB flash drive. Please explain why, otherwise we can't help you much. > It will be an option ROM image of a proper controller with correct > option ROM and PNP headers. How can we make linuxBio