Показано с 1 по 2 из 2

Тема: Не сохраняется RETAIN при перезагрузке

  1. #1

    По умолчанию Не сохраняется RETAIN при перезагрузке

    Добрый день,

    привезли с объекта СПК207. Мне кажется, что это модификация M04 - (СПК2ххSOM02 30.10.15, v3.954).
    На корпусе отметок о модификации никаких нет.

    Проверил на простейшем примере функционал. Действительно не сохраняет состояние переменных.
    Насколько я понимаю, в этой модификации retain храниться в SRAM, питаемый от батарейки CR2032. Поменял батарейку на новую - не помогло.

    Подключился к отладочной консоли Debug. Ниже приведён полный лог:

    Код:
    $ picocom -b 115200 /dev/ttyUSB2
    picocom v3.1
    
    port is        : /dev/ttyUSB2
    flowcontrol    : none
    baudrate is    : 115200
    parity is      : none
    databits are   : 8
    stopbits are   : 1
    escape is      : C-a
    local echo is  : no
    noinit is      : no
    noreset is     : no
    hangup is      : no
    nolock is      : no
    send_cmd is    : sz -vv
    receive_cmd is : rz -vv -E
    imap is        : 
    omap is        : 
    emap is        : crcrlf,delbs,
    logfile is     : none
    initstring     : none
    exit_after is  : not set
    exit is        : no
    
    Type [C-a] [C-h] to see available commands
    Terminal ready
    
    Password: 
    
    
    
    
    Login incorrect
    spk207.03 login: root
    Password: 
    
    [   22.698383] tsc_step_reconfig
    [   32.698386] tsc_step_reconfig
    [   42.698384] tsc_step_reconfig
    [   52.698383] tsc_step_reconfig
    [   62.698385] tsc_step_reconfig
    [   72.698386] tsc_step_reconfig
    [   82.698386] tsc_step_reconfig
    [   92.698386] tsc_step_reconfig
    [  102.698384] tsc_step_reconfig
    [  112.698385] tsc_step_reconfig
    [  122.698387] tsc_step_reconfig
    [  132.698386] tsc_step_reconfig
    [  142.698395] tsc_step_reconfig
    [  152.698384] tsc_step_reconfig
    [  162.698387] tsc_step_reconfig
    [  172.698389] tsc_step_reconfig
    [  182.698384] tsc_step_reconfig
    [  192.698384] tsc_step_reconfig
    [  202.698386] tsc_step_reconfig
    [  212.698388] tsc_step_reconfig
    [  222.698400] tsc_step_reconfig
    [  232.698388] tsc_step_reconfig
    [  242.698383] tsc_step_reconfig
    [  252.698380] tsc_step_reconfig
    [  262.698381] tsc_step_reconfig
    [  272.698388] tsc_step_reconfig
    [  282.698387] tsc_step_reconfig
    [  292.698385] tsc_step_reconfig
    [  302.698383] tsc_step_reconfig
    [  312.698393] tsc_step_reconfig
    [  322.698387] tsc_step_reconfig
    [  332.698389] tsc_step_reconfiglogin[831]: root login on 'ttyS0'
    
    
    BusyBox v1.19.3 (2016-01-25 16:12:04 MSK) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    /mnt/ufs/root # QObject::moveToThread: Current thread (0x39ee88) is not the object's thread (0x417668).
    Cannot move to target thread (0x39ee88)
    
    QObject::moveToThread: Current thread (0x39ee88) is not the object's thread (0x417668).
    Cannot move to target thread (0x39ee88)
    
    QObject::moveToThread: Current thread (0x39ee88) is not the object's thread (0x417668).
    Cannot move to target thread (0x39ee88)
    
    QObject::moveToThread: Current thread (0x39ee88) is not the object's thread (0x417668).
    Cannot move to target thread (0x39ee88)
    
    QObject::moveToThread: Current thread (0x39ee88) is not the object's thread (0x417668).
    Cannot move to target thread (0x39ee88)
    
    QObject::moveToThread: Current thread (0x39ee88) is not the object's thread (0x417668).
    Cannot move to target thread (0x39ee88)
    
    QObject::moveToThread: Current thread (0x39ee88) is not the object's thread (0x417668).
    Cannot move to target thread (0x39ee88)
    
    QObject::moveToThread: Current thread (0x39ee88) is not the object's thread (0x417668).
    Cannot move to target thread (0x39ee88)
    
    
    /mnt/ufs/root # reboot
    /mnt/uf�fs_sync: preparing CoDeSys's configs for backup
    fs_sync: making configuration backup: OK
    fs_sync: cleaning up
    umount: aufs busy - remounted read-only
    umount: ubi1:ufs busy - remounted read-only
    umount: can't remount tmpfs read-only
    umount: can't remount none read-only
    umount: tmpfs busy - remounted read-only
    umount: devtmpfs busy - remounted read-only
    The system is going down NOW!
    Sent SIGTERM to all processes
    sh: can't create /sys/class/leds/ready/brightness: nonexistent directory
    Sent SIGKILL to
    Requesting system reboot
    
    U-Boot SPL 2014.01 (Jan 14 2016 - 11:00:32)
    
    
    U-Boot 2014.01 (Mar 29 2016 - 09:56:33) (OWEN-20160329-3954)
    
    I2C:   ready
    DRAM:  128 MiB
    NAND:  128 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Net:   cpsw, usb_ether
    Hit any key to stop autoboot:  0 
    
    NAND read: device 0 offset 0x280000, size 0x320000
     3276800 bytes read: OK
    ## Booting kernel from Legacy Image at 80202000 ...
       Image Name:   Linux-3.2.0-rt10
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3202440 Bytes = 3.1 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    
    Starting kernel ...
    
    [    0.000000] Linux version 3.2.0-rt10 (oleg@buildsystem) (gcc version 4.3.2 (GCC) ) #1 PREEMPT RT Tue Mar 29 09:58:03 MSK 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: owen_am335x
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] really allocated: s=4096, a=c0813000
    [    0.000000] Retain memory: size=4096, address=0x80813000
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: mtdparts=omap2-nand.0:0x80000(SPL),0x1a0000(u-boot),0x40000(logo),0x20000(u-boot-env),0x500000(kernel),0x5880000(rootfs),0x2000000(userfs) console=ttyS0,115200n8 root=ubi0:rfs rootfstype=ubifs ro ubi.mtd=5 ubi.mtd=6 consoleblank=0 eth=6A:77:00:82:19:46 display=AT070TN83  logo.owen=Owen
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 128MB = 128MB total
    [    0.000000] Memory: 122660k/122660k available, 8412k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc053e000   (5336 kB)
    [    0.000000]       .init : 0xc053e000 - 0xc0692000   (1360 kB)
    [    0.000000]       .data : 0xc0692000 - 0xc06ee488   ( 370 kB)
    [    0.000000]        .bss : 0xc06ee4ac - 0xc0711e64   ( 143 kB)
    [    0.000000] NR_IRQS:444
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER2 at 25000000 Hz
    [    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
    [    0.000000] OMAP clocksource: GPTIMER1 at 25000000 Hz
    [    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000377] Calibrating delay loop... 548.86 BogoMIPS (lpj=2744320)
    [    0.046534] pid_max: default: 32768 minimum: 301
    [    0.046735] Security Framework initialized
    [    0.046872] Mount-cache hash table entries: 512
    [    0.047463] CPU: Testing write buffer coherency: ok
    [    0.048831] devtmpfs: initialized
    [    0.070826] omap_hwmod: pruss: failed to hardreset
    [    0.072522] print_constraints: dummy: 
    [    0.073113] NET: Registered protocol family 16
    [    0.076931] OMAP GPIO hardware version 0.1
    [    0.081633] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.082972] Detect AT070TN83 display
    [    0.084310]  omap_hsmmc.0: alias fck already exists
    [    0.087639]  omap_i2c.1: alias fck already exists
    [    0.088136]  davinci-mcasp.0: alias fck already exists
    [    0.089372] _regulator_get: l3_main.0 supply vdd_core not found, using dummy regulator
    [    0.089495] am335x_opp_update: physical regulator not present for core(-22)
    [    0.089929] registered am33xx_sr device
    [    0.090459]  d_can.0: alias fck already exists
    [    0.090844] _omap_mux_init_gpio: Could not set gpio48
    [    0.090862] _omap_mux_init_gpio: Could not set gpio49
    [    0.090878] _omap_mux_init_gpio: Could not set gpio50
    [    0.090893] _omap_mux_init_gpio: Could not set gpio51
    [    0.090908] _omap_mux_init_gpio: Could not set gpio52
    [    0.090923] _omap_mux_init_gpio: Could not set gpio53
    [    0.090937] _omap_mux_init_gpio: Could not set gpio54
    [    0.090952] _omap_mux_init_gpio: Could not set gpio55
    [    0.090967] _omap_mux_init_gpio: Could not set gpio56
    [    0.090982] _omap_mux_init_gpio: Could not set gpio57
    [    0.091346] _omap_mux_init_gpio: Could not set gpio19
    [    0.091365] _omap_mux_init_gpio: Could not set gpio65
    [    0.092043]  da8xx_lcdc.0: alias fck already exists
    [    0.092902]  omap2_mcspi.1: alias fck already exists
    [    0.093314]  omap2_mcspi.2: alias fck already exists
    [    0.093779]  edma.0: alias fck already exists
    [    0.093808]  edma.0: alias fck already exists
    [    0.093833]  edma.0: alias fck already exists
    [    0.129083] bio: create slab <bio-0> at 0
    [    0.133553] SCSI subsystem initialized
    [    0.142807] usbcore: registered new interface driver usbfs
    [    0.143323] usbcore: registered new interface driver hub
    [    0.143672] usbcore: registered new device driver usb
    [    0.144209] registerd cppi-dma Intr @ IRQ 17
    [    0.144229] Cppi41 Init Done Qmgr-base(c887a000) dma-base(c8878000)
    [    0.144244] Cppi41 Init Done
    [    0.144280] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.144732] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.147668] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.150058] tps65910 1-002d: JTAGREVNUM 0x1
    [    0.152806] print_constraints: VRTC: 
    [    0.154490] print_constraints: VIO: at 1800 mV 
    [    0.157342] print_constraints: VDD1: at 1100 mV 
    [    0.159971] print_constraints: VDD2: at 1100 mV 
    [    0.161176] print_constraints: VDD3: 5000 mV 
    [    0.162822] print_constraints: VDIG1: at 1800 mV 
    [    0.164459] print_constraints: VDIG2: at 1800 mV 
    [    0.166139] print_constraints: VPLL: at 1800 mV 
    [    0.168007] print_constraints: VDAC: at 1800 mV 
    [    0.169687] print_constraints: VAUX1: at 1800 mV 
    [    0.171363] print_constraints: VAUX2: at 3300 mV 
    [    0.173031] print_constraints: VAUX33: at 3300 mV 
    [    0.174676] print_constraints: VMMC: at 3300 mV 
    [    0.174798] 
    ------Setting DCDCCtrl=0---------
    ------Setting VDD1=1.1v-----------
    ------Setting VDD2=1.1v------------
    [    0.176693] 
    ------Setting DCDCCtrl=0---------
    ------Setting VDD1=1.1v-----------
    ------Setting VDD2=1.1v------------
    [    0.179662] 
    ------Setting DCDCCtrl=0---------
    ------Setting VDD1=1.1v-----------
    ------Setting VDD2=1.1v------------
    [    0.182623] 
    [    0.184511] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.186766] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.188042] Switching to clocksource gp timer
    [    0.222350] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.222554] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [    0.223043] MUSB0 controller's USBSS revision = 4ea20800
    [    0.223086] musb0: Enabled SW babble control
    [    0.224543] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using DMA, IRQ 18
    [    0.224823] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    [    0.225278] MUSB1 controller's USBSS revision = 4ea20800
    [    0.225315] musb1: Enabled SW babble control
    [    0.226026] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.226077] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.226272] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.226293] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.226313] usb usb1: Product: MUSB HDRC host driver
    [    0.226328] usb usb1: Manufacturer: Linux 3.2.0-rt10 musb-hcd
    [    0.226344] usb usb1: SerialNumber: musb-hdrc.1
    [    0.227787] hub 1-0:1.0: USB hub found
    [    0.227832] hub 1-0:1.0: 1 port detected
    [    0.229368] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using DMA, IRQ 19
    [    0.230050] NET: Registered protocol family 2
    [    0.230346] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.230820] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.230973] TCP bind hash table entries: 4096 (order: 4, 98304 bytes)
    [    0.231235] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.231253] TCP reno registered
    [    0.231271] UDP hash table entries: 64 (order: 0, 4096 bytes)
    [    0.231335] UDP-Lite hash table entries: 64 (order: 0, 4096 bytes)
    [    0.231714] NET: Registered protocol family 1
    [    0.232103] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.232376] omap-gpmc omap-gpmc: GPMC revision 6.0
    [    0.232402] Registering NAND on CS0
    [    0.242617] VFS: Disk quotas dquot_6.5.2
    [    0.242692] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.243419] NTFS driver 2.1.30 [Flags: R/W].
    [    0.243803] aufs 3.2-20130923
    [    0.243839] msgmni has been set to 239
    [    0.245191] io scheduler noop registered
    [    0.245209] io scheduler deadline registered
    [    0.245307] io scheduler cfq registered (default)
    [    0.247234] da8xx_lcdc da8xx_lcdc.0: GLCD: Found AT070TN83 panel
    [    0.262310] Console: switching to colour frame buffer device 100x30
    [    0.273501] omap_uart.0: ttyS0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    1.115065] console [ttyS0] enabled
    [    1.116923] omap_uart.2: ttyS2 at MMIO 0x48022000 (irq = 73) is a OMAP UART2
    [    1.118656] omap_uart.3: ttyS3 at MMIO 0x48024000 (irq = 74) is a OMAP UART3
    [    1.121421] omap_uart.1: ttyS1 at MMIO 0x481a6000 (irq = 44) is a OMAP UART1
    [    1.122286] omap_uart.4: ttyS4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    1.123163] omap_uart.5: ttyS5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    1.141838] brd: module loaded
    [    1.151283] loop: module loaded
    [    1.155764] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.156498] omap2-nand driver initializing
    [    1.156964] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit)
    [    1.157040] 7 cmdlinepart partitions found on MTD device omap2-nand.0
    [    1.157058] Creating 7 MTD partitions on "omap2-nand.0":
    [    1.157091] 0x000000000000-0x000000080000 : "SPL"
    [    1.160395] 0x000000080000-0x000000220000 : "u-boot"
    [    1.163481] 0x000000220000-0x000000260000 : "logo"
    [    1.165923] 0x000000260000-0x000000280000 : "u-boot-env"
    [    1.168610] 0x000000280000-0x000000780000 : "kernel"
    [    1.173094] 0x000000780000-0x000006000000 : "rootfs"
    [    1.213536] 0x000006000000-0x000008000000 : "userfs"
    [    1.229929] OneNAND driver initializing
    [    1.231139] UBI: attaching mtd5 to ubi0
    [    1.231163] UBI: physical eraseblock size:   131072 bytes (128 KiB)
    [    1.231178] UBI: logical eraseblock size:    126976 bytes
    [    1.231192] UBI: smallest flash I/O unit:    2048
    [    1.231206] UBI: VID header offset:          2048 (aligned 2048)
    [    1.231220] UBI: data offset:                4096
    [    1.548132] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    1.695777] usb 1-1: New USB device found, idVendor=058f, idProduct=6387
    [    1.695800] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    1.695820] usb 1-1: Product: Mass Storage
    [    1.695833] usb 1-1: Manufacturer: Generic
    [    1.695847] usb 1-1: SerialNumber: 8181D317
    [    2.186321] UBI: max. sequence number:       563
    [    2.201822] UBI: attached mtd5 to ubi0
    [    2.201838] UBI: MTD device name:            "rootfs"
    [    2.201852] UBI: MTD device size:            88 MiB
    [    2.201865] UBI: number of good PEBs:        708
    [    2.201877] UBI: number of bad PEBs:         0
    [    2.201888] UBI: number of corrupted PEBs:   0
    [    2.201900] UBI: max. allowed volumes:       128
    [    2.201912] UBI: wear-leveling threshold:    4096
    [    2.201924] UBI: number of internal volumes: 1
    [    2.201936] UBI: number of user volumes:     1
    [    2.201947] UBI: available PEBs:             0
    [    2.201958] UBI: total number of reserved PEBs: 708
    [    2.201971] UBI: number of PEBs reserved for bad PEB handling: 7
    [    2.201986] UBI: max/mean erase counter: 4/1
    [    2.201997] UBI: image sequence number:  0
    [    2.202045] UBI: attaching mtd6 to ubi1
    [    2.202064] UBI: physical eraseblock size:   131072 bytes (128 KiB)
    [    2.202079] UBI: logical eraseblock size:    126976 bytes
    [    2.202092] UBI: smallest flash I/O unit:    2048
    [    2.202106] UBI: VID header offset:          2048 (aligned 2048)
    [    2.202120] UBI: data offset:                4096
    [    2.208191] UBI: background thread "ubi_bgt0d" started, PID 514
    [    2.594084] UBI: max. sequence number:       196
    [    2.608722] UBI: attached mtd6 to ubi1
    [    2.608739] UBI: MTD device name:            "userfs"
    [    2.608753] UBI: MTD device size:            32 MiB
    [    2.608766] UBI: number of good PEBs:        256
    [    2.608777] UBI: number of bad PEBs:         0
    [    2.608788] UBI: number of corrupted PEBs:   0
    [    2.608800] UBI: max. allowed volumes:       128
    [    2.608812] UBI: wear-leveling threshold:    4096
    [    2.608824] UBI: number of internal volumes: 1
    [    2.608835] UBI: number of user volumes:     1
    [    2.608846] UBI: available PEBs:             0
    [    2.608858] UBI: total number of reserved PEBs: 256
    [    2.608870] UBI: number of PEBs reserved for bad PEB handling: 2
    [    2.608885] UBI: max/mean erase counter: 4/1
    [    2.608896] UBI: image sequence number:  0
    [    2.609076] UBI: background thread "ubi_bgt1d" started, PID 517
    [    2.610310] CAN device driver interface
    [    2.610326] CAN bus driver for Bosch D_CAN controller 1.0
    [    2.611554] d_can d_can.0: device registered (irq=52, irq_obj=53)
    [    2.658116] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    2.658138] davinci_mdio davinci_mdio.0: detected phy mask ffff7fff
    [    2.668701] davinci_mdio.0: probed
    [    2.668723] davinci_mdio davinci_mdio.0: phy[15]: device 0:0f, driver unknown
    [    2.669350] usbcore: registered new interface driver cdc_ether
    [    2.678265] usbcore: registered new interface driver cdc_eem
    [    2.678575] usbcore: registered new interface driver dm9601
    [    2.678652] cdc_ncm: 04-Aug-2011
    [    2.678942] usbcore: registered new interface driver cdc_ncm
    [    2.678961] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    2.679309] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    2.679942] usbcore: registered new interface driver cdc_acm
    [    2.679959] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    2.679976] Initializing USB Mass Storage driver...
    [    2.688247] scsi0 : usb-storage 1-1:1.0
    [    2.697495] usbcore: registered new interface driver usb-storage
    [    2.697513] USB Mass Storage support registered.
    [    2.708673] mousedev: PS/2 mouse device common for all mice
    [    2.709590] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
    [    2.718370] rtc-ds1307 1-006f: rtc core: registered mcp7941x as rtc0
    [    2.741342] tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc1
    [    2.741626] i2c /dev entries driver
    [    2.755941] lm75 1-0048: hwmon0: sensor 'tmp75'
    [    2.768247] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.768678] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
    [    2.769435] cpuidle: using governor ladder
    [    2.778524] cpuidle: using governor menu
    [    2.843640] usbcore: registered new interface driver usbhid
    [    2.843657] usbhid: USB HID core driver
    [    2.844920] tiadc tiadc: attached adc driver
    [    2.858353] usbcore: registered new interface driver snd-usb-audio
    [    2.869058] _regulator_get: 1-0018 supply IOVDD not found, using dummy regulator
    [    2.869184] _regulator_get: 1-0018 supply DVDD not found, using dummy regulator
    [    2.869269] _regulator_get: 1-0018 supply AVDD not found, using dummy regulator
    [    2.869368] _regulator_get: 1-0018 supply DRVDD not found, using dummy regulator
    [    2.873756] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    [    2.887687] ALSA device list:
    [    2.887704]   #0: AM335X SOM02
    [    2.887798] TCP cubic registered
    [    2.887815] NET: Registered protocol family 17
    [    2.887869] can: controller area network core (rev 20090105 abi 8)
    [    2.888245] NET: Registered protocol family 29
    [    2.888298] can: raw protocol (rev 20090105)
    [    2.888315] can: broadcast manager protocol (rev 20090105 t)
    [    2.888344] Registering the dns_resolver key type
    [    2.888465] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    2.888500] ThumbEE CPU extension supported.
    [    2.888583] mux: Failed to setup hwmod io irq -22
    [    2.890095] Power Management for AM33XX family
    [    2.890637] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    2.890777] Copied the M3 firmware to UMEM
    [    2.891373] Cortex M3 Firmware Version = 0x18
    [    2.891458] _regulator_get: deviceless supply vdd_core not found, using dummy regulator
    [    2.891569] smartreflex smartreflex: am33xx_sr_probe: cannot determine opp
    [    2.891613] smartreflex: probe of smartreflex failed with error -22
    [    2.892283] sr_init: platform driver register failed
    [    2.907851] clock: disabling unused clocks to save power
    [    2.919454] Detected MACID=6a:77:0:82:19:46
    [    2.958272] input: gpio-keys as /devices/platform/gpio-keys/input/input1
    [    2.960346] rtc-ds1307 1-006f: setting system clock to 2001-01-01 00:28:52 UTC (978308932)
    [    3.267318] UBIFS: mounted UBI device 0, volume 0, name "rfs"
    [    3.267339] UBIFS: mounted read-only
    [    3.267356] UBIFS: file system size:   83042304 bytes (81096 KiB, 79 MiB, 654 LEBs)
    [    3.267416] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
    [    3.267435] UBIFS: media format:       w4/r0 (latest is w4/r0)
    [    3.267451] UBIFS: default compressor: lzo
    [    3.267463] UBIFS: reserved for root:  0 bytes (0 KiB)
    [    3.270874] VFS: Mounted root (ubifs filesystem) readonly on device 0:13.
    [    3.273622] devtmpfs: mounted
    [    3.276663] Freeing init memory: 1360K
    head: /etc/RELEASE: No such file or directory
    system release is ''
    Mounting /dev...OK
    Making device nodes...[    3.693530] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
    [    3.710504] sd 0:0:0:0: [sda] 7866368 512-byte logical blocks: (4.02 GB/3.75 GiB)
    [    3.711451] sd 0:0:0:0: [sda] Write Protect is off
    [    3.712421] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [    3.723549]  sda: sda1
    [    3.738648] sd 0:0:0:0: [sda] Attached SCSI removable disk
    OK
    Doing /etc/magic... restore is [    4.616525] UBIFS: mounted UBI device 1, volume 0, name "ufs"
    [    4.616553] UBIFS: file system size:   30347264 bytes (29636 KiB, 28 MiB, 239 LEBs)
    OK
    [    4.616574] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
    [    4.616593] UBIFS: media format:       w4/r0 (latest is w4/r0)
    [    4.616608] UBIFS: default compressor: lzo
    [    4.616621] UBIFS: reserved for root:  0 bytes (0 KiB)
    [    4.684172] aufs test_add:294:mount[682]: uid/gid/perm /mnt/etcro 0/0/0775, 0/0/01777
    mount: mounting /dev/sda on /mnt/ufs/media/sda failed: Invalid argument
    Setting up lo interface
    [    6.907427] PPP generic driver version 2.4.2
    [    6.941241] PPP Deflate Compression module registered
    Setting up hostname 'spk207.03'
    Setting up eth0 interafce
    Setting static IP address 10.0.6.10 on eth0
    fw: creating chains
    [    7.170766] net eth0: CPSW phy found : id is : 0x20005c90
    [    7.171532] PHY 0:01 not found
    [    7.172046] Set coalesce to 1120 usecs.
    [    7.558861] ip_tables: (C) 2000-2006 Netfilter Core Team
    fw: adding default rules
    [    7.740861] nf_conntrack version 0.5.0 (1937 buckets, 7748 max)
    fw: creating drop rules
    Adding default gw 10.0.1.1
    No need to update DNS
    Starting dropbear sshd: OK
    Loading ALSA mixer settings... OK
    [    9.168896] PHY: 0:0f - Link is Up - 10/Half
    [    9.261209] Disabling lock debugging due to kernel taint
    Loaded PowerVR consumer services.
    modprobe: module at25 not found in modules.dep
    rc.local: Checking configs...
    rc.local:  is OK
    rc.local:  is OK
    /root/retain/rmsync.cfg: correct
    testing /mnt/ufs/root/CoDeSysSP/CoDeSysSP.cfg: correct
    testing /mnt/ufs/root/CoDeSysSP_wrk/CoDeSysSP.cfg: correct
    Simple mixer control 'PCM',0
      Capabilities: pvolume penum
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 127
      Mono:
      Front Left: Playback 120 [94%] [-3.50dB]
      Front Right: Playback 120 [94%] [-3.50dB]
    md5sum: can't open '/sys/devices/platform/omap/omap2_mcspi.1/spi1.8/eeprom': No such file or directory
    [rmsync]: using config file:'/root/retain/rmsync.cfg'
    [rmsync]: rs=4096, ra=0x80813000, rf='/sys/devices/platform/omap/omap2_mcspi.1/spi1.8/eeprom', i=1, sc=0
    [rmsync]: Notice: use default scan chunk == whole size = 4096
    [rmsync]: Error(retain_memory_init): failed to open retain memory interface:'/sys/devices/platform/omap/omap2_mcspi.1/spi1.8/eeprom'
    
    machine: armv7l
    timer resolution: 1nsec
    Linux version 3.2.0-rt10 (oleg@buildsystem) (gcc version 4.3.2 (GCC) ) #1 PREEMPT RT Tue Mar 29 09:58:03 MSK 2016
    
    [   12.708120] tsc_step_reconfigQT commandline (change with QWS_COMMANDLINE_PARAM environment variable):
    argv[0] = codesyscontrol 
    argv[1] = -qws 
    /etc/rc.sysinit: /etc/rc.local: line 137: can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed: nonexistent directory
    
    spk207.03 login: [ AT91SAM926xKbdDriverPlugin:create ]
    [ Loading AT91SAM926xKbdHandler ]
    =======================================================================
    978308941: Cmp=CM, Class=1, Error=0, Info=4, pszInfo= CODESYS Control V3
    978308941: Cmp=CM, Class=1, Error=0, Info=5, pszInfo= Copyright (c) 3S - Smart Software Solutions GmbH
    978308941: Cmp=CM, Class=1, Error=0, Info=6, pszInfo= <version>3.5.4.40</version> <builddate>Jul 22 2014</builddate>
    cursor mod =1073808864
    Object::connect: No such slot WindowWidget::editReturnPressed()
    =======================================================================
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>CM</cmp> init, <id>0x00000001</id> <ver>3.5.4.40</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>CmpMemPool</cmp> init, <id>0x0000001e</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>CmpLog</cmp> init, <id>0x00000013</id> <ver>3.5.4.10</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>CmpSettings</cmp> init, <id>0x0000001a</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysFile</cmp> init, <id>0x00000104</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysCpuHandling</cmp> init, <id>0x00000101</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysOut</cmp> init, <id>0x0000010b</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysModule</cmp> init, <id>0x00000109</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysCom</cmp> init, <id>0x00000100</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysDir</cmp> init, <id>0x0000011b</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysEvent</cmp> init, <id>0x00000102</id> <ver>3.5.4.0</ver>
    QPainter::setRenderHint: Painter must be active to set rendering hints
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysExcept</cmp> init, <id>0x00000103</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysInternalLib</cmp> init, <id>0x00000107</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysMem</cmp> init, <id>0x00000108</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysSem</cmp> init, <id>0x0000010f</id> <ver>3.5.4.0</ver>
    QPainter::setRenderHint: Painter must be active to set rendering hints
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysSocket</cmp> init, <id>0x00000111</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysTarget</cmp> init, <id>0x00000112</id> <ver>3.5.4.40</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysTask</cmp> init, <id>0x00000114</id> <ver>3.5.4.10</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysTime</cmp> init, <id>0x00000115</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysTimeRtc</cmp> init, <id>0x00000127</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysTimer</cmp> init, <id>0x00000116</id> <ver>3.5.4.30</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysFileStream</cmp> init, <id>0x00000120</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysShm</cmp> init, <id>0x00000110</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysMsgQ</cmp> init, <id>0x0000010a</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysSemProcess</cmp> init, <id>0x00000119</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysProcess</cmp> init, <id>0x0000010e</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysGraphic</cmp> init, <id>0x00000105</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysWindow</cmp> init, <id>0x00000117</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysWindowFileDialog</cmp> init, <id>0x0000011a</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System: <cmp>SysNativeControl</cmp> init, <id>0x0000012f</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= System|Dynamic: <cmp>SysTargetOEM</cmp> init, <id>0x00012345</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpApp</cmp> init, <id>0x00000002</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpAppBP</cmp> init, <id>0x00000073</id> <ver>3.5.4.10</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpAppForce</cmp> init, <id>0x00000074</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpAsyncMgr</cmp> init, <id>0x0000005f</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpChecksum</cmp> init, <id>0x0000000b</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpDevice</cmp> init, <id>0x0000000e</id> <ver>3.5.4.10</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpEventMgr</cmp> init, <id>0x0000005b</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpFileTransfer</cmp> init, <id>0x0000005e</id> <ver>3.5.4.10</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpIecStringUtils</cmp> init, <id>0x0000007f</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpIecTask</cmp> init, <id>0x00000011</id> <ver>3.5.4.10</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpMonitor</cmp> init, <id>0x00000014</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpMonitor2</cmp> init, <id>0x00000032</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpIoDrvC</cmp> init, <id>0x00000066</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpIoDrvIec</cmp> init, <id>0x0000005a</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpIoMgr</cmp> init, <id>0x00000012</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpRetain</cmp> init, <id>0x00000017</id> <ver>3.5.4.10</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpRouter</cmp> init, <id>0x00000018</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpSchedule</cmp> init, <id>0x00000019</id> <ver>3.5.4.30</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpSrv</cmp> init, <id>0x0000001c</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpBitmapPool</cmp> init, <id>0x00000050</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpDynamicText</cmp> init, <id>0x00000051</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpVisuHandler</cmp> init, <id>0x00000054</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpVisuServer</cmp> init, <id>0x00000057</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpGateway</cmp> init, <id>0x0000000f</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpGwCommDrvTcp</cmp> init, <id>0x00000010</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpBlkDrvTcp</cmp> init, <id>0x00000030</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpBlkDrvUdp</cmp> init, <id>0x00000007</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpBinTagUtil</cmp> init, <id>0x00000004</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpChannelMgr</cmp> init, <id>0x00000009</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpChannelServer</cmp> init, <id>0x0000000a</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpNameServiceServer</cmp> init, <id>0x00000016</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCommunicationLib</cmp> init, <id>0x0000000c</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpIecVarAccess</cmp> init, <id>0x00000060</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpPlcShell</cmp> init, <id>0x00000128</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpTraceMgr</cmp> init, <id>0x00000070</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpNameServiceClient</cmp> init, <id>0x00000015</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpChannelClient</cmp> init, <id>0x00000008</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpChannelClientIec</cmp> init, <id>0x0000005d</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpNameServiceClientIec</cmp> init, <id>0x0000011d</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpBinTagUtilIec</cmp> init, <id>0x0000005c</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpBlkDrvCom</cmp> init, <id>0x00000006</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpTargetVisu</cmp> init, <id>0x00000052</id> <ver>3.5.4.20</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAASdoClient</cmp> init, <id>0x00004011</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAASdoServer</cmp> init, <id>0x00004017</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAACanL2</cmp> init, <id>0x00004004</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpSocketCanDrv</cmp> init, <id>0x00005f0d</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAAAsyncMan</cmp> init, <id>0x00004007</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAABehaviourModel</cmp> init, <id>0x00004015</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAACallback</cmp> init, <id>0x00004001</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAADTUtil</cmp> init, <id>0x00004013</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAAFile</cmp> init, <id>0x00004008</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAAMemBlockMan</cmp> init, <id>0x00004003</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAANetBaseServices</cmp> init, <id>0x00004018</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAARealTimeClock</cmp> init, <id>0x00004014</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAASegBufferMan</cmp> init, <id>0x00004019</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAASerialCom</cmp> init, <id>0x00004012</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAATick</cmp> init, <id>0x00004009</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAATickUtil</cmp> init, <id>0x00004010</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAATypes</cmp> init, <id>0x00004006</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpWebServer</cmp> init, <id>0x00000071</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpWebServerHandlerV3</cmp> init, <id>0x00000072</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCAAStorage</cmp> init, <id>0x0000007e</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpAlarmManager</cmp> init, <id>0x0000007c</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpUserDB</cmp> init, <id>0x00000064</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpUserMgr</cmp> init, <id>0x00000061</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= <cmp>CmpCryptMD5</cmp> init, <id>0x0000006a</id> <ver>3.5.4.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= Dynamic: <cmp>tumbler</cmp> init, <id>0x00002100</id> <ver>3.5.0.64</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= Dynamic: <cmp>CmpSysExec</cmp> init, <id>0x00002100</id> <ver>3.5.0.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= Dynamic: <cmp>CmpRSmode</cmp> init, <id>0x00002200</id> <ver>3.4.0.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= Dynamic: <cmp>CmpLicOemControl</cmp> init, <id>0x00002100</id> <ver>3.4.0.0</ver>
    978308941: Cmp=CM, Class=1, Error=0, Info=7, pszInfo= Dynamic: <cmp>PID_REG3_v32</cmp> init, <id>0x00002100</id> <ver>3.5.0.64</ver>
    978308946: Cmp=CmpBlkDrvUdp, Class=1, Error=0, Info=6, pszInfo= Network interface: <ipaddress>10.0.6.10</ipaddress>, subnetmask <subnetmask>255.255.0.0</subnetmask>
    978308946: Cmp=CmpRouter, Class=1, Error=0, Info=4, pszInfo= Network interface <interface>ether 0</interface> registered
    978308946: Cmp=CmpChannelMgr, Class=1, Error=0, Info=2, pszInfo= Running as network server
    978308946: Cmp=CmpChannelMgr, Class=1, Error=0, Info=1, pszInfo= Running as network client
    978308946: Cmp=CmpChannelServer, Class=1, Error=0, Info=0, pszInfo= <NumOfChannels>4</NumOfChannels> channels available, each of the size <BufferSize>100000</BufferSize> Bytes
    978308946: Cmp=CmpBlkDrvTcp, Class=1, Error=0, Info=6, pszInfo= Local network address: <ipaddress>10.0.6.10</ipaddress>
    978308946: Cmp=CmpRouter, Class=1, Error=0, Info=4, pszInfo= Network interface <interface>BlkDrvTcp</interface> registered
    978308946: Cmp=CmpRetain, Class=2, Error=0, Info=2, pszInfo=!!!! Retain size in config changed, or retain area got corrupted. Config=<size>0x1000</size>, Physical=<physsize>0x0</physsize>
    978308947: Cmp=CmpIoMgr, Class=4, Error=1, Info=1, pszInfo=**** Update configuration failed from driver <iodriver></iodriver>
    978308947: Cmp=CmpIoMgr, Class=4, Error=1, Info=1, pszInfo=**** Update configuration failed from driver <iodriver></iodriver>
    978308947: Cmp=CmpIoMgr, Class=4, Error=1, Info=1, pszInfo=**** Update configuration failed from driver <iodriver></iodriver>
    978308947: Cmp=CmpApp, Class=1, Error=0, Info=49, pszInfo= Retain data are initialized now of [<app>Application</app>]
    978308947: Cmp=CmpApp, Class=1, Error=0, Info=2, pszInfo= Application [<app>Application</app>] loaded via [Download]
    978308947: Cmp=CmpApp, Class=1, Error=0, Info=7, pszInfo= Retains matched to bootproject of application [<app>Application</app>]
    978308947: Cmp=CmpApp, Class=1, Error=0, Info=6, pszInfo= Bootproject of application [<app>Application</app>] loaded
    978308947: Cmp=CmpRouter, Class=1, Error=0, Info=1, pszInfo= Setting router <instance>0</instance> address to <address>(0000:060a)</address>
    978308947: Cmp=CmpRouter, Class=1, Error=0, Info=1, pszInfo= Setting router <instance>1</instance> address to <address>(2ddc:0a00:060a)</address>
    978308947: Cmp=CmpApp, Class=1, Error=0, Info=10, pszInfo= Application [<app>Application</app>] started
    978308947: Cmp=CM, Class=1, Error=0, Info=34, pszInfo= CODESYS Control ready
    978308947: Cmp=IECVisualization, Class=1, Error=0, Info=0, pszInfo= Visuinitialization starting.
    978308947: Cmp=IECVisualization, Class=1, Error=0, Info=0, pszInfo= Visuinitialization done.
    978308947: Cmp=IECVisualization, Class=1, Error=0, Info=0, pszInfo= Visu_PRG: Creating Client for Extern-ID: 16787
    978308947: Cmp=IECVisualization, Class=1, Error=0, Info=0, pszInfo= Visu_PRG: Creating Client successful for Extern-ID: 16787 Returned IEC-ID: 0
    978308948: Cmp=CmpTargetVisu, Class=2, Error=0, Info=0, pszInfo=!!!! Deriving touch support from operating system not supported. Touchhandling will not be active
    Прошу обратить внимание на следующие строки лога:
    Код:
    md5sum: can't open '/sys/devices/platform/omap/omap2_mcspi.1/spi1.8/eeprom': No such file or directory
    [rmsync]: using config file:'/root/retain/rmsync.cfg'
    [rmsync]: rs=4096, ra=0x80813000, rf='/sys/devices/platform/omap/omap2_mcspi.1/spi1.8/eeprom', i=1, sc=0
    [rmsync]: Notice: use default scan chunk == whole size = 4096
    [rmsync]: Error(retain_memory_init): failed to open retain memory interface:'/sys/devices/platform/omap/omap2_mcspi.1/spi1.8/eeprom'
    В сервис?

    Кстати, пробовал загружать последнюю прошивку 5.480. Перестала работать подключение по Ethernet, линк горит, но ни пинги, ни подключение не проходит, хотя настройки в конфигураторе выставлены по умолчанию. В итоге откатился обратно на 3.954. На ней всё работает.

  2. #2

    По умолчанию

    AndreyS, судя по вашему сообщению и части лога "0.000000] Machine: owen_am335x", а также документу SPK_System_Version_v1.10.pdf, у Вас СПК207 модификации М04. Retain хранится не в SRAM, а в MRAM (магниторезистивная random-access memory), энергонезависимая и батарейка ей не нужна. Микросхема - MR25H10CDF, из 128 KByte ОВЕН использует только 4.
    И ещё, при смене прошивки на 5.480, необходимо также обновить target до 3.5.4.26, Вы не написали о замене таргета, может поэтому Ethernet не работал?

    Суть обращения AndreyS в неисправности retain, и что примечательно, за целый год специалисты ОВЕН не откликнулись поправить даже такой откровенный ляп с SRAM retain в СПК207 (М04), что наводит на мысль о намеренном обходе сообщений о проблемах с retain.

    Дополню ссылкой на сообщение ещё от 2015 года о реализации retain в СПК:
    https://owen.ru/forum/showthread.php...l=1#post167895

    Дополню результатами работы СПК207 на прошивке 5.480 с проектами на старых target 3.5.4.20:
    Проект на target 3.5.4.20v24 загрузился, проработал на объекте 3 дня, Ethernet работал - подключался через CoDeSys через 3 дня для замены проекта на target 3.5.4.20v23.
    Проект на target 3.5.4.20v23 загрузился, проработал на объекте 2 дня, через 2 дня подключиться через CoDeSys не смог, Ethernet отказал в работе. По всей видимости получилась та же ситуация, что и у AndreyS. При сочетании прошивки 5.480 и target 3.5.4.20v23 Ethernet не подключается.
    Пришлось перепрошить СПК207 на прошивку 3.954 - подключение по Ethernet появилось.
    Последний раз редактировалось vniko; 16.10.2020 в 10:42.

Похожие темы

  1. Не сохраняется программа
    от Тугарин в разделе ПЛК1хх
    Ответов: 5
    Последнее сообщение: 12.11.2015, 19:24
  2. Ответов: 6
    Последнее сообщение: 26.03.2014, 16:47
  3. не сохраняется retain переменная
    от service в разделе ПЛК1хх
    Ответов: 12
    Последнее сообщение: 17.03.2014, 08:04
  4. Не сохраняется время в ПЛК304
    от nestor в разделе ПЛК3хх
    Ответов: 5
    Последнее сообщение: 17.05.2013, 12:10
  5. Var_global Retain Persistent не сохраняется
    от Voronok в разделе ПЛК1хх
    Ответов: 1
    Последнее сообщение: 04.12.2008, 14:21

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •