Welcome! Log In Create A New Profile

Advanced

Debian on CISCO ON100-K9

Posted by rayknight 
Re: Debian on CISCO ON100-K9
September 16, 2016 04:30PM
U-Boot 2016.05-tld-2.15 (Sep 16 2016 - 02:04:32 -0700)
Cisco ON100_K9

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   kwsdio: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Marvell MV88E1310 PHY initialized
egiga0 Waiting for PHY auto negotiation to complete...... done
Marvell MV88E1310 PHY initialized
egiga1 Waiting for PHY auto negotiation to complete................. TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.15 (Sep 16 2016 - 02:04:32 -0700)
Cisco ON100_K9
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ON100_K9> printenv ethact
ethact=egiga0
ON100_K9> setenv ipaddr 192.168.178.110
ON100_K9> setenv gatewayip 192.168.178.1
ON100_K9> setenv netmask 255.255.255.0
ON100_K9> mii device
MII devices: 'egiga0' 'egiga1' 
Current device: 'egiga0'
ON100_K9> mii info 0
PHY 0x00: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00,  10baseT, HDX
ON100_K9> mii dump 0 0
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


ON100_K9> mii dump 0 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


ON100_K9> mii dump 0 2
2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion


ON100_K9> mii dump 0 3
3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number


ON100_K9> mii dump 0 4
4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 0 5
5.     (dde1)                 -- Autonegotiation partner abilities register --
  (8000:8000) 5.15    =     1    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:1000) 5.12    =     1    (reserved)
  (0800:0800) 5.11    =     1    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 1 0
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


ON100_K9> mii dump 1 1
1.     (7949)                 -- 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:0000) 1. 5    =     0    A/N complete
  (0010:0000) 1. 4    =     0    remote fault
  (0008:0008) 1. 3    =     1    A/N able
  (0004:0000) 1. 2    =     0    link status
  (0002:0000) 1. 1    =     0    jabber detect
  (0001:0001) 1. 0    =     1    extended capabilities


ON100_K9> mii dump 1 2
2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion


ON100_K9> mii dump 1 3
3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number


ON100_K9> mii dump 1 4
4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 1 5
5.     (0000)                 -- Autonegotiation partner abilities register --
  (8000:0000) 5.15    =     0    next page able
  (4000:0000) 5.14    =     0    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:0000) 5.12    =     0    (reserved)
  (0800:0000) 5.11    =     0    asymmetric pause able
  (0400:0000) 5.10    =     0    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0000) 5. 8    =     0    100BASE-X full duplex able
  (0080:0000) 5. 7    =     0    100BASE-TX able
  (0040:0000) 5. 6    =     0    10BASE-T full duplex able
  (0020:0000) 5. 5    =     0    10BASE-T able
  (001f:0000) 5. 4- 0 =     0    selector = ???


ON100_K9> ping 192.168.178.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
ON100_K9> ping 192.168.178.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
ON100_K9> ping 192.168.178.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
ON100_K9> ping 8.8.8.8
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 8.8.8.8 is not alive
ON100_K9> mii info 0
PHY 0x00: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00,  10baseT, HDX
ON100_K9> mii dump 0 0
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


ON100_K9> mii dump 1 1
1.     (7949)                 -- 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:0000) 1. 5    =     0    A/N complete
  (0010:0000) 1. 4    =     0    remote fault
  (0008:0008) 1. 3    =     1    A/N able
  (0004:0000) 1. 2    =     0    link status
  (0002:0000) 1. 1    =     0    jabber detect
  (0001:0001) 1. 0    =     1    extended capabilities


ON100_K9> mii dump 0 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


ON100_K9> mii dump 0 2
2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion


ON100_K9> mii dump 0 3
3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number


ON100_K9> mii dump 0 4
4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 0 5
5.     (dde1)                 -- Autonegotiation partner abilities register --
  (8000:8000) 5.15    =     1    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:1000) 5.12    =     1    (reserved)
  (0800:0800) 5.11    =     1    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 1 0
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


ON100_K9> mii dump 1 1
1.     (7949)                 -- 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:0000) 1. 5    =     0    A/N complete
  (0010:0000) 1. 4    =     0    remote fault
  (0008:0008) 1. 3    =     1    A/N able
  (0004:0000) 1. 2    =     0    link status
  (0002:0000) 1. 1    =     0    jabber detect
  (0001:0001) 1. 0    =     1    extended capabilities


ON100_K9> mii dump 1 2
2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion


ON100_K9> mii dump 1 3
3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number


ON100_K9> mii dump 1 4
4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 1 5
5.     (0000)                 -- Autonegotiation partner abilities register --
  (8000:0000) 5.15    =     0    next page able
  (4000:0000) 5.14    =     0    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:0000) 5.12    =     0    (reserved)
  (0800:0000) 5.11    =     0    asymmetric pause able
  (0400:0000) 5.10    =     0    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0000) 5. 8    =     0    100BASE-X full duplex able
  (0080:0000) 5. 7    =     0    100BASE-TX able
  (0040:0000) 5. 6    =     0    10BASE-T full duplex able
  (0020:0000) 5. 5    =     0    10BASE-T able
  (001f:0000) 5. 4- 0 =     0    selector = ???


ON100_K9> ping 192.168.178.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
ON100_K9> ping 192.168.178.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
ON100_K9> ping 192.168.178.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
ON100_K9> ping 8.8.8.8
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 8.8.8.8 is not alive
ON100_K9>

Once again I did a bad "mii" and corrected it.

* RAY! Glad you're well. I've made minor improvements including new solder iron and am considering a medical marijuana card. That ought to make hay of the boring stuff 8-)

=========
-=Cloud 9=-



Edited 1 time(s). Last edit at 09/16/2016 05:13PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 16, 2016 04:55PM
Hi Ray,

Glad you feel better now! I'll check eBay again. I did not know Amazon also has this.

> But is see the
> European vendors believe they're worth over $100!

They are dreaming :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 16, 2016 07:44PM
Thanks Joey!

Current device: 'egiga0'
ON100_K9> mii info 0
PHY 0x00: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00,  10baseT, HDX
ON100_K9> mii dump 0 0
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

Those settings still look suspicious.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 16, 2016 08:49PM
bodhi Wrote:
-------------------------------------------------------

> Those settings still look suspicious.

The router I connect it all with is a D-Link DIR-857. In the future I could be persuaded to swap with other routers but that's days away. That's because I forgot the logins and am in the middle of making a "sticker" for routers at thrift stores around here to have a labeling system. * Hey bodhi remember this because one of these days when I get an ARM TV box to image w Debian as a hacking box, I'd like to know there's that ability to change duplexes and check things easier. I'll be up another hour tonight if you need something tried.

=========
-=Cloud 9=-
Re: Debian on CISCO ON100-K9
September 16, 2016 09:21PM
Joey,

> hacking box, I'd like to know there's that ability
> to change duplexes and check things easier. I'll
> be up another hour tonight if you need something
> tried.

Thanks!

When things are working correctly, that should be 1000Mbs and full-duplex. Those values are most definitelydefault values (0).

But these settings might be just artifacts of a real problem. So I am still thinking.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 17, 2016 02:33PM
@Joey,

Try this version 2.16. If you could plug in 2 ethernet cables to MON and LAN, then it's even better! If not then use the LAN port. You should copy and paste these commands.

version
printenv ethaddr
printenv eth1addr
printenv ethact
setenv ipaddr 192.168.178.110
setenv gatewayip 192.168.178.1
setenv netmask 255.255.255.0
mii device
mii info 0
mii info 1
mii dump 0 0-5
mii dump 1 0-5
setenv pingr 'for pingstat in 1 2 3 4 5 6 7 8 9; do; sleep 1; ping 192.168.178.1; mii dump 0 0; mii dump 1 0; done'
run pingr
setenv dnsip 192.168.178.1
dns montpelier.caltech.edu ntpserver
sntp $ntpserver

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 5 time(s). Last edit at 09/17/2016 03:00PM by bodhi.
Attachments:
open | download - uboot.2016.05-tld-2.16.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 17, 2016 07:29PM
In the first few lines I wasn't copy-pasting and re-trying it cp'ed worked.

anyway both Ethernets hooked -up (to the router) and when it would ping both ping lights flashed (2 and 4 flashed of the right 1-4)


U-Boot 2016.05-tld-2.16 (Sep 16 2016 - 21:25:29 -0700)
Cisco ON100_K9

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   kwsdio: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Marvell MV88E1310 PHY initialized
egiga0 Waiting for PHY auto negotiation to complete..... done
Marvell MV88E1310 PHY initialized
egiga1 Waiting for PHY auto negotiation to complete...... done
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.16 (Sep 16 2016 - 21:25:29 -0700)
Cisco ON100_K9
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ON100_K9> printenv ethaddr
ethaddr=b6:d0:5e:0f:a1:17
ON100_K9> printenv ethladdr
## Error: "ethladdr" not defined
ON100_K9> printenv eth1addr
eth1addr=a6:1c:1a:49:fe:34
ON100_K9> printenv ethact
ethact=egiga0
ON100_K9> setenv ipaddr 192.168.178.110
ON100_K9> setenv gatewayip 192.168.178.1
ON100_K9> setenv netmask 255.255.255.0
ON100_K9> mii device
MII devices: 'egiga0' 'egiga1' 
Current device: 'egiga0'
ON100_K9> mii info 0
PHY 0x00: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii dump 0 0-5
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

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

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion

3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (dde1)                 -- Autonegotiation partner abilities register --
  (8000:8000) 5.15    =     1    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:1000) 5.12    =     1    (reserved)
  (0800:0800) 5.11    =     1    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 1 0-5
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

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

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion

3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (dde1)                 -- Autonegotiation partner abilities register --
  (8000:8000) 5.15    =     1    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:1000) 5.12    =     1    (reserved)
  (0800:0800) 5.11    =     1    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> setenv pingr 'for pingstat in 1 2 3 4 5 6 7 8 9; do; sleep 1; ping 192.168.178.1; mii dump 0 0; mii dump 1 0; done'
ON100_K9> run pingr
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)


ON100_K9> setenv dnsip 192.168.178.1
ON100_K9> dns montpelier.caltech.edu ntpserver

ARP Retry count exceeded; starting again
dns lookup of montpelier.caltech.edu failed, check setup
ON100_K9> sntp $ntpserver
ntpserverip not set
ON100_K9>

=========
-=Cloud 9=-



Edited 1 time(s). Last edit at 09/17/2016 09:45PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 17, 2016 11:27PM
@Joey,

Thanks! that was a good test :)

I think I understood the problem a little better. There will be one more build. And there is only one thing left I have not tried.

Did you look at the Ethernet port LED, did it ever turn green? or just blinking yellow?

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 09/18/2016 06:28AM by bodhi.
Re: Debian on CISCO ON100-K9
September 18, 2016 09:11AM
bodhi Wrote:
-------------------------------------------------------
> @Joey,
>
> Thanks! that was a good test :)
>
> I think I understood the problem a little better.
> There will be one more build. And there is only
> one thing left I have not tried.
>
> Did you look at the Ethernet port LED, did it ever
> turn green? or just blinking yellow?

The four LEDS to the right were always green, and the typically yellow LEDs to the left of those were I think always yellow.

I'll keep en eye on that and in the future will make a screenshot of an LED panel as an attachment here to minimize any confusion.

=========
-=Cloud 9=-
Re: Debian on CISCO ON100-K9
September 18, 2016 02:06PM
Thanks Joey,

Looking at all those outputs, I'm almost certain that I've misconfigured something. So I went back and checked the code, discovered a careless mistake :) hope that will make a difference. I will do another build for sure.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 18, 2016 02:53PM
bodhi Wrote:
-------------------------------------------------------
> Thanks Joey,
>
> Looking at all those outputs, I'm almost certain
> that I've misconfigured something. So I went back
> and checked the code, discovered a careless
> mistake :) hope that will make a difference. I
> will do another build for sure.

At your leisure, man :-) I'm never too far away and everything's setup.

=========
-=Cloud 9=-
Re: Debian on CISCO ON100-K9
September 18, 2016 04:31PM
Here you go Joey. Version 2.17. Ethernet cable plugged in LAN or both (MON and LAN).

version
printenv ethaddr
printenv eth1addr
printenv ethact
setenv ipaddr 192.168.178.110
setenv gatewayip 192.168.178.1
setenv netmask 255.255.255.0
setenv pingr 'for pingstat in 1 2 3 4 5; do; sleep 1; ping 192.168.178.1; done'
run pingr
setenv dnsip 192.168.178.1
dns montpelier.caltech.edu ntpserver
sntp $ntpserver


And then dump these info for keepsake (hopefully it has been already proven to work above :)

mii device
mii info 0
mii info 1
mii dump 0 0-5
mii dump 1 0-5

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - uboot.2016.05-tld-2.17.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 18, 2016 06:37PM
Directly after kwboot it looked like it was trying to ping both!

U-Boot 2016.05-tld-2.17 (Sep 18 2016 - 14:59:39 -0700)
Cisco ON100_K9

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   kwsdio: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Marvell MV88E1310 PHY initialized
egiga0 Waiting for PHY auto negotiation to complete..... done
Marvell MV88E1310 PHY initialized
egiga1 Waiting for PHY auto negotiation to complete...... done
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version 

U-Boot 2016.05-tld-2.17 (Sep 18 2016 - 14:59:39 -0700)
Cisco ON100_K9
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ON100_K9> printenv ethaddr
ethaddr=b6:d0:5e:0f:a1:17
ON100_K9> printenv eth1addr
eth1addr=a6:1c:1a:49:fe:34
ON100_K9> printenv ethact
ethact=egiga0
ON100_K9> setenv ipaddr 192.168.178.110
ON100_K9> setenv gatewayip 192.168.178.1
ON100_K9> setenv netmask 255.255.255.0
ON100_K9> setenv pingr 'for pingstat in 1 2 3 4 5; do; sleep 1; ping 192.168.178.1; done'
ON100_K9> run pingr
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
ON100_K9> setenv dnsip 192.168.178.1
ON100_K9> dns montpelier.caltech.edu ntpserver

ARP Retry count exceeded; starting again
dns lookup of montpelier.caltech.edu failed, check setup
ON100_K9> sntp $ntpserver
ntpserverip not set
ON100_K9> mii device
MII devices: 'egiga0' 'egiga1' 
Current device: 'egiga0'
ON100_K9> mii info 0
PHY 0x00: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii dump 0 0-5
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

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

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion

3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (dde1)                 -- Autonegotiation partner abilities register --
  (8000:8000) 5.15    =     1    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:1000) 5.12    =     1    (reserved)
  (0800:0800) 5.11    =     1    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 1 0-5
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

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

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion

3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (dde1)                 -- Autonegotiation partner abilities register --
  (8000:8000) 5.15    =     1    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:1000) 5.12    =     1    (reserved)
  (0800:0800) 5.11    =     1    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3


ON100_K9>

=========
-=Cloud 9=-
Re: Debian on CISCO ON100-K9
September 18, 2016 06:57PM
Arrrgh :) need one more trick: Perhaps I need to set it to 3.3V, may be that's what Cisco requires.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 09/18/2016 07:01PM by bodhi.
Re: Debian on CISCO ON100-K9
September 18, 2016 07:53PM
Attached is a throw-together I made with the pins soldered in. Never mind the soldering job, as it was an under-powered 22W solder iron and an aggressive housefly in the shed.

But this is directly what hooks where, if this helps anyone.

Remember something you guys, according to the manual, even if your regular power supply fails, you can still power it with PoE using the LAN port and something to power it. Gravelrash attached a nice manual around page 3.

Aight I'm off to bed; g 'night if you're up late, g' day if you're Australian,and g 'Knight if you're Ray and you're testing this lol.

=========
-=Cloud 9=-



Edited 2 time(s). Last edit at 09/18/2016 10:31PM by JoeyPogoPlugE02.
Attachments:
open | download - ON100-PINOUT.jpg (738.1 KB)
Re: Debian on CISCO ON100-K9
September 18, 2016 11:32PM
Run kwboot, power up, and interrupt serial console, and

version
md.l 0xffd100e0 1

If this proves to be the key, I really had a mental block caused by reading Cisco engineers uboot code :)))

And that was a really good point you've made above Joey!

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 6 time(s). Last edit at 09/19/2016 04:23AM by bodhi.
Re: Debian on CISCO ON100-K9
September 19, 2016 09:51AM
bodhi Wrote:
-------------------------------------------------------
> Run kwboot, power up, and interrupt serial
> console, and
>
>
> version
> md.l 0xffd100e0 1
>
>
> If this proves to be the key, I really had a
> mental block caused by reading Cisco engineers
> uboot code :)))
>
> And that was a really good point you've made above
> Joey!

Thank you sir, here's how it looks:

U-Boot 2016.05-tld-2.17 (Sep 18 2016 - 14:59:39 -0700)
Cisco ON100_K9

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   kwsdio: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Marvell MV88E1310 PHY initialized
egiga0 Waiting for PHY auto negotiation to complete..... done
Marvell MV88E1310 PHY initialized
egiga1 Waiting for PHY auto negotiation to complete................. TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.17 (Sep 18 2016 - 14:59:39 -0700)
Cisco ON100_K9
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ON100_K9> md.l 0xffd100e0 1
ffd100e0: e38550d3                               .P..
ON100_K9>

=========
-=Cloud 9=-
Re: Debian on CISCO ON100-K9
September 19, 2016 12:03PM
> ffd100e0: e38550d3
> .P..
> ON100_K9>
>

That bit is wrong. Thanks Joey. Instead of you poking it, it is safer that I'll make another build, doing it the proper way.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 19, 2016 05:07PM
Hold on. Try running the test that pings on egiga1, in which you have to

setenv ethact egiga1

(With both cable in MON and LAN)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 19, 2016 06:45PM
I got lucky searching for those terms you gave. Result is encouraging at least to me.

Speaking of encouragement you might be better off pasting what I should put in there LOL

U-Boot 2016.05-tld-2.17 (Sep 18 2016 - 14:59:39 -0700)
Cisco ON100_K9

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   kwsdio: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Marvell MV88E1310 PHY initialized
egiga0 Waiting for PHY auto negotiation to complete..... done
Marvell MV88E1310 PHY initialized
egiga1 Waiting for PHY auto negotiation to complete..... done
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.17 (Sep 18 2016 - 14:59:39 -0700)
Cisco ON100_K9
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ON100_K9> setenv ipaddr 192.168.178.110
ON100_K9> setenv eth1addr 64:00:F1:20:FF:B6
ON100_K9> setenv ethact egiga1
ON100_K9> ping 192.168.178.1
Using egiga1 device
host 192.168.178.1 is alive
ON100_K9>

Strange, ping 8.8.8.8 got a "host is not alive"

Ping to router sure is alive.

=========
-=Cloud 9=-



Edited 3 time(s). Last edit at 09/19/2016 06:56PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 19, 2016 10:53PM
Here is log file contents from my successful attempt with your latest uboot! Note that commands were edited for my environment and only MON port was connected. I booted your Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 image from USB and ran apt-get update to show network is working properly!

root@iconnect:~/work# ./kwboot -t -b uboot.2016.05-tld-2.17.on100_k9.mtd0.kwb -p /dev/ttyUSB0
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2016.05-tld-2.17 (Sep 18 2016 - 14:59:39 -0700)
Cisco ON100_K9

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   kwsdio: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Marvell MV88E1310 PHY initialized
egiga0 Waiting for PHY auto negotiation to complete........ done
Marvell MV88E1310 PHY initialized
egiga1 Waiting for PHY auto negotiation to complete................. TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.17 (Sep 18 2016 - 14:59:39 -0700)
Cisco ON100_K9
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ON100_K9> printenv ethaddr
ethaddr=b6:d0:5e:0f:a1:17
ON100_K9> printenv eth1addr
eth1addr=a6:1c:1a:49:fe:34
ON100_K9> printenv ethact
ethact=egiga0
ON100_K9> setenv ipaddr 192.168.11.25
ON100_K9> setenv gatewayip 192.168.11.1
ON100_K9> setenv netmask 255.255.255.0
ON100_K9> setenv pingr 'for pingstat in 1 2 3 4 5; do; sleep 1; ping 192.168.11.1; done'
ON100_K9> run pingr
Using egiga0 device
host 192.168.11.1 is alive
Using egiga0 device
host 192.168.11.1 is alive
Using egiga0 device
host 192.168.11.1 is alive
Using egiga0 device
host 192.168.11.1 is alive
Using egiga0 device
host 192.168.11.1 is alive
ON100_K9> setenv dnsip 192.168.11.1
ON100_K9> dns montpelier.caltech.edu ntpserver
192.12.19.20
ON100_K9> sntp $ntpserver
ON100_K9> mii device
MII devices: 'egiga0' 'egiga1' 
Current device: 'egiga0'
ON100_K9> mii info 0
PHY 0x00: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00,  10baseT, HDX
ON100_K9> mii dump 0 0-5
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

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

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion

3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (cde1)                 -- Autonegotiation partner abilities register --
  (8000:8000) 5.15    =     1    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:0000) 5.12    =     0    (reserved)
  (0800:0800) 5.11    =     1    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3


ON100_K9> mii dump 1 0-5
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

1.     (7949)                 -- 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:0000) 1. 5    =     0    A/N complete
  (0010:0000) 1. 4    =     0    remote fault
  (0008:0008) 1. 3    =     1    A/N able
  (0004:0000) 1. 2    =     0    link status
  (0002:0000) 1. 1    =     0    jabber detect
  (0001:0001) 1. 0    =     1    extended capabilities

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion

3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (0000)                 -- Autonegotiation partner abilities register --
  (8000:0000) 5.15    =     0    next page able
  (4000:0000) 5.14    =     0    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:0000) 5.12    =     0    (reserved)
  (0800:0000) 5.11    =     0    asymmetric pause able
  (0400:0000) 5.10    =     0    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0000) 5. 8    =     0    100BASE-X full duplex able
  (0080:0000) 5. 7    =     0    100BASE-TX able
  (0040:0000) 5. 6    =     0    10BASE-T full duplex able
  (0020:0000) 5. 5    =     0    10BASE-T able
  (001f:0000) 5. 4- 0 =     0    selector = ???


ON100_K9> ping 8.8.8.8
Using egiga0 device
host 8.8.8.8 is alive
ON100_K9> usb start
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
ON100_K9> setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
ON100_K9> printenv bootargs
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
ON100_K9> load usb 0:1 0x800000 /boot/uImage
3165294 bytes read in 381 ms (7.9 MiB/s)
ON100_K9> load usb 0:1 0x1100000 /boot/uInitrd
7179935 bytes read in 498 ms (13.7 MiB/s)
ON100_K9> bootm 0x800000 0x1100000
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-09-07   3:59:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3165230 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
Using machid 0x13db from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Seagate FreeAgent Dockstar
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 503476K/524288K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 20812K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000327] Console: colour dummy device 80x30
[    0.000358] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.090080] pid_max: default: 32768 minimum: 301
[    0.090191] Security Framework initialized
[    0.090267] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090288] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091051] Initializing cgroup subsys io
[    0.091086] Initializing cgroup subsys devices
[    0.091109] Initializing cgroup subsys freezer
[    0.091142] Initializing cgroup subsys net_cls
[    0.091230] CPU: Testing write buffer coherency: ok
[    0.091708] Setting up static identity map for 0x8200 - 0x8258
[    0.091986] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.095484] devtmpfs: initialized
[    0.099669] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100201] prandom: seed boundary self test passed
[    0.103011] prandom: 100 self tests passed
[    0.103037] pinctrl core: initialized pinctrl subsystem
[    0.104399] NET: Registered protocol family 16
[    0.104787] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130110] cpuidle: using governor ladder
[    0.160109] cpuidle: using governor menu
[    0.160465] Feroceon L2: Enabling L2
[    0.160507] Feroceon L2: Cache support initialised.
[    0.160842] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.164734] No ATAGs?
[    0.191385] vgaarb: loaded
[    0.191698] usbcore: registered new interface driver usbfs
[    0.191765] usbcore: registered new interface driver hub
[    0.191817] usbcore: registered new device driver usb
[    0.192737] clocksource: Switched to clocksource orion_clocksource
[    0.238709] NET: Registered protocol family 2
[    0.239486] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.239560] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.239626] TCP: Hash tables configured (established 4096 bind 4096)
[    0.239686] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.239711] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.239897] NET: Registered protocol family 1
[    0.240269] RPC: Registered named UNIX socket transport module.
[    0.240280] RPC: Registered udp transport module.
[    0.240285] RPC: Registered tcp transport module.
[    0.240291] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.240543] Unpacking initramfs...
[    0.747679] Freeing initrd memory: 7012K (c1100000 - c17d9000)
[    0.747781] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.748767] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.748835] audit: initializing netlink subsys (disabled)
[    0.748888] audit: type=2000 audit(0.740:1): initialized
[    0.749193] Initialise system trusted keyring
[    0.749558] zbud: loaded
[    0.749818] VFS: Disk quotas dquot_6.6.0
[    0.749875] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.750356] NFS: Registering the id_resolver key type
[    0.750392] Key type id_resolver registered
[    0.750400] Key type id_legacy registered
[    0.750423] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.750435] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.750642] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.751095] Key type big_key registered
[    0.767841] Key type asymmetric registered
[    0.767862] Asymmetric key parser 'x509' registered
[    0.767957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.767975] io scheduler noop registered
[    0.767987] io scheduler deadline registered
[    0.768047] io scheduler cfq registered (default)
[    0.769178] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.769731] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    0.770080] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    0.770510] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.803308] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.803526] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.843296] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.843745] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.844949] console [ttyS0] disabled
[    0.845009] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    1.439858] console [ttyS0] enabled
[    1.444700] nand: Could not find valid ONFI parameter page; aborting
[    1.451112] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.457525] nand: Hynix NAND 512MiB 3,3V 8-bit
[    1.461985] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.469616] Scanning device for bad blocks
[    1.598476] Bad eraseblock 1644 at 0x00000cd80000
[    1.794839] libphy: Fixed MDIO Bus: probed
[    1.799257] libphy: orion_mdio_bus: probed
[    1.807802] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.815784] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address b6:d0:5e:0f:a1:17
[    1.824757] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.831335] ehci-pci: EHCI PCI platform driver
[    1.835906] ehci-orion: EHCI orion driver
[    1.840086] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.845665] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.853518] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    1.872767] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.879014] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.885854] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.893129] usb usb1: Product: EHCI Host Controller
[    1.898028] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    1.904687] usb usb1: SerialNumber: f1050000.ehci
[    1.910029] hub 1-0:1.0: USB hub found
[    1.913874] hub 1-0:1.0: 1 port detected
[    1.918623] mousedev: PS/2 mouse device common for all mice
[    1.924835] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.931879] i2c /dev entries driver
[    1.936477] hidraw: raw HID events driver (C) Jiri Kosina
[    1.942245] drop_monitor: Initializing network drop monitor service
[    1.948813] NET: Registered protocol family 17
[    1.953532] Key type dns_resolver registered
[    1.958515] registered taskstats version 1
[    1.962668] Loading compiled-in X.509 certificates
[    1.967574] zswap: loaded using pool lzo/zbud
[    1.979617] Key type encrypted registered
[    1.984261] rtc-mv f1010300.rtc: setting system clock to 2016-09-20 12:42:42 UTC (1474375362)
[    1.995274] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
Loading, please wait...
[    2.062630] systemd-udevd[80]: starting version 215
[    2.074779] random: systemd-udevd urandom read with 3 bits of entropy available
[    2.232834] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.394650] usb 1-1: New USB device found, idVendor=154b, idProduct=009f
[    2.401405] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.408598] usb 1-1: Product: USB 2.0 FD
[    2.412535] usb 1-1: Manufacturer: PNY Technologies
[    2.417450] usb 1-1: SerialNumber: 0400000000015713
[    2.438432] SCSI subsystem initialized
[    2.446353] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.452892] scsi host0: usb-storage 1-1:1.0
[    2.458632] usbcore: registered new interface driver usb-storage
[    2.467486] usbcore: registered new interface driver uas
[    3.767866] scsi 0:0:0:0: Direct-Access     PNY      USB 2.0 FD       1100 PQ: 0 ANSI: 4
[    3.784214] sd 0:0:0:0: [sda] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[    3.792579] sd 0:0:0:0: [sda] Write Protect is off
[    3.798173] sd 0:0:0:0: [sda] No Caching mode page found
[    3.803623] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    3.815151]  sda: sda1
[    3.820799] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.830012] sd 0:0:0:0: Attached scsi generic sg0 type 0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Checking root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.662221] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.671108] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.678084] EXT4-fs (sda1): write access will be enabled during recovery
[   28.311814] EXT4-fs (sda1): recovery complete
[   28.325930] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[   29.273821] random: nonblocking pool is initialized
[....] Starting the hotplug events dispatcher: udevd[   29.543530] systemd-udevd[289]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   29.991272] orion_wdt: Initial timeout 21 sec
[   30.022247] marvell-cesa: probe of f1030000.crypto failed with error -524
done.
[ ok ] Activating swap...done.
[   31.166263] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 14519/494832 files, 167040/1978315 blocks
done.
[   31.367247] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   33.591650] NET: Registered protocol family 10
[   33.692955] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/b6:d0:5e:0f:a1:17
Sending on   LPF/eth0/b6:d0:5e:0f:a1:17
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   37.305959] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   37.315885] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.11.1
bound to 192.168.11.109 -- renewal in 41312 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1230 (syslogd)
. ok 
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1233 (klogd)
. ok 

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password: 
Last login: Mon Dec 31 20:15:33 PST 2012 on ttyS0
Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# myinfo
debian
192.168.11.109
Machine model: Seagate FreeAgent Dockstar
Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
root@debian:~# cat /proc/cpuinfo
processor	: 0
model name	: Feroceon 88FR131 rev 1 (v5l)
BogoMIPS	: 1594.16
Features	: swp half thumb fastmult edsp 
CPU implementer	: 0x56
CPU architecture: 5TE
CPU variant	: 0x2
CPU part	: 0x131
CPU revision	: 1

Hardware	: Marvell Kirkwood (Flattened Device Tree)
Revision	: 0000
Serial		: 0000000000000000
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 20000000 00020000 "orion_nand"
root@debian:~# ifconfig
eth0      Link encap:Ethernet  HWaddr b6:d0:5e:0f:a1:17  
          inet addr:192.168.11.109  Bcast:192.168.11.255  Mask:255.255.255.0
          inet6 addr: fe80::b4d0:5eff:fe0f:a117/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2406 (2.3 KiB)  TX bytes:10051 (9.8 KiB)
          Interrupt:84 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@debian:~# apt-get update
Ign http://ftp.us.debian.org jessie InRelease
Get:1 http://ftp.us.debian.org jessie Release.gpg [2373 B]             
Get:2 http://ftp.us.debian.org jessie Release [148 kB]                         
Get:3 http://security.debian.org jessie/updates InRelease [63.1 kB]            
Get:4 http://ftp.us.debian.org jessie/main armel Packages [6642 kB]            
Get:5 http://security.debian.org jessie/updates/main armel Packages [298 kB]   
Get:6 http://http.debian.net jessie-updates InRelease [142 kB]                 
Get:7 http://security.debian.org jessie/updates/contrib armel Packages [1138 B]
Get:8 http://security.debian.org jessie/updates/non-free armel Packages [14 B] 
Get:9 http://security.debian.org jessie/updates/contrib Translation-en [1211 B]
Get:10 http://http.debian.net jessie-updates/contrib Sources [32 B]            
Get:11 http://http.debian.net jessie-updates/main Sources [15.5 kB]            
Get:12 http://security.debian.org jessie/updates/main Translation-en [162 kB]  
Get:13 http://http.debian.net jessie-updates/contrib armel Packages [32 B]     
Get:14 http://http.debian.net jessie-updates/main armel Packages/DiffIndex [5440 B]
Get:15 http://http.debian.net jessie-updates/contrib Translation-en [14 B]     
Get:16 http://http.debian.net jessie-updates/main Translation-en/DiffIndex [2704 B]
Get:17 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Get:18 http://http.debian.net jessie-updates/main armel 2016-03-04-0853.34.pdiff [3749 B]
Get:19 http://http.debian.net jessie-updates/main armel 2016-03-26-2053.48.pdiff [527 B]
Get:20 http://http.debian.net jessie-updates/main armel 2016-04-10-2047.32.pdiff [3420 B]
Get:21 http://http.debian.net jessie-updates/main armel 2016-04-19-2053.08.pdiff [2112 B]
Get:22 http://http.debian.net jessie-updates/main armel 2016-06-06-2121.38.pdiff [8136 B]
Get:23 http://http.debian.net jessie-updates/main armel 2016-04-23-1455.20.pdiff [378 B]
Get:24 http://http.debian.net jessie-updates/main armel 2016-06-12-1524.07.pdiff [543 B]
Get:25 http://http.debian.net jessie-updates/main armel 2016-06-29-2115.33.pdiff [531 B]
Get:26 http://http.debian.net jessie-updates/main armel 2016-07-12-2059.36.pdiff [529 B]
Get:27 http://http.debian.net jessie-updates/main armel 2016-05-02-2123.23.pdiff [254 B]
Get:28 http://http.debian.net jessie-updates/main armel 2016-05-02-2123.23.pdiff [254 B]
Get:29 http://http.debian.net jessie-updates/main 2016-03-04-0853.34.pdiff [1371 B]
Get:30 http://http.debian.net jessie-updates/main 2016-04-10-2047.32.pdiff [4538 B]
Get:31 http://http.debian.net jessie-updates/main 2016-04-19-2053.08.pdiff [2245 B]
Get:32 http://http.debian.net jessie-updates/main 2016-06-06-2121.38.pdiff [3555 B]
Get:33 http://http.debian.net jessie-updates/main 2016-06-12-1524.07.pdiff [381 B]
Get:34 http://http.debian.net jessie-updates/main 2016-06-12-1524.07.pdiff [381 B]
Get:35 http://ftp.us.debian.org jessie/main Translation-en [4583 kB]           
Fetched 12.1 MB in 49s (245 kB/s)                                              
Reading package lists... Done
root@debian:~#

Ray
Re: Debian on CISCO ON100-K9
September 19, 2016 11:16PM
Whoah Ray, awesome! It's all magic to me :-D

I doubt I can be of much help now that you've taken it that much further, but if so let me know.

Maybe I can sponge some easy install instructions from you guys.

If all goes well, this will host every app that runs slower on Pogoplugs, like the home cloud stuff.

Plan A: Get an SDCard and/or USB stick with basic Debian, then copy it to 3-4 sticks and customize each one, judge what's best and winner gets immortalized. Then obviously keep an eye out for deals in the future.

Well Ray you're the Godfather of this, and Gravelrash and Bodhi sure didn't slack, and i'll pat myself even for not giving up (or rather, wising up when I did give up).

As i said before, good Knight lol

=========
-=Cloud 9=-
Re: Debian on CISCO ON100-K9
September 19, 2016 11:33PM
Well done guys :)

Both Joey and Ray got ethernet working! awesome! I need to study the test results more, but here is my observation.

Joey ran the right test (kudos Joey :-).

Ray did not run the right test, but it works (if Ray did the procedure below in step 1 below, then it means the driver actually did power up the egiga0 for us in 2.17 with the correction in my configuration in this version).

@Ray,

1. Try power down, unplug the power cord. Power back on, kwboot, and run test on egiga0 only.
2. Try power down, unplug the power cord. Power back on, kwboot, and run test on egiga1 only.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 19, 2016 11:37PM
Joey,

> Strange, ping 8.8.8.8 got a "host is not alive"

That's why netwask and gatewayip are important. Without tthese envs set, the router won't route the ping request to 8.8.8.8 (Google DNS). I did not ask you to do this test, so you did not set gatewayip and netmask.

> and i'll
> pat myself even for not giving up (or rather,
> wising up when I did give up).

You did a great job. I could not have figured out the problem without your tests.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 09/19/2016 11:39PM by bodhi.
Re: Debian on CISCO ON100-K9
September 19, 2016 11:47PM
@Ray,

> Here is log file contents from my successful
> attempt with your latest uboot! Note that
> commands were edited for my environment and only
> MON port was connected. I booted your
> Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
> image from USB and ran apt-get update to show
> network is working properly!

Cool!

> [ 0.000000] Machine model: Seagate FreeAgent
> Dockstar

Ah. You are using the Dockstar DTS.

The boot log looks good. Now we need to create the ON100 DTS, with the right GPIOs and other parameters. It will be easier now that we have new u-boot running, but it won't be trivial :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 20, 2016 12:48AM
bodhi Wrote:
> @Ray,
>
> 1. Try power down, unplug the power cord. Power
> back on, kwboot, and run test on egiga0 only.
> 2. Try power down, unplug the power cord. Power
> back on, kwboot, and run test on egiga1 only.


Too late tonight. I'll do this tomorrow, but I'm pretty sure they will both work as I restarted from Power Off multiple times trying a few of the 6282 dtb files (none of which were as successful as booting without a dtb file as above).

Ray
Re: Debian on CISCO ON100-K9
September 20, 2016 12:52AM
bodhi Wrote:
-------------------------------------------------------
> @Ray,
>
> > Here is log file contents from my successful
> > attempt with your latest uboot! Note that
> > commands were edited for my environment and
> only
> > MON port was connected. I booted your
> >
> Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
> > image from USB and ran apt-get update to show
> > network is working properly!
>
> Cool!
>
> > [ 0.000000] Machine model: Seagate FreeAgent
> > Dockstar
>
> Ah. You are using the Dockstar DTS.
>
> The boot log looks good. Now we need to create the
> ON100 DTS, with the right GPIOs and other
> parameters. It will be easier now that we have new
> u-boot running, but it won't be trivial :)

Nope, look at the log file. I did not use a DTB file it used the machid from the environment. See below:

ON100_K9> bootm 0x800000 0x1100000
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-09-07   3:59:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3165230 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
Using machid 0x13db from environment

Ray
Re: Debian on CISCO ON100-K9
September 20, 2016 01:09AM
@Ray,

> Using machid 0x13db from environment

Not really.

arcNumber and machid are irrelevant in an FDT kernel. I've left them in there for backward compatibility reason. If the user happens to use the new u-boot to boot an older kernel, then these envs are to make sure it can boot the old kernel. The way I set up and wrote the kernel and u-boot instruction was that I wanted users to be able to boot any combination of old/new u-boots/kernels.

With kernel Linux-4.4.0-kirkwood-tld-1, those variables are ignored. The only thing that identifes the machine is the DTB, either separated or embbedded in uImage. So I'm pretty sure that you have this Dockstar DTB embedded in your uImage. You can check this by looking at /boot, if you see a uImage.orig then it was recreated with a DTB appended at some point. Or if its timestamp seems too new comparing to the uInitrd.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 09/20/2016 01:15AM by bodhi.
Re: Debian on CISCO ON100-K9
September 20, 2016 09:21PM
Here is build 2.18. This should have both egiga0 and egiga1 initialized correctly. So please do 2 tests.

Test 1

Power down completely (unplug power cord). With ethernet cable on LAN. Run kwboot. Power up and then interrupt serial console,
version
printenv ethaddr
printenv ethact
setenv ipaddr 192.168.178.110
setenv gatewayip 192.168.178.1
setenv netmask 255.255.255.0
mii device
mii info 0
mii info 1
setenv pingr 'for pingstat in 1 2 3 4 5; do; sleep 1; ping 192.168.178.1; done'
run pingr
ping 8.8.8.8
mii dump 0 0-5

Test 2

Power down completely (unplug power cord). With ethernet cable on MON. Run kwboot. Power up and then interrupt serial console,
version
printenv eth1addr
setenv ethact egiga1
setenv ipaddr 192.168.178.110
setenv gatewayip 192.168.178.1
setenv netmask 255.255.255.0
mii device
mii info 0
mii info 1
setenv pingr 'for pingstat in 1 2 3 4 5; do; sleep 1; ping 192.168.178.1; done'
run pingr
ping 8.8.8.8
mii dump 1 0-5

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 09/20/2016 09:45PM by bodhi.
Attachments:
open | download - uboot.2016.05-tld-2.18.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 20, 2016 09:56PM
Test 1 LAN

U-Boot 2016.05-tld-2.18 (Sep 20 2016 - 13:37:24 -0700)
Cisco ON100_K9

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   kwsdio: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Marvell MV88E1310 PHY initialized
egiga0 Waiting for PHY auto negotiation to complete...... done
Marvell MV88E1310 PHY initialized
egiga1 Waiting for PHY auto negotiation to complete................. TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.18 (Sep 20 2016 - 13:37:24 -0700)
Cisco ON100_K9
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ON100_K9> printenv ethaddr
ethaddr=b6:d0:5e:0f:a1:17
ON100_K9> setenv ethact egiga1
ON100_K9> setenv ipaddr 192.168.178.110
ON100_K9> setenv gatewayip 192.168.178.1
ON100_K9> setenv netmask 255.255.255.0
ON100_K9> mii device
MII devices: 'egiga0' 'egiga1' 
Current device: 'egiga0'
ON100_K9> mii info 0
PHY 0x00: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00,  10baseT, HDX
ON100_K9> setenv pingr 'for pingstat in 1 2 3 4 5; do; sleep 1; ping 192.168.178.1; done'
ON100_K9> run pingr 
Using egiga1 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
Using egiga1 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
Using egiga1 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
Using egiga1 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
Using egiga1 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.178.1 is not alive
ON100_K9> ping 8.8.8.8
Using egiga1 device

ARP Retry count exceeded; starting again
ping failed; host 8.8.8.8 is not alive
ON100_K9> mii dump 1 0-5
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

1.     (7949)                 -- 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:0000) 1. 5    =     0    A/N complete
  (0010:0000) 1. 4    =     0    remote fault
  (0008:0008) 1. 3    =     1    A/N able
  (0004:0000) 1. 2    =     0    link status
  (0002:0000) 1. 1    =     0    jabber detect
  (0001:0001) 1. 0    =     1    extended capabilities

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion

3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (0000)                 -- Autonegotiation partner abilities register --
  (8000:0000) 5.15    =     0    next page able
  (4000:0000) 5.14    =     0    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:0000) 5.12    =     0    (reserved)
  (0800:0000) 5.11    =     0    asymmetric pause able
  (0400:0000) 5.10    =     0    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0000) 5. 8    =     0    100BASE-X full duplex able
  (0080:0000) 5. 7    =     0    100BASE-TX able
  (0040:0000) 5. 6    =     0    10BASE-T full duplex able
  (0020:0000) 5. 5    =     0    10BASE-T able
  (001f:0000) 5. 4- 0 =     0    selector = ???


ON100_K9>

Test 2 MON

U-Boot 2016.05-tld-2.18 (Sep 20 2016 - 13:37:24 -0700)
Cisco ON100_K9

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   kwsdio: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Marvell MV88E1310 PHY initialized
egiga0 Waiting for PHY auto negotiation to complete................. TIMEOUT !
Marvell MV88E1310 PHY initialized
egiga1 Waiting for PHY auto negotiation to complete..... done
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.18 (Sep 20 2016 - 13:37:24 -0700)
Cisco ON100_K9
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ON100_K9> printenv eth1addr
eth1addr=a6:1c:1a:49:fe:34
ON100_K9> setenv ethact egiga1
ON100_K9> setenv ipaddr 192.168.178.110
ON100_K9> setenv gatewayip 192.168.178.1
ON100_K9> setenv netmask 255.255.255.0
ON100_K9> mii device
MII devices: 'egiga0' 'egiga1' 
Current device: 'egiga0'
ON100_K9> mii info 0
PHY 0x00: OUI = 0x5043, Model = 0x29, Rev = 0x00,  10baseT, HDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
ON100_K9> setenv pingr 'for pingstat in 1 2 3 4 5; do; sleep 1; ping 192.168.178.1; done'
ON100_K9> run pingr
Using egiga1 device
host 192.168.178.1 is alive
Using egiga1 device
host 192.168.178.1 is alive
Using egiga1 device
host 192.168.178.1 is alive
Using egiga1 device
host 192.168.178.1 is alive
Using egiga1 device
host 192.168.178.1 is alive
ON100_K9> ping 8.8.8.8
Using egiga1 device
host 8.8.8.8 is alive
ON100_K9> mii dump 1 0-5
0.     (1000)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset
  (4000:0000) 0.14    =     0    loopback
  (2040:0000) 0. 6,13 =   b00    speed selection = 10 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:0000) 0. 8    =     0    duplex = half
  (0080:0000) 0. 7    =     0    collision test enable
  (003f:0000) 0. 5- 0 =     0    (reserved)

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

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion

3.     (0e90)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion
  (03f0:0290) 3. 9- 4 =    41    manufacturer part number
  (000f:0000) 3. 3- 0 =     0    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able
  (4000:0000) 4.14    =     0    (reserved)
  (2000:0000) 4.13    =     0    remote fault
  (1000:0000) 4.12    =     0    (reserved)
  (0800:0000) 4.11    =     0    asymmetric pause
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (dde1)                 -- Autonegotiation partner abilities register --
  (8000:8000) 5.15    =     1    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:1000) 5.12    =     1    (reserved)
  (0800:0800) 5.11    =     1    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3


ON100_K9>

Looks encouraging. I wonder if I typo'd on the first one or why it didn't get through.
Tired! Off to dreamland :-) Good luck!

=========
-=Cloud 9=-



Edited 1 time(s). Last edit at 09/20/2016 10:22PM by JoeyPogoPlugE02.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: