chunkeey / u-boot-ap105 Goto Github PK
View Code? Open in Web Editor NEWModified WNDAP360 UBoot for the Aruba AP-105
License: Other
Modified WNDAP360 UBoot for the Aruba AP-105
License: Other
Hi there,
The Aruba AP175 is nearly identical to the AP105; as far as it pertains for u-boot, the only difference between the two is the use of a VSC8601 IC+ IP1001 PHY instead of an AR8021 (though the SPI is also flashrom -c 'S25FL128P......0'
-compatible instead, too): after flashing the ap105 u-boot to the SPI, the device boots and all functionality sans ethernet works without issue, and it even detects and erases Aruba's configuration at the end of flash.
To make things easier for the end-user -- the AP175 uses an internally-powered CP2102, which is connected to using a (frankly very cursed) USB-A to USB-A cable, and the SOIC-16 SPI chip is available (and clippable without issue) as soon as the cover is opened.
Here's a snippet from a screen log:
apboot> mii dump 1 0
0. (1140) -- PHY control register --
(8000:0000) 0.15 = 0 reset
(4000:0000) 0.14 = 0 loopback
(2040:0040) 0. 6,13 = b10 speed selection = 1000 Mbps
(1000:1000) 0.12 = 1 A/N enable
(0800:0000) 0.11 = 0 power-down
(0400:0000) 0.10 = 0 isolate
(0200:0000) 0. 9 = 0 restart A/N
(0100:0100) 0. 8 = 1 duplex = full
(0080:0000) 0. 7 = 0 collision test enable
(003f:0000) 0. 5- 0 = 0 (reserved)
apboot> mii dump 1 1
1. (796d) -- PHY status register --
(8000:0000) 1.15 = 0 100BASE-T4 able
(4000:4000) 1.14 = 1 100BASE-X full duplex able
(2000:2000) 1.13 = 1 100BASE-X half duplex able
(1000:1000) 1.12 = 1 10 Mbps full duplex able
(0800:0800) 1.11 = 1 10 Mbps half duplex able
(0400:0000) 1.10 = 0 100BASE-T2 full duplex able
(0200:0000) 1. 9 = 0 100BASE-T2 half duplex able
(0100:0100) 1. 8 = 1 extended status
(0080:0000) 1. 7 = 0 (reserved)
(0040:0040) 1. 6 = 1 MF preamble suppression
(0020:0020) 1. 5 = 1 A/N complete
(0010:0000) 1. 4 = 0 remote fault
(0008:0008) 1. 3 = 1 A/N able
(0004:0004) 1. 2 = 1 link status
(0002:0000) 1. 1 = 0 jabber detect
(0001:0001) 1. 0 = 1 extended capabilities
apboot> mii info
Unknown command 'mii' - try 'help'
apboot> mii info
Error reading info from the PHY
PHY 0x01: OUI = 0x90C3, Model = 0x19, Rev = 0x01, 1000baseT, FDX
Error reading info from the PHY
:
:
I'm going to try and hack through this a little bit; specifically I'm going to try and re-compile and test with:
--- a/board/ar7100/common/athrf1_phy.c
+++ b/board/ar7100/common/athrf1_phy.c
@@ -41,7 +41,7 @@ athr_phy_t phy_info[] = {
#elif defined CFG_BOARD_AP105
{is_enet_port: 1,
mac_unit : 0,
- phy_addr : 0x00}
+ phy_addr : 0x01}
#else
{is_enet_port: 1,
mac_unit : 0,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.