Avid Feroceon-KW

From musings of k8
Jump to: navigation, search

Avid devices including the Feroceon-KW embedded Linux controller include:

This Feroceon-KW controller appears to be for the network switch that controls the three AVB Ethernet ports (ports A, B, and C). This assumption is made based on the active switchd2 and kirkwoodfw daemons that are running, which are for the Kirkwood AVB Ethernet switch chipset that are produced by Marvell.

ARM926EJ-S Technical Reference Manual

It looks like I can compile Go code for the device. https://groups.google.com/forum/#!topic/golang-nuts/dkzGY-4OgJw

Overview

Hardware

Hardware

Processor 
ARM926EJ-S rev 1 (v5l)
BogoMIPS 
792.57
Hardware 
Feroceon-KW (Kirkwood?)
RAM 
256M

Operating system

The OS is Linux, and is a custom distribution. On the S3L-X 4.6.1.4 release this OS version is 0.8.9.35.

Networking

This device can only be reached by first connecting to the Avid Diamond Platform controller of the Avid E3 Engine, not directly.

This controller provides three network interfaces, eth0 and eth0:avahi (a virtual interface managed by avahi-daemon) and eth1. eth0 is physically connected to the Ethernet ports.

The eth0:avahi interface has a link-local address that is available even though the eth0 interface, and is accessible using the address Core6420B9.local.

The Ethernet driver is sk98lin (/sys/bus/pci/drivers/sk98lin), which is an obsolete driver for the Marvell/SysKonnect Gigabit chipset that was removed from the Linux kernel in version 2.6.26.

The kirkwoodfw daemon has references to EuCon in the binary, which indicates it handles the EUCON protocol, which enables the Avid S3 Console to function as a controller for the Avid E3 engine.

Detail

uname -a

# uname -a
Linux Core6420B9 2.6.22.18-mvl-avb-0.8 #mvl-avb-0.8 Tue Jan 9 06:15:17 PST 2018 armv5tejl GNU/Linux

/etc/version – Linux version

# cat /etc/version 
 0.8.9.35

/proc/cpuinfo

# cat /proc/cpuinfo 
Processor       : ARM926EJ-S rev 1 (v5l)
BogoMIPS        : 792.57
Features        : swp half fastmult edsp 
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant     : 0x2
CPU part        : 0x131
CPU revision    : 1
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 16384
I assoc         : 4
I line length   : 32
I sets          : 128
D size          : 16384
D assoc         : 4
D line length   : 32
D sets          : 128

Hardware        : Feroceon-KW
Revision        : 0000
Serial          : 0000000000000000

/proc/meminfo

# cat /proc/meminfo 
MemTotal:       125744 kB
MemFree:        107780 kB
Buffers:             0 kB
Cached:           6344 kB
SwapCached:          0 kB
Active:           6836 kB
Inactive:         3264 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:        3772 kB
Mapped:           3712 kB
Slab:             6292 kB
SReclaimable:      340 kB
SUnreclaim:       5952 kB
PageTables:        236 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:     62872 kB
Committed_AS:    31864 kB
VmallocTotal:   516096 kB
VmallocUsed:     17032 kB
VmallocChunk:   491516 kB

/proc/version

# cat /proc/version 
Linux version 2.6.22.18-mvl-avb-0.8 (mir@audiofw-us-server3) (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #mvl-avb-0.8 Tue Jan 9 06:15:17 PST 2018

df -h

# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                12.0M      6.4M      5.6M  54% /
tmpfs                    61.4M    252.0K     61.2M   0% /tmp
tmpfs                    61.4M         0     61.4M   0% /dev
tmpfs                    61.4M         0     61.4M   0% /dev/shm
tmpfs                    61.4M    252.0K     61.2M   0% /etc

hostname

# hostname
DiamondF1F0

ifconfig -a

# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:A0:7E:15:20:B9  
          inet6 addr: fe80::2a0:7eff:fe15:20b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:68467 errors:0 dropped:0 overruns:0 frame:0
          TX packets:334092 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:6345125 (6.0 MiB)  TX bytes:27169930 (25.9 MiB)
          Interrupt:15 

eth0:avahi Link encap:Ethernet  HWaddr 00:A0:7E:15:20:B9  
          inet addr:169.254.6.249  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:15 

eth1      Link encap:Ethernet  HWaddr 00:A0:7E:15:20:B8  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:11 

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

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lsmod

# lsmod
Module                  Size  Used by    Not tainted

lspci

# lspci

lsusb

# lsusb
lsusb: /sys/bus/usb/devices: No such file or directory

netstat -an

# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 0.0.0.0:47758           0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      
Xtcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN      
xtcp        0      0 169.254.6.249:47758     169.254.181.43:49218    ESTABLISHED 
?tcp        0      0 169.254.6.249:23        169.254.219.148:55411   ESTABLISHED 
(udp        0      0 0.0.0.0:32768           0.0.0.0:*                           
?udp        0      0 0.0.0.0:5353            0.0.0.0:*                           
?Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING        542 /var/run/avahi-daemon/socket
unix  2      [ ]         DGRAM                       466 @.mstp_server
unix  9      [ ]         DGRAM                       437 /dev/log
unix  2      [ ACC ]     STREAM     LISTENING        453 /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED        818 /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED        817 
unix  3      [ ]         STREAM     CONNECTED        815 
unix  4      [ ]         STREAM     CONNECTED        814 
unix  2      [ ]         DGRAM                       710 
unix  3      [ ]         STREAM     CONNECTED        545 /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED        544 
unix  2      [ ]         DGRAM                       538 
unix  2      [ ]         DGRAM                       511 
unix  2      [ ]         DGRAM                       474 
unix  2      [ ]         DGRAM                       473 
unix  2      [ ]         DGRAM                       460 
unix  3      [ ]         STREAM     CONNECTED        456 
unix  3      [ ]         STREAM     CONNECTED        455 
unix  2      [ ]         DGRAM                       440 

ps -ef

# ps -ef
PID   USER     COMMAND
    1 root     init
    2 root     [kthreadd]
    3 root     [ksoftirqd/0]
    4 root     [events/0]
    5 root     [khelper]
   37 root     [kblockd/0]
   54 root     [pdflush]
   55 root     [pdflush]
   56 root     [kswapd0]
   57 root     [aio/0]
  147 root     [mtdblockd]
  189 root     /sbin/syslogd -m 0
  191 root     /sbin/klogd
  202 dbus     dbus-daemon --system
  207 root     /sbin/watchdog -T10 /dev/watchdog
  209 root     /usr/sbin/inetd /etc/inetd.conf
  214 root     /usr/bin/mstpd -i eth0 -n 5
  218 root     /usr/bin/switchd2
  238 root     udhcpc -t2 -A2 -b -R -p /var/run/udhcpc.eth0.pid -i eth0
  242 default  avahi-autoipd: [eth0] bound 169.254.6.249
  243 root     avahi-autoipd: [eth0] callout dispatcher
  256 default  avahi-daemon: registering [Core6420B9.local]
  262 root     /sbin/getty -L ttyS0 115200 vt100
  263 root     kirkwoodfw -L 31 -B 2048 -K 2 -F /tmp/kirkwood.log
  893 root     telnetd -i
  894 root     -sh
 1049 root     ps -ef

/proc/board_type

# cat /proc/board_type 
MV6281APX2AVB