3v1n0 / iwleeprom

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

AR9300 patch issue #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

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

Please provide any additional information below.

Dear developers, I am so glad I find your code so I can possibly modify my 
AR9300 regdmn, here is the problem I encountered:

it recognized my AR9300:
root@ubuntu:/home/ubuntu/Desktop/ar9300# iwleeprom
Supported devices detected: 
  [1] 0000:03:00.0 [RW] AR9300 Wireless Adapter (PCI-E) (168c:0030, 106b:009a)
Select device [1-1] (or 0 to quit): 1
Using device 0000:03:00.0 [RW] AR9300 Wireless Adapter (PCI-E) 
IO driver: ath9300
No file names given nor actions selected!
No EEPROM actions will be performed, just write-enable test
HW: AR9300 (PCI-E) rev 0003
RF: integrated
Trying EEPROM access...
Filling ath9300 EEPROM... DONE
ath9300_eeprom_check_header ffffffff  @0fff r=0
ath9300_eeprom_check_header ff65ffff  @03ff r=1
AR9300 device NVM type: EEPROM
NVM found at: 03ff
ath9k short eeprom base: 1023 (0x03ff) size: 0

but with the -p option, error occurred, can you advise how I should do?

Also with -o option, the dump seems working fine, so only the patch doesn't 
work, is there another way to edit the dump file by myself? THanks!!!

root@ubuntu:/home/ubuntu/Desktop/ar9300# iwleeprom -p
Supported devices detected: 
  [1] 0000:03:00.0 [RW] AR9300 Wireless Adapter (PCI-E) (168c:0030, 106b:009a)
Select device [1-1] (or 0 to quit): 1
Using device 0000:03:00.0 [RW] AR9300 Wireless Adapter (PCI-E) 
IO driver: ath9300
HW: AR9300 (PCI-E) rev 0003
RF: integrated
Trying EEPROM access...
Filling ath9300 EEPROM... DONE
ath9300_eeprom_check_header ffffffff  @0fff r=0
ath9300_eeprom_check_header ff65ffff  @03ff r=1
AR9300 device NVM type: EEPROM
NVM found at: 03ff
ath9k short eeprom base: 1023 (0x03ff) size: 0
Segmentation fault (core dumped)

Original issue reported on code.google.com by rayray...@gmail.com on 28 Sep 2012 at 6:13

GoogleCodeExporter commented 9 years ago
this is output with option -s:

root@ubuntu:/home/ubuntu/Desktop/ar9300# iwleeprom -s
Supported devices detected: 
  [1] 0000:03:00.0 [RW] AR9300 Wireless Adapter (PCI-E) (168c:0030, 106b:009a)
Select device [1-1] (or 0 to quit): 1
Using device 0000:03:00.0 [RW] AR9300 Wireless Adapter (PCI-E) 
IO driver: ath9300
HW: AR9300 (PCI-E) rev 0003
RF: integrated
Trying EEPROM access...
Filling ath9300 EEPROM... DONE
ath9300_eeprom_check_header ffffffff  @0fff r=0
ath9300_eeprom_check_header ff65ffff  @03ff r=1
AR9300 device NVM type: EEPROM
NVM found at: 03ff
ath9k short eeprom base: 1023 (0x03ff) size: 0
 -> TODO: ath9300_eeprom_parse

Original comment by rayray...@gmail.com on 28 Sep 2012 at 6:26

GoogleCodeExporter commented 9 years ago
AR9300 eeprom consists of compressed blocks.
For now patching works only on uncompressed eeproms.
Probably we will add this functionality later.

Original comment by alexan...@kalinichenko.org on 17 May 2013 at 9:15

GoogleCodeExporter commented 9 years ago
Could compressed block patching be added? Much appreciated.

Original comment by Ivars.St...@gmail.com on 25 Feb 2015 at 11:05