Modify

Opened 6 years ago

Closed 6 years ago

#137 closed defect (fixed)

S2895 no function after coreboot 2 flash

Reported by: anonymous Owned by:
Priority: major Milestone:
Component: buildrom Keywords:
Cc: Dependencies:
Patch Status: patch has been committed

Description

Hi Guys,

I am not sure whether i am correct here with you guys. But i have some troubles after flashing the tyan-s2895.rom that has been generated with seabios as payload by the buildrom tool. There are no logs in the log folders and everything worked fine. But after flashing the coreboot bios to the board using "flashrom -v -w tyan-s2895.rom" and i "halt" the system, it will come up for a second and switches off immediately. I tried clearing the CMOS, but this did not solve the problem.

Any idea what i am doing wrong?

Attachments (4)

s2895_log.txt (7.4 KB) - added by anonymous 6 years ago.
TYAN S2895 logfile
DSC00943.JPG (356.2 KB) - added by anonymous 6 years ago.
Geforce 7200 issue loading windows xp
acpidump (106.9 KB) - added by anonymous 6 years ago.
DSDT.dat (22.2 KB) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (25)

comment:1 Changed 6 years ago by anonymous

By the way... I have recovered my board with the original Bios chip. The same problem appears every time i flash the coreboot ROM. It does not matter if i use a hardware EEPROM burner or the flashrom utility.

comment:2 Changed 6 years ago by myles

I'll help you work through it. Before we continue, though, you should know that Nvidia's ck804 SATA isn't supported by any payloads. If you want to boot from a SATA drive you'll have to put Linux in the ROM (Linux-As-Bootloader). PATA works fine.

Thanks, Myles

comment:3 follow-up: Changed 6 years ago by anonymous

Hi Myles,

Thanks a lot for your fast response. So you are saying that the problem seems to be that i am using a SATA HDD? That could explain a lot. i will try doing an Windows installation on the IDE drive and see if the problem will then be resolved.

About my current config:

I am using the TYAN S2895 with 2 SATA HDDs. first one has Windows on it and the second one is using Suse 11.1. Grub is installed on the first SATA HDD with the Windows.

Any chance to get both OS to work at the same time?

However i will try with an IDE HDD and Windows via seabios first ;-)

BR, Tweek

comment:4 Changed 6 years ago by myles

I was just warning you. Ward says you might be able to get SATA to work.

I'll update buildrom with something that works for me, then you can try it again. You shouldn't go to the work of installing on different disks until you can get at least some output from your serial port.

Thanks, Myles

comment:5 in reply to: ↑ 3 Changed 6 years ago by anonymous

Replying to anonymous:

Hi Myles,

Thanks a lot for your fast response. So you are saying that the problem seems to be that i am using a SATA HDD?

It wasn't getting that far.

About my current config:

I am using the TYAN S2895 with 2 SATA HDDs. first one has Windows on it and the second one is using Suse 11.1. Grub is installed on the first SATA HDD with the Windows.

Any chance to get both OS to work at the same time?

Booting at the same time isn't a problem, but s2895 needs some ACPI help before Windows will boot. SeaBIOS will find Grub and it will just work for you once Windows boots on s2895.

Try it again and when you do make configure, select Payload Configuration->Enable LZMA Compression. That's the way I tried it. ACPI works well enough for Ubuntu...

Thanks, Myles

comment:6 Changed 6 years ago by anonymous

So I have have tried it again. With LZMA compression enabled, i get a rom file thats ~500k while without i get 1M rom file. Only the 1M rom file works with the flashrom as the chip is a 49LF080A(SST) with 1M. So far so good. The Bios has been flashed, but no screen. The graphic card does not initialize itself.

I need t0 arrange a pc with serial console to see whats going on.

Thanks for your help. Tweek

comment:7 follow-up: Changed 6 years ago by anonymous

I have now tested with a serial console but i never get any output on the serial console.

comment:8 in reply to: ↑ 7 Changed 6 years ago by myles

Replying to anonymous:

I have now tested with a serial console but i never get any output on the serial console.

Have you tested the compressed version? I know you said it builds a 512K ROM. I thought that was the board default.

cat coreboot.rom coreboot.rom >1M.rom

Or change ROM_SIZE in Config-lab.lb

I think you will get console output with a compressed image.

Myles

comment:9 follow-up: Changed 6 years ago by anonymous

The original chip that is on the S2895 is a 1M chip. (SST 49LF080A) If you are interested i can get you a list of what chip comes on which TYAN mainboard. (might be useful for you guys.)

I have tested with what you suggested. That did do the trick. So i used: cat coreboot.rom coreboot.rom >1M.rom

And now i get output on my serial console but stops at a certain point.

Here is the rest of the output on my serial console. If you need the full log from the console, let me know.

====================================== init keyboard i8042 ctr old=0 new=20 ps2_recvbyte timeout i8042 ctr old=0 new=20 i8042 ctr old=0 new=20 i8042 ctr old=61 new=60 keyboard initialized init lpt Found 1 lpt ports init serial Found 1 serial ports init mouse e820 map has 7 items:

0: 000000000009fc00 - 00000000000a0000 = 2 1: 00000000000f0000 - 0000000000100000 = 2 2: 0910000040004000 - 5254000047004100 = 824200525 3: 000013000f130000 - 100013500f120000 = 335544321 4: ff00000000140013 - 0013001100145012 = 0 5: 0000000020000b20 - 00047f0020000b20 = 127 6: 0000000100000000 - 0000000140000000 = 1

final bios_table_addr: 0x000fb09f (used 104%) bios_table_end_addr overflow!

comment:10 in reply to: ↑ 9 Changed 6 years ago by anonymous

Replying to anonymous:

The original chip that is on the S2895 is a 1M chip. (SST 49LF080A) If you are interested i can get you a list of what chip comes on which TYAN mainboard. (might be useful for you guys.)

Sure. I'll fix the s2895 config.

I have tested with what you suggested. That did do the trick.

Great.

Here is the rest of the output on my serial console. If you need the full log from the console, let me know.

e820 map has 7 items:

0: 000000000009fc00 - 00000000000a0000 = 2 1: 00000000000f0000 - 0000000000100000 = 2 2: 0910000040004000 - 5254000047004100 = 824200525 3: 000013000f130000 - 100013500f120000 = 335544321 4: ff00000000140013 - 0013001100145012 = 0 5: 0000000020000b20 - 00047f0020000b20 = 127 6: 0000000100000000 - 0000000140000000 = 1

These values are corrupted. I guess I need to see the whole log.

Thanks, Myles

Changed 6 years ago by anonymous

TYAN S2895 logfile

comment:11 follow-up: Changed 6 years ago by anonymous

attached is the logfile. Hope you can help me :-)

Thanks in advance for all your support!

Tweek

comment:12 in reply to: ↑ 11 Changed 6 years ago by myles

Everything else looks fine, so try setting #define CONFIG_MAX_BIOSTABLE (2048+512)

in work/seabios/seabios-master/src/config.h

Thanks in advance for all your support!

No problem.

Thanks, Myles

comment:13 follow-up: Changed 6 years ago by anonymous

I am back with news. It Works!!! I now see my board loading to seabios. The VGA Option ROM initializes itself. Great!

Now that this works so far, i would like to get that Windows XP32 working. As you said, Windows needs some ACPI help. How can i do that?

comment:14 Changed 6 years ago by anonymous

I am having troubles installing windows. I press F5 during the installation and choose the Standard PC, but it seems that when windos tries to start the scrreen gets corrupt. I attached the picture so you can take a look at it. Think its related to my graphic card?

I tried using a Geforce 8400GS instead of the current Geforce 7200. The 8400 does not show any picture at all while the 7200 worrks fine until windows starts.

comment:14 Changed 6 years ago by anonymous

I am having troubles installing windows. I press F5 during the installation and choose the Standard PC, but it seems that when windos tries to start the scrreen gets corrupt. I attached the picture so you can take a look at it. Think its related to my graphic card?

I tried using a Geforce 8400GS instead of the current Geforce 7200. The 8400 does not show any picture at all while the 7200 worrks fine until windows starts.

Changed 6 years ago by anonymous

Geforce 7200 issue loading windows xp

comment:15 in reply to: ↑ 13 Changed 6 years ago by myles

Replying to anonymous:

I am back with news. It Works!!!!

Great.

Now that this works so far, i would like to get that Windows XP32 working. As you said, Windows needs some ACPI help. How can i do that?

You can dump the factory ACPI tables and compare them to the ones we have. Because this board has 3 different root PCI buses, it is significantly more complex than the other boards which boot Windows using coreboot.

comment:16 follow-up: Changed 6 years ago by anonymous

I need a little more help to get this XP working. Could you give a helping hand? Is it possible to use the DSDT.dat file that i extracted from my original Bios and implement that into the coreboot? Or is this not possible?

BR Tweek

Changed 6 years ago by anonymous

Changed 6 years ago by anonymous

comment:17 in reply to: ↑ 16 Changed 6 years ago by myles

Replying to anonymous:

I need a little more help to get this XP working. Could you give a helping hand? Is it possible to use the DSDT.dat file that i extracted from my original Bios and implement that into the coreboot? Or is this not possible?

It's possible. There are a couple of problems:

  1. Buses are renumbered by coreboot
  2. Different Opteron registers are used
  3. Interrupt assignments are different

I was hoping that the acpica tools and linux firmware kit would help me narrow down the problems. Unfortunately, the ACPI from the factory BIOS has errors too, so it is hard to tell what is right.

I've been thinking about stripping my s2895 down to just one HT link to simplify things, so that I could get Windows to work and then add functionality back in. If we disable the 8131 (you lose PCI-X and possibly SCSI) and disable the Nvidia 2060 (you lose a PCIe slot and a NIC), then there is only one root PCI bus and one APIC. I think it would be doable, but I haven't gotten to it yet.

I'll help you do it if you are interested.

Thanks, Myles

comment:18 follow-up: Changed 6 years ago by anonymous

Hi Myles, That sounds great. If i can get my board to work without the PCIx and the second chipset i am fine with that. as i do not use these features of the board.

Tweek

comment:19 in reply to: ↑ 18 Changed 6 years ago by myles

Replying to anonymous:

Hi Myles, That sounds great. If i can get my board to work without the PCIx and the second chipset i am fine with that. as i do not use these features of the board.

Great. At this point it probably doesn't make sense to continue this in Trac. Why don't you email me your latest log file, and I'll email you back a patch to simplify the board.

Thanks, Myles mylesgw@…

comment:20 Changed 6 years ago by myles

  • Patch Status changed from there is no patch to patch has been committed
  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.