Package: flashrom
Version: 1.0.1-1
Severity: normal
Tags: upstream

Dear Maintainer,

I tried to read an Eon EN29F002NT 256K EEPROM in an Intel Ethernet Pro 100
network card using the -f option. 262144 bytes were stored but instead of
reading the whole EEPROM, the first half was read twice.

When I edited nicintel.c in the source code and changed line 40 from
#define NICINTEL_MEMMAP_SIZE (128 * 1024)
to
#define NICINTEL_MEMMAP_SIZE (256 * 1024)
the whole EEPROM could be read, written and erased succesfully without using
the -f option.


Output of lspci:
05:09.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100
(rev 02)


Output of "flashrom -p nicintel -r test.rom" (original version):
flashrom  on Linux 4.19.0-5-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Eon flash chip "EN29F002(A)(N)T" (256 kB, Parallel) on nicintel.
This flash chip is too big for this programmer (--verbose/-V gives details).
Use --force/-f to override at your own risk.


Output of "flashrom -p nicintel -r test.rom" (modified version):
flashrom v1.0.1 on Linux 4.19.0-5-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Eon flash chip "EN29F002(A)(N)T" (256 kB, Parallel) on nicintel.
Reading flash... done.



-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages flashrom depends on:
ii  libc6         2.28-10
ii  libftdi1-2    1.4-1+b2
ii  libpci3       1:3.5.2-1
ii  libusb-0.1-4  2:0.1.12-32
ii  libusb-1.0-0  2:1.0.22-2

flashrom recommends no packages.

flashrom suggests no packages.

-- no debconf information

Reply via email to