I add driver/pci/onboard, it will take rom_address in conf.
Also add some line in pci_rom.c /* for the onboard vga it already got one VGA rom space ? bug it should be allocated and just use the assigned value */
if(dev->on_mainboard) { struct drivers_pci_onboard_config *conf; conf = dev->chip_info; if(conf->rom_address!=0) { rom_address = conf->rom_address; } }
Can you move that to pci_device.c ( allocate rom address)?
I mean if it is on board, 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:ollie@lanl.gov] 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 wrote:
Please check the update S2850, and it support onboard ATI via emulator.
How is the emulator been called?
Ollie
For command line? FILO,? Please refer Etherboot/src/filo/*.txt
Regards
YH
From: Sagiv Yefet [mailto:sagivy@3vium.com] 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 the VGA?
Sagiv.
-----Original Message----- From: YhLu [mailto:YhLu@tyan.com] Sent: Monday, December 20, 2004 8:34 PM To: Sagiv Yefet; linuxbios@clustermatic.org Subject: RE: Running with VGA
Please get the Etherboot 5.2.6.
You need to use patch for 2.4.22 and only enable ati rage xl framebuffer.
Regards
YH
From: Sagiv Yefet [mailto:sagivy@3vium.com] Sent: Sunday, December 19, 2004 2:27 AM To: YhLu; linuxbios@clustermatic.org Subject: RE: Running with VGA
Great, It solved the problem.
About the etherboot I try to run with 5.2.6 version as you said (enable BTEXT) and It is not working.
It stack in: Jumping to LinuxBIOS
When I use the 5.2.5 version that you sent me before It work.
Command: Make bin/r8169.zelf
Now the elf image is loading and there is no respond from the VGA..
The kernel parameter is: console=tty0.
Maybe I didn't patch the kernel with the correct patch file.
Where can I get the patch of the kernel supporting ATI Ragexl?
I am using 2.4.24 kernel version.
Thanks,
Sagiv
-----Original Message----- From: YhLu [mailto:YhLu@tyan.com] Sent: Friday, December 17, 2004 7:53 PM To: Sagiv Yefet; linuxbios@clustermatic.org Subject: RE: Running with VGA
In the targest/tyan/s2850/Config.lb
Change
option ROM_IMAGE_SIZE=0x10000
to
option ROM_IMAGE_SIZE=0x11800 option XIP_ROM_SIZE=0x20000
From: Sagiv Yefet [mailto:sagivy@3vium.com] Sent: Friday, December 17, 2004 3:05 AM To: YhLu; linuxbios@clustermatic.org Subject: RE: Running with VGA
I try to build freebios2-20041216-0400
And I get this compilation error:
gcc -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu /bin/ld: section .reset [fffdfff0 -> fffdffff] overlaps section .rom [fffd88c1 -> fffe0d7f]
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu /bin/ld: section .id [fffdffd9 -> fffdffef] overlaps section .rom [fffd88c1 -> fffe0d7f]
collect2: ld returned 1 exit status
make: *** [linuxbios] Error 1
What do you think it is?
Sagiv.
-----Original Message----- From: YhLu [mailto:YhLu@tyan.com] Sent: Thursday, December 16, 2004 4:57 AM To: Sagiv Yefet; linuxbios@clustermatic.org Subject: RE: Running with VGA
I commit the changes for you. Please check it out from
http://snapshots.linuxbios.org/
one hour later.
YH
From: Sagiv Yefet [mailto:sagivy@3vium.com] Sent: Wednesday, December 15, 2004 12:09 AM To: YhLu; linuxbios@clustermatic.org Subject: RE: Running with VGA
I have this definition in targets/tyan/s2850/Config.lb:
option CONFIG_CONSOLE_BTEXT=1
Not default as you wrote.
Is it ok?
Should I had the same thing in src/mainboard/tyan/s2850/Config.lb?
Sagiv.
-----Original Message----- From: Yinghai Lu [mailto:yhlu@tyan.com] Sent: Monday, December 13, 2004 4:01 AM To: Sagiv Yefet; linuxbios@clustermatic.org 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 the btext in Etherboot. You should use Etherboot 5.2.6. it includes filo and btext console.
About kernel, you need to use kernel patch to enable ragexl frame buffer support.
YH
From: linuxbios-admin@clustermatic.org [mailto:linuxbios-admin@clustermatic.org] On Behalf Of Sagiv Yefet Sent: Sunday, December 12, 2004 5:23 AM To: linuxbios@clustermatic.org Subject: Running with VGA
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