Welcome! Log In Create A New Profile

Advanced

Debian on CISCO ON100-K9

Posted by rayknight 
Re: Debian on CISCO ON100-K9
August 29, 2016 10:37AM
First test, first Mon port and then LAN. If you see an extra step (it's all getting fuzzy) just know the last try was the LAN port.

ON100_K9> version

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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 xxx.xxx.x.xx
## Error: flags type check failure for "ipaddr" <= "xxx.xxx.x.xx" (type: i)
## Error inserting "ipaddr" variable, errno=1
ON100_K9> setenv ethaddr 6400F120FFB7
## Error: flags type check failure for "ethaddr" <= "6400F120FFB7" (type: m)
## Error inserting "ethaddr" variable, errno=1
ON100_K9> ping 192.168.178.1
*** ERROR: `ipaddr' not set
ping failed; host 192.168.178.1 is not alive
ON100_K9> version

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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 xxx.xxx.x.xx
## Error: flags type check failure for "ipaddr" <= "xxx.xxx.x.xx" (type: i)
## Error inserting "ipaddr" variable, errno=1
ON100_K9> setenv 6400F120FFB6
ON100_K9> ping 192.168.178.1
*** ERROR: `ipaddr' not set
ping failed; host 192.168.178.1 is not alive
ON100_K9> version

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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 xxx.xxx.x.xx
## Error: flags type check failure for "ipaddr" <= "xxx.xxx.x.xx" (type: i)
## Error inserting "ipaddr" variable, errno=1
ON100_K9> setenv ethaddr 6400F120FFB6
## Error: flags type check failure for "ethaddr" <= "6400F120FFB6" (type: m)
## Error inserting "ethaddr" variable, errno=1
ON100_K9> ping 192.168.178.1
No link on egiga0
*** ERROR: `ipaddr' not set
ping failed; host 192.168.178.1 is not alive
ON100_K9>

I'll attempt the 2nd part.. one sec

=========
-= Cloud 9 =-
Re: Debian on CISCO ON100-K9
August 29, 2016 10:48AM
Test 2
ON100_K9> version

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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 xxx.xxx.x.xx
## Error: flags type check failure for "ipaddr" <= "xxx.xxx.x.xx" (type: i)
## Error inserting "ipaddr" variable, errno=1
ON100_K9> setenv eth1addr 6400F120FFB7
## Error: flags type check failure for "eth1addr" <= "6400F120FFB7" (type: m)
## Error inserting "eth1addr" variable, errno=1
ON100_K9> setenv ethact egiga1
ON100_K9> ping 192.168.178.1
*** ERROR: `ipaddr' not set
ping failed; host 192.168.178.1 is not alive
ON100_K9> version

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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 xxx.xxx.x.xx
## Error: flags type check failure for "ipaddr" <= "xxx.xxx.x.xx" (type: i)
## Error inserting "ipaddr" variable, errno=1
ON100_K9> setenv eth1addr 6400F120FFB7
## Error: flags type check failure for "eth1addr" <= "6400F120FFB7" (type: m)
## Error inserting "eth1addr" variable, errno=1
ON100_K9> setenv ethact eiga1
ON100_K9> ping 192.168.178.1
No ethernet found.
ping failed; host 192.168.178.1 is not alive
ON100_K9>

Trying my best, but let me know if I goofed.

=========
-= Cloud 9 =-
Re: Debian on CISCO ON100-K9
August 29, 2016 01:35PM
Joey,


Set to a real IP, for example: 192.168.178.50 (xxx.xxx.x.xx means use your own number, whatever it is).
setenv ipaddr 192.168.178.50
And the MAC address has this format:
setenv eth1addr 64:00:F1:20:FF:B7

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
August 29, 2016 02:46PM
Oh well I'm getting the "no such file or directory" message, meaning my pins have loosened again. We had our chance earlier. Ray is going to have to take up the slack because I'm about to smash this -edited-

Yeah I'm not saying I'm giving up, but at the least I have to take a break from this because I lack proper tools for the job like to have soldered those pins better. Changing the Ethernet plug was probably enough to stress the pins wacko, and I tried to stabilize the board when doing that.

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



Edited 1 time(s). Last edit at 08/29/2016 03:01PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
August 29, 2016 06:27PM
JoeyPogoPlugE02 Wrote:
-------------------------------------------------------
> Oh well I'm getting the "no such file or
> directory" message, meaning my pins have loosened
> again.

No, they are not loosen. You would get nothing if that is the case.

> We had our chance earlier. Ray is going to
> have to take up the slack because I'm about to
> smash this -edited-
>
> Yeah I'm not saying I'm giving up, but at the
> least I have to take a break from this because I
> lack proper tools for the job like to have
> soldered those pins better. Changing the Ethernet
> plug was probably enough to stress the pins wacko,
> and I tried to stabilize the board when doing
> that.

Thanks Joey. We are getting pretty close. Once uboot works fully, the kernel is quite easy to have.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
August 29, 2016 10:27PM
Test 1 - MON then LAN

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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.111
ON100_K9> setenv ethaddr 64:00:F1:20:FF:B7
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> setenv ipaddr 192.168.178.110
ON100_K9> setenv ethaddr 64:00:F1:20:FF:B6
ON100_K9> ping 192.168.178.1
No link on egiga0
Using egiga1 device

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

Fingers crossed, one sec

Test 2 - MON then LAN

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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.111
ON100_K9> setenv eth1addr 64:00:F1:20:FF:B7
ON100_K9> setenv ethact egiga1
ON100_K9> ping 192.168.178.1
Using egiga1 device

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

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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

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

See if that works.

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



Edited 2 time(s). Last edit at 08/29/2016 10:43PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
August 30, 2016 12:17AM
JoeyPogoPlugE02 Wrote:
-------------------------------------------------------
> Test 1 - MON then LAN
>
>
> U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30
> -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.111
> ON100_K9> setenv ethaddr 64:00:F1:20:FF:B7
> 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> setenv ipaddr 192.168.178.110
> ON100_K9> setenv ethaddr 64:00:F1:20:FF:B6
> ON100_K9> ping 192.168.178.1
> No link on egiga0
> Using egiga1 device
> 
> ARP Retry count exceeded; starting again
> ping failed; host 192.168.178.1 is not alive
> ON100_K9> 
> 
>
>
> Fingers crossed, one sec
>
> Test 2 - MON then LAN
>
>
> U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30
> -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.111
> ON100_K9> setenv eth1addr 64:00:F1:20:FF:B7
> ON100_K9> setenv ethact egiga1
> ON100_K9> ping 192.168.178.1
> Using egiga1 device
> 
> ARP Retry count exceeded; starting again
> ping failed; host 192.168.178.1 is not alive
> ON100_K9> version
> 
> U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30
> -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
> 
> ARP Retry count exceeded; starting again
> ping failed; host 192.168.178.1 is not alive
> ON100_K9> 
> 
>
>
> See if that works.

Is this the full serial console log? It seems something is missing. Did you post everything you can copy from the terminal? from u-boot banner to the last line in serial console.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
August 30, 2016 12:39AM
bodhi Wrote:
-------------------------------------------------------
> Is this the full serial console log? It
> seems something is missing. Did you post
> everything you can copy from the terminal? from
> u-boot banner to the last line in serial console.


I made one or two typos and typed version and hit Enter a bunch of times to find my way later. It was an early tactic in my using Debian.

But see the font letters are real small when you're using Win7 to RDP Pogoplug into booting the ON100. I'm making mistakes easily and wearing bifocals for much if it. Why did I whack something?

Seen Ray?

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



Edited 1 time(s). Last edit at 08/30/2016 12:45AM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
August 30, 2016 12:50AM
kwboot serial console log starts with :

U-Boot 2016.05-tld-2.5 (.....)
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:   egiga0, egiga1

That's OK Joey! I will receive my box soon, hopefully. I will continue testing when I get my hand on the hardware.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
August 30, 2016 01:01AM
bodhi Wrote:
-------------------------------------------------------
> kwboot serial console log starts with :
>
>
> U-Boot 2016.05-tld-2.5 (.....)
> 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:   egiga0, egiga1
>
>
> That's OK Joey! I will receive my box soon,
> hopefully. I will continue testing when I get my
> hand on the hardware.

Ahh sorry man, ow. I was so worried about a wire whacking everything (one pin is for sure loose) I edited like I would almost any document. That one I can't recover. Well I'm off to bed but see what tomorrow brings.

Hey Bodhi have you thought about what you'll run an OS on, like on SD card or USB stick or hard drive? Due to sale and reward points at Best Buy I can get a Sandisk Ultra 16 GB USB 3 stick for $2. My E02 sure loves USB3 sticks even if they're hugging the limit of USB 2.0 like ON100 would.

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



Edited 2 time(s). Last edit at 08/30/2016 01:57AM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
August 30, 2016 02:09AM
Joey,

> Ahh sorry man, ow. I was so worried about a wire
> whacking everything (one pin is for sure loose) I
> edited like I would almost any document. That one
> I can't recover.

Nah. You've helped a lot. I know MMC works now thanks to your test.

> I can get a Sandisk Ultra 16 GB USB 3 stick for
> $2. My E02 sure loves USB3 sticks even if they're
> hugging the limit of USB 2.0 like ON100 would.

Yes, the Sandisk 16GB is a really good one to get for these plugs. It hits the sweet spot of performance+capacity-to-cost. And for $2, wow!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
September 01, 2016 12:55AM
I've been sick for the last week, so just now getting caught up with forum posts. I'll try the latest version on my ON100 tomorrow night.

Ray
Re: Debian on CISCO ON100-K9
September 01, 2016 03:11AM
rayknight Wrote:
-------------------------------------------------------
> I've been sick for the last week, so just now
> getting caught up with forum posts. I'll try the
> latest version on my ON100 tomorrow night.
>
> Ray

Glad you feel better! we need you to resume the party here :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
September 01, 2016 12:21PM
The party's out of control! Like Burning Man but headless. (NAS bodhi tells me :-) Glad you're well Ray. I'll be nearby and try again but am trying to get a proper solder iron and make future adjustments.

=========
-= Cloud 9 =-
Re: Debian on CISCO ON100-K9
September 01, 2016 03:48PM
@Ray - glad you are feeling better and welcome back to the party - to use Joey's turn of phrase "im stuck in the kitchen"

@Joey - like you need a "decent soldering iron" :)) .The magic you pulled off when you soldered the resistor to boost the clock speed was a job well done with what you got.
Re: Debian on CISCO ON100-K9
September 01, 2016 09:54PM
bodhi Wrote:
-------------------------------------------------------
> Please try this 2.5 version. I've added Ethernet
> code.
>
> - kwboot the box with this new version, as before,
> interrupt serial console and
>
> Test 1: try 2 tests, with ethernet cable connected
> to MON port, and then LAN port
>
> version
> setenv ipaddr xxx.xxx.x.xx
> setenv ethaddr <the MAC address of the 1st port>
> ping <your router IP>
>
>
> Test 2: try 2 tests, with ethernet cable connected
> to MON port, and then LAN port
>
> version
> setenv ipaddr xxx.xxx.x.xx
> setenv eth1addr <the MAC address of the 2nd port>
> setenv ethact egiga1
> ping <your router IP>
>
>
> Please post the serial console log here.
>
> Update:
>
> Actually there are 4 tests above :)) I meant that
> I'm not sure which one is which in the stock
> u-boot PHY's code for Ethernet. So the tests will
> tell me whether what I'm doing is correct, as far
> as the PHY addresses are concerned.

If I understood correctly what you wanted, then these are the results I get using uboot.2016.05-tld-2.5.on100_k9.mtd0.kwb

Test 1 with cable in MON first and then LAN:
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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:   egiga0, egiga1
MV88E1310 PHY initialized on egiga0
PHY reset timed out
MV88E1310 PHY initialized on egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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.11.5
ON100_K9> setenv ethaddr 64:00:F1:20:DF:66
ON100_K9> ping 192.168.11.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.11.1 is not alive
ON100_K9> ping 192.168.11.1
No link on egiga0
Using egiga1 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.11.1 is not alive

Test 2 with cable in MON first and then LAN:
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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:   egiga0, egiga1
MV88E1310 PHY initialized on egiga0
PHY reset timed out
MV88E1310 PHY initialized on egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.5 (Aug 28 2016 - 22:15:30 -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.11.5
ON100_K9> setenv eth1addr 64:00:F1:20:DF:66
ON100_K9> setenv ethact egiga1
ON100_K9> ping 192.168.11.1
Using egiga1 device

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

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


For comparison this is a test with stock u-boot with MON first then LAN:
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>> setenv ipaddr 192.168.11.5
Plasma>> setenv ethaddr 64:00:F1:20:DF:66
Plasma>> ping 192.168.11.1
egiga0 no link
Using egiga1 device
host 192.168.11.1 is alive
Plasma>> ping 192.168.11.1
egiga1 no link
Using egiga0 device
host 192.168.11.1 is alive

Ray
Re: Debian on CISCO ON100-K9
September 02, 2016 03:17AM
Please try this 2.6 version. I've mistyped some numbers in the code last time.

Test 1: with ethernet cable connected to MON port

Boot with kwboot, interrupt serial console
version
setenv ipaddr <IP address of the ON100>
setenv ethaddr <the MAC address of the MON port>
ping <your router IP>

Test 2: with ethernet cable connected to LAN port

Boot with kwboot, interrupt serial console
version
setenv ipaddr <IP address of the ON100>
setenv ethaddr <the MAC address of the LAN port>
ping <your router IP>

Note that this time we only test egiga0. If either one above works , you can try to test egiga1. Remember to set ethact to egiga1 before the ping.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2016.05-tld-2.6.on100_k9.mtd0.kwb (512 KB)
Re: Debian on CISCO ON100-K9
September 02, 2016 09:21PM
@ Gravelrash :-)

@ bodhi here's Test 1 MON

U-Boot 2016.05-tld-2.6 (Sep 02 2016 - 01:00:09 -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:   egiga0, egiga1
MV88E1310 PHY initialized on egiga0
PHY reset timed out
PHY reset timed out
MV88E1310 PHY initialized on egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.6 (Sep 02 2016 - 01:00:09 -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.111
ON100_K9> setenv ethaddr 64:00:F1:20:FF:B6
ON100_K9> ping 192.168.178.1
Using egiga0 device

Test 2 LAN

U-Boot 2016.05-tld-2.6 (Sep 02 2016 - 01:00:09 -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:   egiga0, egiga1
MV88E1310 PHY initialized on egiga0
PHY reset timed out
PHY reset timed out
MV88E1310 PHY initialized on egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.6 (Sep 02 2016 - 01:00:09 -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 ethaddr 64:00:F1:20:FF:B6
ON100_K9> ping 192.168.178.1
No link on egiga0
Using egiga1 device

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

Constructive criticism well appreciated. I know I'm not the sharpest knife in the drawer :-D
But was that okay to go with the standardized unique IPs and MAC address?

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



Edited 2 time(s). Last edit at 09/02/2016 09:32PM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 03, 2016 12:54AM
Joey,

> @ bodhi here's Test 1 MON
>
> U-Boot 2016.05-tld-2.6 (Sep 02 2016 - 01:00:09
> -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: egiga0, egiga1
> MV88E1310 PHY initialized on egiga0
> PHY reset timed out
> PHY reset timed out
> MV88E1310 PHY initialized on egiga1
> Hit any key to stop autoboot: 0
> ON100_K9> version
>
> U-Boot 2016.05-tld-2.6 (Sep 02 2016 - 01:00:09
> -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.111
> ON100_K9> setenv ethaddr 64:00:F1:20:FF:B6
> ON100_K9> ping 192.168.178.1
> Using egiga0 device

What happen after this ping? i.e. any output from the console that says the server 192.168.178.1 is alive or not?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 09/03/2016 01:59AM by bodhi.
Re: Debian on CISCO ON100-K9
September 03, 2016 11:44AM
bodhi Wrote:
-------------------------------------------------------

> > Using egiga0 device
>
> What happen after this ping? i.e. any output from
> the console that says the server 192.168.178.1 is
> alive or not?


U-Boot 2016.05-tld-2.6 (Sep 02 2016 - 01:00:09 -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:   egiga0, egiga1
MV88E1310 PHY initialized on egiga0
PHY reset timed out
PHY reset timed out
MV88E1310 PHY initialized on egiga1
Hit any key to stop autoboot:  0 
ON100_K9> version

U-Boot 2016.05-tld-2.6 (Sep 02 2016 - 01:00:09 -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 ethaddr 64:00:F1:20:FF:B6
ON100_K9> ping 192.168.178.1
No link on egiga0
Using egiga1 device

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

See how that works; I waited a little longer this time...

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



Edited 1 time(s). Last edit at 09/03/2016 11:46AM by JoeyPogoPlugE02.
Re: Debian on CISCO ON100-K9
September 04, 2016 03:15AM
Damn these eBay vendors :) just had "another one bite the dust"! May be I bought the one that Gravelrash returned? :)). Got the box, this time I did not even open it yet (I want to observe the LEDs ligh behavior), just plugged in the power supply, turned on, and .... nothing, no power came into the board, completely dead.

Please either PM me or post the link to eBay that you bought the working box from (i.e. I need the vendor that you bought from, so hope I will have more luck).

Perhaps these were from an inventory from a series of Ciso boxes that were bad and sold for parts? :(

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
September 04, 2016 12:48PM
I'd imagine they're a lot harder to return if there's leftover solder where the pins go. All I can ask is, are you sure the power supply is working? 5v 3A, I don't see many of those in my little world.Also when the TTY is hooked to the pins, the lights mostly go on although the unit isn't fully operational without a power supply.

=========
-= Cloud 9 =-
Re: Debian on CISCO ON100-K9
September 04, 2016 04:05PM
JoeyPogoPlugE02 Wrote:
-------------------------------------------------------
> I'd imagine they're a lot harder to return if
> there's leftover solder where the pins go. All I
> can ask is, are you sure the power supply is
> working? 5v 3A, I don't see many of those in my
> little world.Also when the TTY is hooked to the
> pins, the lights mostly go on although the unit
> isn't fully operational without a power supply.

This one I have not connected serial console yet! Just plug in late yesrterday and got no power to the board. I'll check the power supply, though to be sure.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
September 04, 2016 04:50PM
Thanks Joey & Ray for testing.

Looks like in the new version I'll have to remove all my assumptions about the 88E1310 and do exactly what stock u-boot does. This is weird, because it's supposed to be the same as the 88E1318.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
September 05, 2016 04:15AM
bodhi Wrote:
-------------------------------------------------------
May be I bought the one that Gravelrash returned? :)).

:))) if the vendor bought his parts from the local recycler then possibly :)))

if i remember correctly @Joeys came from this vendor
http://www.ebay.co.uk/itm/371449682554?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
Re: Debian on CISCO ON100-K9
September 05, 2016 04:45AM
Gravelrash Wrote:
-------------------------------------------------------

> :))) if the vendor bought his parts from the local
> recycler then possibly :)))
>

:)) then mine is possibly going to be. I need to find my multimeter somewhere in the "lab" :))) to see if the power supply is bad, let's hope so. 5V 2A is easy to find, I think.


> if i remember correctly @Joeys came from this
> vendor
> http://www.ebay.co.uk/itm/371449682554?_trksid=p20
> 57872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

Too bad that vendor's listing has ended.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
September 05, 2016 01:06PM
@bodhi

Is this the vendor you bought from?

http://www.ebay.com/itm/CISCO-ONPLUS-NETWORK-AGENT-NEW-IN-SEALED-FACTORY-BOX-ON100-K9-/222206102652?hash=item33bc840c7c:g:acAAAOSw~OVWwP6o

I interacted with him trying to get him to lower the price or shipping, but he wouldn't budge. I would have bought if I could have got it for under $15 shipped but just the shipping was over $15. He also had another open-box listing for 9.99, but shipping was the same.

Glad I didn't jump on any of those now seeing as how many of them are bad. The one listing that remains is $30 shipped, but not really worth it to me at that price. I've been following this thread with interest though in case another source pops up for cheap. You guys are doing some awesome work here!
Re: Debian on CISCO ON100-K9
September 05, 2016 01:34PM
I feel it in my bones, this is an item that will be given away for shipping at some point, but maybe as late as tax season.

What causes the problem though, is the electronics dependent on the RTC battery, which ought to be depleted after years of warehousing, or maybe bad power supplies or what. Without some degrading variable they should work.

Being mine was a much-appreciated gift, I'd like to eventually coax it into usefulness and "use it for good" :-)

=========
-= Cloud 9 =-
Re: Debian on CISCO ON100-K9
September 05, 2016 03:42PM
nwestfal,

> http://www.ebay.com/itm/CISCO-ONPLUS-NETWORK-AGENT
> -NEW-IN-SEALED-FACTORY-BOX-ON100-K9-/222206102652?
> hash=item33bc840c7c:g:acAAAOSw~OVWwP6o

Yes. This box came dead, or it seems to be. I have not tried to check the power supply yet.

I think they jacked up they price when they saw buying activity suddenly spikes :) I would only buy this again to try my luck if the total cost is $10 or less.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on CISCO ON100-K9
September 05, 2016 06:09PM
Off-topic, I know, but is there any way to change one's username on this forum? I guess I could just create a new account...
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: