jp629 / iwleeprom

Automatically exported from code.google.com/p/iwleeprom
0 stars 0 forks source link

Write a AR9485 wifi card BAD CHECKSUM #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Read a AR9485 wifi card
2. Write a AR9485 wifi card

What is the expected output? What do you see instead?
It Reads the AR9485 wifi card without error
It ERRORS out with "BAD Checksum" when you try to write the rom that you just 
read.

What version of the product are you using? On what operating system?
Ubuntu 14.04 LTS

Please provide any additional information below.

Original issue reported on code.google.com by litan1...@gmail.com on 20 Apr 2014 at 7:02

GoogleCodeExporter commented 8 years ago
atheros$ sudo ./iwleeprom -D 1 -b -o backup.rom
debug level: 1
PCI devices:
    0000:00:00.0: class 0600   id 8086:0154   subid 1043:124d
    0000:00:02.0: class 0300   id 8086:0166   subid 1043:124d
    0000:00:16.0: class 0780   id 8086:1e3a   subid 1043:124d
    0000:00:1a.0: class 0c03   id 8086:1e2d   subid 1043:124d
    0000:00:1b.0: class 0403   id 8086:1e20   subid 1043:118f
    0000:00:1c.0: class 0604   id 8086:1e10   subid 1043:124d
    0000:00:1c.1: class 0604   id 8086:1e12   subid 1043:124d
    0000:00:1c.3: class 0604   id 8086:1e16   subid 1043:124d
    0000:00:1d.0: class 0c03   id 8086:1e26   subid 1043:124d
    0000:00:1f.0: class 0601   id 8086:1e59   subid 1043:124d
    0000:00:1f.2: class 0106   id 8086:1e03   subid 1043:124d
    0000:00:1f.3: class 0c05   id 8086:1e22   subid 1043:124d
    0000:02:00.0: class 0280   id 168c:0032   subid 11ad:6627 [RW, ath9300] AR9485 Wireless Adapter (PCI-E) 
    0000:03:00.0: class ff00   id 10ec:5289   subid 1043:202f
    0000:03:00.2: class 0200   id 10ec:8168   subid 1043:200f
Supported devices detected: 
  [1] 0000:02:00.0 [RW] AR9485 Wireless Adapter (PCI-E) (168c:0032, 11ad:6627)
Select device [1-1] (or 0 to quit): 1
Using device 0000:02:00.0 [RW] AR9485 Wireless Adapter (PCI-E) 
IO driver: ath9300
Supported ops:  read write parse
address: f7d00000
HW: AR9485 (PCI-E) rev 0001
RF: integrated
Trying EEPROM access...
OTP address out of range: 0fff
OTP address out of range: 1001
ath9300_eeprom_check_header 00000000  @0fff r=0
Filling ath9300 EEPROM... DONE
OTP address out of range: 0401
ath9300_eeprom_check_header 00000000  @03ff r=0
ath9300_eeprom_check_header 00000000  @01ff r=0
Trying OTP access...
 DONE
ath9300_eeprom_check_header 42621002  @03ff r=1
AR9300 device NVM type: OTP  (data block @03ff)
Found block at 3ff: code=3 ref=2 length=256 major=2 minor=66 (RAW: 42021062)
Calculating EEPROM CRC...
CRC (stored): 1062
CRC (eval)  : 2d80
Bad checksum!
ath9300 short eeprom base: 0 (0x0000) size: 0
Saving dump with byte order: BIG ENDIAN
0000 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0080 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0100 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0180 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0200 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0280 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0300 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0380 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0400 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0c00 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0c80 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0d00 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0d80 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0e00 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0e80 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0f00 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
0f80 [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]

EEPROM has been dumped to 'backup.rom'

Original comment by litan1...@gmail.com on 21 Apr 2014 at 6:22

GoogleCodeExporter commented 8 years ago
any news?

Original comment by padrecit...@gmail.com on 25 Jun 2014 at 11:45