Segmentation fault
Error parsing layout file.
root@slitaz:~/Desktop# tazpkg info flashrom
Tazpkg information
================================================================================
Package : flashrom
Version : 0.0+r3397-1
Category : misc
Short desc : Universal BIOS/ROM/flash programming utility
Maintainer : nobody@slitaz.org
Web site : http://packages.debian.org/search?keywords=flashrom
================================================================================
----
root@slitaz:~/Desktop# ./flashrom -r 0305.rom
flashrom v0.9.1-r710
No coreboot table found.
Found chipset "Intel ICH10", enabling flash write... OK.
This chipset supports the following protocols: LPC,FWH,SPI.
Calibrating delay loop... OK.
Found chip "Winbond W25x80" (1024 KB, SPI) at physical address 0xfff00000.
Reading flash... done.
root@slitaz:~/Desktop# dmidecode -t 17 | tail -20
Handle 0x002F, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002D
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 1024 kB
Form Factor: TSOP
Set: None
Locator: BIOS1 M/B
Bank Locator:
Type: Flash
Type Detail: Non-Volatile
Speed: 33 MHz
Manufacturer: WOINBOND
Serial Number:
Asset Tag:
Part Number: W25X80
root@slitaz:~/Desktop# ./flashrom -l 0305.rom
flashrom v0.9.1-r710
Error parsing layout file.
root@slitaz:~/Desktop# ./flashrom -l 990305.rom
flashrom v0.9.1-r873
Error parsing layout file.
root@slitaz:~/Desktop# ls -l *.rom
-rw-r--r-- 1 root root 1048576 Mar 5 13:18 0305.rom
-rw-r--r-- 1 root root 1048576 Mar 5 15:15 990305.rom
-r-xr-xr-x 1 root root 1048576 Mar 4 14:49 NEC-0001466A0002.rom
root@slitaz:~/Desktop#
----
root@slitaz:~/Desktop# flashrom -r ms-7428.rom
Calibrating delay loop... OK.
No coreboot table found.
WARNING: No chipset found. Flash detection will most likely fail.
No EEPROM/flash device found.
If you know which flash chip you have, and if this version of flashrom
supports a similar flash chip, you can try to force read your chip. Run:
flashrom -f -r -c similar_supported_flash_chip filename
Note: flashrom can never write when the flash chip isn't found automatically.
root@slitaz:~/Desktop# flashrom -l W3V0602A.ROM
Segmentation fault
root@slitaz:~/Desktop# dmesg | tail -5
flashrom[3517]: segfault at 0 ip b7f5d6aa sp bf857c60 error 4 in libc-2.10.1.so[b7f2e000+15f000]
flashrom[3564]: segfault at 0 ip b7daa6aa sp bf9cb710 error 4 in libc-2.10.1.so[b7d7b000+15f000]
flashrom[3600]: segfault at bfb82000 ip b7def876 sp bfb81078 error 6 in libc-2.10.1.so[b7d9f000+15f000]
flashrom[5367]: segfault at bfa96000 ip b7f9e876 sp bfa94718 error 6 in libc-2.10.1.so[b7f4e000+15f000]
flashrom[5488]: segfault at bf8e8000 ip b7fa0876 sp bf8e7668 error 6 in libc-2.10.1.so[b7f50000+15f000]
root@slitaz:~/Desktop# /lib/libc-2.10.1.so
GNU C Library stable release version 2.10.1, by Roland McGrath et al.
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.1.
Compiled on a Linux >>2.6.25.5-slitaz<< system on 2009-09-20.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html