Welcome! Log In Create A New Profile

Advanced

Debian on CISCO ON100-K9

Posted by rayknight 
Re: Debian on CISCO ON100-K9
September 11, 2016 05:03PM
Test 1 Mon
(the only noticeable light flashing was slow blink from not the furthest right but the one before that).

U-Boot 2016.05-tld-2.10 (Sep 11 2016 - 13:22:15 -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:   Could not get PHY for egiga0: addr 8
phy_connect failed
Could not get PHY for egiga1: addr 9
phy_connect failed
egiga0, egiga1
MV88E1310 PHY initialized
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.10 (Sep 11 2016 - 13:22:15 -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> 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>

Test 2 LAN

U-Boot 2016.05-tld-2.10 (Sep 11 2016 - 13:22:15 -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:   Could not get PHY for egiga0: addr 8
phy_connect failed
Could not get PHY for egiga1: addr 9
phy_connect failed
egiga0, egiga1
MV88E1310 PHY initialized
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.10 (Sep 11 2016 - 13:22:15 -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> ping 192.168.178.1
Using egiga0 device
H(IA�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>

No lights blinking.

=========
-=Cloud 9=-
* almost back, hold on.



Edited 1 time(s). Last edit at 09/11/2016 05:51PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 11, 2016 05:09PM
Thanks Joey! it's a very good test.

Net:   Could not get PHY for egiga0: addr 8
phy_connect failed
Could not get PHY for egiga1: addr 9
phy_connect failed
egiga0, egiga1
MV88E1310 PHY initialized
Hit any key to stop autoboot:  0 
ON100_K9> version

That addr 8 is for the openrd. Obvious ly this box has a different PHY address.

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



Edited 1 time(s). Last edit at 09/11/2016 05:13PM by bodhi.
Re: Debian on CISCO ON100-K9
September 11, 2016 05:53PM
bodhi Wrote:
-------------------------------------------------------
> That addr 8 is for the openrd. Obvious ly this box
> has a different PHY address.

All I can say is, as soon as I get my hands on a higher powered solder iron I'll tack the pins better. Only one or two are loose, but it wouldn't surprise me if that affects the lights and other things. Or I've been lucky. No idea.


I got the Save function right for Test 2, appended above.

=========
-=Cloud 9=-
* almost back, hold on.



Edited 1 time(s). Last edit at 09/11/2016 06:06PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 12, 2016 12:01AM
Here is version 2.11. Same test 1 and 2.

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - uboot.2016.05-tld-2.11.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 12, 2016 12:08PM
Test 1 MON

U-Boot 2016.05-tld-2.11 (Sep 11 2016 - 22:50:00 -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......... TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.11 (Sep 11 2016 - 22:50:00 -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> 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>

Test 2 LAN


U-Boot 2016.05-tld-2.11 (Sep 11 2016 - 22:50:00 -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......... TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.11 (Sep 11 2016 - 22:50:00 -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> 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>

The pairs of green LEDs to the right, if you numbered them 1-4, then #2 was blinking coherently.

Right now I've got a weight on the unit to hold the pins in place. Garbage night is tomorrow so tell Ray.

=========
-=Cloud 9=-
* almost back, hold on.



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

> Test 2 LAN
> Fail, the pins again. I can't get it to the first
> stage really. Gets to "please reboot the target"
> and toggling power doesn't do anything. This is
> going in the trash. Sorry I'm out.


Damn :) sorry to hear. Try taking out the clock battery, unplug serial wires, and leave it unpowered for a few hours and power on again. See if you can make it come back.

Thanks for doing all the testing Joey, appreciated it!

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



Edited 2 time(s). Last edit at 09/12/2016 12:21PM by bodhi.
Re: Debian on CISCO ON100-K9
September 12, 2016 12:21PM
BTW, it looks we are in/on the right track. The PHY was initialized. But the timeout value will need to be increased for this chip in this box.

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



Edited 1 time(s). Last edit at 09/12/2016 12:36PM by bodhi.
Re: Debian on CISCO ON100-K9
September 12, 2016 10:19PM
Let's take a short break - I didn't realize I'm most of the test crew, and even though it's a lot of steps to test with my (soon to change) hodge-podge of: Win7 >RDP> Pogoplug >LoosePins> ON100
A simple appropriate solder iron will take a lot of unknowns out an I can trust the LEDs.
It's almost 2 months since Ray mentioned this, and we know first hand it's a clever configuration. So thinking out loud, here's my ToDo list.
1. Work out higher power solder iron. This will have me testing reliably ASAP. I'm not asking for donations so don't worry, but my needs are met and I've got some scrounging to do.

2. Get a cheap ARM box with Debian and HDMI-out for future testing.

The result, for one, a LOT of good hardware won't go to landfills, people will have nice low cost computers, and peace one earth and good will toward humankind will take place. So we'd better get this finished before the elections LOL

So I'll redouble my efforts, but let me prepare...

=========
-=Cloud 9=-
* almost back, hold on.
Re: Debian on CISCO ON100-K9
September 12, 2016 11:39PM
> So I'll redouble my efforts, but let me prepare...

Take your time Joey. There is no need to rush anything. It will be done when it's done (TM) :)

So let me know when you feel like continuing the testing.

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



Edited 1 time(s). Last edit at 09/13/2016 12:01AM by bodhi.
Re: Debian on CISCO ON100-K9
September 13, 2016 02:49PM
Build 2.12 is ready to be tested. It will be uploaded when the tester feel like continuing :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 13, 2016 03:42PM
Bodhi good news. I raised a few bucks and got a 40-watt iron at Menards. They sure love that "save big money" song. Ahem... So, I re-tacked the pins and am much more confident now. While I haven't taken the RTC battery out, I did hit reset over the 10 seconds they tell you, to explore that possibility before proceeding.

Test 1 MON
U-Boot 2016.05-tld-2.11 (Sep 11 2016 - 22:50:00 -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......... TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.11 (Sep 11 2016 - 22:50:00 -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> 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>


Test 2 LAN

U-Boot 2016.05-tld-2.11 (Sep 11 2016 - 22:50:00 -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......... TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.11 (Sep 11 2016 - 22:50:00 -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> 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>

Hit me with 2.12 :-D

=========
-=Cloud 9=-
* almost back, hold on.
Re: Debian on CISCO ON100-K9
September 13, 2016 06:09PM
Here you go Joey. I've increased the Auto Negotiation timeout period.

Same test 1 and 2.

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - uboot.2016.05-tld-2.12.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 13, 2016 06:40PM
Test 1 MON

Check my Netmask, I hope to have caught it after a typo. Can repeat if necessary.
U-Boot 2016.05-tld-2.12 (Sep 12 2016 - 23:01:49 -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................. TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.12 (Sep 12 2016 - 23:01:49 -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.25..0
## Error: flags type check failure for "netmask" <= "255.255.25..0" (type: i)
## Error inserting "netmask" variable, errno=1
ON100_K9> setenv netmask 255.255.255.0
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>

Test 2 LAN

U-Boot 2016.05-tld-2.12 (Sep 12 2016 - 23:01:49 -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................. TIMEOUT !
egiga0, egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.12 (Sep 12 2016 - 23:01:49 -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> 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>

=========
-=Cloud 9=-
* almost back, hold on.
Re: Debian on CISCO ON100-K9
September 13, 2016 09:46PM
This sounds too much like a bug in the PHY driver.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 13, 2016 10:29PM
It's a head-scratcher! Well if nothing else I'm not too far away to test, and am real happy to have a better solder iron.
I don't even really understand what that means that PoE is on one ethernet jack and not the other. Really I wonder if there's some simple "key" scheme that we aren't aware of, like both Ethernet jacks need to be plugged-in or something needs to be in the USB slot. Any idea why Cisco has the SD card slot? Anyway I'm off to bed once again but will check early and often.

=========
-=Cloud 9=-
* almost back, hold on.
Re: Debian on CISCO ON100-K9
September 13, 2016 11:13PM
> Really I wonder if there's some simple
> "key" scheme that we aren't aware of, like both
> Ethernet jacks need to be plugged-in or something
> needs to be in the USB slot.

I think, nothing like that (but you'd never know...). I'm not using stock u-boot ethernet code anymore. The ethernet PHYs have initialized. But looks like the auto negotiation is not in the right order. A lot of time people change the main PHY driver code and did not upgrade all specific drivers. Happened a lot. They only retrofit the chip that they have on hands. The rest is up to other people to find out when it breaks :))

> Any idea why Cisco
> has the SD card slot?

Must be because it probably costs close to nothing for them to do this ;)

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



Edited 1 time(s). Last edit at 09/13/2016 11:16PM by bodhi.
Re: Debian on CISCO ON100-K9
September 13, 2016 11:20PM
OK here we go, version 2.13. Light your incense, bow to 8 directions, and run test 1 and 2 :))

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - uboot.2016.05-tld-2.13.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 14, 2016 08:44AM
* Incense on the solder iron and old people fasting and praying...

Test 1 MON


U-Boot 2016.05-tld-2.13 (Sep 13 2016 - 22:03:11 -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.13 (Sep 13 2016 - 22:03:11 -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> 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>


Test 2 LAN

My first ping had wrong IP.

U-Boot 2016.05-tld-2.13 (Sep 13 2016 - 22:03:11 -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.13 (Sep 13 2016 - 22:03:11 -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> ping 192.158.178.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.158.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>

=========
-=Cloud 9=-
* almost back, hold on.
Re: Debian on CISCO ON100-K9
September 14, 2016 01:11PM
Thanks Joey! good progress.

egiga1 Waiting for PHY auto negotiation to complete..... done

egiga0 Waiting for PHY auto negotiation to complete..... done

But my incantation did not work completely :)

Could you do the same test but with stock u-boot? meaning running putty to connect, and interrupt serial console, run test 1 and 2.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 14, 2016 01:43PM
Well voodoo is out because I need the pins for the TTY...

Test 1 MON

    |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Feb 22 2011 - 14:06:09) Marvell version: 3.5.9 - Cisco Plasma

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006D2340

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII

USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Plasma>> version

U-Boot 1.1.4 (Feb 22 2011 - 14:06:09) Marvell version: 3.5.9 - Cisco Plasma
Plasma>> printenv ethact
ethact=egiga0
Plasma>> setenv ipaddr 192.168.178.110
Plasma>> setenv gatewayip 192.168.178.1
Plasma>> setenv netmask 255.255.255.0
Plasma>> ping 192.168.178.1
egiga0 no link
Using egiga1 device
host 192.168.178.1 is alive
Plasma>> ping 8.8.8.8
Using egiga1 device
host 8.8.8.8 is alive
Plasma>>


Test 2 LAN

      |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Feb 22 2011 - 14:06:09) Marvell version: 3.5.9 - Cisco Plasma

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006D2340

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII

USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Plasma>> version

U-Boot 1.1.4 (Feb 22 2011 - 14:06:09) Marvell version: 3.5.9 - Cisco Plasma
Plasma>> printenv ethact
ethact=egiga0
Plasma>> setenv ipaddr 192.168.178.110
Plasma>> setenv gatewayip 192.168.178.1
Plasma>> setenv netmask 255.255.255.0
Plasma>> ping 192.168.178.1
Using egiga0 device
host 192.168.178.1 is alive
Plasma>> ping 8.8.8.8
Using egiga0 device
host 8.8.8.8 is alive
Plasma>>

This could never happen on a Monday... :-)

=========
-=Cloud 9=-
* almost back, hold on.
Re: Debian on CISCO ON100-K9
September 15, 2016 12:20AM
JoeyPogoPlugE02 Wrote:
-------------------------------------------------------
> * Incense on the solder iron and old people
> fasting and praying...
>
> Test 1 MON
>
>
>
> U-Boot 2016.05-tld-2.13 (Sep 13 2016 - 22:03:11
> -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.13 (Sep 13 2016 - 22:03:11
> -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> 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> 
> 
>
>
>
> Test 2 LAN
>
> My first ping had wrong IP.
>
>
> U-Boot 2016.05-tld-2.13 (Sep 13 2016 - 22:03:11
> -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.13 (Sep 13 2016 - 22:03:11
> -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> ping 192.158.178.1
> Using egiga0 device
> 
> ARP Retry count exceeded; starting again
> ping failed; host 192.158.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> 
>

Joey,

Run these 2 tests with kwboot again. And post what are the behavior of the front LEDs, and the ethernet LEDs during boot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 15, 2016 12:23PM
OK here the last version before I'd have to switch gear to something else for a while :)

Do test 1 and 2 as before. But add more commands this time

version
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
mii dump 0 1
mii dump 0 2
mii dump 0 3
mii dump 0 4
mii dump 0 5
mii dump 1 0
mii dump 1 1
mii dump 1 2
mii dump 1 3
mii dump 1 4
mii dump 1 5

ping 192.168.178.1
ping 192.168.178.1
ping 192.168.178.1
ping 8.8.8.8

mii info 0
mii info 1
mii dump 0 0
mii dump 0 1
mii dump 0 2
mii dump 0 3
mii dump 0 4
mii dump 0 5
mii dump 1 0
mii dump 1 1
mii dump 1 2
mii dump 1 3
mii dump 1 4
mii dump 1 5

ping 192.168.178.1
ping 192.168.178.1
ping 192.168.178.1
ping 8.8.8.8

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - uboot.2016.05-tld-2.14.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 15, 2016 07:07PM
Ouch Bodhi I made two mistakes I know of. One, "mii" after a while I started using "mi". when i tried the proper syntax it resulted the same, but ouch how that got by me. 2nd mistake was something like "mi dump 14" where it should have had that space. I went on to correct it, but I don't know if it's wrecked.

Test 1 MON
LEDs look great, everything on steady except far right green LED blinks like something meaningful is going on.

U-Boot 2016.05-tld-2.14 (Sep 15 2016 - 10:28:53 -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.14 (Sep 15 2016 - 10:28:53 -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,  10baseT, HDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
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.     (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 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.     (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> 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.     (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 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.     (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> 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,  10baseT, HDX
ON100_K9> mii info 1
PHY 0x01: OUI = 0x5043, Model = 0x29, Rev = 0x00, 1000baseT, FDX
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.     (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 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 04
3.     (ffff)                 -- PHY ID 2 register --
  (fc00:fc00) 3.15-10 =    63    OUI portion
  (03f0:03f0) 3. 9- 4 =    63    manufacturer part number
  (000f:000f) 3. 3- 0 =    15    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.     (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> mi 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> mi dump 1 1 
1.     (796d)                 -- PHY status register --
  (8000:0000) 1.15    =     0    100BASE-T4 able
  (4000:4000) 1.14    =     1    100BASE-X  full duplex able
  (2000:2000) 1.13    =     1    100BASE-X  half duplex able
  (1000:1000) 1.12    =     1    10 Mbps    full duplex able
  (0800:0800) 1.11    =     1    10 Mbps    half duplex able
  (0400:0000) 1.10    =     0    100BASE-T2 full duplex able
  (0200:0000) 1. 9    =     0    100BASE-T2 half duplex able
  (0100:0100) 1. 8    =     1    extended status
  (0080:0000) 1. 7    =     0    (reserved)
  (0040:0040) 1. 6    =     1    MF preamble suppression
  (0020:0020) 1. 5    =     1    A/N complete
  (0010:0000) 1. 4    =     0    remote fault
  (0008:0008) 1. 3    =     1    A/N able
  (0004:0004) 1. 2    =     1    link status
  (0002:0000) 1. 1    =     0    jabber detect
  (0001:0001) 1. 0    =     1    extended capabilities


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


ON100_K9> mi 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> mi 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> mi dump 1 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 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> ping 192.1678.178.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.1678.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>


Test 2 LAN
LEDs look great on #2 of the four LEDs to the right, indicating LAN port is intelligent and thinking, working, being a good sport.

U-Boot 2016.05-tld-2.14 (Sep 15 2016 - 10:28:53 -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.14 (Sep 15 2016 - 10:28:53 -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 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 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>

Did I do alright Bodhi or read your instructions wrong and did two tests on each one? lol
Those wacky full moons :-D

=========
-=Cloud 9=-
* almost back, hold on.



Edited 1 time(s). Last edit at 09/15/2016 07:29PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 15, 2016 11:44PM
Hey Joey,

Thanks for doing this exhaustive test. It will take me a while to analyze the result and compare to a good run from a different device.

If anything still unclear, I will get a kernel build going so not to waste time chasing ghosts :) If even the new DTS (kernel device tree) fails to get ethernet going, then we'll know for sure Cisco has some hack going on (like Zyxel did to NSA325). It is not obvious in stock u-boot that they did anything weird like that, all standard stuff in the code.

This is one of the times when I need to see the hardware. Similar to the Cisco T5325, I would not have figured out that last unknown without seeing it boot, and hack it to pieces :)) so hope they get the price down. There are only 2 people, you and Ray, have the working hardware. And Ray apparently has lost interest.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 16, 2016 01:10AM
Well if I see good deals on ON100s - and that's inevitable - like my friend who needed a cornea used to say "l'll keep an eye out for you" LOL But I'll leave my unit on the desktop for a while if any developments happen.

And I hope Ray's okay :-)

=========
-=Cloud 9=-
* almost back, hold on.



Edited 1 time(s). Last edit at 09/16/2016 01:10AM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 16, 2016 01:10AM
Good test data so far! The bold part are wrong settings.

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)

I think the driver must have done an extra PHY reset somewhere.

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



Edited 1 time(s). Last edit at 09/16/2016 01:38AM by bodhi.
Re: Debian on CISCO ON100-K9
September 16, 2016 03:12AM
Hi Joey,

OK so I can't resist this last build 2.15 :) after seeing that output.

Please do test 1 and 2. It's sink or swim.

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - uboot.2016.05-tld-2.15.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 16, 2016 12:31PM
Just to be on the same page, currently this test (let me know if to modify)

version
printenv ethact
setenv ipaddr 192.168.178.110
setenv gatewayip 192.168.178.1
setenv netmask 255.255.255.0
ping 192.168.178.1
ping 8.8.8.8

Test 1 MON

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................. 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.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> setenv ipaddr 192.168.178.110
ON100_K9> setenv gatewayip 192.168.178.1
ON100_K9> setenv netmask 255.255.255.0
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>

LEDs: Far right stopped blinking most of first ping but was blinking a lot for ping to 8.8.8.8

Test 2 LAN

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> 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>

LED: I dunno, it was like a phone ringing when it was pinging, intermittent superfast, then off, repeat. Struck me as functioning okay.

I will say this though, the LEDs are always correct: right most pair is connected to MON and the two left of it are LAN.


I'll check often Bodhi. It's a lunar eclipse so maybe that'll help lol

=========
-=Cloud 9=-
* almost back, hold on.



Edited 2 time(s). Last edit at 09/16/2016 12:33PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 16, 2016 12:52PM
Thanks Joey.

LED: I dunno, it was like a phone ringing when it was pinging, intermittent superfast, then off, repeat. Struck me as functioning okay.
Damn :) This indicated it is working as it should.

When you get a chance, run Test 2 (LAN) and do the PHY dump commands.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on CISCO ON100-K9
September 16, 2016 04:23PM
Sorry I've not been available to help with testing. I've had pneumonia and after recovery my time has been spent catching up on more important issues that I fell behind on. I may have some time to devote to working on this again this weekend.

I have two of these units. Bodhi if you want to email me rayknight @ me.com perhaps I can arrange to send one to you if that would help in getting support.

Also ebay still has a Buy It Now for $29.95 with free shipping. Amazon also lists a few used units for between $40 and $50. But is see the European vendors believe they're worth over $100!

Ray
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 14 plus 4?
Message: