New Posts  All Forums:Forum Nav:

C1E in P4 CPUs

post #1 of 24
Thread Starter 
I have an alienware 7700 (old) notebook that I've upgraded to a P4 630. The new CPU supports things like C1E halt states, and EIST. Unfortunately, the Bios never supported such features. I've modified my SSDT and DSDT tables to support EIST and P-States, but have hit a brick wall on the C-States.

Does anyone have a system that has a P4 6xx series cpu in it, and working C1E enhanced wait? If so, could someone dump their DSDT and SSDT tables, and e-mail them to me? I think I've figured out how to add the C1 state, but not C1E.

You can find details about my DSDT/SSDT hacks at: http://pat.erley.org/Other/P4EISTSSDT
post #2 of 24
I think in this department you might outrank everyone on here mate.
I haven't a clue what SSDT and DSDT even mean, even less how to modify them and make the bios be compatible with them.
Sorry I couldn't be more help,
bump to any cpu geniouses on here.
post #3 of 24
While I know what he is talking about, I can't help him sorry. He needs a particular ACPI implementation that is non-standard on a P4 CPU, which wasn't anyone's favorite CPU for that matter sadly.

The truth of the matter is it is a longshot to get it, but there is no harm in leaving it here in case someone happens to have one. If they don't understand what is being mentioned, it is probably better they not try to dump their table, as while there isn't to much risk, if a few characters get swapped around it could screw up your entire ACPI implementation in your chip.

Seablade
post #4 of 24
ehh. err. Free bump just to see if there is more than one person that understands this topic.
post #5 of 24
How on earth did you guys learn THIS stuff?
post #6 of 24
Osmosis.

Seablade
post #7 of 24
So I should be sleeping on laptops now?
post #8 of 24
Doesn't everyone?

Seablade
post #9 of 24
Thread Starter 
I learned 80% of this from the ACPI-4.0 spec, and 20% from google.

It's not that I need a full ACPI implementation that's out of the ordinary.... I literally just need a DSDT dump from a P4 System that supports C1E (enhanced sleep). But I believe the point to be moot now. I've moved onto a bigger project:

http://pat.erley.org/Other/D900TCoreboot

It's cool to have someone say that I outrank others on this board in something, although I'm 100% certain that there's someone else on the board that knows more about Bioses and/or ACPI/DSDT stuff than I do. I did, however, kick my geekiness up to a new level with these projects.
post #10 of 24
Quote:
Originally Posted by s0be View Post
It's not that I need a full ACPI implementation that's out of the ordinary.... I literally just need a DSDT dump from a P4 System that supports C1E (enhanced sleep). But I believe the point to be moot now. I've moved onto a bigger project:
Heh yes but then I have to explain what a DSDT table is Its much easier to just describe it like I did, which isn't technically incorrect since the DSDT is part of the ACPI implementation. It is also much easier for people to understand what you are referring to like that

Seablade
post #11 of 24
PS Have fun with CoreBoot, I nearly went down that route with a desktop in the past(When it was LinuxBIOS) but decided against it at that time. But for setups like yours it could be fun, though a lot of work.

Seablade
post #12 of 24
Thread Starter 
Quote:
Originally Posted by Seablade View Post
PS Have fun with CoreBoot, I nearly went down that route with a desktop in the past(When it was LinuxBIOS) but decided against it at that time. But for setups like yours it could be fun, though a lot of work.

Seablade
Oh yeah it'll be a lot of work... there's no ICH6 support yet, not i915P support yet, no Socket 775 support(trivial), I've been unable to find out my EC chip definitively, there is no KBC in the super-i/o.... should only take me 6-7 months to be ready to attempt a flash that might make my laptop true to it's name (boatanchor)
post #13 of 24
Nice name for the laptop

Seablade
post #14 of 24
Yeah....you're a god. at least compared to my abilities with this stuff.

Interesting question, can a laptop have 2 bios flash chips and the ability to choose which one to use when booting?
post #15 of 24
Short answer, no.

Longer answer, there were some motherboards at one time that did in fact have two CMOS chips for storing settings for BIOS at least, Gigabyte made them i think. But I think they were still single BIOS, just had a backup configuration you could boot into, but I never looked to closely at them. Those were desktop motherboards as well, I don't know of any laptops that utilized them, but that doesn't mean it wasn't some laptops I don't know about either.

Seablade
post #16 of 24
Spicy.
I was just thinking, for integrated stuff like this, it would probably be a good idea for companies to start making motherboards with a 'backup' bios persay, that you can only access using a certain procedure (aka press power on for 3 seconds 3 times or smth), which would only be used to reflash the computer using a prompt system for a cd or usb device, or EVEN a rom file stored on a seperate partition on the hd, a bios that came with the laptop that is sure to work.
That way in case of a bad flash you'll never have a paperweight, just a handy way of turning on another bios that could even be used to automatically reflash the 'normal' bios. Of course, make this backup impossible to flash.

Think this exists already somehow? (I know for desktops it's a no brainer having easy to remove cmos chips, but laptops with all their integration might make this a really valuable idea for everyone involved, customer and companies, for whenever a 'critical' bios update is given and someone flashes badly)
post #17 of 24
Thread Starter 
How dual bios can work:

There are multiple address pins on these chips. Generally, a dual bios works one of a couple ways. The easiest to implement, but the toughest on 'Users' is dual bioses with a chip enable toggle (this is what I'm going to do). The general way most people seem to do it is a second flash chip that is addressed onto the end of the first (first flash is 0M-2M, second flash is 2M-4M), and some magic code in the beginning of the first flash (that doesnt' get overwritten) that detects when the bios doesn't finish loading, and hands off to the second flash chip.

An alternative fallback is, during that same bootstrap code (the beginning of the bios), there's a magic key you press during power on that causes the bootstrap to load the floppy and autorun it (but at a much earlier level, before PCI/AGP are enabled, stuff like that) to recover from a bad flash. I had to do this on a K6-II mobo around 2001 once... it's hairraising to watch your computer flash itself with NO display output

My Plan

First, the D900T motherboard has 2 spots for flash chips, but only one populated. This board was designed to be dual bios, in some manner. For coreboot development, you (basically) MUST have dual bios, or a removable bios. The D900T bios chip is a PLCC32 non socketed chip. I'm going to solder a PLCC32 socket onto the spot for the second flash chip, cut the Chip Enable trace to the original bios, and install a switch to allow me to toggle which flash gets the CE signal. Of course, first I'm going to verify the address traces and whatnot to verify this can work. If not, I'm going to solder the socket directly ONTO the current bios chip, with a CE switch. Due to teh location of the flash chip, this approach will require a case-mod to allow the keyboard to populate roughly the same location.

The switch will be labeled: Magic / More Magic
post #18 of 24
And I get corrected on something

Wasn't aware dual BIOSes had become commonplace. The Chip swap(Removable BIOS) method is the one I assumed most CoreBOOT people were using, I believe it was the common method when I was looking into LinuxBIOS.

Seablade
post #19 of 24
Thread Starter 
Quote:
Originally Posted by Seablade View Post
And I get corrected on something

Wasn't aware dual BIOSes had become commonplace. The Chip swap(Removable BIOS) method is the one I assumed most CoreBOOT people were using, I believe it was the common method when I was looking into LinuxBIOS.

Seablade
Nope, you were correct, as far as I understand... I just enjoy hardware hacking. Most people are using PLCC Sockets with thumbtacks glued to the top of their bios chips. this is just REALLY inconvenient inside a laptop. There's also a product called Bios Savior that people commonly use.
post #20 of 24
Can almost picture that! We have similar things in other hobbies... for cars with EPROM there are thumb-wheel selectable chips available that ref address locations on the chip for different parameters. Many cars use chip carriers also. example

Yay! I can almost relate to topic!
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's