Re: Running with VGA

2005-01-18 Thread Eric W. Biederman
YhLu could you please, please, please fix your mailer so it sets In-Reply-To: and References: correctly or could you switch to a mailer that does. Catching up on a conversation like this when all of the threads are chopped in to little pieces is a major pain. It does not help that you are also

Re: Running with VGA

2005-01-18 Thread YhLu
Maybe I need to change my mail program. What should I use? YH ___ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios

Re: Running with VGA

2005-01-18 Thread Richard Smith
On Tue, 18 Jan 2005 10:07:00 -0800, YhLu [EMAIL PROTECTED] wrote: Maybe I need to change my mail program. What should I use? Thunderbird. http://www.mozilla.org -- Richard A. Smith ___ Linuxbios mailing list Linuxbios@clustermatic.org

Re: Running with VGA

2005-01-18 Thread YhLu
Can I use that to connect Exchange Server in IMAP? YH -Original Message- From: Richard Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 10:13 AM To: YhLu Cc: ebiederman@lnxi.com; Li-Ta Lo; Sagiv Yefet; LinuxBIOS Subject: Re: Running with VGA On Tue, 18 Jan 2005 10:07:00

Re: Running with VGA

2005-01-18 Thread Stefan Reinauer
* YhLu [EMAIL PROTECTED] [050118 19:34]: Can I use that to connect Exchange Server in IMAP? Yes, it works fine. ___ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios

RE: Running with VGA

2005-01-17 Thread Li-Ta Lo
On Fri, 2005-01-14 at 20:59, YhLu wrote: I add the code to amd_earlymtrr.c but found two problem 1. in the cpu init, the second cpu cache can not be enabled. (still using value set by amd_earlymtrr.c). ( before the amd_mtrr.c called by init). 2. some slow in auto.c stage. Maybe because of

RE: Running with VGA

2005-01-17 Thread Li-Ta Lo
On Mon, 2005-01-17 at 18:31, YhLu wrote: You will create another member in dev? in device_operations. Ollie YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Monday, January 17, 2005 5:18 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running

RE: Running with VGA

2005-01-17 Thread YhLu
You will create another member in dev? YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Monday, January 17, 2005 5:18 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Fri, 2005-01-14 at 20:59, YhLu wrote: I add the code to amd_earlymtrr.c

RE: Running with VGA

2005-01-17 Thread YhLu
Ok with me. -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Monday, January 17, 2005 5:21 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Mon, 2005-01-17 at 18:31, YhLu wrote: You will create another member in dev? in device_operations

RE: Running with VGA

2005-01-14 Thread Li-Ta Lo
On Thu, 2005-01-13 at 22:20, YhLu wrote: The problem is no body touch that range. Even init_ecc_memory will skip the first 1M range. No. The problem is amd/early_mtrr and amd/mtrr are wrong. The amd/early_mtrr does not enable MEM forwarding of A-B to main memory and amd/mtrr is

RE: Running with VGA

2005-01-14 Thread Li-Ta Lo
On Thu, 2005-01-13 at 22:47, YhLu wrote: I add some lines in devices.c and pci_device.c In case to disable the onboard vga to use add on card. Please check it. YH The way you do it is just add another pass of dev_initialize(). We should fix the AMD MTRR instead. Ollie

RE: Running with VGA

2005-01-14 Thread YhLu
Then Eric need to fix the MTRR for AMD...? -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Friday, January 14, 2005 6:58 AM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Thu, 2005-01-13 at 22:20, YhLu wrote: The problem is no body touch

RE: Running with VGA

2005-01-14 Thread Li-Ta Lo
? Ollie -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Friday, January 14, 2005 6:58 AM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Thu, 2005-01-13 at 22:20, YhLu wrote: The problem is no body touch that range. Even init_ecc_memory

RE: Running with VGA

2005-01-14 Thread YhLu
: Running with VGA On Fri, 2005-01-14 at 10:36, YhLu wrote: Then Eric need to fix the MTRR for AMD...? He uses TOP_MEM instead of MTRR for caching in early_mtrr. I don't know how to fix this execpt rewrite the whole early_mtrr. Probably we should add a dev_post() pass and put the ROM post

RE: Running with VGA

2005-01-14 Thread YhLu
I check the amd_early_mtrr.c with old amd earymtrr.inc. It seems the only difference is not enable SYSCFG_MSR_MtrrFixDramModEn before clear MTRR fixed. I enable that, but the result shows no change YH ___ Linuxbios mailing list

RE: Running with VGA

2005-01-14 Thread YhLu
CONFIG_PCI_ROM_RUN added in Option.lb #if CONFIG_PCI_ROM_RUN==1 And #if CONFIG_CONSOLE_VGA==1 Added in device.c pci_device.c and pci_rom.c and Config.lb in src/devices Also console/vga_console.c modified. YH ___ Linuxbios mailing list

RE: Running with VGA

2005-01-14 Thread Li-Ta Lo
On Fri, 2005-01-14 at 12:45, YhLu wrote: I check the amd_early_mtrr.c with old amd earymtrr.inc. It seems the only difference is not enable SYSCFG_MSR_MtrrFixDramModEn before clear MTRR fixed. Probably I didn't commit all the old code I used to have. Anyway, the things we have to do in

RE: Running with VGA

2005-01-13 Thread YhLu
PCI: 02:06.0 30 - [0x00fff8 - 0x00fff7] rom It seems it can not be processed by pci_set_resource properly. YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 10:10 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA

RE: Running with VGA

2005-01-13 Thread YhLu
I guess it can not get size correctly. So you need to change the pci_get_rom_resource to get the size for it. And then assign the base to it. YH -Original Message- From: YhLu Sent: Thursday, January 13, 2005 9:49 AM To: Li-Ta Lo Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA

RE: Running with VGA

2005-01-13 Thread YhLu
Yefet; LinuxBIOS Subject: RE: Running with VGA I guess it can not get size correctly. So you need to change the pci_get_rom_resource to get the size for it. And then assign the base to it. YH -Original Message- From: YhLu Sent: Thursday, January 13, 2005 9:49 AM To: Li-Ta Lo Cc: Sagiv

RE: Running with VGA

2005-01-13 Thread Li-Ta Lo
On Thu, 2005-01-13 at 10:49, YhLu wrote: PCI: 02:06.0 30 - [0x00fff8 - 0x00fff7] rom It seems it can not be processed by pci_set_resource properly. YH Is 0x8000 written to register 0x30? That resource is dummy so it should not be process by the resource allocator. Anyway,

RE: Running with VGA

2005-01-13 Thread YhLu
Works not. I happen to delete in pci_read_config(dev, PCI_ROM_ADDRESS) -Original Message- From: YhLu Sent: Thursday, January 13, 2005 10:20 AM To: YhLu; 'Li-Ta Lo' Cc: 'Sagiv Yefet'; 'LinuxBIOS' Subject: RE: Running with VGA Move /* for on board device with embedded ROM image

RE: Running with VGA

2005-01-13 Thread Li-Ta Lo
: RE: Running with VGA Move /* for on board device with embedded ROM image, the ROM image is at * fixed address specified in the Config.lb, the dev-rom_address is * inited by driver_pci_onboard_ops::enable_dev() */ if ((dev-on_mainboard) (dev-rom_address != 0

RE: Running with VGA

2005-01-13 Thread YhLu
Works now. please check it. YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 11:12 AM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Thu, 2005-01-13 at 10:49, YhLu wrote: PCI: 02:06.0 30 - [0x00fff8

RE: Running with VGA

2005-01-13 Thread YhLu
-Original Message- From: YhLu Sent: Thursday, January 13, 2005 11:27 AM To: Li-Ta Lo Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA Works now. please check it. YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 11:12 AM

RE: Running with VGA

2005-01-13 Thread Li-Ta Lo
On Thu, 2005-01-13 at 14:01, YhLu wrote: It seems that onboard ATI rage xl font mem can not be loaded correctly by option rom in emulator. After load the kernel (2.6.5) with atyfb enabled. The font mem can be recovered even restart the MB. I guess the ati rage xl could be judge sth to

Re: Running with VGA

2005-01-13 Thread Richard Smith
Did you get scrambled screen? One thing you probably would try is to get a 'real' BIOS image instead of dumping from a normal BIOS system. I found that some BIOSes are self-modifying, if you dump it from normal BIOS, it will skip some operation. In this case, it is probably init font

RE: Running with VGA

2005-01-13 Thread YhLu
I have done some interesting test. I plug one display adapter to the MB, and let linuxbios excute onboard vga option rom at first, and then option rom in addon card. Then power down and I unplug the add on card At last boot the system, after linuxbios, it works well. The option rom in Adapter

RE: Running with VGA

2005-01-13 Thread Ronald G. Minnich
On Thu, 13 Jan 2005, YhLu wrote: The option rom in Adapter init the Font Mem and it can last some time even power off the MBFunny. dram is like that. When I was still designing microprocessor boards, and the microprocessor hung, I would power cycle it and if I got back quickly, most

RE: Running with VGA

2005-01-13 Thread Li-Ta Lo
On Thu, 2005-01-13 at 15:22, YhLu wrote: I have done some interesting test. I plug one display adapter to the MB, and let linuxbios excute onboard vga option rom at first, and then option rom in addon card. Then power down and I unplug the add on card At last boot the system, after linuxbios,

RE: Running with VGA

2005-01-13 Thread YhLu
No, no problem. Same addon card (ati rage xl) (pci) on S2895 works well. YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 2:17 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Thu, 2005-01-13 at 15:22, YhLu wrote

Re: Running with VGA

2005-01-13 Thread Richard Smith
it from normal BIOS, it will skip some operation. In this case, it is probably init font buffer. I have word from an ATI tech who says they don't do that. I should clarify this. I thought you guys were talking about zeroing the entry pointer so that if you copied it from ram you would not

RE: Running with VGA

2005-01-13 Thread Li-Ta Lo
On Thu, 2005-01-13 at 15:45, YhLu wrote: No, no problem. Same addon card (ati rage xl) (pci) on S2895 works well. I am confused. Are you using S2895 or S2892? And is the rage xl on board or as an addon card? Ollie ___ Linuxbios mailing list

RE: Running with VGA

2005-01-13 Thread YhLu
S2892 has onboard atirage xl S2895 has no onboard. -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 3:10 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Thu, 2005-01-13 at 15:45, YhLu wrote: No, no problem. Same

RE: Running with VGA

2005-01-13 Thread YhLu
PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Thu, 2005-01-13 at 16:23, YhLu wrote: S2892 has onboard atirage xl S2895 has no onboard. With exactly the same chip and BIOS? Then probably the order of calling device::init() does matter. Ollie -Original Message

RE: Running with VGA

2005-01-13 Thread YhLu
; dev-ops-init(dev); } } printk_info(Devices initialized\n); } -Original Message- From: YhLu Sent: Thursday, January 13, 2005 6:51 PM To: Li-Ta Lo Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA It seems after if after cpu init do

RE: Running with VGA

2005-01-13 Thread YhLu
Yefet; LinuxBIOS Subject: RE: Running with VGA On Thu, 2005-01-13 at 20:00, YhLu wrote: I would change dev_initalize to following void dev_initialize(void) { struct device *dev; printk_info(Initializing devices...\n); #if CONFIG_CONSOLE_VGA == 1 for (dev = all_devices

RE: Running with VGA

2005-01-13 Thread Li-Ta Lo
On Thu, 2005-01-13 at 19:50, YhLu wrote: It seems after if after cpu init do the onboard vga init, it will work. The CPU init only do the init ECC and clear that after 1M. ... Werid! And it is not wiped out after power off. I read your log file again. The font buffer address (0xA -

RE: Running with VGA

2005-01-13 Thread Li-Ta Lo
: Running with VGA On Thu, 2005-01-13 at 20:00, YhLu wrote: I would change dev_initalize to following void dev_initialize(void) { struct device *dev; printk_info(Initializing devices...\n); #if CONFIG_CONSOLE_VGA == 1 for (dev = all_devices; dev; dev = dev

Re: Running with VGA

2005-01-13 Thread Peter Stuge
On Thu, Jan 13, 2005 at 09:18:00PM -0700, Li-Ta Lo wrote: The only problem is how do we do a non-recursive broad first tree traversal? If recursion is the only problem and RAM is up then plain iteration and a manual stack could work. //Peter ___

RE: Running with VGA

2005-01-13 Thread YhLu
I add some lines in devices.c and pci_device.c In case to disable the onboard vga to use add on card. Please check it. YH ___ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios

RE: Running with VGA

2005-01-12 Thread Li-Ta Lo
__ From: Sagiv Yefet [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 9:59 AM To: YhLu; linuxbios@clustermatic.org Subject: RE: Running with VGA Thanks. What is the command-line needed for using

RE: Running with VGA

2005-01-12 Thread YhLu
, and have rom_address in Config.lb, it should use that instead of allocate one for it. YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 5:26 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Wed, 2005-01-12 at 17:23, YhLu

RE: Running with VGA

2005-01-12 Thread YhLu
The chip.h is already in /drivers/pci/onboard. So may need to #include ../drivers/pci/onboard/chip.h In pci_device.c Also in get_pci_rom_resource begin Add if(dev-on_mainboard) { struct drivers_pci_onboard_config *conf; conf = dev-chip_info;

RE: Running with VGA

2005-01-12 Thread Li-Ta Lo
On Wed, 2005-01-12 at 18:59, YhLu wrote: The chip.h is already in /drivers/pci/onboard. So may need to #include ../drivers/pci/onboard/chip.h In pci_device.c How about we bring the device:rom_address back and in the driver_pci_onboard::enable_dev(dev) { dev-rom_address =

RE: Running with VGA

2005-01-12 Thread YhLu
much better, Because don't need to cast conf to drivers_pci_onboard_config, it is not safe in pci_rom.c or pci_device.c Do it. YH How about we bring the device:rom_address back and in the driver_pci_onboard::enable_dev(dev) { dev-rom_address = conf-rom_address; } and in

RE: Running with VGA

2005-01-12 Thread YhLu
Committed. Also I added readme in /drivers/pci/onboard/onboard.c YH ___ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios

RE: Running with VGA

2005-01-12 Thread YhLu
Subject: RE: Running with VGA On Wed, 2005-01-12 at 21:02, YhLu wrote: Committed. Also I added readme in /drivers/pci/onboard/onboard.c YH I made some modification which should utilize the resource allocation code and minimize the impact of the embedded ROM image. I was doing it blindly

RE: Running with VGA

2005-01-12 Thread Li-Ta Lo
PROTECTED] Sent: Wednesday, January 12, 2005 9:48 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA On Wed, 2005-01-12 at 21:02, YhLu wrote: Committed. Also I added readme in /drivers/pci/onboard/onboard.c YH I made some modification which should

RE: Running with VGA

2004-12-19 Thread Sagiv Yefet
: YhLu [mailto:[EMAIL PROTECTED]] Sent: Friday, December 17, 2004 7:53 PM To: Sagiv Yefet; [EMAIL PROTECTED] Subject: RE: Running with VGA In the targest/tyan/s2850/Config.lb Change option ROM_IMAGE_SIZE=0x1 to option ROM_IMAGE_SIZE=0x11800 option XIP_ROM_SIZE=0x2 From

RE: Running with VGA

2004-12-17 Thread Sagiv Yefet
. -Original Message- From: YhLu [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 16, 2004 4:57 AM To: Sagiv Yefet; [EMAIL PROTECTED] Subject: RE: Running with VGA I commit the changes for you. Please check it out from http://snapshots.linuxbios.org/ one hour later. YH

Re: Running with VGA

2004-12-17 Thread Stefan Reinauer
* Sagiv Yefet [EMAIL PROTECTED] [041217 12:05]: I try to build freebios2-20041216-0400 And I get this compilation error: -gnu/bin/ld: section .id [fffdffd9 - fffdffef] overlaps section .rom [fffd88c1 - fffe0d7f] What do you think it is? Your ROM_IMAGE_SIZE is too small.. Stefan

RE: Running with VGA

2004-12-17 Thread YhLu
. -Original Message- From: YhLu [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 4:57 AM To: Sagiv Yefet; [EMAIL PROTECTED] Subject: RE: Running with VGA I commit the changes for you. Please check it out from http://snapshots.linuxbios.org/ one hour later. YH

RE: Running with VGA [PMX:#]

2004-12-17 Thread Ronald G. Minnich
On Fri, 17 Dec 2004, YhLu wrote: In the targest/tyan/s2850/Config.lb Change option ROM_IMAGE_SIZE=0x1 to option ROM_IMAGE_SIZE=0x11800 option XIP_ROM_SIZE=0x2 actually, if you are modifying a Config.lb, it is always best to make your own. cp

RE: Running with VGA

2004-12-15 Thread YhLu
I commit the changes for you. Please check it out from http://snapshots.linuxbios.org/ one hour later. YH From: Sagiv Yefet [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 12:09 AM To: YhLu; [EMAIL PROTECTED] Subject: RE: Running with VGA I have

RE: Running with VGA

2004-12-15 Thread Sagiv Yefet
]] Sent: Monday, December 13, 2004 4:01 AM To: Sagiv Yefet; [EMAIL PROTECTED] Subject: RE: Running with VGA You need to add uses CONFIG_CONSOLE_BTEXT default CONFIG_CONSOLE_BTEXT=1 dir /drivers/ati/ragexl after that you can get ouput in Linuxbios after vga init. You also need to enable

Running with VGA

2004-12-12 Thread Sagiv Yefet
Hello, I am using Linux Bios on Tyan 2850. The machine is running with console. I add to the command line: console=ttyS0,115200 and I have linux which runs with console. How can I run with VGA? Should I add some code to the bios? The VGA driver is: ATI Rage XL. Sagiv

RE: Running with VGA

2004-12-12 Thread Yinghai Lu
. About kernel, you need to use kernel patch to enable ragexl frame buffer support. YH From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sagiv Yefet Sent: Sunday, December 12, 2004 5:23 AM To: [EMAIL PROTECTED] Subject: Running with VGA Hello, I am using Linux Bios