On 07.06.2008 05:47, Ward Vandewege wrote:
On Sat, Jun 07, 2008 at 05:37:05AM +0200, Carl-Daniel Hailfinger wrote:
I suspect one of the other probe functions is killing communication with the chip. If that's not the case, maybe we don't leave ID mode correctly.
Can you try repeated flashrom -c A49LF040A (I forgot the exact chipname specification) after a cold boot?
Yeah, that works:
littleredbox:/usr/src/flashrom3# ./flashrom -c A49LF040A [...] Found chip "Amic Technology A49LF040A" (512 KB) at physical address 0xfff80000. [...] No operations were specified. littleredbox:/usr/src/flashrom3# ./flashrom -c A49LF040A [...] Found chip "Amic Technology A49LF040A" (512 KB) at physical address 0xfff80000. [...] No operations were specified. littleredbox:/usr/src/flashrom3# ./flashrom -c A49LF040A [...] Found chip "Amic Technology A49LF040A" (512 KB) at physical address 0xfff80000. [...] No operations were specified.
Ouch. So one of the other probe functions kills communication. Can one of you try disabling other chip definitions in flashchips.c with #if 0 to narrow this problem down?
Regards, Carl-Daniel