Skip to content

Instantly share code, notes, and snippets.

@ddewaele
Last active October 30, 2017 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddewaele/5cc02bf20d9e999c3e7e0fc5d76fba3d to your computer and use it in GitHub Desktop.
Save ddewaele/5cc02bf20d9e999c3e7e0fc5d76fba3d to your computer and use it in GitHub Desktop.
MultiTech firmware upgrade
Files are on my mac tftp server
ls -ltr /private/tftpboot/oe_rootfs.jffs2
-rwxrwxrwx 1 root wheel 65788832 Oct 30 19:46 /private/tftpboot/oe_rootfs.jffs2
ls -ltr /private/tftpboot/oe_uImage.bin
-rwxrwxrwx 1 root wheel 2801179 Oct 30 19:46 /private/tftpboot/oe_uImage.bin
Setting uboot variables via sample script (http://git.multitech.net/cgi-bin/cgit.cgi/meta-multitech.git/plain/contrib/uboot-setenv-mtcdt.minicom)
U-Boot> setting U-Boot variables...
saving...
printenv
baudrate=115200
bootargs=mem=256M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2
bootcmd=nboot.jffs2 ${loadaddr} 0 ${kernel_addr} && bootm ${loadaddr}
bootdelay=1
bootstrap_addr=0x00000000
bootstrap_file=oe_bootstrap_pmecc_padded.bin
bootstrap_size=0x00040000
config_addr=0x00800000
config_file=oe_config.tar.gz
config_size=0x00800000
erase_bootstrap=nand erase.part bootstrap
erase_config=nand erase.part config
erase_kernel=nand erase.part kernel
erase_oem=nand erase.part oem
erase_rootfs=nand erase.part rootfs
erase_uboot=nand erase.part u-boot
erase_uboot_env1=nand erase.part u-boot-env1
erase_uboot_env2=nand erase.part u-boot-env2
ethact=macb0
ethaddr=00:08:00:4a:24:8f
fileaddr=20000000
filesize=2ABE1B
hostname=AT91SAM9G25
ipaddr=192.168.2.1
kernel_addr=0x00200000
kernel_file=oe_uImage.bin
kernel_size=0x00600000
krb=run tftp_kernel && run tftp_rootfs && boot
loadaddr=0x22000000
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:256k(bootstrap),512k(u-boot),640k(u-boot-env1),640k(u-boot-env2),6M(kernel) ,8M(config),8M(oem),-(rootfs)
netmask=255.255.255.0
oem_addr=0x01000000
oem_file=oe_oem.tar.gz
oem_size=0x00800000
rb=run tftp_rootfs && boot
rootfs_addr=0x01800000
rootfs_file=oe_rootfs.jffs2
serverip=192.168.2.2
stderr=serial
stdin=serial
stdout=serial
tftp_bootstrap=tftpb ${tftpaddr} ${bootstrap_file} && run erase_bootstrap && nand write.jffs2 ${fileaddr} bootstrap ${filesize}
tftp_config=tftpb ${tftpaddr} ${config_file} && run erase_config && nand write.jffs2 ${fileaddr} config ${filesize}
tftp_kernel=tftpb ${tftpaddr} ${kernel_file} && run erase_kernel && nand write.jffs2 ${fileaddr} kernel ${filesize}
tftp_oem=tftpb ${tftpaddr} ${oem_file} && run erase_oem && nand write.jffs2 ${fileaddr} oem ${filesize}
tftp_rootfs=tftpb ${tftpaddr} ${rootfs_file} && run erase_rootfs && nand write.jffs2 ${fileaddr} rootfs ${filesize}
tftp_uboot=tftpb ${tftpaddr} ${uboot_file} && run erase_uboot && nand write.jffs2 ${fileaddr} u-boot ${filesize}
tftp_uboot_env1=tftpb ${tftpaddr} ${uboot_env1_file} && run erase_uboot_env1 && nand write.jffs2 ${fileaddr} u-boot-env1 ${filesize}
tftp_uboot_env2=tftpb ${tftpaddr} ${uboot_env2_file} && run erase_uboot_env2 && nand write.jffs2 ${fileaddr} u-boot-env2 ${filesize}
tftpaddr=0x20000000
uboot_addr=0x00040000
uboot_env1_addr=0x000C0000
uboot_env1_file=oe_uboot_env1.bin
uboot_env1_size=0x000A0000
uboot_env2_addr=0x00160000
uboot_env2_file=oe_uboot_env2.bin
uboot_env2_size=0x000A0000
uboot_file=oe_u-boot.bin
uboot_size=0x00080000
Environment size: 2625/131067 bytes
Executing the update via run krb:
U-Boot> run krb
macb0: PHY present at 0
macb0: link up, 100Mbps full-duplex (lpa: 0xcde1)
Using macb0 device
TFTP from server 192.168.2.2; our IP address is 192.168.2.1
Filename 'oe_uImage.bin'.
Load address: 0x20000000
Loading: #################################################################
#################################################################
#############################################################
done
Bytes transferred = 2801179 (2abe1b hex)
Got an error :
NAND erase.part: unexpected character ' ' at the end of partition
Hitting enter got it to continue
U-Boot>
macb0: PHY present at 0
macb0: link up, 100Mbps full-duplex (lpa: 0xcde1)
Using macb0 device
TFTP from server 192.168.2.2; our IP address is 192.168.2.1
Filename 'oe_uImage.bin'.
Load address: 0x20000000
Loading: #################################################################
#################################################################
#############################################################
done
Bytes transferred = 2801179 (2abe1b hex)
macb0: PHY present at 0
macb0: link up, 100Mbps full-duplex (lpa: 0xcde1)
Using macb0 device
TFTP from server 192.168.2.2; our IP address is 192.168.2.1
Filename 'oe_rootfs.jffs2'.
Load address: 0x20000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############################################################
done
Bytes transferred = 65788832 (3ebdba0 hex)
Loading from nand0, offset 0x200000
Image Name: mLinux/3.12.27/mtcdt
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2801115 Bytes = 2.7 MiB
Load Address: 20008000
Entry Point: 20008000
## Booting kernel from Legacy Image at 22000000 ...
Image Name: mLinux/3.12.27/mtcdt
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2801115 Bytes = 2.7 MiB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 3.12.27 (jenkins@frylock) (gcc version 4.8.2 (GCC) ) #1 Wed Jun 3 12:07:18 CDT 2015
Machine: Atmel AT91SAM (Device Tree), model: Multi-Tech Systems MTCDT
AT91: Detected soc type: at91sam9x5
AT91: Detected soc subtype: at91sam9g25
AT91: sram at 0x300000 of 0x8000 mapped at 0xfef70000
Kernel command line: mem=256M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc04ef50c (5022 kB)
.init : 0xc04f0000 - 0xc0517cbc ( 160 kB)
.data : 0xc0518000 - 0xc05407a0 ( 162 kB)
.bss : 0xc05407a0 - 0xc055f408 ( 124 kB)
NR_IRQS:16 nr_irqs:16 16
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc03a9b70 - 0xc03a9bc8
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
AT91: Power Management (with slow clock mode)
AT91: Starting after software reset
gpio-at91 fffff400.gpio: at address fefff400
gpio-at91 fffff600.gpio: at address fefff600
gpio-at91 fffff800.gpio: at address fefff800
gpio-at91 fffffa00.gpio: at address fefffa00
pinctrl-at91 pinctrl.2: initialized AT91 pinctrl driver
bio: create slab <bio-0> at 0
at_hdmac ffffec00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
at_hdmac ffffee00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-gpio i2c.3: using pins 30 (SDA) and 31 (SCL)
i2c-gpio i2c.4: using pins 64 (SDA) and 65 (SCL)
Switched to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) (SUMMARY) ?? 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 496
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered (default)
io scheduler deadline registered
io scheduler cfq registered
fffff200.serial: ttyS0 at MMIO 0xfffff200 (irq = 16, base_baud = 8333333) is a ATMEL_SERIAL
console [ttyS0] enabled
f8040000.serial: ttyS1 at MMIO 0xf8040000 (irq = 26, base_baud = 8333333) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
at24_get_setup: found a match for eeprom at 56
at24 0-0056: 512 byte 24c04 EEPROM, writable, 16 bytes/write
sam9x5: read 512 bytes from id eeprom
at24_get_setup: found a match for eeprom at 50
at24 1-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
sam9x5: ap1 eeprom read failed: -110
at24_get_setup: found a match for eeprom at 52
at24 1-0052: 512 byte 24c04 EEPROM, writable, 16 bytes/write
sam9x5: read 512 bytes from ap2 eeprom
atmel_nand 40000000.nand: Using dma0chan0 for DMA transfers.
ONFI param page 0 valid
ONFI flash detected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xaa (Micron MT29F2G08ABBEAHC), 256MiB, page size: 2048, OOB size: 64
atmel_nand 40000000.nand: ONFI params, minimum required ECC: 4 bits in 512 bytes
atmel_nand 40000000.nand: Initialize PMECC params, cap: 4, sector: 512
Scanning device for bad blocks
9 ofpart partitions found on MTD device atmel_nand
Creating 9 MTD partitions on "atmel_nand":
0x000000000000-0x000010000000 : "NANDFlash"
0x000000000000-0x000000040000 : "at91bootstrap"
0x000000040000-0x0000000c0000 : "u-Boot"
0x0000000c0000-0x000000160000 : "u-Boot Config"
0x000000160000-0x000000200000 : "u-Boot Redundant Config"
0x000000200000-0x000000800000 : "uImage"
0x000000800000-0x000001000000 : "Config"
0x000001000000-0x000001800000 : "OEM Config"
0x000001800000-0x000010000000 : "Rootfs"
libphy: MACB_mii_bus: probed
macb f802c000.ethernet eth0: Cadence MACB at 0xf802c000 irq 23 (00:08:00:4a:24:8f)
macb f802c000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=f802c000.etherne:00, irq=-1)
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
atmel-ehci 700000.ehci: EHCI Host Controller
atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 700000.ehci: irq 31, io mem 0x00700000
atmel-ehci 700000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.12.27 ehci_hcd
usb usb1: SerialNumber: 700000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci 600000.ohci: AT91 OHCI
at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 600000.ohci: irq 31, io mem 0x00600000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: AT91 OHCI
usb usb2: Manufacturer: Linux 3.12.27 ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
rtc (null): invalid alarm value: 1900-1-1 0:0:0
at91_rtc fffffeb0.rtc: rtc core: registered fffffeb0.rtc as rtc0
at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
at91sam9_wdt: enabled (heartbeat=15 sec, nowayout=0)
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (3973 buckets, 15892 max)
ipip: IPv4 over IPv4 tunneling driver
gre: GRE over IPv4 demultiplexor driver
ip_gre: GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: cubic registered
NET: Registered protocol family 17
l2tp_core: L2TP core driver, V2.0
Key type dns_resolver registered
at91_rtc fffffeb0.rtc: setting system clock to 2017-10-30 19:34:10 UTC (1509392050)
usb 1-2: new high-speed USB device number 2 using atmel-ehci
usb 1-2: New USB device found, idVendor=0424, idProduct=2534
usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 4 ports detected
usb 2-3: new full-speed USB device number 2 using at91_ohci
usb 2-3: New USB device found, idVendor=04e2, idProduct=1412
usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-2.2: new high-speed USB device number 3 using atmel-ehci
usb 1-2.2: New USB device found, idVendor=0403, idProduct=6014
usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2.2: Product: Single RS232-HS
usb 1-2.2: Manufacturer: FTDI
usb 1-2.3: new high-speed USB device number 4 using atmel-ehci
usb 1-2.3: New USB device found, idVendor=1bc7, idProduct=0021
usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.3: Product: 6 CDC-ACM
usb 1-2.3: Manufacturer: Telit
usb 1-2.3: SerialNumber: 356136077615161
jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
VFS: Mounted root (jffs2 filesystem) readonly on device 31:8.
devtmpfs: mounted
Freeing unused kernel memory: 156K (c04f0000 - c0517000)
INIT: version 2.88 booting
jffs2: notice: (73) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
jffs2: notice: (73) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Starting udev
/lib/udev/udevd: error while loading shared libraries: libkmod.so.2: cannot open shared object file: No such file or directory
/etc/rcS.d/S04udev: line 103: udevadm: command not found
/etc/rcS.d/S04udev: line 110: udevadm: command not found
/etc/rcS.d/S04udev: line 111: udevadm: command not found
/etc/rcS.d/S04udev: line 111: udevadm: command not found
Starting Bootlog daemon: bootlogd.
urandom start: failed.
/var/config already mounted
/var/oem already mounted
/etc/rcS.d/S37populate-volatile.sh: line 215: sort: command not found
/etc/rcS.d/S38dmesg.sh: line 17: /var/log/dmesg: No such file or directory
Loading mts-io module
[INFO] mts-io:mts_io_init:823: init: v1.1.1
[INFO] mts-io:mts_id_eeprom_load:748: detected board MTCDT-0.0
[INFO] mts-io:mts_id_eeprom_load:751: sizeof: 512
[INFO] mts-io:mts_id_eeprom_load:752: vendor-id: Multi-Tech Systems
[INFO] mts-io:mts_id_eeprom_load:753: product-id: MTCDT-H5-210L
[INFO] mts-io:mts_id_eeprom_load:754: device-id: 19276775
[INFO] mts-io:mts_id_eeprom_load:755: hw-version: MTCDT-0.0
[INFO] mts-io:mts_id_eeprom_load:762: mac-addr: 00:08:00:4A:24:8F
[INFO] mts-io:mts_id_eeprom_load:764: imei: 356136077615161
[INFO] mts-io:mts_id_eeprom_load:765: capa-gps: no
[INFO] mts-io:mts_id_eeprom_load:766: capa-din: no
[INFO] mts-io:mts_id_eeprom_load:767: capa-dout: no
[INFO] mts-io:mts_id_eeprom_load:768: capa-adc: no
[INFO] mts-io:mts_id_eeprom_load:769: capa-wifi: no
[INFO] mts-io:mts_id_eeprom_load:770: capa-bluetooth: no
[INFO] mts-io:mts_id_eeprom_load:794: uuid: E9F71B0BCBF9A385DDCD96D395EE291B
[INFO] mts-io:load_port:647: no accessory card inserted in port 1
[INFO] mts-io:load_port:682: accessory card 2 vendor-id: Multi-Tech Systems
[INFO] mts-io:load_port:683: accessory card 2 product-id: MTAC-LORA-868
[INFO] mts-io:load_port:684: accessory card 2 device-id: 19228852
[INFO] mts-io:load_port:685: accessory card 2 hw-version: MTAC-LORA-1.0
[INFO] mts-io:load_port:706: accessory card 2 eui: 00:80:00:00:A0:00:10:E6
[INFO] mts-io:lora_setup:42: loading LORA accessory card in port 2
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
Configuring network interfaces... run-parts: /etc/network/if-up.d/ntpdate-sync: No such file or directory
run-parts: /etc/network/if-up.d/ntpdate-sync: No such file or directory
done.
dbus-uuidgen: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory
Starting system message bus: /usr/bin/dbus-daemon: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
dbus.
Starting syslogd/klogd: Oct 30 19:34:20 mtcdt syslog.info syslogd started: BusyBox v1.22.1
done
Oct 30 19:34:20 mtcdt user.notice kernel: klogd started: BusyBox v1.22.1 (2015-06-03 12:57:33 CDT)
Oct 30 19:34:20 mtcdt user.info kernel: AT91: sram at 0x300000 of 0x8000 mapped at 0xfef70000
Oct 30 19:34:20 mtcdt user.debug kernel: On node 0 totalpages: 65536
Oct 30 19:34:20 mtcdt user.debug kernel: free_area_init_node: node 0, pgdat c0540074, node_mem_map c0560000
Oct 30 19:34:20 mtcdt user.debug kernel: Normal zone: 512 pages used for memmap
Oct 30 19:34:20 mtcdt user.debug kernel: Normal zone: 0 pages reserved
Oct 30 19:34:20 mtcdt user.debug kernel: Normal zone: 65536 pages, LIFO batch:15
Oct 30 19:34:20 mtcdt user.debug kernel: Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
Oct 30 19:34:20 mtcdt user.debug kernel: pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Oct 30 19:34:20 mtcdt user.debug kernel: pcpu-alloc: [0] 0
Oct 30 19:34:20 mtcdt user.debug kernel: Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Oct 30 19:34:20 mtcdt user.notice kernel: Kernel command line: mem=256M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2
Oct 30 19:34:20 mtcdt user.info kernel: PID hash table entries: 1024 (order: 0, 4096 bytes)
Oct 30 19:34:20 mtcdt user.info kernel: Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Oct 30 19:34:20 mtcdt user.info kernel: Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Oct 30 19:34:20 mtcdt user.debug kernel: Memory: 254288K/262144K available (3860K kernel code, 161K rwdata, 1160K rodata, 159K init, 123K bss, 7856K reserved)
Oct 30 19:34:20 mtcdt user.notice kernel: Virtual kernel memory layout:
Oct 30 19:34:20 mtcdt user.notice kernel: vector : 0xffff0000 - 0xffff1000 ( 4 kB)
Oct 30 19:34:20 mtcdt user.notice kernel: fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
Oct 30 19:34:20 mtcdt user.notice kernel: vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
Oct 30 19:34:20 mtcdt user.notice kernel: lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
Oct 30 19:34:20 mtcdt user.notice kernel: modules : 0xbf000000 - 0xc0000000 ( 16 MB)
Oct 30 19:34:20 mtcdt user.notice kernel: .text : 0xc0008000 - 0xc04ef50c (5022 kB)
Oct 30 19:34:20 mtcdt user.notice kernel: .init : 0xc04f0000 - 0xc0517cbc ( 160 kB)
Oct 30 19:34:20 mtcdt user.notice kernel: .data : 0xc0518000 - 0xc05407a0 ( 162 kB)
Oct 30 19:34:20 mtcdt user.notice kernel: .bss : 0xc05407a0 - 0xc055f408 ( 124 kB)
Oct 30 19:34:20 mtcdt user.info kernel: NR_IRQS:16 nr_irqs:16 16
Oct 30 19:34:20 mtcdt user.info kernel: sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Oct 30 19:34:20 mtcdt user.info kernel: Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
Oct 30 19:34:20 mtcdt user.info kernel: pid_max: default: 32768 minimum: 301
Oct 30 19:34:20 mtcdt user.info kernel: Mount-cache hash table entries: 512
Oct 30 19:34:20 mtcdt user.info kernel: Initializing cgroup subsys blkio
Oct 30 19:34:20 mtcdt user.info kernel: CPU: Testing write buffer coherency: ok
Oct 30 19:34:20 mtcdt user.info kernel: Setting up static identity map for 0xc03a9b70 - 0xc03a9bc8
Oct 30 19:34:20 mtcdt user.info kernel: devtmpfs: initialized
Oct 30 19:34:20 mtcdt user.info kernel: pinctrl core: initialized pinctrl subsystem
Oct 30 19:34:20 mtcdt user.info kernel: NET: Registered protocol family 16
Oct 30 19:34:20 mtcdt user.info kernel: DMA: preallocated 256 KiB pool for atomic coherent allocations
Oct 30 19:34:20 mtcdt user.info kernel: AT91: Power Management (with slow clock mode)
Oct 30 19:34:20 mtcdt user.info kernel: AT91: Starting after software reset
Oct 30 19:34:20 mtcdt user.info kernel: gpio-at91 fffff400.gpio: at address fefff400
Oct 30 19:34:20 mtcdt user.info kernel: gpio-at91 fffff600.gpio: at address fefff600
Oct 30 19:34:20 mtcdt user.info kernel: gpio-at91 fffff800.gpio: at address fefff800
Oct 30 19:34:20 mtcdt user.info kernel: gpio-at91 fffffa00.gpio: at address fefffa00
Oct 30 19:34:20 mtcdt user.info kernel: pinctrl-at91 pinctrl.2: initialized AT91 pinctrl driver
Oct 30 19:34:20 mtcdt user.debug kernel: tcb_clksrc: tc0 at 16.166 MHz
Oct 30 19:34:20 mtcdt user.info kernel: bio: create slab <bio-0> at 0
Oct 30 19:34:20 mtcdt user.info kernel: at_hdmac ffffec00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
Oct 30 19:34:20 mtcdt user.info kernel: at_hdmac ffffee00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
Oct 30 19:34:20 mtcdt user.notice kernel: SCSI subsystem initialized
Oct 30 19:34:20 mtcdt user.info kernel: usbcore: registered new interface driver usbfs
Oct 30 19:34:20 mtcdt user.info kernel: usbcore: registered new interface driver hub
Oct 30 19:34:20 mtcdt user.info kernel: usbcore: registered new device driver usb
Oct 30 19:34:20 mtcdt user.info kernel: i2c-gpio i2c.3: using pins 30 (SDA) and 31 (SCL)
Oct 30 19:34:20 mtcdt user.info kernel: i2c-gpio i2c.4: using pins 64 (SDA) and 65 (SCL)
Oct 30 19:34:20 mtcdt user.info kernel: Switched to clocksource tcb_clksrc
Oct 30 19:34:20 mtcdt user.info kernel: NET: Registered protocol family 2
Oct 30 19:34:20 mtcdt user.info kernel: TCP established hash table entries: 2048 (order: 2, 16384 bytes)
Oct 30 19:34:20 mtcdt user.info kernel: TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
Oct 30 19:34:20 mtcdt user.info kernel: TCP: Hash tables configured (established 2048 bind 2048)
Oct 30 19:34:20 mtcdt user.info kernel: TCP: reno registered
Oct 30 19:34:20 mtcdt user.info kernel: UDP hash table entries: 256 (order: 0, 4096 bytes)
Oct 30 19:34:20 mtcdt user.info kernel: UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Oct 30 19:34:20 mtcdt user.info kernel: NET: Registered protocol family 1
Oct 30 19:34:20 mtcdt user.info kernel: RPC: Registered named UNIX socket transport module.
Oct 30 19:34:20 mtcdt user.info kernel: RPC: Registeredmacb f802c000.ethernet eth0: link up (100/Full)
udp transport module.
Oct 30 19:34:20 mtcdt user.info kernel: RPC: Registered tcp transport module.
Oct 30 19:34:20 mtcdt user.info kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
Oct 30 19:34:20 mtcdt user.notice kernel: NFS: Registering the id_resolver key type
Oct 30 19:34:20 mtcdt user.notice kernel: Key type id_resolver registered
Oct 30 19:34:20 mtcdt user.notice kernel: Key type id_legacy registered
Oct 30 19:34:20 mtcdt user.info kernel: jffs2: version 2.2. (NAND) (SUMMARY) ?? 2001-2006 Red Hat, Inc.
Oct 30 19:34:20 mtcdt user.info kernel: ROMFS MTD (C) 2007 Red Hat, Inc.
Oct 30 19:34:20 mtcdt user.info kernel: msgmni has been set to 496
Oct 30 19:34:20 mtcdt user.info kernel: Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
Oct 30 19:34:20 mtcdt user.info kernel: io scheduler noop registered (default)
Oct 30 19:34:20 mtcdt user.info kernel: io scheduler deadline registered
Oct 30 19:34:20 mtcdt user.info kernel: io scheduler cfq registered
Oct 30 19:34:20 mtcdt user.info kernel: fffff200.serial: ttyS0 at MMIO 0xfffff200 (irq = 16, base_baud = 8333333) is a ATMEL_SERIAL
Oct 30 19:34:20 mtcdt user.info kernel: console [ttyS0] enabled
Oct 30 19:34:20 mtcdt user.info kernel: f8040000.serial: ttyS1 at MMIO 0xf8040000 (irq = 26, base_baud = 8333333) is a ATMEL_SERIAL
Oct 30 19:34:20 mtcdt user.info kernel: brd: module loaded
Oct 30 19:34:20 mtcdt user.info kernel: loop: module loaded
Oct 30 19:34:20 mtcdt user.info kernel: at24_get_setup: found a match for eeprom at 56
Oct 30 19:34:20 mtcdt user.info kernel: at24 0-0056: 512 byte 24c04 EEPROM, writable, 16 bytes/write
Oct 30 19:34:20 mtcdt user.info kernel: sam9x5: read 512 bytes from id eeprom
Oct 30 19:34:20 mtcdt user.info kernel: at24_get_setup: found a match for eeprom at 50
Oct 30 19:34:20 mtcdt user.info kernel: at24 1-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
Oct 30 19:34:20 mtcdt user.info kernel: sam9x5: ap1 eeprom read failed: -110
Oct 30 19:34:20 mtcdt user.info kernel: at24_get_setup: found a match for eeprom at 52
Oct 30 19:34:20 mtcdt user.info kernel: at24 1-0052: 512 byte 24c04 EEPROM, writable, 16 bytes/write
Oct 30 19:34:20 mtcdt user.info kernel: sam9x5: read 512 bytes from ap2 eeprom
Oct 30 19:34:20 mtcdt user.info kernel: atmel_nand 40000000.nand: Using dma0chan0 for DMA transfers.
Oct 30 19:34:20 mtcdt user.info kernel: ONFI param page 0 valid
Oct 30 19:34:20 mtcdt user.info kernel: ONFI flash detected
Oct 30 19:34:20 mtcdt user.info kernel: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xaa (Micron MT29F2G08ABBEAHC), 256MiB, page size: 2048, OOB size: 64
Oct 30 19:34:20 mtcdt user.info kernel: atmel_nand 40000000.nand: ONFI params, minimum required ECC: 4 bits in 512 bytes
Oct 30 19:34:20 mtcdt user.info kernel: atmel_nand 40000000.nand: Initialize PMECC params, cap: 4, sector: 512
Oct 30 19:34:20 mtcdt user.info kernel: Scanning device for bad blocks
Oct 30 19:34:20 mtcdt user.notice kernel: 9 ofpart partitions found on MTD device atmel_nand
Oct 30 19:34:20 mtcdt user.notice kernel: Creating 9 MTD partitions on "atmel_nand":
Oct 30 19:34:20 mtcdt user.notice kernel: 0x000000000000-0x000010000000 : "NANDFlash"
Oct 30 19:34:20 mtcdt user.notice kernel: 0x000000000000-0x000000040000 : "at91bootstrap"
Oct 30 19:34:20 mtcdt user.notice kernel: 0x000000040000-0x0000000c0000 : "u-Boot"
Oct 30 19:34:20 mtcdt user.notice kernel: 0x0000000c0000-0x000000160000 : "u-Boot Config"
Oct 30 19:34:20 mtcdt user.notice kernel: 0x000000160000-0x000000200000 : "u-Boot Redundant Config"
Oct 30 19:34:20 mtcdt user.notice kernel: 0x000000200000-0x000000800000 : "uImage"
Oct 30 19:34:20 mtcdt user.notice kernel: 0x000000800000-0x000001000000 : "Config"
Oct 30 19:34:20 mtcdt user.notice kernel: 0x000001000000-0x000001800000 : "OEM Config"
Oct 30 19:34:20 mtcdt user.notice kernel: 0x000001800000-0x000010000000 : "Rootfs"
Oct 30 19:34:20 mtcdt user.info kernel: libphy: MACB_mii_bus: probed
Oct 30 19:34:20 mtcdt user.info kernel: macb f802c000.ethernet eth0: Cadence MACB at 0xf802c000 irq 23 (00:08:00:4a:24:8f)
Oct 30 19:34:20 mtcdt user.info kernel: macb f802c000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=f802c000.etherne:00, irq=-1)
Oct 30 19:34:20 mtcdt user.info kernel: PPP generic driver version 2.4.2
Oct 30 19:34:20 mtcdt user.info kernel: PPP BSD Compression module registered
Oct 30 19:34:20 mtcdt user.info kernel: PPP Deflate Compression module registered
Oct 30 19:34:20 mtcdt user.info kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Oct 30 19:34:20 mtcdt user.info kernel: ehci-atmel: EHCI Atmel driver
Oct 30 19:34:20 mtcdt user.info kernel: atmel-ehci 700000.ehci: EHCI Host Controller
Oct 30 19:34:20 mtcdt user.info kernel: atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1
Oct 30 19:34:20 mtcdt user.info kernel: atmel-ehci 700000.ehci: irq 31, io mem 0x00700000
Oct 30 19:34:20 mtcdt user.info kernel: atmel-ehci 700000.ehci: USB 2.0 started, EHCI 1.00
Oct 30 19:34:20 mtcdt user.info kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Oct 30 19:34:20 mtcdt user.info kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Oct 30 19:34:20 mtcdt user.info kernel: usb usb1: Product: EHCI Host Controller
Oct 30 19:34:20 mtcdt user.info kernel: usb usb1: Manufacturer: Linux 3.12.27 ehci_hcd
Oct 30 19:34:20 mtcdt user.info kernel: usb usb1: SerialNumber: 700000.ehci
Oct 30 19:34:20 mtcdt user.info kernel: hub 1-0:1.0: USB hub found
Oct 30 19:34:20 mtcdt user.info kernel: hub 1-0:1.0: 3 ports detected
Oct 30 19:34:20 mtcdt user.info kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Oct 30 19:34:20 mtcdt user.info kernel: at91_ohci 600000.ohci: AT91 OHCI
Oct 30 19:34:20 mtcdt user.info kernel: at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2
Oct 30 19:34:20 mtcdt user.info kernel: at91_ohci 600000.ohci: irq 31, io mem 0x00600000
Oct 30 19:34:20 mtcdt user.info kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
Oct 30 19:34:20 mtcdt user.info kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Oct 30 19:34:20 mtcdt user.info kernel: usb usb2: Product: AT91 OHCI
Oct 30 19:34:20 mtcdt user.info kernel: usb usb2: Manufacturer: Linux 3.12.27 ohci_hcd
Oct 30 19:34:20 mtcdt user.info kernel: usb usb2: SerialNumber: at91
Oct 30 19:34:20 mtcdt user.info kernel: hub 2-0:1.0: USB hub found
Oct 30 19:34:20 mtcdt user.info kernel: hub 2-0:1.0: 3 ports detected
Oct 30 19:34:20 mtcdt user.warn kernel: rtc (null): invalid alarm value: 1900-1-1 0:0:0
Oct 30 19:34:20 mtcdt user.info kernel: at91_rtc fffffeb0.rtc: rtc core: registered fffffeb0.rtc as rtc0
Oct 30 19:34:20 mtcdt user.info kernel: at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver.
Oct 30 19:34:20 mtcdt user.info kernel: i2c /dev entries driver
Oct 30 19:34:20 mtcdt user.info kernel: at91sam9_wdt: enabled (heartbeat=15 sec, nowayout=0)
Oct 30 19:34:20 mtcdt user.info kernel: Netfilter messages via NETLINK v0.30.
Oct 30 19:34:20 mtcdt user.info kernel: nf_conntrack version 0.5.0 (3973 buckets, 15892 max)
Oct 30 19:34:20 mtcdt user.info kernel: ipip: IPv4 over IPv4 tunneling driver
Oct 30 19:34:20 mtcdt user.info kernel: gre: GRE over IPv4 demultiplexor driver
Oct 30 19:34:20 mtcdt user.info kernel: ip_gre: GRE over IPv4 tunneling driver
Oct 30 19:34:20 mtcdt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Oct 30 19:34:20 mtcdt user.info kernel: TCP: cubic registered
Oct 30 19:34:20 mtcdt user.info kernel: NET: Registered protocol family 17
Oct 30 19:34:20 mtcdt user.info kernel: l2tp_core: L2TP core driver, V2.0
Oct 30 19:34:20 mtcdt user.notice kernel: Key type dns_resolver registered
Oct 30 19:34:20 mtcdt user.info kernel: at91_rtc fffffeb0.rtc: setting system clock to 2017-10-30 19:34:10 UTC (1509392050)
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2: new high-speed USB device number 2 using atmel-ehci
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2: New USB device found, idVendor=0424, idProduct=2534
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Oct 30 19:34:20 mtcdt user.info kernel: hub 1-2:1.0: USB hub found
Oct 30 19:34:20 mtcdt user.info kernel: hub 1-2:1.0: 4 ports detected
Oct 30 19:34:20 mtcdt user.info kernel: usb 2-3: new full-speed USB device number 2 using at91_ohci
Oct 30 19:34:20 mtcdt user.info kernel: usb 2-3: New USB device found, idVendor=04e2, idProduct=1412
Oct 30 19:34:20 mtcdt user.info kernel: usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.2: new high-speed USB device number 3 using atmel-ehci
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.2: New USB device found, idVendor=0403, idProduct=6014
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.2: Product: Single RS232-HS
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.2: Manufacturer: FTDI
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.3: new high-speed USB device number 4 using atmel-ehci
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.3: New USB device found, idVendor=1bc7, idProduct=0021
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.3: Product: 6 CDC-ACM
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.3: Manufacturer: Telit
Oct 30 19:34:20 mtcdt user.info kernel: usb 1-2.3: SerialNumber: 356136077615161
Oct 30 19:34:20 mtcdt user.notice kernel: jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Oct 30 19:34:20 mtcdt user.info kernel: VFS: Mounted root (jffs2 filesystem) readonly on device 31:8.
Oct 30 19:34:20 mtcdt user.info kernel: devtmpfs: mounted
Oct 30 19:34:20 mtcdt user.info kernel: Freeing unused kernel memory: 156K (c04f0000 - c0517000)
Oct 30 19:34:20 mtcdt user.notice kernel: jffs2: notice: (73) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Oct 30 19:34:20 mtcdt user.notice kernel: jffs2: notice: (73) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_io_init:823: init: v1.1.1
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:748: detected board MTCDT-0.0
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:751: sizeof: 512
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:752: vendor-id: Multi-Tech Systems
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:753: product-id: MTCDT-H5-210L
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:754: device-id: 19276775
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:755: hw-version: MTCDT-0.0
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:762: mac-addr: 00:08:00:4A:24:8F
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:764: imei: 356136077615161
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:765: capa-gps: no
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:766: capa-din: no
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:767: capa-dout: no
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:768: capa-adc: no
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:769: capa-wifi: no
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:770: capa-bluetooth: no
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:mts_id_eeprom_load:794: uuid: E9F71B0BCBF9A385DDCD96D395EE291B
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:load_port:647: no accessory card inserted in port 1
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:load_port:682: accessory card 2 vendor-id: Multi-Tech Systems
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:load_port:683: accessory card 2 product-id: MTAC-LORA-868
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:load_port:684: accessory card 2 device-id: 19228852
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:load_port:685: accessory card 2 hw-version: MTAC-LORA-1.0
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:load_port:706: accessory card 2 eui: 00:80:00:00:A0:00:10:E6
Oct 30 19:34:20 mtcdt user.info kernel: [INFO] mts-io:lora_setup:42: loading LORA accessory card in port 2
jsparser error: jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Bad JSON file, reverting to defaults
Copying default db.json
Generating server cert
/etc/rc5.d/S30api: line 39: openssl: command not found
Oct 30 19:34:20 mtcdt user.info kernel: macb f802c000.ethernet eth0: link up (100/Full)
[INFO] eeprom_main.c:main:536: loaded id eeprom from /sys/bus/i2c/devices/i2c-0/0-0056/eeprom successfully
[INFO] eeprom_main.c:mts_id_eeprom_inspect:276: sizeof: 512
[INFO] eeprom_main.c:mts_id_eeprom_inspect:277: vendor-id: Multi-Tech Systems
[INFO] eeprom_main.c:mts_id_eeprom_inspect:278: product-id: MTCDT-H5-210L
[INFO] eeprom_main.c:mts_id_eeprom_inspect:279: device-id: 19276775
[INFO] eeprom_main.c:mts_id_eeprom_inspect:280: hw-version: MTCDT-0.0
[INFO] eeprom_main.c:mts_id_eeprom_inspect:287: mac-addr: 00:08:00:4A:24:8F
[INFO] eeprom_main.c:mts_id_eeprom_inspect:288: imei: 356136077615161
[INFO] eeprom_main.c:mts_id_eeprom_inspect:289: capa-gps: no
[INFO] eeprom_main.c:mts_id_eeprom_inspect:290: capa-din: no
[INFO] eeprom_main.c:mts_id_eeprom_inspect:291: capa-dout: no
[INFO] eeprom_main.c:mts_id_eeprom_inspect:292: capa-adc: no
[INFO] eeprom_main.c:mts_id_eeprom_inspect:293: capa-wifi: no
[INFO] eeprom_main.c:mts_id_eeprom_inspect:294: capa-bluetooth: no
[INFO] eeprom_main.c:mts_id_eeprom_inspect:302: mac-bluetooth: 00:00:00:00:00:00
[INFO] eeprom_main.c:mts_id_eeprom_inspect:309: mac-wifi: 00:00:00:00:00:00
[INFO] eeprom_main.c:mts_id_eeprom_inspect:315: uuid: E9F71B0BCBF9A385DDCD96D395EE291B
Reading accessory cards data
/sbin/get-eeprom-device-info: line 57: tr: command not found
/sbin/get-eeprom-device-info: line 57: tr: command not found
/sbin/get-eeprom-device-info: line 57: tr: command not found
/sbin/get-eeprom-device-info: line 57: tr: command not found
/sbin/get-eeprom-device-info: line 57: tr: command not found
Adding accessory cards data
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Generating /var/run/config/lighttpd_port.conf
starting local time setup...Setting timezone to jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
ln: /var/run/localtime: File exists
Generating Timezone List
ls: /usr/share/zoneinfo: No such file or directory
/etc/rc5.d/S50usb-gadget: line 14: usb-gadget: command not found
Starting Lighttpd Web Server: start-stop-daemon: can't execute '/usr/sbin/lighttpd': No such file or directory
lighttpd.
syslog configure and reload
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
Starting Mosquitto...
start-stop-daemon: can't execute '/usr/sbin/mosquitto': No such file or directory
starting backoff-timers setup
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Database init...
starting network interfaces setup
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Firewall Initialization
firewall: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
/sbin/routing_setup: line 9: [: 0: unary operator expected
mkdir: can't create directory '/var/lock/ddns_lock': No such file or directory
Ddns lock not acquired, resource in use
starting dns and dhcp services
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Oct 30 19:34:24 mtcdt daemon.info dnsmasq[378]: started, version 2.68 cachesize 150
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Oct 30 19:34:24 mtcdt daemon.info dnsmasq[378]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
Oct 30 19:34:24 mtcdt daemon.warn dnsmasq[378]: warning: interface lo0 does not currently exist
Oct 30 19:34:24 mtcdt daemon.warn dnsmasq[378]: no servers found in /var/run/wan_resolv.conf, will retry
Oct 30 19:34:24 mtcdt daemon.err dnsmasq[378]: failed to load names from /var/config/hosts: No such file or directory
/etc/rc5.d/S80lora-network-server: line 43: /usr/bin/python: No such file or directory
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
PPP Service Disabled
Setting modem diversity...
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
Modem diversity is disabled.
usage: /sbin/set-modem-diversity <device> <radio-code> <enabled>
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
device : modem tty
radio-code : H5, EV3, LAT1, VW2 or LEU1
enabled : 1 or 0
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
starting time setup...done.
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
Starting WAN manager
/sbin/wan-manager: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Starting Carrier Detect and Signal Strength LEDs
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
Starting RM client
/sbin/monitor-annexcd: line 3: mts-io-sysfs: command not found
/sbin/monitor-annexcd: line 4: mts-io-sysfs: command not found
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Starting Call-Home Service
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
setting /sys/class/leds/led-status/trigger to heartbeat
/sbin/call_home: line 14: mts-io-sysfs: command not found
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
/sbin/call_home: line 15: mts-io-sysfs: command not found
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
starting node-red
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
Call-Home Not Needed
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
env: can't execute 'python': No such file or directory
Stopping Bootlog daemon: bootlogd.
Setting up User-Space Watchdog
Oct 30 19:34:26 mtcdt auth.err getty[505]: can't open '/dev/ttyGS0': No such file or directory^M
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
Unable to pull configurations from API for Watchdog. Assuming pppd is enabled.
_ _
_ __ ___ | | (_)_ __ _ ___ __
| '_ ` _ \| | | | '_ \| | | \ \/ /
| | | | | | |___| | | | | |_| |> <
|_| |_| |_|_____|_|_| |_|\__,_/_/\_\
MultiTech Systems mLinux GNU/Linux
mLinux 3.1.0 mtcdt /dev/ttyS0
Version: 1.0.25-Beta
Date: 2015-06-03T13:28:21
mtcdt login: jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
sh: mts-io-sysfs: command not found
Oct 30 19:34:26 mtcdt user.notice watchdog: User-Space Watchdog Running : [ /dev/watchdog ] opts [ --ppp ]
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
Oct 30 19:34:36 mtcdt auth.err getty[548]: can't open '/dev/ttyGS0': No such file or directory^M
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
Oct 30 19:34:46 mtcdt auth.err getty[581]: can't open '/dev/ttyGS0': No such file or directory^M
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
Oct 30 19:34:56 mtcdt auth.err getty[609]: can't open '/dev/ttyGS0': No such file or directory^M
sh: pgrep: command not found
Oct 30 19:34:57 mtcdt user.err watchdog: [ERROR] watchdog.c:get_process_id_from_name:71: Error: Process [pppd] not found.
Oct 30 19:34:57 mtcdt user.err watchdog: [ERROR] watchdog.c:run:232: [pppd] is not running. checking for radio device [/dev/modem_at0]
Oct 30 19:34:57 mtcdt user.err watchdog: [ERROR] watchdog.c:run:234: [/dev/modem_at0] not found. resetting power to radio
sh: mts-io-sysfs: command not found
Oct 30 19:34:57 mtcdt user.err watchdog: [ERROR] watchdog.c:run:237: Restarting [pppd] with command [/etc/init.d/ppp restart &].
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Restarting pppd
Stopping ppp monitor and check
Stopping pppd
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
PPP Service Disabled
Setting modem diversity...
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Modem diversity is disabled.
usage: /sbin/set-modem-diversity <device> <radio-code> <enabled>
device : modem tty
radio-code : H5, EV3, LAT1, VW2 or LEU1
enabled : 1 or 0
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
Oct 30 19:35:06 mtcdt auth.err getty[660]: can't open '/dev/ttyGS0': No such file or directory^M
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
Oct 30 19:35:16 mtcdt auth.err getty[669]: can't open '/dev/ttyGS0': No such file or directory^M
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
Oct 30 19:35:26 mtcdt auth.err getty[682]: can't open '/dev/ttyGS0': No such file or directory^M
sh: pgrep: command not found
Oct 30 19:35:27 mtcdt user.err watchdog: [ERROR] watchdog.c:get_process_id_from_name:71: Error: Process [pppd] not found.
Oct 30 19:35:27 mtcdt user.err watchdog: [ERROR] watchdog.c:run:232: [pppd] is not running. checking for radio device [/dev/modem_at0]
Oct 30 19:35:27 mtcdt user.err watchdog: [ERROR] watchdog.c:run:234: [/dev/modem_at0] not found. resetting power to radio
sh: mts-io-sysfs: command not found
Oct 30 19:35:27 mtcdt user.err watchdog: [ERROR] watchdog.c:run:237: Restarting [pppd] with command [/etc/init.d/ppp restart &].
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
Restarting pppd
Stopping ppp monitor and check
Stopping pppd
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
PPP Service Disabled
Setting modem diversity...
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
jsparser: error while loading shared libraries: libmts.so.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libcurl.so.5: cannot open shared object file: No such file or directory
Modem diversity is disabled.
usage: /sbin/set-modem-diversity <device> <radio-code> <enabled>
device : modem tty
radio-code : H5, EV3, LAT1, VW2 or LEU1
enabled : 1 or 0
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
Oct 30 19:35:36 mtcdt auth.err getty[729]: can't open '/dev/ttyGS0': No such file or directory^M
/sbin/led_cd_ss: line 8: radio_query: command not found
/sbin/led_cd_ss: line 41: mts-io-sysfs: command not found
But still lots of errors in the console and an incomplete FS ?
Filesystem Size Used Available Use% Mounted on
/dev/root 232.0M 39.6M 192.4M 17% /
devtmpfs 124.2M 4.0K 124.2M 0% /dev
tmpfs 124.2M 0 124.2M 0% /run
tmpfs 124.2M 4.0K 124.2M 0% /var/volatile
/dev/mtdblock6 8.0M 544.0K 7.5M 7% /var/config
/dev/mtdblock7 8.0M 512.0K 7.5M 6% /var/oem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment