Re: Resource Allocation for Option Rom

2004-05-27 Thread Eric W. Biederman
Li-Ta Lo <[EMAIL PROTECTED]> writes: > On Thu, 2004-05-27 at 14:16, Eric W. Biederman wrote: > > We could probably reserve a hole for this purpose, which > > is a good idea except for bridges. > > > > Can we just treat it as MEM resource and reuse the MEM resource > allocation code ? Yes that

Re: 答复: 答复: 答复: Getting Started with freebios2!

2004-05-27 Thread Eric W. Biederman
Steven James <[EMAIL PROTECTED]> writes: > For the serial, UHCI and OHCI will be good. EHCI can likely be ignored for > the BIOS since fast devices are required to fall back and EHCI always has > one of UHCI or OHCI to handle low speed USB. Actually not. At least not for serial before the memory

Re: 答复: 答复: 答复: Getting Started with freebios2!

2004-05-27 Thread Steven James
Greetings, I'm finally getting dug out after being snowed under :-) The spec is probably part of: http://www.usb.org/developers/devclass_docs/usbcdc11.pdf The communications class. I'm guessing it would be a subset of POTS modem with a transparent data protocol. That would imply line contol on t

Re: Testbios works for ATI too !!!

2004-05-27 Thread Li-Ta Lo
On Thu, 2004-05-27 at 15:21, Richard Smith wrote: > ron minnich wrote: > > > On Thu, 27 May 2004, Richard Smith wrote: > > > > > >>I don't suppose there is a way to use testbios with a system having 2 > >>video cards is there? > > > > the spec says that you can call a card bios with a devfn an

Re: 答复: Getting Started with freebios2!

2004-05-27 Thread Li-Ta Lo
On Thu, 2004-05-27 at 15:14, ron minnich wrote: > now we need usb output. The HP node we got has no serial port! > > ouch! > I thought we don;t care about those HP nodes due to it "management" processor". Ollie > ron > > ___ > Linuxbios mailing list

答复: 答复: 答复: Getting Started with freebios2!

2004-05-27 Thread YhLu
So the LinuxBIOS need to 1. init USB controller 2. create usb_dev to be serial. 3. use usb_control_msg and usb_bulk_msg to talk with the serial device. What the USB type, OHCI or UCHI or EHCI?? I wonder if some source code or documents that define No 3 above? Regards YH -邮件原件- 发件人: ro

Re: Resource Allocation for Option Rom

2004-05-27 Thread Stefan Reinauer
* ron minnich <[EMAIL PROTECTED]> [040527 23:21]: > again, you do not need to map option roms at 0c in the emulator! > > Map it anywhere, tell the emulator the location, and the emulator can > satisfy memory "fetches" for c by fetching from that location. indeed true. But for x86 hardwa

Re: Resource Allocation for Option Rom

2004-05-27 Thread ron minnich
On Thu, 27 May 2004, Li-Ta Lo wrote: > Do you mean the expansion rom BAR is hard coded to 0xc ? it's not. It can be anywhere. For dumping vgabios I would actually set it by setpci to an unused place, mmap /dev/mem, and dump it out. It can go anywhere. ron _

Re: Testbios works for ATI too !!!

2004-05-27 Thread Richard Smith
ron minnich wrote: On Thu, 27 May 2004, Richard Smith wrote: I don't suppose there is a way to use testbios with a system having 2 video cards is there? the spec says that you can call a card bios with a devfn and it should all work. Not all cards work however as their bios is brain-dead. The bi

Re: Resource Allocation for Option Rom

2004-05-27 Thread ron minnich
On Thu, 27 May 2004, Stefan Reinauer wrote: > This procedure should be a part of "testbios" rather than LinuxBIOS' PCI > code, but reserving some space for it early might be the way to go > indeed. just remember you're in an emulator. If you can get option rom contents copied out then the emulat

Re: Resource Allocation for Option Rom

2004-05-27 Thread ron minnich
On 27 May 2004, Eric W. Biederman wrote: > Be very careful here. The PCI spec allows the option rom BAR > to be mutually exclusive with the other BARS so in general > they both can not be enabled. should not matter if you are running an emulator. ron __

Re: ????: Getting Started with freebios2!

2004-05-27 Thread Stefan Reinauer
* ron minnich <[EMAIL PROTECTED]> [040527 23:14]: > now we need usb output. The HP node we got has no serial port! No JTAG either? I'd assume serial-via-usb console needs a lot more hardware initialized than a simple serial port before one can see anything..

Re: 答复: 答复: Getting Started with freebios2!

2004-05-27 Thread ron minnich
On Thu, 27 May 2004, YhLu wrote: > Usb to serial ??? yes, it's now needed :-( ron ___ Linuxbios mailing list [EMAIL PROTECTED] http://www.clustermatic.org/mailman/listinfo/linuxbios

Re: Resource Allocation for Option Rom

2004-05-27 Thread ron minnich
On Thu, 27 May 2004, Stefan Reinauer wrote: > * Li-Ta Lo <[EMAIL PROTECTED]> [040527 22:49]: > > > Also, the graphics card option roms are usually hardcoded to 0xc > > > > Do you mean the expansion rom BAR is hard coded to 0xc ? > > The how does the bios copy the bios in ROM at 0xc to

Re: Resource Allocation for Option Rom

2004-05-27 Thread ron minnich
On Thu, 27 May 2004, Li-Ta Lo wrote: > It seems that the resource allocation for option rom > is not implemented in LinuxBIOS, is it ? Is there one > have any idea how to add this ? When I borrowed that code originally from linux I believe it always disabled option roms. You should be able to ex

Re: 答复: Getting Started with freebios2!

2004-05-27 Thread ron minnich
now we need usb output. The HP node we got has no serial port! ouch! ron ___ Linuxbios mailing list [EMAIL PROTECTED] http://www.clustermatic.org/mailman/listinfo/linuxbios

答复: 答复: Getting Started with freebios2!

2004-05-27 Thread YhLu
Usb to serial ??? YH -邮件原件- 发件人: ron minnich [mailto:[EMAIL PROTECTED] 发送时间: 2004年5月27日 14:14 收件人: YhLu 抄送: Jay Miller; [EMAIL PROTECTED]; LinuxBIOS 主题: Re: 答复: Getting Started with freebios2! now we need usb output. The HP node we got has no serial port! ouch! ron ___

Re: Testbios works for ATI too !!!

2004-05-27 Thread ron minnich
On Thu, 27 May 2004, Richard Smith wrote: > I don't suppose there is a way to use testbios with a system having 2 > video cards is there? the spec says that you can call a card bios with a devfn and it should all work. Not all cards work however as their bios is brain-dead. ron __

Re: Resource Allocation for Option Rom

2004-05-27 Thread Stefan Reinauer
* Li-Ta Lo <[EMAIL PROTECTED]> [040527 22:49]: > > Also, the graphics card option roms are usually hardcoded to 0xc > > Do you mean the expansion rom BAR is hard coded to 0xc ? > The how does the bios copy the bios in ROM at 0xc to memory > in DRAM at 0xc as stated in PCI spec 6.3.

Re: Resource Allocation for Option Rom

2004-05-27 Thread Li-Ta Lo
On Thu, 2004-05-27 at 14:30, Stefan Reinauer wrote: > * Eric W. Biederman <[EMAIL PROTECTED]> [040527 22:16]: > > We could probably reserve a hole for this purpose, which > > is a good idea except for bridges. > > Also, the graphics card option roms are usually hardcoded to 0xc > Do you me

Re: Resource Allocation for Option Rom

2004-05-27 Thread Li-Ta Lo
On Thu, 2004-05-27 at 14:16, Eric W. Biederman wrote: > We could probably reserve a hole for this purpose, which > is a good idea except for bridges. > Can we just treat it as MEM resource and reuse the MEM resource allocation code ? > Be very careful here. The PCI spec allows the option rom B

Re: Resource Allocation for Option Rom

2004-05-27 Thread Stefan Reinauer
* Eric W. Biederman <[EMAIL PROTECTED]> [040527 22:16]: > We could probably reserve a hole for this purpose, which > is a good idea except for bridges. Also, the graphics card option roms are usually hardcoded to 0xc > Be very careful here. The PCI spec allows the option rom BAR > to be mu

Re: Iwill DK8S2

2004-05-27 Thread Hendricks David W.
Follow up: VGA works, the system boots, keyboard + mouse work. There are a couple resource allocation errors that show up during LInuxBIOS boot, but Linux seems unaffected. On Wed, 26 May 2004, Hendricks David W. wrote: > I'm committing some new stuff for the Iwill DK8S2 mainboard to replace t

Re: Resource Allocation for Option Rom

2004-05-27 Thread Eric W. Biederman
Li-Ta Lo <[EMAIL PROTECTED]> writes: > Hello, > > It seems that the resource allocation for option rom > is not implemented in LinuxBIOS, is it ? Is there one > have any idea how to add this ? We could probably reserve a hole for this purpose, which is a good idea except for bridges. Be very c

Resource Allocation for Option Rom

2004-05-27 Thread Li-Ta Lo
Hello, It seems that the resource allocation for option rom is not implemented in LinuxBIOS, is it ? Is there one have any idea how to add this ? Ollie ___ Linuxbios mailing list [EMAIL PROTECTED] http://www.clustermatic.org/mailman/listinfo/linuxbios

Re: Testbios works for ATI too !!!

2004-05-27 Thread Li-Ta Lo
On Thu, 2004-05-27 at 13:38, Richard Smith wrote: > Richard Smith wrote: > > I don't suppose there is a way to use testbios with a system having 2 > video cards is there? > Your are asking too much ;-). It is not that smart yet. > I got a pci developemnt card from ATI that has an M1 on it stuc

Re: Testbios works for ATI too !!!

2004-05-27 Thread Richard Smith
Richard Smith wrote: I don't suppose there is a way to use testbios with a system having 2 video cards is there? I got a pci developemnt card from ATI that has an M1 on it stuck in a sytems that also has a agp card. I tell the bios to init the AGP card first so the PCI card only gets POR. I'v

答复: Getting Started with freebios2!

2004-05-27 Thread YhLu
USB support status: For OHCI (AMD8111) support, it can do ED-TD process well. Only one problem left: When it using bulk transfer (ed 1 and 2) to talk to the USB disk, it gets the USB ERR 5, that means device does not response. But control ed (0) works well, can get the USB disk serial number. R

RE: Getting Started with freebios2!

2004-05-27 Thread Jay Miller
I think that I've been lucky using a stock RH9 distro. I'm going to make sure I've got the latest binutils, etc... and retry. By the way, what is the status on USB support? I know you were getting close. Thanks, J -Original Message- From: YhLu [mailto:[EMAIL PROTECTED] Sent: Thursday

答复: Getting Started with freebios2!

2004-05-27 Thread YhLu
Did you use export LANG=en_US before make bin/tg3--filo.zelf? Or I could send one tg3_filo.zelf to you? Regards YH -邮件原件- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 发送时间: 2004年5月27日 11:48 收件人: Jay Miller 抄送: Eric W. Biederman; LinuxBIOS 主题: Re: Getting Started with freebios2! "

Re: Getting Started with freebios2!

2004-05-27 Thread Eric W. Biederman
"Jay Miller" <[EMAIL PROTECTED]> writes: > That's why I thought that elfboot couldn't read .zelf, because the image > sizes are incorrect.Actual image size for the tg3--filo.zelf image > is 43,153 bytes, which is smaller than the file.elf image 43,472 bytes. > But when I make a linuxbios.rom w

Re: Testbios works for ATI too !!!

2004-05-27 Thread Richard Smith
Li-Ta Lo wrote: Hello, I just tried my "imporved" testbios on ATI 9800PRO under LinuxBIOS. It can init the card. The only problem is that the normal BIOS store the PCIDEVFN at some bytes in the C segment so I have to change the vbios.bin a little bit. I will commit the current testbios into V2 tree

Testbios works for ATI too !!!

2004-05-27 Thread Li-Ta Lo
Hello, I just tried my "imporved" testbios on ATI 9800PRO under LinuxBIOS. It can init the card. The only problem is that the normal BIOS store the PCIDEVFN at some bytes in the C segment so I have to change the vbios.bin a little bit. I will commit the current testbios into V2 tree after doing s

RE: Getting Started with freebios2!

2004-05-27 Thread Jay Miller
That's why I thought that elfboot couldn't read .zelf, because the image sizes are incorrect.Actual image size for the tg3--filo.zelf image is 43,153 bytes, which is smaller than the file.elf image 43,472 bytes. But when I make a linuxbios.rom with the tg3--filo.zelf as the payload, elfboot gen

Re: Getting Started with freebios2!

2004-05-27 Thread Eric W. Biederman
Please CC the list on questions like this. "Jay Miller" <[EMAIL PROTECTED]> writes: > Hi Eric, > > Perhaps you can help me, seeing that you wrote elfboot. This is the > output that I get when I use a .zelf image: > > Welcome to elfboot, the open sourced starter. > January 2002, Eric Bieder