Subject: possible new port - R527x cpu ?
To: None <port-mips@netbsd.org, netbsd-ports@netbsd.org>
From: Pete Vickers <pete.vickers@uk.transport.bombardier.com>
List: netbsd-ports
Date: 06/02/2001 13:43:55
Hi All,

Just wondering whether a port of NetBSD to recent Cisco h/w was possible, given
the recent MIPS activity...

Whilst some older Cisco boxes used 68k processors, some of the newer ones seem
the use MIPS. These boxes come with various CPU speeds, memory, interfaces (via
PCI bus I believe), and even IPSec or VoIP co-processors.

Here is the hardware, as it reports itself in IOS.

router#sh ver

cisco 3660 (R527x) processor (revision C0) with 155648K/8192K bytes of memory.
R527x CPU at 225Mhz, Implementation 40, Rev 10.0, 2048KB L2 Cache

3660 Chassis type: ENTERPRISE
2 FastEthernet/IEEE 802.3 interface(s)
DRAM configuration is 64 bits wide with parity disabled.
125K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
16384K bytes of processor board PCMCIA Slot0 flash (Read/Write)


These things have a minimal ROM boot loader that supports various sources for
loading the main o/s from, for example PCMCIA flashcard or tftp,

router#sh file sys
File Systems:

     Size(b)     Free(b)      Type  Flags  Prefixes
      129016      127522     nvram     rw   nvram:
           -           -    opaque     rw   null:
           -           -    opaque     rw   system:
           -           -   network     rw   tftp:
*    8388608     8388608     flash     rw   flash:
    16777216     5042792     flash     rw   slot0:
           -           -     flash     ro   slot1:
           -           -    opaque     wo   lex:
           -           -    opaque     ro   xmodem:
           -           -    opaque     ro   ymodem:
           -           -   network     rw   rcp:
           -           -   network     rw   pram:
           -           -   network     rw   ftp:


And seem to use ELF format system images:

router#sh file information slot0:c3660-ik9s-mz.122-1.bin

slot0:c3660-ik9s-mz.122-1.bin:
  type is image (elf) []
  file size is 11734076 bytes, run size is 11899108 bytes
  Runnable image, entry point 0x80008000, run from ram


More h/w details may be available here:

http://www.cisco.com/univercd/cc/td/doc/pcat/3600.htm


regards,

Pete.