Добрый день.
Решил сделать обновление контроллера WB5.8 Причина долго не обновлялся и появились проблемы с модулями WBIO-DI-DR-16. Выполнил apt-get update && apt-get upgrade -y. В ходе обновления было предложено перезаписать fstab. Ответил нет. Контроллер немного подумал и сказал что необходимо выполнить dpkg --configure -a. Выполнил и повторил обновление. В итоге контроллер отписал что обновлено 0 пакетов удалено 0 пакетов ничего не сделано 12 пакетов. Перезагрузил контроллер, убедился что он загрузился и пошел спать. Но оказалось что он через минуту ушел в перезагрузку и так всю ночь. Подключился через отладочную консоль. Вывод следующий:
3833448 bytes read in 1440 ms (2.5 MiB/s)
40668 bytes read in 1245 ms (31.3 KiB/s)
Booting from mmc ...
Kernel image @ 0x42000000 [ 0x000000 - 0x3a7e68 ]
## Flattened Device Tree blob at 41000000
Booting using the fdt blob at 0x41000000
Loading Device Tree to 47b51000, end 47b5dedb ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.22-wb2 (root@wbdevenv) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #2 Tue Feb 2 14:15:16 UTC 2021
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt:Machine model: Wiren Board rev. 5.8 (i.MX28)
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyAMA0,115200 ro rootwait fixrtc root=/dev/mmcblk0p2 rootfstype=ext4 video=
[ 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: 122700K/131072K available (4569K kernel code, 204K rwdata, 1664K rodata, 160K init, 286K bss, 8372K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc047e9e8 (4571 kB)
[ 0.000000] .init : 0xc0642000 - 0xc066a000 ( 160 kB)
[ 0.000000] .data : 0xc066a000 - 0xc069d2c0 ( 205 kB)
[ 0.000000] .bss : 0xc069d2c0 - 0xc06e4e70 ( 287 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] clocksource: mxs_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000022] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000691] Console: colour dummy device 80x30
[ 0.000756] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[ 0.080308] pid_max: default: 32768 minimum: 301
[ 0.080574] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.080619] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.082203] CPU: Testing write buffer coherency: ok
[ 0.083014] Setting up static identity map for 0x40008400 - 0x40008458
[ 0.086675] devtmpfs: initialized
[ 0.117531] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.117596] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.117952] pinctrl core: initialized pinctrl subsystem
[ 0.120726] NET: Registered protocol family 16
[ 0.122060] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.193113] Serial: AMBA PL011 UART driver
[ 0.193945] 80074000.serial: ttyAMA0 at MMIO 0x80074000 (irq = 234, base_baud = 0) is a PL011 rev2
[ 0.456800] console [ttyAMA0] enabled
[ 0.484213] mxs-dma 80004000.dma-apbh: initialized
[ 0.494298] mxs-dma 80024000.dma-apbx: initialized
[ 0.504030] usbcore: registered new interface driver usbfs
[ 0.509868] usbcore: registered new interface driver hub
[ 0.515449] usbcore: registered new device driver usb
[ 0.522138] i2c-gpio i2c_rtc_wb59@0: using pins 85 (SDA) and 90 (SCL)
[ 0.530377] Linux video capture interface: v2.00
[ 0.535344] pps_core: LinuxPPS API ver. 1 registered
[ 0.540336] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.549639] PTP clock support registered
[ 0.554498] Advanced Linux Sound Architecture Driver Initialized.
[ 0.562982] clocksource: Switched to clocksource mxs_timer
[ 0.605277] NET: Registered protocol family 2
[ 0.611236] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.618389] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.624869] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.631420] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.637397] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.644112] NET: Registered protocol family 1
[ 0.649405] RPC: Registered named UNIX socket transport module.
[ 0.655472] RPC: Registered udp transport module.
[ 0.660202] RPC: Registered tcp transport module.
[ 0.664993] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.671948] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.681520] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.734568] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.742004] io scheduler noop registered (default)
[ 0.751025] 8006a000.serial: ttyAPP0 at MMIO 0x8006a000 (irq = 229, base_baud = 1500000) is a 8006a000.serial
[ 0.762006] mxs-auart 8006a000.serial: Found APPUART 3.1.0
[ 0.768340] 8006c000.serial: ttyAPP1 at MMIO 0x8006c000 (irq = 230, base_baud = 1500000) is a 8006c000.serial
[ 0.779360] mxs-auart 8006c000.serial: Found APPUART 3.1.0
[ 0.785757] 8006e000.serial: ttyAPP2 at MMIO 0x8006e000 (irq = 231, base_baud = 1500000) is a 8006e000.serial
[ 0.796833] mxs-auart 8006e000.serial: Found APPUART 3.1.0
[ 0.803180] 80070000.serial: ttyAPP3 at MMIO 0x80070000 (irq = 232, base_baud = 1500000) is a 80070000.serial
[ 0.814192] mxs-auart 80070000.serial: Found APPUART 3.1.0
[ 0.820409] 80072000.serial: ttyAPP4 at MMIO 0x80072000 (irq = 233, base_baud = 1500000) is a 80072000.serial
[ 0.831421] mxs-auart 80072000.serial: Found APPUART 3.1.0
[ 0.857687] loop: module loaded
[ 0.863618] libphy: Fixed MDIO Bus: probed
[ 0.983162] 800f0000.ethernet supply phy not found, using dummy regulator
[ 1.104387] libphy: fec_enet_mii_bus: probed
[ 1.114253] 800f4000.ethernet supply phy not found, using dummy regulator
[ 1.124384] PPP generic driver version 2.4.2
[ 1.129306] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.136381] usbcore: registered new interface driver usbserial
[ 1.142382] usbcore: registered new interface driver usbserial_generic
[ 1.149173] usbserial: USB Serial support registered for generic
[ 1.155946] mousedev: PS/2 mouse device common for all mice
[ 2.033040] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03
[ 2.040561] rtc-pcf8563 1-0051: pcf8563_probe: write error
[ 2.046224] rtc-pcf8563: probe of 1-0051 failed with error -5
[ 2.056184] stmp3xxx-rtc 80056000.rtc: rtc core: registered 80056000.rtc as rtc0
[ 2.064337] i2c /dev entries driver
[ 2.070233] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with heartbeat 19s
[ 2.080619] 80010000.ssp supply vmmc not found, using dummy regulator
[ 2.143099] mxs-mmc 80010000.ssp: initialized
[ 2.149442] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.161464] usbcore: registered new interface driver usbhid
[ 2.167192] usbhid: USB HID core driver
[ 2.188315] NET: Registered protocol family 10
[ 2.195970] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.204811] NET: Registered protocol family 17
[ 2.209493] Key type dns_resolver registered
[ 2.216558] registered taskstats version 1
[ 2.228195] stmp3xxx-rtc 80056000.rtc: setting system clock to 1970-01-01 00:00:07 UTC (7)
[ 2.236579] of_cfs_init
[ 2.239221] of_cfs_init: OK
[ 2.243178] usb0_vbus: disabling
[ 2.246441] usb1_vbus: disabling
[ 2.249681] ALSA device list:
[ 2.252655] No soundcards found.
[ 2.256525] uart-pl011 80074000.serial: no DMA platform data
[ 2.262383] Waiting for root device /dev/mmcblk0p2...
[ 2.747104] mmc0: new high speed MMC card at address 0001
[ 2.754199] mmcblk0: mmc0:0001 MMC04G 3.52 GiB
[ 2.759430] mmcblk0boot0: mmc0:0001 MMC04G partition 1 16.0 MiB
[ 2.766215] mmcblk0boot1: mmc0:0001 MMC04G partition 2 16.0 MiB
[ 2.772845] mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB
[ 2.785218] mmcblk0: p1 p2 p3 p4 < p5 p6 >
[ 2.853052] random: fast init done
[ 2.881680] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.890064] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.908969] devtmpfs: mounted
[ 2.912767] Freeing unused kernel memory: 160K (c0642000 - c066a000)
[ 2.919255] This architecture does not have kernel memory protection.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[ 4.984542] udevd[183]: starting version 175
. ok
[....] Synthesizing the initial hotplug events...[ 6.548628] CAN device driver interface
[ 6.573329] mxs-dcp 80028000.dcp: Failed to register sha1 hash!
[ 6.604393] mxs-dcp: probe of 80028000.dcp failed with error -22
[ 6.635985] 80034000.can supply xceiver not found, using dummy regulator
[ 6.745320] flexcan 80034000.can: device registered (reg_base=c892c000, irq=209)
[ ok [ 7.455189] mxs-spdif-dai 80054000.spdif: MXS SPDIF Audio Transmitter
done.
[....] Waiting for /dev to be fully populated...[ 8.581709] Driver for 1-wire Dallas network protocol.
[ 8.597476] lirc_dev: IR Remote Control driver registered, major 245
[ 8.680949] mxs-spdif sound-spdif: snd-soc-dummy-dai <-> 80054000.spdif mapping ok
[ 8.786606] lirc_pwm: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.934601] lirc_pwm lirc-rfm69: GPIO receiver on pin 37
[ 9.093854] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 9.100134] lirc_pwm lirc-rfm69: lirc_dev: driver lirc-rfm69 registered at minor = 0
[ 9.134491] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 9.263671] lirc_pwm lirc-rfm69: probed
[ 9.407158] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 9.491374] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 9.498332] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.505666] usb usb1: Product: EHCI Host Controller
[ 9.510574] usb usb1: Manufacturer: Linux 4.9.22-wb2 ehci_hcd
[ 9.516436] usb usb1: SerialNumber: ci_hdrc.0
[ 9.861260] hub 1-0:1.0: USB hub found
[ 9.903501] hub 1-0:1.0: 1 port detected
[ 9.982194] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 10.030538] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[ 10.143210] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 10.172235] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 10.179226] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 10.186573] usb usb2: Product: EHCI Host Controller
[ 10.191483] usb usb2: Manufacturer: Linux 4.9.22-wb2 ehci_hcd
[ 10.197329] usb usb2: SerialNumber: ci_hdrc.1
[ 10.424447] hub 2-0:1.0: USB hub found
[ 10.448923] hub 2-0:1.0: 1 port detected
После этого выкидывает из отладочной консоли. Подскажите, пожалуйста, мои дальнейшие действия. При крайнем обновлении были проблемы с sources.list, но вроде обновился