On 16.07.2010 02:05, Mattias Mattsson wrote:
On Thu, Jul 15, 2010 at 10:03:36AM -0400, Joshua Roys wrote:
On 07/15/2010 06:51 AM, Mattias Mattsson wrote:
I'm trying latest flashrom (r1082) an an Intel SE440BX. No flashchip is detected. I also tried to reuse the SE440BX-2 board enable but couldn't make it work.
The flash on the board is an Intel E28F002BC-T80. Datasheet here: http://www.ezoflash.com/datasheets/flash/Intel/28F002BC.pdf
I would like to add the chip to flashchips.c but was unsure how to interpret the datasheet and the corresponding values for probe/read/write function.
Logs attached
Can you please try the attached patch? Please do a `flashrom -V' after and see if the chip is detected, and reply with that log. If you want to try a write, make sure you have a backup ready and time to spend fixing it in case it doesn't work (another patch may be needed to enable writing).
I'm sorry to say that the chip is not detected. (I actually tried a very similar if not identical patch myself before sending my mail).
For completeness, log attached.
Here are a few tricks which will help you to read the log and get this working: http://www.flashrom.org/Random_notes#Dirty_little_secrets_why_chips_are_not_... http://www.flashrom.org/Random_notes#Figuring_out_if_you_need_a_board_enable...
Looking at your log, it looks like a board enable is needed (besides chip support). If you're skilled with x86 assembler, you can even do it yourself. http://www.flashrom.org/Board_Enable has more info. Otherwise ask twice11 or snelson or eightdot or libv in #flashrom.
It makes sense to merge the chip support anyway because then it will start working magically once the board enable is in.
The superiotool output helps because you can dig up a datasheet for the Super I/O in case you need to toggle some GPIO there to get flash write access (and flash ID responses). However, it is just as likely that the flahs chip is controlled by the PIIX4 southbridge instead.
Regards, Carl-Daniel