-
Завис ПЛК
Завис ПЛК 110-60 ms4, не заливается программа, нет связи. Можно ли сбросить до заводских или переустановить систему? Как сбросить до заводских?
Логи:
463.174224] m25p80 spi1.2: spi transfer timeout
[ 463.184088] m25p80 spi1.2: error -110 reading SR
[ 466.198030] m25p80 spi1.2: spi transfer timeout
-
U-Boot SPL 2014.01 (Sep 20 2018 - 10:10:05)
U-Boot 2014.01 (Sep 20 2018 - 10:10:05) (OWEN-20180920-5543)
I2C: ready
DRAM: 128 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
ARM Clock : 400000000 Hz
DDR Clock : 150000000 Hz
Net: DaVinci-EMAC
owen: auth success
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0xa0000, size 0x240000
2359296 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-3.4.15-rt25
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2303776 Bytes = 2.2 MiB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 3.117344] mcp251x spi1.0: MCP251x didn't enter in conf mode after reset
[ 3.124723] mcp251x spi1.0: probe failed
[ 3.183588] pruss_uio pruss_uio: platform_get_irq_failed: -6
system release is 'OWEN-20181015-5562'
Mounting /dev...OK
Making device nodes...OK
Doing /etc/magic... restore is OK
ldconfig: /lib/libstdc++.so.6.0.19-gdb.py is not an ELF file - it has the wrong magic bytes at the start.
plc type: PLC110-60K
loading system clock from stm32...ok
setting up /root/storage.vol as loop device...done
checking device /dev/loop0...ok
repairing /root/storage.vol if needed...done
usb_mstor: starting gadget...done
Setting up lo interface
Setting up hostname 'plc110'
set eth0 mac address to e4:1e:0a:03:c0:c6 (factory)
Setting up eth0 interafce
Setting static IP address 10.0.6.11 on eth0
Setting up usb0 interafce
Setting static IP address 192.168.0.10 on usb0
fw: creating chains
fw: adding default rules
fw: creating drop rules
Adding default gw 10.0.1.1
No need to update DNS
Starting dropbear sshd: OK
/root/retain/rmsync.cfg: correct
/dev/ttyS0: set as master
sh: write error: Device or resource busy
failed to export gpio9
[rmsync]: using config file:'/root/retain/rmsync.cfg'
[rmsync]: rs=131072, ra=0xc0515000, rf='/dev/mtd6', i=1, sc=0
[rmsync]: Notice: use default scan chunk == whole size = 131072
Starting MasterPLC...[rmsync]: LPVD FIQ is not supported by the system
OK
-
Дальше -
plc110 login: [ 39.990782] m25p80 spi1.2: spi transfer timeout
[ 39.999052] m25p80 spi1.2: error -110 reading SR
[ 46.002644] m25p80 spi1.2: spi transfer timeout
[ 46.967888] m25p80 spi1.2: error -110 reading SR
[ 49.971990] m25p80 spi1.2: spi transfer timeout
[ 49.984522] m25p80 spi1.2: error -110 reading SR
[ 54.982852] m25p80 spi1.2: spi transfer timeout
[ 54.990751] m25p80 spi1.2: error -110 reading SR
[ 64.986783] m25p80 spi1.2: spi transfer timeout
[ 64.995809] m25p80 spi1.2: error -110 reading SR