Giter Site home page Giter Site logo

chunkeey / u-boot-ap105 Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 5.0 8.65 MB

Modified WNDAP360 UBoot for the Aruba AP-105

License: Other

Shell 0.12% Makefile 2.88% C 88.54% Assembly 5.13% C++ 2.23% Batchfile 0.30% Lex 0.01% Yacc 0.05% Objective-C 0.51% GDB 0.01% Awk 0.01% Python 0.03% Tcl 0.03% PHP 0.16% CSS 0.01%

u-boot-ap105's People

Contributors

riptidewave93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

u-boot-ap105's Issues

FR: Support Aruba AP175

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,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.