Hello
My location was recently switched to integrated receiver(part of the deal).Now I have a leftover module - MA5671A. This SFP module is based on lantiq chip PEB/PEF 98035
The module runs OpenWRT version 14.07, 64MB RAM, 16MB Flash Winbond W25Q128FV
Access to the full shell is restricted after login ssh root@192.168.1.10. Limited number of minishell commands are available:
lanpsg gtop otop show_version.sh display_version Configuration Version, reboot Status dmesg
How can I adapt it to install extra applications like speedtest-cli or iperf3?
dmesg(sanitized)
# dmesg
[ 0.000000] Linux version 3.10.49 (gingis@Lantiq-DEV) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 14.07_ltq) ) #1 Wed May 17 22:32:19 CST 2018
[ 0.000000] SoC: Falcon rev A22
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is SFP - Lantiq Falcon SFP Stick
[ 0.000000] e=memsize=64
[ 0.000000] e=initrd_start=0xA0000000
[ 0.000000] e=initrd_size=0x0
[ 0.000000] e=flash_start=0xB0000000
[ 0.000000] e=flash_size=0x36E4DC49
[ 0.000000] e=ethaddr=48:57:09:11:de:ff
[ 0.000000] MEMSIZE = 67108864
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] debug: ignoring loglevel setting.
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 03f00000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03efffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03efffff]
[ 0.000000] On node 0 totalpages: 16128
[ 0.000000] free_area_init_node: node 0, pgdat 80312610, node_mem_map 81003ec0
[ 0.000000] Normal zone: 126 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16128 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16002
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 ip=192.168.1.10:192.168.1.100:192.168.2.0:255.255.255.0:::off ethaddr=48:57:02:42:7f:ff machtype=SFP ignore_loglevel vpe1_load_addr=0x83f00000 vpe1_mem=1M mem=63M mtdparts=sflash:256k(uboot)ro,512k(uboot_env),7424k(image0),8192k(linux) console= console=ttyLTQ0,115200 init=/etc/preinit
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=0005420d
[ 0.000000] Readback ErrCtl register=0005420d
[ 0.000000] Memory: 60204k/64512k available (2587k kernel code, 4308k reserved, 664k data, 192k init, 0k highmem)
[ 0.000000] NR_IRQS:328
[ 0.000000] Setting up vectored interrupts
[ 0.000000] CPU Clock: 400MHz
[ 0.032000] Calibrating delay loop... 265.98 BogoMIPS (lpj=531968)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.040000] Mount-cache hash table entries: 512
[ 0.048000] pinctrl core: initialized pinctrl subsystem
[ 0.052000] NET: Registered protocol family 16
[ 0.072000] pinctrl-falcon pinctrl.4: Init done
[ 0.092000] bio: create slab <bio-0> at 0
[ 0.096000] FALC(tm) ON GPIO Driver, (C) 2012 Lantiq Deutschland Gmbh
[ 0.104000] Switching to clocksource MIPS
[ 0.112000] NET: Registered protocol family 2
[ 0.116000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.124000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.128000] TCP: Hash tables configured (established 512 bind 512)
[ 0.136000] TCP: reno registered
[ 0.140000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.144000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.152000] NET: Registered protocol family 1
[ 0.156000] RPC: Registered named UNIX socket transport module.
[ 0.160000] RPC: Registered udp transport module.
[ 0.168000] RPC: Registered tcp transport module.
[ 0.172000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.180000] EASY98000 LED driver, Version 1.0.1 (c) Copyright 2013, Lantiq Deutschland GmbH
[ 0.188000] Wired TLB entries for Linux read_c0_wired() = 0
[ 0.196000] config3 0x2425 MT 1
[ 0.196000] MVPControl 0x2, STLB 0 VPC 1 EVP 0
[ 0.196000] mvpconf0 0xb8008403, PVPE 1 PTC 3 M 1
[ 0.208000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.216000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.224000] msgmni has been set to 117
[ 0.232000] io scheduler noop registered
[ 0.232000] io scheduler deadline registered (default)
[ 0.240000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 104) is a lantiq,asc
[ 0.248000] console [ttyLTQ0] enabled, bootconsole disabled
[ 0.268000] m25p80 spi0.0: found w25q128, expected s25fl129p0
[ 0.272000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.276000] 4 cmdlinepart partitions found on MTD device sflash
[ 0.280000] Creating 4 MTD partitions on "sflash":
[ 0.284000] 0x000000000000-0x000000040000 : "uboot"
[ 0.292000] 0x000000040000-0x0000000c0000 : "uboot_env"
[ 0.300000] 0x0000000c0000-0x000000800000 : "image0"
[ 0.304000] 0x000000800000-0x000001000000 : "linux"
[ 0.312000] 0x000000926e57-0x000001000000 : "rootfs"
[ 0.316000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.328000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.332000] mtd: partition "rootfs_data" created automatically, ofs=0xb40000, len=0x4c0000
[ 0.340000] 0x000000b40000-0x000001000000 : "rootfs_data"
[ 0.352000] wdt 1f8803f0.watchdog: Init done
[ 0.356000] TCP: cubic registered
[ 0.356000] NET: Registered protocol family 17
[ 0.360000] 8021q: 802.1Q VLAN Support v1.8
[ 12.424000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 12.428000] Freeing unused kernel memory: 192K (80330000 - 80360000)
[ 15.128000] pps_core: LinuxPPS API ver. 1 registered
[ 15.132000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 15.144000] PTP clock support registered
[ 19.192000] jffs2: notice: (274) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 23 of xref (0 dead, 2 orphan) found.
[ 21.584000] IFXOS, Version 1.6.6 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 21.660000] NET: Registered protocol family 10
[ 21.680000] GPON SFP I2C Slave Driver, Version 2.2.1 (c) Copyright 2015, Lantiq Beteiligungs-GmbH & Co. KG
[ 21.696000] [sfp_i2c] vpe code <sfp_i2c_vpe.bin> with size <4236 bytes> loaded!
[ 21.704000] VPE loader: VPE1 running successfully
[ 21.796000] FALC(tm) ON Optic Driver, version 7.5.1.0 (c) Copyright 2015, Lantiq Beteiligungs-GmbH & Co. KG
[ 22.240000] FALC(tm) ON Base Driver, Version 7.5.1.0 (c) Copyright 2017, Intel Corporation - Testpatch GPONSW-3406 v H05
[ 22.260000] [onu] GPIO5 stuck detected : PPS/LOS/NTR8K features are not available
[ 22.280000] FALC(tm) ON Ethernet Driver, Version 7.5.1.0 (c) Copyright 2017, Intel Corporation - Testpatch GPONSW-3406 v H05
[ 22.308000] mod_f24s: Unknown symbol skb_complete_tx_timestamp (err 0)
[ 22.320000] mod_f24s: Unknown symbol skb_complete_tx_timestamp (err 0)
[ 29.088000] i2c /dev entries driver
[ 29.112000] Custom GPIO-based I2C driver version 0.1.1
[ 29.128000] i2c-gpio i2c-gpio.0: using pins 37 (SDA) and 38 (SCL)
[ 33.772000] [onu] serial number: HWTC8757beef
[ 34.096000] [onu] password:
[ 34.132000] [onu] GPHY Firmware loaded into RAM (phy11g.bin)
[ 34.388000] [onu] PE[255] firmware loaded v9.90.6.1
[ 36.044000] libphy: Falcon MDIO: probed
[ 36.068000] IPv6: ADDRCONF(NETDEV_UP): host: link is not ready
[ 36.112000] IPv6: ADDRCONF(NETDEV_UP): lct0: link is not ready
[ 38.444000] IPv6: ADDRCONF(NETDEV_UP): lct0: link is not ready
[ 44.500000] IPv6: ADDRCONF(NETDEV_UP): host: link is not ready
[ 45.404000] device exc entered promiscuous mode
[ 53.176000] IPv6: ADDRCONF(NETDEV_CHANGE): lct0: link becomes ready
#