QCA9558适配遇到问题。
发表于 : 周一 6月 27, 2016 12:26 am
设备:TP WR880N V1,砖了。
定制信息:
boot启动参数:bootargs="console=ttyS0,115200 mtdparts=spi0.0:112k(uboot),8k(SBI),3867k(firmware),28k(config),8k(custom),64k(CAL)"
交换机:AR8236:将Port0作为WAN口(默认为Port4)
wlan: 连接方式:内置Radio,ma定位:0x3f0000 校准信息:0x3f1000
TTL信息如下:
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(211): (16bit) ddr1 init
tap = 0x00000002
Tap (low, high) = (0x8, 0x2f)
Tap values = (0x1b, 0x1b, 0x1b, 0x1b)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x16
flash size 4MB, sector count = 64
Flash: 4 MB
Using default environment
*** Warning *** : PCIe WLAN Module not found !!!
*** Warning *** : PCIe WLAN Module not found !!!
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ---->S27 PHY*
S27 reg init
ATHRS27: resetting s27
ATHRS27: s27 reset done
ATHRS27:REG 0x4-->:400
ATHRS27:REG 0x2c-->:7e3e003e
ATHRS27:REG 0x8-->:0
ATHRS27:REG 0xc-->:0
ATHRS27:REG 0x10-->:1061b20
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
eth0
Setting 0x18116290 to 0x58b1a14f
Autobooting in 1 seconds
ap135> setenv ipaddr 192.168.1.1
ap135> setenv serverip 192.168.1.10
ap135> cp.b 0x9f000000 0x80060000 0x20000
ap135> tftp 0x80060000 superwrt.img
dup 1 speed 10
Using eth0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'superwrt.img'.
Load address: 0x80060000
Loading: #######################
done
Bytes transferred = 115712 (1c400 hex)
ap135> erase 0x9f000000 +0x20000
Erasing flash...
First 0x0 last 0x1 sector size 0x10000 1
Erased 2 sectors
ap135> cp.b 0x80060000 0x9f000000 0x20000
Copy to Flash... write addr: 9f000000
done
ÿü135> reset
定制信息:
boot启动参数:bootargs="console=ttyS0,115200 mtdparts=spi0.0:112k(uboot),8k(SBI),3867k(firmware),28k(config),8k(custom),64k(CAL)"
交换机:AR8236:将Port0作为WAN口(默认为Port4)
wlan: 连接方式:内置Radio,ma定位:0x3f0000 校准信息:0x3f1000
TTL信息如下:
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(211): (16bit) ddr1 init
tap = 0x00000002
Tap (low, high) = (0x8, 0x2f)
Tap values = (0x1b, 0x1b, 0x1b, 0x1b)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x16
flash size 4MB, sector count = 64
Flash: 4 MB
Using default environment
*** Warning *** : PCIe WLAN Module not found !!!
*** Warning *** : PCIe WLAN Module not found !!!
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ---->S27 PHY*
S27 reg init
ATHRS27: resetting s27
ATHRS27: s27 reset done
ATHRS27:REG 0x4-->:400
ATHRS27:REG 0x2c-->:7e3e003e
ATHRS27:REG 0x8-->:0
ATHRS27:REG 0xc-->:0
ATHRS27:REG 0x10-->:1061b20
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
eth0
Setting 0x18116290 to 0x58b1a14f
Autobooting in 1 seconds
ap135> setenv ipaddr 192.168.1.1
ap135> setenv serverip 192.168.1.10
ap135> cp.b 0x9f000000 0x80060000 0x20000
ap135> tftp 0x80060000 superwrt.img
dup 1 speed 10
Using eth0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'superwrt.img'.
Load address: 0x80060000
Loading: #######################
done
Bytes transferred = 115712 (1c400 hex)
ap135> erase 0x9f000000 +0x20000
Erasing flash...
First 0x0 last 0x1 sector size 0x10000 1
Erased 2 sectors
ap135> cp.b 0x80060000 0x9f000000 0x20000
Copy to Flash... write addr: 9f000000
done
ÿü135> reset