Re: Debian on CISCO ON100-K9 August 25, 2016 04:33PM |
Registered: 9 years ago Posts: 39 |
Re: Debian on CISCO ON100-K9 August 25, 2016 05:13PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Debian on CISCO ON100-K9 August 25, 2016 06:07PM |
Registered: 9 years ago Posts: 1,516 |
Re: Debian on CISCO ON100-K9 August 25, 2016 06:20PM |
Admin Registered: 13 years ago Posts: 18,580 |
.... ... 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2016.05-tld-2.3 (.....) Cisco ON100_K9 SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 512 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0, egiga1 Error: egiga1 address not set. MV88E1310 PHY initialized on egiga0 Hit any key to stop autoboot: 0
Re: Debian on CISCO ON100-K9 August 25, 2016 06:24PM |
Registered: 9 years ago Posts: 1,516 |
Re: Debian on CISCO ON100-K9 August 25, 2016 08:06PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Debian on CISCO ON100-K9 August 25, 2016 08:18PM |
Registered: 9 years ago Posts: 1,516 |
root@debian:/usr/local/bin# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-2.3.on100_k9.mtd0.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 49 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 56 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 61 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 66 % [......................................................................] 68 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 73 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 78 % [......................................................................] 80 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 85 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 90 % [......................................................................] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2016.05-tld-2.3 (Aug 24 2016 - 14:19:29 -0700) Cisco ON100_K9 SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 512 MiB MMC: kwsdio: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0, egiga1 Error: egiga1 address not set. MV88E1310 PHY initialized on egiga0 PHY reset timed out MV88E1310 PHY initialized on egiga1 Hit any key to stop autoboot: 0 ON100_K9>What now?
Re: Debian on CISCO ON100-K9 August 25, 2016 09:04PM |
Registered: 9 years ago Posts: 442 |
Re: Debian on CISCO ON100-K9 August 25, 2016 09:41PM |
Admin Registered: 13 years ago Posts: 18,580 |
> root@debian:/usr/local/bin# ./kwboot -t -B 115200 > /dev/ttyUSB0 -b > uboot.2016.05-tld-2.3.on100_k9.mtd0.kwb -p > Sending boot message. Please reboot the > target...| > Sending boot image... > 0 % > [................................................. > .....................] > 1 % > [................................................. > .....................] > 3 % > [................................................. > .....................] > 5 % > [................................................. > .....................] > 6 % > [................................................. > .....................] > 8 % > [................................................. > .....................] > 10 % > [................................................. > .....................] > 11 % > [................................................. > .....................] > 13 % > [................................................. > .....................] > 15 % > [................................................. > .....................] > 17 % > [................................................. > .....................] > 18 % > [................................................. > .....................] > 20 % > [................................................. > .....................] > 22 % > [................................................. > .....................] > 23 % > [................................................. > .....................] > 25 % > [................................................. > .....................] > 27 % > [................................................. > .....................] > 29 % > [................................................. > .....................] > 30 % > [................................................. > .....................] > 32 % > [................................................. > .....................] > 34 % > [................................................. > .....................] > 35 % > [................................................. > .....................] > 37 % > [................................................. > .....................] > 39 % > [................................................. > .....................] > 41 % > [................................................. > .....................] > 42 % > [................................................. > .....................] > 44 % > [................................................. > .....................] > 46 % > [................................................. > .....................] > 47 % > [................................................. > .....................] > 49 % > [................................................. > .....................] > 51 % > [................................................. > .....................] > 53 % > [................................................. > .....................] > 54 % > [................................................. > .....................] > 56 % > [................................................. > .....................] > 58 % > [................................................. > .....................] > 59 % > [................................................. > .....................] > 61 % > [................................................. > .....................] > 63 % > [................................................. > .....................] > 64 % > [................................................. > .....................] > 66 % > [................................................. > .....................] > 68 % > [................................................. > .....................] > 70 % > [................................................. > .....................] > 71 % > [................................................. > .....................] > 73 % > [................................................. > .....................] > 75 % > [................................................. > .....................] > 76 % > [................................................. > .....................] > 78 % > [................................................. > .....................] > 80 % > [................................................. > .....................] > 82 % > [................................................. > .....................] > 83 % > [................................................. > .....................] > 85 % > [................................................. > .....................] > 87 % > [................................................. > .....................] > 88 % > [................................................. > .....................] > 90 % > [................................................. > .....................] > 92 % > [................................................. > .....................] > 94 % > [................................................. > .....................] > 95 % > [................................................. > .....................] > 97 % > [................................................. > .....................] > 99 % [....................................] > [Type Ctrl-\ + c to quit] > > > U-Boot 2016.05-tld-2.3 (Aug 24 2016 - 14:19:29 > -0700) > Cisco ON100_K9 > > SoC: Kirkwood 88F6282_A1 > DRAM: 512 MiB > WARNING: Caches not enabled > NAND: 512 MiB > MMC: kwsdio: 0 > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Net: egiga0, egiga1 > Error: egiga1 address not set. > > MV88E1310 PHY initialized on egiga0 > PHY reset timed out > MV88E1310 PHY initialized on egiga1 > Hit any key to stop autoboot: 0 > ON100_K9> > >> What now?
Re: Debian on CISCO ON100-K9 August 25, 2016 09:51PM |
Registered: 9 years ago Posts: 1,516 |
ON100_K9> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found ON100_K9> mmc rescan ON100_K9>
Re: Debian on CISCO ON100-K9 August 26, 2016 12:14AM |
Admin Registered: 13 years ago Posts: 18,580 |
> ON100_K9> usb start > starting USB... > USB0: USB EHCI 1.00 > scanning bus 0 for devices... 2 USB Device(s) > found > scanning usb for storage devices... 1 > Storage Device(s) found > ON100_K9> mmc rescan > ON100_K9> >>
Re: Debian on CISCO ON100-K9 August 26, 2016 12:54AM |
Admin Registered: 13 years ago Posts: 18,580 |
setenv ipaddr xxx.xxx.x.xx ping <your router IP>
setenv ipaddr xxx.xxx.x.xx setenv eth1addr <the MAC address of the 2nd port> setenv ethact egiga1 ping <your router IP>
Re: Debian on CISCO ON100-K9 August 26, 2016 12:38PM |
Registered: 9 years ago Posts: 1,516 |
Re: Debian on CISCO ON100-K9 August 27, 2016 11:38PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Debian on CISCO ON100-K9 August 28, 2016 01:06AM |
Registered: 9 years ago Posts: 1,516 |
Re: Debian on CISCO ON100-K9 August 28, 2016 01:14AM |
Registered: 9 years ago Posts: 1,516 |
Re: Debian on CISCO ON100-K9 August 28, 2016 04:58PM |
Admin Registered: 13 years ago Posts: 18,580 |
usb start mmc rescan
Re: Debian on CISCO ON100-K9 August 28, 2016 05:18PM |
Registered: 9 years ago Posts: 1,516 |
> usb start > mmc rescan >>
ON100_K9> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found ON100_K9> mmc rescan ** First descriptor is NOT a primary desc on 0:1 ** MMC rescan: current device # 0 initialized OK ON100_K9>
Re: Debian on CISCO ON100-K9 August 28, 2016 06:01PM |
Admin Registered: 13 years ago Posts: 18,580 |
usb start ext2ls usb 0:1 /
mmc rescan ex2ls mmc 0:1 /
Re: Debian on CISCO ON100-K9 August 28, 2016 06:14PM |
Registered: 9 years ago Posts: 1,516 |
> usb start > ext2ls usb 0:1 / >>
> mmc rescan > ex2ls mmc 0:1 / >
ON100_K9> usbstart Unknown command 'usbstart' - try 'help' ON100_K9> ext2ls usb 0:1 / <DIR> 4096 . <DIR> 4096 .. <DIR> 16384 lost+found <DIR> 4096 opt <DIR> 4096 lib <DIR> 4096 run <DIR> 4096 proc <DIR> 4096 media <DIR> 4096 selinux <DIR> 4096 sys <DIR> 4096 boot <DIR> 4096 sbin <DIR> 4096 var <DIR> 4096 root <DIR> 4096 dev <DIR> 4096 bin <DIR> 4096 etc <DIR> 4096 tmp <DIR> 4096 installation <DIR> 4096 usr <DIR> 4096 home <DIR> 4096 mnt <DIR> 4096 srv <DIR> 4096 share 971 webmin-setup.out 30 .ceid <DIR> 4096 sdb5 <DIR> 4096 sdb <DIR> 4096 .vnc <DIR> 4096 files_to_upload <DIR> 4096 .cedata 1073741824 swapfile1 ON100_K9> mme rescan Unknown command 'mme' - try 'help' ON100_K9> ex2ls mmc 0:1 / Unknown command 'ex2ls' - try 'help' ON100_K9> ex21s mmc 0:1 / Unknown command 'ex21s' - try 'help' ON100_K9> ex2ls mmc 0:1 / Unknown command 'ex2ls' - try 'help' ON100_K9>
Re: Debian on CISCO ON100-K9 August 28, 2016 06:48PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Debian on CISCO ON100-K9 August 28, 2016 07:11PM |
Registered: 9 years ago Posts: 1,516 |
lON100_K9> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found ON100_K9> ext2ls usb 0:1 / <DIR> 4096 . <DIR> 4096 .. <DIR> 16384 lost+found <DIR> 4096 opt <DIR> 4096 lib <DIR> 4096 run <DIR> 4096 proc <DIR> 4096 media <DIR> 4096 selinux <DIR> 4096 sys <DIR> 4096 boot <DIR> 4096 sbin <DIR> 4096 var <DIR> 4096 root <DIR> 4096 dev <DIR> 4096 bin <DIR> 4096 etc <DIR> 4096 tmp <DIR> 4096 installation <DIR> 4096 usr <DIR> 4096 home <DIR> 4096 mnt <DIR> 4096 srv <DIR> 4096 share 971 webmin-setup.out 30 .ceid <DIR> 4096 sdb5 <DIR> 4096 sdb <DIR> 4096 .vnc <DIR> 4096 files_to_upload <DIR> 4096 .cedata 1073741824 swapfile1 ON100_K9> mmc rescan ** First descriptor is NOT a primary desc on 0:1 ** MMC rescan: current device # 0 initialized OK ON100_K9> ex2ls mmc 0:1 / Unknown command 'ex2ls' - try 'help' ON100_K9> ex2ls mmc 0:1 / Unknown command 'ex2ls' - try 'help' ON100_K9>
Bonus August 28, 2016 07:46PM |
Registered: 9 years ago Posts: 1,516 |
ON100_K9> usb start ON100_K9> mmc rescan ** First descriptor is NOT a primary desc on 0:1 ** MMC rescan: current device # 0 initialized OK ON100_K9> usb start ON100_K9> ext2ls usb 0:1 / EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80008d80 ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** ON100_K9> mmc rescan ** First descriptor is NOT a primary desc on 0:1 ** MMC rescan: current device # 0 initialized OK ON100_K9> ex2ls mmc 0:1 / Unknown command 'ex2ls' - try 'help' ON100_K9>
Re: Debian on CISCO ON100-K9 August 28, 2016 09:50PM |
Registered: 9 years ago Posts: 1,516 |
ON100_K9> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found ON100_K9> ext2ls usb 0:1 / ** Invalid partition 1 ** ON100_K9> mmc rescan ** First descriptor is NOT a primary desc on 0:1 ** MMC rescan: current device # 0 initialized OK ON100_K9> ex2ls mmc 0:1 / Unknown command 'ex2ls' - try 'help' ON100_K9> ext21s[3~[3 Unknown command 'ext21s[3~[3' - try 'help' ON100_K9> ext21s mmc 0:1 / Unknown command 'ext21s' - try 'help' ON100_K9>
Re: Debian on CISCO ON100-K9 August 28, 2016 10:03PM |
Registered: 9 years ago Posts: 1,516 |
ON100_K9> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found ON100_K9> ext2ls usb 0:1 / ** Invalid partition 1 ** ON100_K9> mmc rescan ** First descriptor is NOT a primary desc on 0:1 ** MMC rescan: current device # 0 initialized OK ON100_K9> ex2ls mmc 0:1 / Unknown command 'ex2ls' - try 'help' ON100_K9> ext2ls mmc 0:1 / ** No partition table - mmc 0 ** ON100_K9>
Re: Debian on CISCO ON100-K9 August 28, 2016 10:59PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Debian on CISCO ON100-K9 August 28, 2016 11:12PM |
Registered: 9 years ago Posts: 1,516 |
ON100_K9> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found ON100_K9> ext2ls usb 0:1 / ** Invalid partition 1 ** ON100_K9> mmc rescan ** First descriptor is NOT a primary desc on 0:1 ** MMC rescan: current device # 0 initialized OK ON100_K9> ex2ls mmc 0:1 / Unknown command 'ex2ls' - try 'help' ON100_K9> ext2ls mmc 0:1 / ** No partition table - mmc 0 ** ON100_K9>
Re: Debian on CISCO ON100-K9 August 28, 2016 11:33PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Debian on CISCO ON100-K9 August 29, 2016 12:24AM |
Admin Registered: 13 years ago Posts: 18,580 |
version setenv ipaddr xxx.xxx.x.xx setenv ethaddr <the MAC address of the 1st port> ping <your router IP>
version setenv ipaddr xxx.xxx.x.xx setenv eth1addr <the MAC address of the 2nd port> setenv ethact egiga1 ping <your router IP>