LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-29-2006, 01:32 AM   #1
frisky
LQ Newbie
 
Registered: May 2006
Posts: 21

Rep: Reputation: 15
I need update BIOS through LPC in Linux,but I don't know how to manipulate LPC


Hi all,
I need build a utility in Linux to update BIOS, which is on SST49LF016C. The FWH(FirmWare Hub flash) is connected to IICH through LPC interface. My hardware engineer tell me that the FWH will be mapped to some space after the Linux boots. Within this space, I can read the contents of a certain offset address as easy as the following statements:
a = *(char*)(base_addr+offset);
But he doesn't know where it is. My BIOS engineer neither. I refered the IICH guide, can't find any register with which I can read or write 4-bit addresses and data segments. I searched the Linux kernel 2.6.20 code and can't find where the LPC interface functions are implemented. Would you tell me how I can manipulate LPC interface in Linux? Thank you

Last edited by frisky; 06-29-2006 at 01:33 AM.
 
Old 06-29-2006, 01:39 AM   #2
frisky
LQ Newbie
 
Registered: May 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Should I write LPC driver? But I don't know where the flash base address or the registers to manipulate the interface.
 
Old 06-29-2006, 01:44 AM   #3
frisky
LQ Newbie
 
Registered: May 2006
Posts: 21

Original Poster
Rep: Reputation: 15
I know that when CPU reset, it will read and excute the first instruction on F000:FFF0. That is, the physical address of FWH of bootstrap is F000:FFF0. But after BIOS loads OS(linux), where is it?
 
Old 06-29-2006, 10:36 AM   #4
frisky
LQ Newbie
 
Registered: May 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Some guy help me I get confused.
Thank you
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Linux manipulate Windows partition? joshknape Linux - Newbie 6 09-11-2005 07:37 AM
Manipulate .ISO files in Linux????? Garrett_80 Linux - Software 3 12-15-2004 09:53 AM
Bios Update using linux???? Sammy2ooo Linux - Software 1 12-08-2004 04:13 AM
lpc on v7.1 blackapple Linux - General 0 11-01-2001 06:41 AM
Daemon started but NOT running with lpc status??? Ruth Linux - General 1 03-12-2001 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration