Восстановление системы после удаления папки /usr

Здравствуйте у меня wirenboard 6 с версией прошивки 6.7.2

Хотел почистить Dev/root память читал форум Не очищается /dev/root/. WB6 - #30 от пользователя naladka не дочитав до конца попробовал переместить usr в mnt командой
mv /usr/lib /mnt/data/usr_lib
после переноса перестали работать команды sudo и другие даже копирование поэтому не смог выполнить обратную команду
mv /mnt/data/usr_lib /usr/lib

Пока web ui работает и контролер я не перезагружал, дистанционно подключается не получается я пробовал загрузить прошивку через web ui во вкладке система прошивка загружалась но выдавало ошибку
Upload error:

502 Bad Gateway

502 Bad Gateway


nginx/1.18.0

Насколько понимаю нужно загрузить прошивку на флешку с объёмом до 4гб с файловой системой fat32 но загрузиться ли прошивка автоматически?

Заранее благодарю

Добрый день!

Рекомендую выполнить восстановление работоспособности контроллера, следуя данной статье.

Если возникнут сложности или дополнительные вопросы в процессе выполнения, напишите, постараюсь помочь!

Добрый день
Сделал всё по инструкции. Процесс обновления запускается, но затем останавливается из-за следующих ошибок:

wb6_update.fit shorter than offset + len
Can't find subimage 'ubootenv'

логи целиком:

U-Boot 2017.03-1.1.0-gaa233c0fa3 (Jun 09 2020 - 19:28:23 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 48C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM:  512 MiB
MMC:   FSL_SDHC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@02188000
Hit any key to stop autoboot:  0
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning bus 1 for devices... EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
  Device 0: Vendor: USB      Rev: 2.00 Prod: Disk 2.0
            Type: Removable Hard Disk
            Capacity: 14860.0 MB = 14.5 GB (30433280 x 512)
reading wb6_update.fit
1 bytes read in 18 ms (0 Bytes/s)

##############################
# Detected USB flash drive with update file
# Filename: wb6_update.fit
# Press a FW key if you want to update firmware from this file
# or wait 3 seconds to boot normally.
##############################
USB update procedure start
Checking if ubootenv part is present
## Loading FIT header to 0x82000000 ...
reading wb6_update.fit
## Loading FIT strings to 0x82000028 ...
reading wb6_update.fit
## Loading FIT struct to 0x82000100 ...
reading wb6_update.fit
FAT: Misaligned buffer address (820020c8)
   Skip 11324728 bytes of data
reading wb6_update.fit
FAT: Misaligned buffer address (82001384)
   Skip 47891 bytes of data
reading wb6_update.fit
FAT: Misaligned buffer address (82001864)
   Skip 34749 bytes of data
reading wb6_update.fit
FAT: Misaligned buffer address (82001098)
   Skip 229737706 bytes of data
reading wb6_update.fit
** wb6_update.fit shorter than offset + len **
Can't find subimage 'ubootenv'
Extracting kernel
## Loading FIT header to 0x82000000 ...
reading wb6_update.fit
## Loading FIT strings to 0x82000028 ...
reading wb6_update.fit
## Loading FIT struct to 0x82000100 ...
reading wb6_update.fit
FAT: Misaligned buffer address (820020c8)
reading wb6_update.fit
11341368 bytes read in 6601 ms (1.6 MiB/s)
     Description:  Update kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x82000300
     Data Size:    11324728 Bytes = 10.8 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   4581affae9501433b309790bd8c41cc21ab5e880
## Verifying ... sha1+
   Loading part 0 ... OK
Extracting DTB
## Loading FIT header to 0x83000000 ...
reading wb6_update.fit
## Loading FIT strings to 0x83000028 ...
reading wb6_update.fit
## Loading FIT struct to 0x83000100 ...
reading wb6_update.fit
FAT: Misaligned buffer address (830020c8)
   Skip 11324728 bytes of data
reading wb6_update.fit
FAT: Misaligned buffer address (83001384)
reading wb6_update.fit
64975 bytes read in 506 ms (125 KiB/s)
     Description:  Update DTB
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x830003c0
     Data Size:    47891 Bytes = 46.8 KiB
     Architecture: ARM
     Hash algo:    sha1
     Hash value:   50379d0c7fb9a54564de1311fee0fb398cef285a
## Verifying ... sha1+
   Loading part 0 ... OK
Kernel image @ 0x82000000 [ 0x000000 - 0xaccd38 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Loading Device Tree to 9ef46000, end 9ef54b12 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.35-wb169 (root@wbdevenv) (arm-linux-gnueabihf-                       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2)                        #2 SMP Wed Aug 7 14:43:03 UTC 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                       n cache
[    0.000000] OF: fdt: Machine model: Wiren Board init (i.MX6UL/ULL)
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s31692 r8192 d21556 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttymxc0,115200 bootmode=usbupdate,wb                       6_update.fit
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, l                       inear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, li                       near)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 503300K/524288K available (6144K kernel code, 645K rwdata                       , 1892K rodata, 7168K init, 250K bss, 20988K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jif                       fies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2b0/0x4bc wit                       h crng_init=0
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478                       484971ns
[    0.000060] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff,                        max_idle_ns: 79635851949 ns
[    0.002842] Console: colour dummy device 80x30
[    0.002923] Calibrating delay loop (skipped), value calculated using timer fr                       equency.. 48.00 BogoMIPS (lpj=240000)
[    0.002973] pid_max: default: 32768 minimum: 301
[    0.003272] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea                       r)
[    0.003310] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,                        linear)
[    0.004597] CPU: Testing write buffer coherency: ok
[    0.005078] CPU0: update cpu_capacity 1024
[    0.005114] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.006311] Setting up static identity map for 0x80100000 - 0x80100078
[    0.006613] rcu: Hierarchical SRCU implementation.
[    0.007270] smp: Bringing up secondary CPUs ...
[    0.007309] smp: Brought up 1 node, 1 CPU
[    0.007334] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.007354] CPU: All CPU(s) started in SVC mode.
[    0.008272] devtmpfs: initialized
[    0.028667] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7                        rev 5
[    0.029215] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                       x_idle_ns: 19112604462750000 ns
[    0.029270] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.029464] pinctrl core: initialized pinctrl subsystem
[    0.031619] NET: Registered protocol family 16
[    0.032220] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.034682] thermal_sys: Registered thermal governor 'step_wise'
[    0.034968] cpuidle: using governor menu
[    0.219603] vdd1p1: supplied by regulator-dummy
[    0.232200] vdd3p0: supplied by regulator-dummy
[    0.244754] cpu: supplied by regulator-dummy
[    0.257343] vddsoc: supplied by regulator-dummy
[    0.630700] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                        registers.
[    0.630741] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.631353] debugfs: Directory 'dummy-iomuxc-gpr@20e4000' with parent 'regmap                       ' already present!
[    0.632137] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.633682] imx6ul-pinctrl 2290000.iomuxc-snvs: no groups defined in /soc/bus                       @2200000/iomuxc-snvs@2290000
[    0.633724] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl drive                       r
[    0.680565] mxs-dma 1804000.dma-apbh: initialized
[    0.686197] SCSI subsystem initialized
[    0.686768] usbcore: registered new interface driver usbfs
[    0.686900] usbcore: registered new interface driver hub
[    0.687024] usbcore: registered new device driver usb
[    0.687891] gpio-48 (i2c_rtc): enforced open drain please flag it properly in                        DT/ACPI DSDT/board file
[    0.688023] gpio-49 (i2c_rtc): enforced open drain please flag it properly in                        DT/ACPI DSDT/board file
[    0.688936] i2c-gpio i2c_rtc: using lines 48 (SDA) and 49 (SCL)
[    0.689621] gpio-76 (i2c_eeprom1): enforced open drain please flag it properl                       y in DT/ACPI DSDT/board file
[    0.689747] gpio-67 (i2c_eeprom1): enforced open drain please flag it properl                       y in DT/ACPI DSDT/board file
[    0.690332] i2c-gpio i2c_eeprom1: using lines 76 (SDA) and 67 (SCL)
[    0.691014] gpio-70 (i2c_eeprom2): enforced open drain please flag it properl                       y in DT/ACPI DSDT/board file
[    0.691137] gpio-71 (i2c_eeprom2): enforced open drain please flag it properl                       y in DT/ACPI DSDT/board file
[    0.691732] i2c-gpio i2c_eeprom2: using lines 70 (SDA) and 71 (SCL)
[    0.693385] gpio-30 (scl): enforced open drain please flag it properly in DT/                       ACPI DSDT/board file
[    0.693806] i2c i2c-1: IMX I2C adapter registered
[    0.694642] pps_core: LinuxPPS API ver. 1 registered
[    0.694673] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                       tti <giometti@linux.it>
[    0.694732] PTP clock support registered
[    0.697194] clocksource: Switched to clocksource mxc_timer1
[    0.717716] NET: Registered protocol family 2
[    0.719325] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144                        bytes, linear)
[    0.719410] TCP established hash table entries: 4096 (order: 2, 16384 bytes,                        linear)
[    0.719523] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.719685] TCP: Hash tables configured (established 4096 bind 4096)
[    0.719886] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.719959] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.720310] NET: Registered protocol family 1
[    0.721484] RPC: Registered named UNIX socket transport module.
[    0.721523] RPC: Registered udp transport module.
[    0.721545] RPC: Registered tcp transport module.
[    0.721566] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.644537] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counter                       s available
[    1.648547] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.659824] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.661582] ntfs: driver 2.1.32 [Flags: R/W].
[    1.901651] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                       49)
[    1.901691] io scheduler mq-deadline registered
[    1.901712] io scheduler kyber registered
[    1.914314] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx                       6q.bin failed with error -2
[    1.914370] imx-sdma 20ec000.sdma: external firmware not found, using ROM fir                       mware
[    1.918975] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 28, base_baud =                        5000000) is a IMX
[    2.567625] random: fast init done
[    2.612824] printk: console [ttymxc0] enabled
[    2.619528] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 66, base_baud =                        5000000) is a IMX
[    2.630253] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 67, base_baud =                        5000000) is a IMX
[    2.673578] imx_rngc 2284000.rng: Freescale RNGB registered (HW revision 2.12                       9)
[    2.681623] random: crng init done
[    2.713013] brd: module loaded
[    2.734268] loop: module loaded
[    2.737956] at24 5-0050: supply vcc not found, using dummy regulator
[    2.749552] at24 5-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    2.756541] at24 6-0050: supply vcc not found, using dummy regulator
[    2.768170] at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    2.776594] libphy: Fixed MDIO Bus: probed
[    2.784014] pps pps0: new PPS source ptp0
[    2.825932] libphy: fec_enet_mii_bus: probed
[    2.832065] fec 20b4000.ethernet eth0: registered PHC device 0
[    2.958000] pps pps1: new PPS source ptp1
[    2.964494] libphy: fec_enet_mii_bus: probed
[    2.973489] fec 2188000.ethernet eth1: registered PHC device 1
[    2.980525] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.987084] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.992956] usbcore: registered new interface driver cdc_acm
[    2.998805] cdc_acm: USB Abstract Control Model driver for USB modems and ISD                       N adapters
[    3.007124] usbcore: registered new interface driver usb-storage
[    3.068876] rtc-pcf8563 4-0051: registered as rtc0
[    3.085831] rtc-pcf8563 4-0051: setting system clock to 2024-11-23T10:23:03 U                       TC (1732357383)
[    3.104630] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1
[    3.111246] i2c /dev entries driver
[    3.121372] imx6ul-pinctrl 20e0000.pinctrl: pin MX6UL_PAD_SD1_DATA1 already r                       equested by watchdog; cannot claim for watchdog_6x
[    3.133034] imx6ul-pinctrl 20e0000.pinctrl: pin-114 (watchdog_6x) status -22
[    3.140180] imx6ul-pinctrl 20e0000.pinctrl: could not request pin 114 (MX6UL_                       PAD_SD1_DATA1) from group wdggrp_6x  on device 20e0000.pinctrl
[    3.152765] gpio-wdt watchdog_6x: Error applying setting, reverse things back
[    3.160082] gpio-wdt: probe of watchdog_6x failed with error -22
[    3.168359] sdhci: Secure Digital Host Controller Interface driver
[    3.174631] sdhci: Copyright(c) Pierre Ossman
[    3.179104] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.194546] ledtrig-cpu: registered to indicate activity on CPUs
[    3.202604] usbcore: registered new interface driver usbhid
[    3.208353] usbhid: USB HID core driver
[    3.215554] NET: Registered protocol family 17
[    3.224508] mmc0: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[    3.231701] Registering SWP/SWPB emulation handler
[    3.237614] registered taskstats version 1
[    3.267413] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature gr                       ade - max:105C critical:100C passive:95C
[    3.279157] of_cfs_init
[    3.281752] of_cfs_init: OK
[    3.300997] Freeing unused kernel memory: 7168K
[    3.305865] Run /init as init process
[    3.328303] mmc0: new DDR MMC card at address 0001
[    3.337889] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
[    3.346815] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
mount: mounting none on /sys/kernel/debug failed: No such file o[    3.357819] m                       mcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
r directory
[    3.376577] mmcblk0rpmb: mmc0:0001 Q2J55L partition 3 4.00 MiB, chardev (248:                       0)
mount: mounting none on /dev/pts failed: No such file or directory
[    3.401156]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
Run busybox watchdog for /dev/watchdog
Run busybox watchdog for /dev/watchdog0
Run busybox watchdog for /dev/watchdog1
Run busybox watchdog for /dev/watchdog2
Boot mode: usbupdate,wb6_update.fit
Board is WB6, loading ci_hdrc_imx module
[    3.684391] imx_usb 2184000.usb: No over current polarity defined
[    3.694414] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    3.699418] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    3.727250] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    3.733087] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bc                       dDevice= 5.10
[    3.741460] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                       1
[    3.748739] usb usb1: Product: EHCI Host Controller
[    3.753634] usb usb1: Manufacturer: Linux 5.10.35-wb169 ehci_hcd
[    3.759691] usb usb1: SerialNumber: ci_hdrc.0
[    3.766046] hub 1-0:1.0: USB hub found
[    3.770065] hub 1-0:1.0: 1 port detected
[    3.779505] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.784526] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    3.817542] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.823908] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bc                       dDevice= 5.10
[    3.832363] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=                       1
[    3.839795] usb usb2: Product: EHCI Host Controller
[    3.844733] usb usb2: Manufacturer: Linux 5.10.35-wb169 ehci_hcd
[    3.850897] usb usb2: SerialNumber: ci_hdrc.1
[    3.857935] hub 2-0:1.0: USB hub found
[    3.861841] hub 2-0:1.0: 1 port detected
[    4.117453] usb usb1-port1: over-current condition
[    4.227381] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[    4.428170] usb 2-1: New USB device found, idVendor=0424, idProduct=2514, bcd                       Device= b.b3
[    4.436514] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.447684] hub 2-1:1.0: USB hub found
[    4.451682] hub 2-1:1.0: 4 ports detected
[    4.467247] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    4.670891] usb 1-1: New USB device found, idVendor=23a5, idProduct=5786, bcd                       Device= 2.00
[    4.679336] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.686649] usb 1-1: Product: Disk 2.0
[    4.690551] usb 1-1: Manufacturer: USB
[    4.694353] usb 1-1: SerialNumber: 5564181290401342236
[    4.703756] usb-storage 1-1:1.0: USB Mass Storage device detected
[    4.710724] scsi host0: usb-storage 1-1:1.0
[    4.767298] usb 2-1.1: new high-speed USB device number 3 using ci_hdrc
[    4.918909] usb 2-1.1: New USB device found, idVendor=0bda, idProduct=b720, b                       cdDevice= 2.00
[    4.927417] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber                       =3
[    4.934774] usb 2-1.1: Product: 802.11n WLAN Adapter
[    4.939784] usb 2-1.1: Manufacturer: Realtek
[    4.944064] usb 2-1.1: SerialNumber: 00e04c000001
Load modules for USB to work
[    5.769394] scsi 0:0:0:0: Direct-Access     USB      Disk 2.0         2.00 PQ                       : 0 ANSI: 4
[    5.781667] sd 0:0:0:0: [sda] 30433280 512-byte logical blocks: (15.6 GB/14.5                        GiB)
[    5.792387] sd 0:0:0:0: [sda] Write Protect is off
[    5.798971] sd 0:0:0:0: [sda] No Caching mode page found
[    5.804418] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.813131]  sda: sda1
[    5.819450] sd 0:0:0:0: [sda] Attached SCSI removable disk

Looking for update .fit on /dev/sda...
Looking for update .fit on /dev/sda1...
Will use wb6_update.fit from USB Flash Drive
===============================================================================
Sat Nov 23 10:23:07 UTC 2024: started update from /disk/wb6_update.fit
===============================================================================
Description:         WirenBoard firmware update
Compatible device:   contactless,imx6ul-wirenboard670
Firmware version:    202410221650
Firmware compatible: +single-rootfs +fit-factory-reset +force-repartition +repar                       tition-ramsize-fix +update-from-cloud
Release name:        wb-2407
Release suite:       stable
Release target:      wb6/bullseye
Release repo prefix:
Time of creation:    Tue Oct 22 16:52:27 UTC 2024
===============================================================================

>>> Checking SHA1 hash of install
PROGRESS: 0%
>>> SHA1 hash of install ok
32+0 records in
32+0 records out
16384 bytes (16 kB, 16 KiB) copied, 0.00981992 s, 1.7 MB/s
>>> Firmware seems to be compatible with this controller
>>> Extracting install script
>>> Running install script
>>> Console logging enabled; tempfile /tmp/tmp.j489xO, final file /disk/wb-console.log will be written on exit
>>> Extend tmpfs size to whole RAM
>>> Remount tmpfs in /tmp with size=498M
>>> Maybe update factoryreset.fit to fix tmpfs size issue at 512M RAM (with emmc update)
[   17.814196] EXT4-fs (mmcblk0p6): recovery complete
[   17.819393] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. O pts: (null)
fit_info: Can't open /tmp/tmp.y5oAnL/.wb-restore/factoryreset.fit: No such file or directory
>>> Replace factoryreset.fit with current fit to fix rootfs extending issue at 512M RAM
cp: can't create '/tmp/tmp.y5oAnL/.wb-restore/factoryreset.fit': No such file or directory


BusyBox v1.30.1 (Debian 1:1.30.1-6+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

sh: can't access tty; job control turned off
~ # [   33.767383] vref-3v3: disabling

Что может быть причиной этих ошибок? Возможно, я что-то упустил?

Заранее благодарю за помощь!

Установилась прошивка wb-67-stable-2021-03-17_12:15:28.fit (эта же прошивка стояла ранее) возникли проблемы:

  1. При запуске в debug console запрашиваются логин и пароль.
    Пробовал стандартные комбинации: root / wirenboard, а также другие варианты, но доступ получить не удалось.
  2. Попытка выполнить сброс до заводских настроек через встроенную прошивку с завода невозможна, так как для этого требуется пароль.(ранее такого не было)
  3. Контроллер вообще не выдавал никаких звуковых сигналов.

Что теперь делать? Как восстановить доступ к консоли, чтобы вводить команды? И как можно восстановить контроллер в случае, если сброс не удаётся?

Добрый день!

Как вы назвали файл при обновлении с флешки?

  • wb6_update.fit
    или
  • wb6_update_FACTORYRESET.fit

Так же прошу уточнить, по ssh такая же проблема с входом?

Добрый день

Прошивку я называл правильно.

  1. Контроллер просто не обновлялся, если версия прошивки была выше текущей. Хотя процесс начинался.
  2. Когда я установил прошивку wb-67-stable-2021-03-17_12:15:28, контроллер её увидел, установил, но после этого начал требовать логин и пароль.
  3. Сейчас контроллер не выдаёт IP-адрес и не подключается к сети, поэтому доступ по SSH невозможен.

Добрый день!

Про название: вопрос был в том, использовался ли префикс FACTORYRESET.

  • С данным префиксом настройки сбрасываются на заводские.
  • Без него выполняется только обновление прошивки.

Прошу уточнить, что именно вы имеете в виду под “не выдает IP-адрес”:

  • Не получается получить IP-адрес через DHCP на контроллер?
  • Или адрес не выдается, когда контроллер работает как точка доступа?

Эта информация поможет точнее разобраться в вашей ситуации.

Я не использовал префикс FACTORYRESET при обновлении. Проблема заключается в том, что я не могу сбросить контроллер до заводской прошивки, которая уже находится на нём. Пытался выполнить это по инструкции из видео про обновления ПО на примере WB7

Что касается IP-адреса: контроллер подключен к роутеру через Ethernet, но в списке подключенных устройств он не отображается. DHCP не выдает IP-адрес для контроллера

Добрый день!

Если требуется сброс на заводские настройки, необходимо использовать файл с префиксом FACTORYRESET в названии. Без этого префикса будет выполнено обычное обновление.

Что касается проблемы с DHCP, попробуем решить её следующим шагом. Для диагностики потребуется:

  1. Более детальное описание проблемы.
  2. Архив с диагностической информацией.
  3. Создание отдельной темы согласно правилам портала.

Сбросил до заводских! Проблема решена, но было довольно странно.

Контроллер видел флешку и начинал читать прошивку, но после перезагружался процесс обновления не продолжался (это можно заметить по логам в самом начале). Однако, после того как я извлёк флешку в момент, когда она активно читалась, и снова вставил её обратно, контроллер начал читать и обновлять прошивку, в процессе обновления контролёр не издавал звуковых сигналов.

После того как был выполнен сброс до заводских настроек, уже через Web UI установил последний релиз. Теперь контроллер работает исправно.

Логи:

U-Boot 2017.03-1.1.0-gaa233c0fa3 (Jun 09 2020 - 19:28:23 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM:  512 MiB
MMC:   FSL_SDHC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@02188000
Hit any key to stop autoboot:  0
=>

U-Boot 2017.03-1.1.0-gaa233c0fa3 (Jun 09 2020 - 19:28:23 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 42C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM:  512 MiB
MMC:   FSL_SDHC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@02188000
Hit any key to stop autoboot:  0
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning bus 1 for devices... EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
  Device 0: Vendor: USB      Rev: 2.00 Prod: Disk 2.0
            Type: Removable Hard Disk
            Capacity: 14860.0 MB = 14.5 GB (30433280 x 512)
reading wb6_update.fit
** Unable to read file wb6_update.fit **
reading wb6_update_FACTORYRESET.fit
1 bytes read in 20 ms (0 Bytes/s)

##############################
# Detected USB flash drive with update file
# Filename: wb6_update_FACTORYRESET.fit
# Press a FW key if you want to update firmware from this file
# or wait 3 seconds to boot normally.
##############################


U-Boot 2017.03-1.1.0-gaa233c0fa3 (Jun 09 2020 - 19:28:23 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 45C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM:  512 MiB
MMC:   FSL_SDHC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@02188000
Hit any key to stop autoboot:  0
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning bus 1 for devices... EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
  Device 0: Vendor: USB      Rev: 2.00 Prod: Disk 2.0
            Type: Removable Hard Disk
            Capacity: 14860.0 MB = 14.5 GB (30433280 x 512)
reading wb6_update.fit
** Unable to read file wb6_update.fit **
reading wb6_update_FACTORYRESET.fit
1 bytes read in 20 ms (0 Bytes/s)

##############################
# Detected USB flash drive with update file
# Filename: wb6_update_FACTORYRESET.fit
# Press a FW key if you want to update firmware from this file
# or wait 3 seconds to boot normally.
##############################


U-Boot 2017.03-1.1.0-gaa233c0fa3 (Jun 09 2020 - 19:28:23 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 46C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM:  512 MiB
MMC:   FSL_SDHC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@02188000
Hit any key to stop autoboot:  0
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning bus 1 for devices... EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
  Device 0: Vendor: USB      Rev: 2.00 Prod: Disk 2.0
            Type: Removable Hard Disk
            Capacity: 14860.0 MB = 14.5 GB (30433280 x 512)
reading wb6_update.fit
** Unable to read file wb6_update.fit **
reading wb6_update_FACTORYRESET.fit
1 bytes read in 20 ms (0 Bytes/s)

##############################
# Detected USB flash drive with update file
# Filename: wb6_update_FACTORYRESET.fit
# Press a FW key if you want to update firmware from this file
# or wait 3 seconds to boot normally.
##############################
USB update procedure start
Checking if ubootenv part is present
## Loading FIT header to 0x82000000 ...
reading wb6_update_FACTORYRESET.fit
## Loading FIT strings to 0x82000028 ...
reading wb6_update_FACTORYRESET.fit
## Loading FIT struct to 0x820000c0 ...
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (82002088)
   Skip 7961328 bytes of data
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (8200058c)
   Skip 46090 bytes of data
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (82001174)
   Skip 4085 bytes of data
   Skip 169869818 bytes of data
reading wb6_update_FACTORYRESET.fit
** wb6_update_FACTORYRESET.fit shorter than offset + len **
Can't find subimage 'ubootenv'
Extracting kernel
## Loading FIT header to 0x82000000 ...
reading wb6_update_FACTORYRESET.fit
## Loading FIT strings to 0x82000028 ...
reading wb6_update_FACTORYRESET.fit
## Loading FIT struct to 0x820000c0 ...
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (82002088)
reading wb6_update_FACTORYRESET.fit
7977904 bytes read in 4704 ms (1.6 MiB/s)
     Description:  Update kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x820002c0
     Data Size:    7961328 Bytes = 7.6 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   83e0ef509133764a09e3e5a3501c6082802add22
## Verifying ... sha1+
   Loading part 0 ... OK
Extracting DTB
## Loading FIT header to 0x83000000 ...
reading wb6_update_FACTORYRESET.fit
## Loading FIT strings to 0x83000028 ...
reading wb6_update_FACTORYRESET.fit
## Loading FIT struct to 0x830000c0 ...
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (83002088)
   Skip 7961328 bytes of data
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (8300058c)
reading wb6_update_FACTORYRESET.fit
63110 bytes read in 492 ms (125 KiB/s)
     Description:  Update DTB
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x830003c0
     Data Size:    46090 Bytes = 45 KiB
     Architecture: ARM
     Hash algo:    sha1
     Hash value:   c84c6f3c02d97d1bd1c9392cacb821029c01bce5
## Verifying ... sha1+
   Loading part 0 ... OK
Kernel image @ 0x82000000 [ 0x000000 - 0x797af0 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Loading Device Tree to 9ef47000, end 9ef55409 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.22-wb6_initramfs (jenkins@WB-buildserver) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #2 SMP Fri Jan 4 00:39:16 MSK 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Wiren Board rev. 6.7.0 (i.MX6UL/ULL)
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @dfbcf000 s25932 r8192 d23220 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttymxc0,115200 bootmode=usbupdate,wb6_update_FACTORYRESET.fit
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 506736K/524288K available (5120K kernel code, 202K rwdata, 1580K rodata, 5120K init, 313K bss, 17552K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0600000   (6112 kB)
[    0.000000]       .init : 0xc0800000 - 0xc0d00000   (5120 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0d32b80   ( 203 kB)
[    0.000000]        .bss : 0xc0d34000 - 0xc0d82630   ( 314 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000053] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.002560] Console: colour dummy device 80x30
[    0.002602] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002634] pid_max: default: 32768 minimum: 301
[    0.002830] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002858] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.004073] CPU: Testing write buffer coherency: ok
[    0.004581] /cpus/cpu@0 missing clock-frequency property
[    0.004624] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004675] Setting up static identity map for 0x80100000 - 0x80100070
[    0.007012] Brought up 1 CPUs
[    0.007049] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.007064] CPU: All CPU(s) started in SVC mode.
[    0.008276] devtmpfs: initialized
[    0.033728] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.034384] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.034438] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.034620] pinctrl core: initialized pinctrl subsystem
[    0.036665] NET: Registered protocol family 16
[    0.037181] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.039678] cpuidle: using governor menu
[    0.073810] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.073841] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.076096] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.115907] mxs-dma 1804000.dma-apbh: initialized
[    0.120170] SCSI subsystem initialized
[    0.120789] usbcore: registered new interface driver usbfs
[    0.120946] usbcore: registered new interface driver hub
[    0.121302] usbcore: registered new device driver usb
[    0.122925] i2c-gpio i2c_rtc: using pins 48 (SDA) and 49 (SCL)
[    0.123794] i2c-gpio i2c_eeprom1: using pins 76 (SDA) and 67 (SCL)
[    0.124619] i2c-gpio i2c_eeprom2: using pins 70 (SDA) and 71 (SCL)
[    0.126092] i2c i2c-1: IMX I2C adapter registered
[    0.126134] i2c i2c-1: can't use DMA, using PIO instead.
[    0.126524] pps_core: LinuxPPS API ver. 1 registered
[    0.126546] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.126602] PTP clock support registered
[    0.128852] clocksource: Switched to clocksource mxc_timer1
[    0.152813] NET: Registered protocol family 2
[    0.154007] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.154132] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.154290] TCP: Hash tables configured (established 4096 bind 4096)
[    0.154408] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.154463] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.154772] NET: Registered protocol family 1
[    0.155572] RPC: Registered named UNIX socket transport module.
[    0.155604] RPC: Registered udp transport module.
[    0.155619] RPC: Registered tcp transport module.
[    0.155632] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.733477] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.748563] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.750842] ntfs: driver 2.1.32 [Flags: R/W].
[    0.761141] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.761175] io scheduler noop registered (default)
[    0.766379] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.766421] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[    0.775389] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 19, base_baud = 5000000) is a IMX
[    1.337084] console [ttymxc0] enabled
[    1.342676] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 56, base_baud = 5000000) is a IMX
[    1.385450] imx_rngc 2284000.rngb: Freescale RNGC registered.
[    1.420464] brd: module loaded
[    1.439637] loop: module loaded
[    1.447632] at24 5-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.459219] at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.466737] libphy: Fixed MDIO Bus: probed
[    1.473284] 20b4000.ethernet supply phy not found, using dummy regulator
[    1.481287] pps pps0: new PPS source ptp0
[    1.514181] libphy: fec_enet_mii_bus: probed
[    1.520401] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.638942] 2188000.ethernet supply phy not found, using dummy regulator
[    1.759870] pps pps1: new PPS source ptp1
[    1.764957] libphy: fec_enet_mii_bus: probed
[    1.772859] fec 2188000.ethernet eth1: registered PHC device 1
[    1.779377] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.785946] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.791802] usbcore: registered new interface driver cdc_acm
[    1.797500] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.805979] usbcore: registered new interface driver usb-storage
[    1.869249] rtc-pcf8563 4-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.885378] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
[    1.894489] i2c /dev entries driver
[    1.902703] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    1.910889] sdhci: Secure Digital Host Controller Interface driver
[    1.917114] sdhci: Copyright(c) Pierre Ossman
[    1.921596] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.988918] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    2.005723] ledtrig-cpu: registered to indicate activity on CPUs
[    2.023213] random: fast init done
[    2.035652] usbcore: registered new interface driver usbhid
[    2.043413] usbhid: USB HID core driver
[    2.057653] NET: Registered protocol family 17
[    2.068347] Registering SWP/SWPB emulation handler
[    2.075330] registered taskstats version 1
[    2.090941] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    2.115283] rtc-pcf8563 4-0051: setting system clock to 2024-11-25 15:35:28 UTC (1732548928)
[    2.123774] of_cfs_init
[    2.126410] of_cfs_init: OK
[    2.134271] vdd3p0: disabling
[    2.137267] vref-3v3: disabling
[    2.140487] usb1_vbus: disabling
[    2.151663] Freeing unused kernel memory: 5120K (c0800000 - c0d00000)
[    2.189159] mmc0: new DDR MMC card at address 0001
[    2.206042] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
[    2.211168] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
mount: mounting none on /dev/pts failed: No such file or directory
[    2.229425] mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
[    2.235766] mmcblk0rpmb: mmc0:0001 Q2J55L partition 3 4.00 MiB
[    2.251764]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
Boot mode: usbupdate,wb6_update_FACTORYRESET.fit
Board is WB6, loading ci_hdrc_imx module
[    2.484724] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    2.489970] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    2.518867] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    2.524532] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.531409] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.538642] usb usb1: Product: EHCI Host Controller
[    2.543570] usb usb1: Manufacturer: Linux 4.9.22-wb6_initramfs ehci_hcd
[    2.550216] usb usb1: SerialNumber: ci_hdrc.0
[    2.555628] hub 1-0:1.0: USB hub found
[    2.559579] hub 1-0:1.0: 1 port detected
[    2.564685] 2184200.usb supply vbus not found, using dummy regulator
[    2.575201] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.580250] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    2.608902] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.614559] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.621418] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.628651] usb usb2: Product: EHCI Host Controller
[    2.633575] usb usb2: Manufacturer: Linux 4.9.22-wb6_initramfs ehci_hcd
[    2.640245] usb usb2: SerialNumber: ci_hdrc.1
[    2.646050] hub 2-0:1.0: USB hub found
[    2.650041] hub 2-0:1.0: 1 port detected
[    3.009152] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[    3.079007] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    3.199873] usb 2-1: New USB device found, idVendor=0424, idProduct=2514
[    3.206691] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.216971] hub 2-1:1.0: USB hub found
[    3.221524] hub 2-1:1.0: 4 ports detected
[    3.272071] usb 1-1: New USB device found, idVendor=23a5, idProduct=5786
[    3.278982] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.286243] usb 1-1: Product: Disk 2.0
[    3.290179] usb 1-1: Manufacturer: USB
[    3.293977] usb 1-1: SerialNumber: 5564181290401342236
[    3.302660] usb-storage 1-1:1.0: USB Mass Storage device detected
[    3.311750] scsi host0: usb-storage 1-1:1.0
[    3.549026] usb 2-1.1: new high-speed USB device number 3 using ci_hdrc
[    3.701690] usb 2-1.1: New USB device found, idVendor=0bda, idProduct=b720
[    3.708698] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.716310] usb 2-1.1: Product: 802.11n WLAN Adapter
[    3.721409] usb 2-1.1: Manufacturer: Realtek
[    3.725724] usb 2-1.1: SerialNumber: 00e04c000001
Load modules for USB to work
Starting USB update
Waiting for USB to settle (0/10)
[    4.333531] scsi 0:0:0:0: Direct-Access     USB      Disk 2.0         2.00 PQ: 0 ANSI: 4
[    4.345980] sd 0:0:0:0: [sda] 30433280 512-byte logical blocks: (15.6 GB/14.5 GiB)
[    4.357194] sd 0:0:0:0: [sda] Write Protect is off
[    4.363438] sd 0:0:0:0: [sda] No Caching mode page found
[    4.369013] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.383661]  sda: sda1
[    4.393808] sd 0:0:0:0: [sda] Attached SCSI removable disk
umount: can't umount /usb: Invalid argument
Looking for wb6_update_FACTORYRESET.fit on /dev/sda
umount: can't umount /usb: Invalid argument
mount: mounting /dev/sda on /usb failed: Invalid argument
Looking for wb6_update_FACTORYRESET.fit on /dev/sda1
umount: can't umount /usb: Invalid argument


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # ##############################################################################

                          FACTORY RESET REQUESTED

           This WILL destroy ALL YOUR DATA: configuration, scripts,
                           files in home directory!

         If you are ABSOLUTELY SURE that you want to reset Wiren Board
             to factory condition, hold the FW button for 4 seconds.

        If you will not do it in 10 seconds, the controller will reboot
                        without firmware update.


           If you want to perform a regular firmware update, rename
         FIT file to "wbX_update.fit" without "factory-reset" suffix.

##############################################################################
oooooo....

Factory reset is confirmed!

===============================================================================
Mon Nov 25 15:35:44 UTC 2024: started update from /usb/wb6_update_FACTORYRESET.fit
===============================================================================
Description:         WirenBoard firmware update
Compatible device:   contactless,imx6ul-wirenboard670
Firmware version:    202103170905
Firmware compatible: unknown
Time of creation:    Wed Mar 17 09:07:52 UTC 2021
===============================================================================

Добрый день!

Очень рады, что работоспособность восстановлена.

Что касается поведения флешки, мы проанализируем это с коллегами и передадим информацию разработчикам.