Add support for Cisco SPA232D SPA112 SPA122

I would like to add the support for this ATA VOIP

I was not able to connect to serial console, so I reverse engineered the firmware headers and I made a tool (https://github.com/BigNerd95/paytonImageEditor) to create a custom firmware.

I got the "relevant data" (https://openwrt.org/docs/guide-developer/adding_new_device):

syslog

Jan 1 00:00:11 admin syslog.notice syslog-ng[151]: syslog-ng version 1.6.12 starting
Jan 1 00:00:11 admin kern.notice [ 0.000000] Linux version 2.6.26.5 (yuzho2@Payton) (gcc version 4.1.2) #1 PREEMPT Sun Sep 6 10:54:57 CST 2015
Jan 1 00:00:11 admin kern.warning [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Jan 1 00:00:11 admin kern.warning [ 0.000000] Machine: NXP PNX8181
Jan 1 00:00:11 admin kern.warning [ 0.000000] Memory policy: ECC disabled, Data cache writeback
Jan 1 00:00:11 admin kern.debug [ 0.000000] On node 0 totalpages: 7936
Jan 1 00:00:11 admin kern.debug [ 0.000000] DMA zone: 62 pages used for memmap
Jan 1 00:00:11 admin kern.debug [ 0.000000] DMA zone: 0 pages reserved
Jan 1 00:00:11 admin kern.debug [ 0.000000] DMA zone: 7874 pages, LIFO batch:0
Jan 1 00:00:11 admin kern.debug [ 0.000000] Normal zone: 0 pages used for memmap
Jan 1 00:00:11 admin kern.debug [ 0.000000] Movable zone: 0 pages used for memmap
Jan 1 00:00:11 admin kern.warning [ 0.000000] CPU0: D VIVT write-back cache
Jan 1 00:00:11 admin kern.warning [ 0.000000] CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Jan 1 00:00:11 admin kern.warning [ 0.000000] CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Jan 1 00:00:11 admin kern.warning [17179569.184000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 7874
Jan 1 00:00:11 admin kern.notice [17179569.184000] Kernel command line: console=ttyS1,115200n8 rootfstype=squashfs noalign half_image=0 verify=y Hw_Model=SPA232D Router_Mode=1
Jan 1 00:00:11 admin kern.info [17179569.184000] PNX8181: Configured 66 Interrupts
Jan 1 00:00:11 admin kern.warning [17179569.184000] PID hash table entries: 128 (order: 7, 512 bytes)
Jan 1 00:00:11 admin kern.warning [17179569.184000] Console: colour dummy device 80x30
Jan 1 00:00:11 admin kern.info [17179569.184000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan 1 00:00:11 admin kern.info [17179569.184000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jan 1 00:00:11 admin kern.info [17179569.188000] Memory: 31MB = 31MB total
Jan 1 00:00:11 admin kern.notice [17179569.188000] Memory: 28296KB available (2804K code, 197K data, 120K init)
Jan 1 00:00:11 admin kern.debug [17179569.188000] Calibrating delay loop... 116.99 BogoMIPS (lpj=233984)
Jan 1 00:00:11 admin kern.warning [17179569.268000] Mount-cache hash table entries: 512
Jan 1 00:00:11 admin kern.info [17179569.268000] CPU: Testing write buffer coherency: ok
Jan 1 00:00:11 admin kern.info [17179569.272000] net_namespace: 484 bytes
Jan 1 00:00:11 admin kern.info [17179569.272000] NET: Registered protocol family 16
Jan 1 00:00:11 admin kern.info [17179569.272000] Board: Vega_PNX8181_BaseStation low-cost version detected.
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [intc] enabled
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [sctu] enabled
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [uart1] enabled
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [uart2] enabled
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [sdi] enabled
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [ebi1] enabled
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [ebi2] enabled
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [gpio] enabled
Jan 1 00:00:11 admin kern.notice [17179569.272000] gpio_init: Registered PNX818 GPIO device
Jan 1 00:00:11 admin kern.warning [17179569.272000] Board HW MODEL : 0x0
Jan 1 00:00:11 admin kern.info [17179569.272000] clock [extint] enabled
Jan 1 00:00:11 admin kern.info [17179569.272000] External Interrupt Controller registered
Jan 1 00:00:11 admin kern.info [17179569.288000] NET: Registered protocol family 2
Jan 1 00:00:11 admin kern.info [17179569.324000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 00:00:11 admin kern.info [17179569.324000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Jan 1 00:00:11 admin kern.info [17179569.324000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 00:00:11 admin kern.info [17179569.324000] TCP: Hash tables configured (established 1024 bind 1024)
Jan 1 00:00:11 admin kern.info [17179569.324000] TCP reno registered
Jan 1 00:00:11 admin kern.info [17179569.336000] NET: Registered protocol family 1
Jan 1 00:00:11 admin kern.info [17179569.336000] clock [dmau] enabled
Jan 1 00:00:11 admin kern.info [17179569.336000] probe succeded
Jan 1 00:00:11 admin kern.info [17179569.336000] clock [iic] enabled
Jan 1 00:00:11 admin kern.info [17179569.340000] squashfs: version 3.4 (2008/08/26) Phillip Lougher
Jan 1 00:00:11 admin kern.warning [17179569.340000] squashfs: LZMA suppport for slax.org by jro
Jan 1 00:00:11 admin kern.info [17179569.340000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
Jan 1 00:00:11 admin kern.info [17179569.344000] msgmni has been set to 55
Jan 1 00:00:11 admin kern.info [17179569.344000] io scheduler noop registered (default)
Jan 1 00:00:11 admin kern.info [17179569.352000] HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
Jan 1 00:00:11 admin kern.info [17179569.352000] N_HDLC line discipline registered.
Jan 1 00:00:11 admin kern.info [17179569.352000] Non-volatile memory driver v1.2
Jan 1 00:00:11 admin kern.info [17179569.352000] Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 2 ports, IRQ sharing disabled
Jan 1 00:00:11 admin kern.info [17179569.352000] serial8250.0: ttyS0 at MMIO 0xc2004000 (irq = 24) is a 16550A
Jan 1 00:00:11 admin kern.info [17179569.352000] serial8250.0: ttyS1 at MMIO 0xc2005000 (irq = 23) is a 16550A
Jan 1 00:00:11 admin kern.info [17179569.352000] console [ttyS1] enabled
Jan 1 00:00:11 admin kern.info [17179569.356000] DCC: JTAG1 Serial emulation driver driver $Revision: 1.1.1.1 $
Jan 1 00:00:11 admin kern.info [17179569.360000] ttyJ0 at MMIO 0x12345678 (irq = 0) is a DCC
Jan 1 00:00:11 admin kern.info [17179569.368000] brd: module loaded
Jan 1 00:00:11 admin kern.info [17179569.368000] PPP generic driver version 2.4.2
Jan 1 00:00:11 admin kern.info [17179569.372000] PPP MPPE Compression module registered
Jan 1 00:00:11 admin kern.info [17179569.376000] NET: Registered protocol family 24
Jan 1 00:00:11 admin kern.info [17179569.380000] PPPoL2TP kernel driver, V1.0
Jan 1 00:00:11 admin kern.warning [17179569.384000] [ip3912] : Bridge Mode...
Jan 1 00:00:11 admin kern.info [17179569.388000] clock [etn1] enabled
Jan 1 00:00:11 admin kern.info [17179569.396000] ip3912_mii_bus: probed
Jan 1 00:00:11 admin kern.info [17179569.400000] ip3912: eth0 up, speed is 100 Mbps, Full Duplex.
Jan 1 00:00:11 admin kern.info [17179569.404000] eth0: IP3912 at 0xc1600000 using no phy
Jan 1 00:00:11 admin kern.info [17179569.412000] NFTL driver: nftlcore.c $Revision: 1.1.1.1 $, nftlmount.c $Revision: 1.1.1.1 $
Jan 1 00:00:11 admin kern.notice [17179569.416000] physmap platform flash device: 02000000 at 80000000
Jan 1 00:00:11 admin kern.debug [17179569.424000] CFI: Found no physmap-flash.0 device at location zero
Jan 1 00:00:11 admin kern.err [17179569.424000] physmap-flash physmap-flash.0: map_probe failed
Jan 1 00:00:11 admin kern.info [17179569.432000] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit)
Jan 1 00:00:11 admin kern.debug [17179569.436000] Bad block table found at page 65472, version 0x01
Jan 1 00:00:11 admin kern.debug [17179569.436000] Bad block table found at page 65408, version 0x01
Jan 1 00:00:11 admin kern.debug [17179569.436000] nand_read_bbt: Bad block at 0x008c0000
Jan 1 00:00:11 admin kern.debug [17179569.436000] nand_read_bbt: Bad block at 0x043c0000
Jan 1 00:00:11 admin kern.debug [17179569.436000] nand_read_bbt: Bad block at 0x05120000
Jan 1 00:00:11 admin kern.warning [17179569.436000] Using Full Image\'s RootFS
Jan 1 00:00:11 admin kern.warning [17179569.444000] Using static partition definition
Jan 1 00:00:11 admin kern.warning [17179569.448000] !!! do adler32 checksum !!!
Jan 1 00:00:11 admin kern.warning [17179569.696000] !!! Jump bad block[8c0000] !!!
Jan 1 00:00:11 admin kern.warning [17179571.212000] File system image checksum OK
Jan 1 00:00:11 admin kern.notice [17179571.216000] Creating 13 MTD partitions on \"gen_nand\":
Jan 1 00:00:11 admin kern.notice [17179571.220000] 0x00000000-0x00300000 : \"u-boot\"
Jan 1 00:00:11 admin kern.notice [17179571.228000] 0x00300000-0x00600000 : \"u-bootenv\"
Jan 1 00:00:11 admin kern.notice [17179571.232000] 0x00600000-0x01900000 : \"ROMIMAGE\"
Jan 1 00:00:11 admin kern.notice [17179571.240000] 0x01900000-0x02100000 : \"HALFIMAGE\"
Jan 1 00:00:11 admin kern.notice [17179571.244000] 0x00780000-0x01900000 : \"LINUX_ROOTFS\"
Jan 1 00:00:11 admin kern.notice [17179571.248000] 0x02100000-0x02500000 : \"HS_FW\"
Jan 1 00:00:11 admin kern.notice [17179571.252000] 0x02500000-0x02900000 : \"FPAR\"
Jan 1 00:00:11 admin kern.notice [17179571.256000] 0x02900000-0x02c00000 : \"CISCO\"
Jan 1 00:00:11 admin kern.notice [17179571.260000] 0x02c00000-0x02f00000 : \"EEPROM\"
Jan 1 00:00:11 admin kern.notice [17179571.264000] 0x02f00000-0x03300000 : \"NVRAM\"
Jan 1 00:00:11 admin kern.notice [17179571.272000] 0x03300000-0x03600000 : \"CA_DATA\"
Jan 1 00:00:11 admin kern.notice [17179571.276000] 0x03600000-0x05200000 : \"RESERVE1\"
Jan 1 00:00:11 admin kern.notice [17179571.284000] 0x05200000-0x08000000 : \"RESERVE2\"
Jan 1 00:00:11 admin kern.info [17179571.288000] clock [spi1] enabled
Jan 1 00:00:11 admin kern.info [17179571.296000] spi-pnx8181 spi-pnx8181: probe succeded
Jan 1 00:00:11 admin kern.info [17179571.300000] i2c /dev entries driver
Jan 1 00:00:11 admin kern.info [17179571.420000] ksz8873 0-005f: KSZ8873 3-Port Managed Switch Driver
Jan 1 00:00:11 admin kern.warning [17179571.424000] PNX8181 watchdog timer: timer margin 16 sec
Jan 1 00:00:11 admin kern.info [17179571.428000] Registered led device: led1
Jan 1 00:00:11 admin kern.info [17179571.432000] Registered led device: led2
Jan 1 00:00:11 admin kern.debug [17179571.436000] cordless: SCRAM mapped to 0xd0000000
Jan 1 00:00:11 admin kern.info [17179571.436000] cordless: character device initialized (major=254)
Jan 1 00:00:11 admin kern.info [17179571.440000] coma-debug: coma debug support enabled
Jan 1 00:00:11 admin kern.warning [17179571.444000] GACT probability on
Jan 1 00:00:11 admin kern.warning [17179571.448000] Mirror/redirect action on
Jan 1 00:00:11 admin kern.warning [17179571.452000] u32 classifier
Jan 1 00:00:11 admin kern.warning [17179571.452000] Performance counters on
Jan 1 00:00:11 admin kern.warning [17179571.456000] input device check on
Jan 1 00:00:11 admin kern.warning [17179571.460000] Actions configured
Jan 1 00:00:11 admin kern.warning [17179571.464000] Netfilter messages via NETLINK v0.30.
Jan 1 00:00:11 admin kern.warning [17179571.468000] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
Jan 1 00:00:11 admin kern.info [17179571.472000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan 1 00:00:11 admin kern.warning [17179571.480000] ipt_time loading
Jan 1 00:00:11 admin kern.info [17179571.480000] TCP cubic registered
Jan 1 00:00:11 admin kern.info [17179571.484000] NET: Registered protocol family 17
Jan 1 00:00:11 admin kern.notice [17179571.492000] Bridge firewalling registered
Jan 1 00:00:11 admin kern.info [17179571.496000] Ebtables v2.0 registered
Jan 1 00:00:11 admin kern.info [17179571.500000] RPC: Registered udp transport module.
Jan 1 00:00:11 admin kern.info [17179571.504000] RPC: Registered tcp transport module.
Jan 1 00:00:11 admin kern.info [17179571.508000] 802.1Q VLAN Support v1.8 Ben Greear
Jan 1 00:00:11 admin kern.info [17179571.512000] All bugs added by David S. Miller
Jan 1 00:00:11 admin kern.info [17179571.520000] LINUX_ROOTFS is 4
Jan 1 00:00:11 admin kern.warning [17179571.528000] VFS: Mounted root (squashfs filesystem) readonly.
Jan 1 00:00:11 admin kern.info [17179571.536000] Freeing init memory: 120K
Jan 1 00:00:11 admin kern.info [17179575.524000] coma-config: netlink interface registered
Jan 1 00:00:11 admin kern.info [17179575.636000] coma-cpi: netlink interface registered
Jan 1 00:00:11 admin kern.info [17179575.680000] coma-ss7: netlink interface registered
Jan 1 00:00:11 admin kern.info [17179575.736000] coma-voice: character device initialized (major=253)
Jan 1 00:00:11 admin kern.info [17179575.784000] coma-userch: netlink interface registered
Jan 1 00:00:11 admin kern.info [17179575.832000] coma-gmep: netlink interface registered
Jan 1 00:00:11 admin kern.info [17179575.876000] coma-dsr: netlink interface registered
Jan 1 00:00:11 admin kern.warning [17179575.908000] ***** LED_DRV init *****
Jan 1 00:00:11 admin kern.warning [17179575.912000] ***** LED_DRV end *****
Jan 1 00:00:11 admin kern.warning [17179575.940000] *** sys event driver initialized ***
Jan 1 00:00:11 admin kern.debug [17179586.732000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:11 admin kern.info [17179586.804000] device eth0 entered promiscuous mode
Jan 1 00:00:11 admin kern.info [17179586.832000] device eth0 left promiscuous mode
Jan 1 00:00:11 admin kern.info [17179586.884000] device eth0 entered promiscuous mode
Jan 1 00:00:11 admin kern.debug [17179586.888000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:11 admin kern.debug [17179586.904000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:11 admin kern.debug [17179586.904000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:13 admin daemon.info system[161]: httpd server started at port 80
Jan 1 00:00:13 admin daemon.info system[163]: httpd server (ssl support) started at port 443
Jan 1 00:00:14 admin daemon.info dnsmasq[169]: started, version 1.10 cachesize 150
Jan 1 00:00:14 admin daemon.err dnsmasq[169]: failed to load names from /etc/hosts: No such file or directory
Jan 1 00:00:14 admin daemon.debug dnsmasq[169]: reading /tmp/dns_resolv.conf
Jan 1 00:00:14 admin daemon.info dnsmasq[169]: using nameserver 1.1.1.1
Jan 1 00:00:14 admin kern.debug [17179592.548000] sysevt_comm_sendto: (480, rc)=>
Jan 1 00:00:14 admin daemon.notice system[1]: Ethernet WAN br0 link up
Jan 1 00:00:15 admin kern.warning [17179592.564000] cy_convert_lan_idx buffer=br1;, len=4
Jan 1 00:00:15 admin kern.warning [17179592.572000] LAN idx = [ 4 ]
Jan 1 00:00:15 admin kern.warning [17179592.580000] ### conntrack_flush
Jan 1 00:00:15 admin kern.warning [17179592.584000] ### conntrack_flush done
Jan 1 00:00:16 admin kern.info [17179594.468000] cordless: loading synergy-2015-09-25
Jan 1 00:00:16 admin kern.err [17179594.528000] Created coma thread for processing coma control message
Jan 1 00:00:17 admin kern.info [17179594.560000] cordless: init successful
Jan 1 00:00:17 admin kern.warning [17179594.968000] ### conntrack_flush
Jan 1 00:00:17 admin kern.warning [17179594.972000] ### conntrack_flush done
Jan 1 00:00:23 admin kern.debug [17179601.164000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:27 admin kern.debug [17179605.152000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:38 admin user.notice msgswitchd: MSGSWITCH fd_rtp fifo created 8
Jan 1 00:00:38 admin user.notice msgswitchd: MSGSWITCH fd_ch fifo created 10
Jan 1 00:00:38 admin user.notice msgswitchd: MSGSWITCH fd_gmep fifo created 11
Jan 1 00:00:45 admin kern.debug [17179622.768000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:45 admin daemon.info system[1]: vlan-module send out delete interface(br0, 0x8) notify...(0)
Jan 1 00:00:45 admin daemon.info system[1]: delete interface br0 with vid(0)...
Jan 1 00:00:45 admin daemon.info system[1]: new create interface br0 with vid(0)...
Jan 1 00:00:47 admin kern.debug [17179625.088000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:47 admin daemon.info system[1]: vlan-module send out update interface(br0, 0xa) notify...(0)
Jan 1 00:00:47 admin daemon.err system[1]: notify add wan1 interface(br0)
Jan 1 00:00:47 admin kern.debug [17179625.112000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:47 admin daemon.info system[1]: vlan-module send out add interface(br0, 0x8) notify...(0)
Jan 1 00:00:47 admin daemon.err system[1]: start 0 vlan-id... ok
Jan 1 00:00:47 admin kern.debug [17179625.536000] sysevt_comm_sendto: (52, rc)=>
Jan 1 00:00:47 admin daemon.notice system[1]: Start WAN br0 Static IP connection
Jan 1 00:00:48 admin daemon.notice system[1]: WAN br0 connected
Jan 1 00:00:48 admin daemon.notice system[1]: Link name=br0
Jan 1 00:00:48 admin daemon.notice system[1]: IP address=192.168.2.60
Jan 1 00:00:48 admin daemon.notice system[1]: Netmask=255.255.255.0
Jan 1 00:00:48 admin daemon.notice system[1]: Gateway=192.168.2.250
Jan 1 00:00:48 admin daemon.notice system[1]: hostname=
Jan 1 00:00:48 admin daemon.notice system[1]: domain=
Jan 1 00:00:48 admin kern.debug [17179625.668000] sysevt_comm_sendto: (16, rc)=>
Jan 1 00:00:48 admin kern.debug [17179625.672000] sysevt_comm_sendto: (480, rc)=>
Jan 1 00:00:48 admin kern.debug [17179625.696000] sysevt_comm_sendto: (480, rc)=>
Jan 1 00:00:48 admin kern.warning [17179625.704000] cy_convert_wan_idx buffer=br0;, len=4
Jan 1 00:00:48 admin kern.warning [17179625.708000] WAN idx = [ 5 ]
Jan 1 00:00:48 admin kern.warning [17179625.716000] cy_convert_wan1_idx buffer=br0;, len=4
Jan 1 00:00:48 admin kern.warning [17179625.720000] WAN1 idx = [ 5 ]
Jan 1 00:00:48 admin kern.warning [17179625.740000] ### conntrack_flush
Jan 1 00:00:48 admin kern.warning [17179625.748000] ### conntrack_flush done
Jan 1 00:00:49 admin kern.warning [17179627.324000] ### conntrack_flush
Jan 1 00:00:49 admin kern.warning [17179627.332000] ### conntrack_flush done
Jan 1 00:00:50 admin kern.info [17179627.560000] device br1 entered promiscuous mode
Jan 1 00:00:50 admin kern.info [17179627.612000] device br0 entered promiscuous mode
Jan 1 00:00:51 admin daemon.notice msgswitchd[241]: new ap 00000001 (AP_SIP) at pid 00228
Jan 1 00:00:51 admin daemon.notice msgswitchd[241]: new ap 00000000 (AP_PSTN_TE) at pid 00228
Jan 1 00:00:52 admin daemon.debug dnsmasq[169]: reading /etc/hosts
Jan 1 00:00:53 admin user.notice vsock: gch_ListenStart: Started Read thread
Jan 1 00:00:53 admin user.notice vsock: cmd - 33, response 56
Jan 1 00:00:54 admin user.notice vsock: cmd - 33, response 63
Jan 1 00:00:56 admin daemon.debug dnsmasq[169]: reading /etc/hosts
Jan 1 00:00:56 admin daemon.debug dnsmasq[169]: reading /tmp/dns_resolv.conf
Jan 1 00:00:56 admin daemon.info dnsmasq[169]: using nameserver 8.8.4.4
Jan 1 00:00:56 admin daemon.info dnsmasq[169]: using nameserver 8.8.8.8
Jan 1 00:00:56 admin daemon.debug system[1]: leave reload_dnsmasq_conf_default
Sep 24 19:16:15 admin kern.debug [17179637.344000] sysevt_event_sendto: =>(0, B5817EF8, ledapp)
Sep 24 19:16:15 admin kern.debug [17179637.344000] sysevt_event_sendto: =>type = 1048663
Sep 24 19:16:15 admin kern.debug [17179637.344000] sysevt_event_sendto: =>size = 0
Sep 24 19:16:15 admin kern.debug [17179637.344000] sysevt_comm_sendto: (12, ledapp)=>
Sep 24 19:16:15 admin syslog.notice syslog-ng[151]: STATS: dropped 0
Sep 24 20:16:15 admin daemon.notice system[136]: NTP update successfully, Year:2018,Month:9,Day:24,Hour:20,Min:16,Sec:15
Sep 24 20:16:15 admin syslog.notice syslog-ng[151]: STATS: dropped 0
Sep 24 21:16:15 admin daemon.notice system[136]: Adjust daylight saving time: Year:2018,Month:9,Day:24,Hour:21,Min:16,Sec:15
Sep 24 21:16:15 admin syslog.notice syslog-ng[151]: STATS: dropped 0
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 6, response 26
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 24, response 40
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 24, response 40
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 24, response 40
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 24, response 40
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 24, response 40
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 24, response 40
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 24, response 40
Sep 24 21:16:18 admin user.notice sprvoip: cmd 5, EP 1, ParameterType 22, ParameterValue 1
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:18 admin user.notice sprvoip: cmd 5, EP 1, ParameterType 27, ParameterValue 60
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:18 admin user.notice sprvoip: cmd 5, EP 1, ParameterType 26, ParameterValue 70
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:18 admin user.notice sprvoip: cmd 5, EP 0, ParameterType 24, ParameterValue 30
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:18 admin user.notice sprvoip: cmd 5, EP 0, ParameterType 25, ParameterValue 30
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:18 admin user.notice sprvoip: cmd 5, EP 0, ParameterType 22, ParameterValue 1
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:18 admin user.notice sprvoip: cmd 5, EP 0, ParameterType 27, ParameterValue 30
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:18 admin user.notice sprvoip: cmd 5, EP 0, ParameterType 26, ParameterValue 40
Sep 24 21:16:18 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:19 admin user.notice sprvoip: ch_SetDFC_BGM cmd 28, EP 1
Sep 24 21:16:19 admin user.notice sprvoip: cmd - 28, response 48
Sep 24 21:16:21 admin user.notice sprvoip: cmd 5, EP 1, ParameterType 23, ParameterValue 1
Sep 24 21:16:21 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:21 admin user.notice sprvoip: ch_SetDFC_BGM cmd 28, EP 1
Sep 24 21:16:21 admin user.notice sprvoip: cmd - 28, response 48
Sep 24 21:16:21 admin user.notice sprvoip: cmd 5, EP 1, ParameterType 28, ParameterValue 0
Sep 24 21:16:21 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:21 admin user.notice sprvoip: cmd 15, NodeId 1
Sep 24 21:16:21 admin user.notice sprvoip: cmd - 15, response 20
Sep 24 21:16:22 admin user.notice sprvoip: cmd - 18, response 23
Sep 24 21:16:22 admin user.notice sprvoip: cmd - 18, response 65
Sep 24 21:16:22 admin user.notice sprvoip: cmd 5, EP 1, ParameterType 29, ParameterValue 0
Sep 24 21:16:22 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:22 admin user.notice sprvoip: cmd 5, EP 1, ParameterType 23, ParameterValue 0
Sep 24 21:16:22 admin user.notice sprvoip: cmd - 5, response 8
Sep 24 21:16:48 admin user.notice sprvoip: cmd - 5, response 63
Sep 24 21:16:48 admin user.notice sprvoip: cmd - 5, response 63
Sep 24 21:20:39 admin daemon.info system[136]: MemTotal: 28416 kB
Sep 24 21:20:40 admin daemon.info system[136]: MemFree: 7256 kB
Sep 24 21:25:44 admin daemon.info system[136]: MemTotal: 28416 kB
Sep 24 21:25:45 admin daemon.info system[136]: MemFree: 7316 kB
Sep 24 21:26:16 admin syslog.notice syslog-ng[151]: STATS: dropped 0
Sep 24 21:26:50 admin daemon.err mDNSResponder: ERROR: getOptRdata - unknown opt 4
Sep 24 21:26:51 admin daemon.err mDNSResponder: ERROR: getOptRdata - unknown opt 4
Sep 24 21:26:53 admin daemon.err mDNSResponder: ERROR: getOptRdata - unknown opt 4
Sep 24 21:26:57 admin daemon.err mDNSResponder: ERROR: getOptRdata - unknown opt 4
Sep 24 21:27:05 admin daemon.err mDNSResponder: ERROR: getOptRdata - unknown opt 4
Sep 24 21:27:21 admin daemon.err mDNSResponder: ERROR: getOptRdata - unknown opt 4
Sep 24 21:30:49 admin daemon.info system[136]: MemTotal: 28416 kB
Sep 24 21:30:50 admin daemon.info system[136]: MemFree: 7272 kB
Sep 24 21:35:54 admin daemon.info system[136]: MemTotal: 28416 kB
Sep 24 21:35:55 admin daemon.info system[136]: MemFree: 7232 kB
Sep 24 21:36:16 admin syslog.notice syslog-ng[151]: STATS: dropped 0
Sep 24 21:36:19 admin user.notice sprvoip: ch_SetDFC_BGM cmd 28, EP 1
Sep 24 21:36:19 admin user.notice sprvoip: cmd - 28, response 48

/proc/cmdline

console=ttyS1,115200n8 rootfstype=squashfs noalign half_image=0 verify=y Hw_Model=SPA232D Router_Mode=1

/proc/cpuinfo


Processor	: ARM926EJ-S rev 5 (v5l)
BogoMIPS	: 116.99
Features	: swp half thumb fastmult edsp java 
CPU implementer	: 0x41
CPU architecture: 5TEJ
CPU variant	: 0x0
CPU part	: 0x926
CPU revision	: 5
Cache type	: write-back
Cache clean	: cp15 c7 ops
Cache lockdown	: format C
Cache format	: Harvard
I size		: 32768
I assoc		: 4
I line length	: 32
I sets		: 256
D size		: 32768
D assoc		: 4
D line length	: 32
D sets		: 256

Hardware	: NXP PNX8181
Revision	: 0000
Serial		: 0000000000000000

/proc/meminfo

MemTotal:        28416 kB
MemFree:           828 kB
Buffers:          3668 kB
Cached:          10892 kB
SwapCached:          0 kB
Active:           8800 kB
Inactive:        10896 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:        5168 kB
Mapped:           2484 kB
Slab:             5544 kB
SReclaimable:      984 kB
SUnreclaim:       4560 kB
PageTables:        268 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
WritebackTmp:        0 kB
CommitLimit:     14208 kB
Committed_AS:    30216 kB
VmallocTotal:    98304 kB
VmallocUsed:     17344 kB
VmallocChunk:    65528 kB

/proc/devices

Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 89 i2c
 90 mtd
108 ppp
128 ptm
136 pts
153 spi
204 ttyJ
253 coma-voice
254 cordless

Block devices:
  1 ramdisk
 31 mtdblock
 93 nftl

/sys/devices/platform

cordless.0
gen_nand
ili9222fb.0
ip3912.0
leds-gpio
physmap-flash.0
pnx-i2c.0
pnx8181_dmau
pnx8181_udc
serial8250
serial8250.0
spi-pnx8181
uevent

/proc/mtd

dev:    size   erasesize  name
mtd0: 00300000 00020000 "u-boot"
mtd1: 00300000 00020000 "u-bootenv"
mtd2: 01300000 00020000 "ROMIMAGE"
mtd3: 00800000 00020000 "HALFIMAGE"
mtd4: 01180000 00020000 "LINUX_ROOTFS"
mtd5: 00400000 00020000 "HS_FW"
mtd6: 00400000 00020000 "FPAR"
mtd7: 00300000 00020000 "CISCO"
mtd8: 00300000 00020000 "EEPROM"
mtd9: 00400000 00020000 "NVRAM"
mtd10: 00300000 00020000 "CA_DATA"
mtd11: 01c00000 00020000 "RESERVE1"
mtd12: 02e00000 00020000 "RESERVE2"

ifconfig -a

br0       Link encap:Ethernet  HWaddr 7C:AD:74:9B:7B:BA  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 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:3218 (3.1 KiB)  TX bytes:0 (0.0 B)

br1       Link encap:Ethernet  HWaddr 7C:AD:74:9B:7B:BB  
          inet addr:192.168.15.1  Bcast:192.168.15.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:65 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6504 (6.3 KiB)  TX bytes:64484 (62.9 KiB)

eth0      Link encap:Ethernet  HWaddr 7C:AD:74:9B:7B:BA  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:74 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:10758 (10.5 KiB)  TX bytes:64407 (62.8 KiB)
          Interrupt:22 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:656 (656.0 B)  TX bytes:656 (656.0 B)

GPL source
https://netix.dl.sourceforge.net/project/cisco-gpl/Unified%20Communications/Communications%20Gateways/Cisco%20Small%20Business%20Voice%20Gateways%20and%20ATAs/SPA112_SPA122_SPA232D_gpl_pkg-4.zip

FCC:

Internal image
photo_2018-09-24_23-01-42

I don't understand if CPU DSPG DVFD8185BE1ABC is already supported.
If not, what I have to do to add the support for it?

Can someone help me adding support for this device?

1 Like