root
-bash: root: command not found
root@arm:~#
root@arm:~# reboot
[ 170.396991] reboot: Restarting system
U-Boot 2016.09-rc2-1.0.9+ (Jun 04 2019 - 15:45:29 +0200)
Net: eth0: ethernet@4a100000
Erasing NAND...
Erasing at 0x3c0000 -- 100% complete.
Writing to NAND... OK
Press SPACE to abort autoboot in 0 seconds
Booting from nand ...
NAND read: device 0 offset 0x200000, size 0x80000
524288 bytes read: OK
NAND read: device 0 offset 0x480000, size 0x480000
4718592 bytes read: OK
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff4000, end 8ffffe7d ... OK
Starting kernel ...
[ 0.000218] timer_probe: no matching timers found
[ 0.369199] dmi: Firmware registration failed.
[ 0.456960] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 0.661820] cpsw 4a100000.ethernet: No slave[0] phy_id, phy-handle, or fixed-link property
[ 0.675966] cpu cpu0: "syscon" is missing, cannot use OPPv2 table.
[ 0.817346] davinci_evm sound: ASoC: CODEC DAI tlv320aic31xx-hifi not registered
[ 0.825317] davinci_evm sound: snd_soc_register_card failed (-517)
[ 0.846725] omap_voltage_late_init: Voltage driver support not added
[ 0.853970] PM: Cannot get wkup_m3_ipc handle
[ 1.068608] davinci_evm sound: ASoC: CODEC DAI tlv320aic31xx-hifi not registered
[ 1.076950] davinci_evm sound: snd_soc_register_card failed (-517)
[ 1.084839] davinci_evm sound: ASoC: CODEC DAI tlv320aic31xx-hifi not registered
[ 1.092784] davinci_evm sound: snd_soc_register_card failed (-517)
[ 2.934996] davinci_evm sound: ASoC: CODEC DAI tlv320aic31xx-hifi not registered
[ 2.947946] davinci_evm sound: snd_soc_register_card failed (-517)
[ 6.296458] wlan: Loading MWLAN driver
[ 6.369752] wlan: Driver loaded successfully
[FAILED] Failed to start LSB: Prepares and starts codesysedge.
See 'systemctl status codesysedge.service' for details.
[ OK ] Started Generic Board Startup.
[ OK ] Started Permit User Sessions.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started LSB: Start busybox udhcpd at boot time.
[ OK ] Started Login Service.
[ OK ] Reached target Sound Card.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Started ifup for eth0.
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
[ OK ] Reached target Network is Online.
Starting LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyO4.
[ OK ] Reached target Login Prompts.
[ OK ] Started LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
Debian GNU/Linux 9 arm ttyO4
default username:password is [debian:temppwd]
arm login: root
Password:
Last login: Wed Oct 23 06:08:54 UTC 2019 on ttyO4
Linux arm 4.14.67-1.0.7+ #52 SMP PREEMPT Wed May 29 09:50:48 CEST 2019 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@arm:~# cd /home/debian/owa4x_AN3
-bash: cd: /home/debian/owa4x_AN3: Not a directory
root@arm:~# cd /home/debian/
root@arm:/home/debian# ./owa4x_AN3
Enter owa3x_AN3 version(0.0.4) program
All external Control functions loaded
All external functions loaded...
------------------------------------------------------------------------------
| get input | test uart1 | get vbat | discover ow |
| get all input | test uart5 | get temp | update ow |
| cfg int | set out | set sd | read ibutton |
| get ints | set all out | enable 485 | reset ow |
| rem int | set greenled | rx 485 | set vout |
| set adc_range | set redled | tx 485 | get vout |
| get ana0 | set yellowled | enable kline | get pwr_fail |
| get ana1 | set orangeled | enable uart5 | enable can |
| get ana2 | get usb_a | enable ibutton | test timer |
| get ana3 | get vin | disable ibutton | switch gps |
| kline2 th | kline1 th | can1tx mode | can2tx mode |
| can3tx mode | can4tx mode | | quit |
------------------------------------------------------------------------------
>>enable can
Disable(0), Enable(1):1
CAN ENABLE OK
------------------------------------------------------------------------------
| get input | test uart1 | get vbat | discover ow |
| get all input | test uart5 | get temp | update ow |
| cfg int | set out | set sd | read ibutton |
| get ints | set all out | enable 485 | reset ow |
| rem int | set greenled | rx 485 | set vout |
| set adc_range | set redled | tx 485 | get vout |
| get ana0 | set yellowled | enable kline | get pwr_fail |
| get ana1 | set orangeled | enable uart5 | enable can |
| get ana2 | get usb_a | enable ibutton | test timer |
| get ana3 | get vin | disable ibutton | switch gps |
| kline2 th | kline1 th | can1tx mode | can2tx mode |
| can3tx mode | can4tx mode | | quit |
------------------------------------------------------------------------------
>>quit
20191023-061335 UnloadExternalLibrary() ok
20191023-061335 UnloadExternalLibrary() ok
root@arm:/home/debian# ip link set can1 type can bitrate 250000
root@arm:/home/debian# ip link set up can1
root@arm:/home/debian# systemctl stop codesysedge.service
root@arm:/home/debian# systemctl start codesysedge.service
root@arm:/home/debian# cat /tmp/codesysedge.log
;****************************************************************
;/tmp/codesysedge.log
;
; 1
; normal
; rtc
; 0
; always
; 0x0000000f
; 1000
; 1
; 1000000
;
;
;Timestamp, CmpId, ClassId, ErrorId, InfoId, InfoText
;ClassId: LOG_INFO =1
;ClassId: LOG_WARNING =2
;ClassId: LOG_ERROR =4
;ClassId: LOG_EXCEPTION =8
;ClassId: LOG_DEBUG =16
;ClassId: LOG_PRINTF =32
;ClassId: LOG_COM =64
;
;****************************************************************
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0,
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0, 1
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0, normal
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0, rtc
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0, 0
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0, 0x0000000f
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0, 1000
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0, 1
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0, 1000000
2019-10-23T06:11:41Z, 0x00000013, 1, 0, 0,
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 4, CODESYS Edge Gateway Linux armhf
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 4, OS=Linux, CPU=ARM, Arch=32Bit, Coding=C
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 6, 3.5.15.20 Oct 22 2019
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 5, Copyright (c) 3S - Smart Software Solutions GmbH
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: CM, 0x00000001 3.5.15.20
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: CmpMemPool, 0x0000001e 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: CmpLog, 0x00000013 3.5.15.20
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: CmpSettings, 0x0000001a 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysFile, 0x00000104 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysCom, 0x00000100 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysCpuHandling, 0x00000101 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysDir, 0x0000011b 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysEvent, 0x00000102 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysExcept, 0x00000103 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysMem, 0x00000108 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysModule, 0x00000109 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysMutex, 0x0000013a 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysOut, 0x0000010b 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysSem, 0x0000010f 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysSemCount, 0x00000139 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysSemProcess, 0x00000119 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysShm, 0x00000110 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysSocket, 0x00000111 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysTarget, 0x00000112 3.5.15.20
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysTask, 0x00000114 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysTime, 0x00000115 3.5.15.11
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, System: SysTimeRtc, 0x00000127 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpAsyncMgr, 0x0000005f 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpBinTagUtil, 0x00000004 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpBlkDrvTcp, 0x00000030 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpBlkDrvUdp, 0x00000007 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpCAACallback, 0x00004001 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpCAAMemBlockMan, 0x00004003 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpCAATick, 0x00004009 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpCAATickUtil, 0x00004010 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpCAATypes, 0x00004006 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpChannelClient, 0x00000008 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpChannelMgr, 0x00000009 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpChannelServer, 0x0000000a 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpChecksum, 0x0000000b 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpCommunicationLib, 0x0000000c 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpCryptMD5, 0x0000006a 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpDevice, 0x0000000e 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpEdgeGateway, 0x00000095 3.5.15.20
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpEventMgr, 0x0000005b 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpGateway, 0x0000000f 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpGwClient, 0x00000021 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpGwClientCommDrvShm, 0x0000006f 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpGwClientCommDrvTcp, 0x00000022 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpGwCommDrvShm, 0x0000006e 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpGwCommDrvTcp, 0x00000010 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpNameServiceClient, 0x00000015 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpOpenSSL, 0x00000033 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpPLCHandler, 0x0000002a 3.5.15.20
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpRouter, 0x00000018 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpSecureChannel, 0x00000090 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpSecurityManager, 0x0000008e 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpSrv, 0x0000001c 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpWebSocketClient, 0x00000094 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, CmpXMLParser, 0x00000058 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, Dynamic: CmpBlkDrvCanClient, 0x00000027 3.5.15.10
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, Dynamic: CmpCAASdoClient, 0x00004011 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, Dynamic: CmpCAACanL2, 0x00004004 3.5.15.0
2019-10-23T06:11:41Z, 0x00000001, 1, 0, 10, Dynamic: CmpSocketCanDrv, 0x00005f0d 3.5.15.0
2019-10-23T06:11:41Z, 0x00000104, 1, 0, 2, PlcLogicPrefix=-1: Be aware backup/restore feature cannot be used
2019-10-23T06:11:41Z, 0x00000007, 1, 0, 6, Network interface: 127.0.0.1, subnetmask 255.255.255.0
2019-10-23T06:11:41Z, 0x00000018, 1, 0, 4, Network interface ether local at router 0 registered
2019-10-23T06:11:41Z, 0x00000009, 1, 0, 2, Running as network server
2019-10-23T06:11:41Z, 0x00000009, 1, 0, 1, Running as network client
2019-10-23T06:11:41Z, 0x0000000a, 1, 0, 0, 4 channels available, each of the size 100000 Bytes
2019-10-23T06:13:22Z, 0x00000030, 1, 0, 6, Local network address: 10.0.0.176
2019-10-23T06:13:22Z, 0x00000018, 1, 0, 4, Network interface BlkDrvTcp at router 1 registered
2019-10-23T06:13:22Z, 0x0000006e, 1, 0, 0, Listening for connections on SharedMemory: GWDrvSharedMemShm
2019-10-23T06:13:22Z, 0x00000018, 1, 0, 4, Network interface BlkDrvCanClient at router 2 registered
2019-10-23T06:13:22Z, 0x00000018, 1, 0, 1, Setting router 0 address to
(0301)
2019-10-23T06:13:22Z, 0x00000018, 1, 0, 1, Setting router 1 address to (2ddf:0a00:00b0)
2019-10-23T06:13:22Z, 0x00000018, 1, 0, 1, Setting router 2 address to (0001)
2019-10-23T06:13:22Z, 0x00000010, 1, 0, 0, GWCommDrvTCP: gateway reachable at 0.0.0.0:1217
2019-10-23T06:13:22Z, 0x00000027, 1, 1, 4, BlockDriverCanClient Instance 0: Could not open CAN interface on NetID 0!
2019-10-23T06:13:22Z, 0x00000001, 1, 0, 34, CODESYS Control ready
2019-10-23T06:13:27Z, 0x00000018, 1, 0, 5, Network interface ether local unregistered
2019-10-23T06:13:27Z, 0x00000007, 1, 0, 6, Network interface: 10.0.0.176, subnetmask 255.255.255.0
2019-10-23T06:13:27Z, 0x00000018, 1, 0, 4, Network interface ether 1 at router 3 registered
2019-10-23T06:13:27Z, 0x00000018, 1, 0, 1, Setting router 3 address to (03b0)
2019-10-23T06:13:27Z, 0x00000007, 1, 0, 6, Network interface: 192.168.10.1, subnetmask 255.255.255.0
2019-10-23T06:13:27Z, 0x00000018, 1, 0, 4, Network interface ether 3 at router 4 registered
2019-10-23T06:13:27Z, 0x00000018, 1, 0, 1, Setting router 4 address to (0301)
root@arm:/home/debian# cat /tmp/codesysedge_debug.log
Linux version 4.14.67-1.0.7+ (owzafs@PCOWZAFS) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02)) #52 SMP PREEMPT Wed May 29 09:50:48 CEST 2019
root@arm:/home/debian#