Ошибка "Bad device mmc" на прошивке 202303311032

Добрый день!

Имеется несколько сотен контроллеров версий 6.5 и 6.6., которые работают на прошивке 2201. Сейчас решили попробовать перевести их на 2207, для чего изначально хотели использовать прошивку 202303311314 (stable 6x), но контроллер уходил в перезагрузку при попытке установки fit файла с флешки (сама флешка рабочая, не раз с нее прошивались и контроллер видит fit на ней).

После этого попробовали чуть более раннюю версию 202303311032, с ней все прошло хорошо и контроллер обновился до 2207. Когда начали ставить наше ПО, получили много ошибок вида "libpython3.5m-pic.a.dpkg-new': unexpected end of file or stream", хотя эти же пакеты отлично работали с 2201.

Собственно проблема: Три контроллера (6.5; 6.6; 6.6) на прошивке 202303311032 за несколько минт друг за другом выдали ошибку:


No USB update detected, continuing boot
MMC Device 1 not found
no mmc device at slot 1
SD/MMC found on device 1
MMC Device 1 not found
** Bad device mmc 1 **
Running default loadzimage ...
MMC Device 1 not found
** Bad device mmc 1 **
=>

На последнем контроллере это случилось при попытке прошивки назад на 2201.

Отметки на чипах памяти контроллеров:

  1. b. 357
  2. b. 419
  3. b. 425

Помогите пожалуйста разобраться в проблеме.

Добрый день.
Советую обновить предварительно u-bootwb6, актуальная версия 2:2021.10+wb1.4.3
Ну и сейчас - перед прошивкой отключить watchdog так: Watchdog — Wiren Board

Отключил вотчдог по инструкции для WB 6.6:

Ничего не поменялось:

U-Boot SPL 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38)
DRAM init ok, rows:15, ncs:1, size: 512MB
.p0_mpdgctrl0   = 0x01060106
.p0_mpdgctrl1   = 0x0e3f0e3f
.p0_mprddlctl   = 0x3f3f3e3f
.p0_mpwrdlctl   = 0x3f3f3835
.p0_mpwldectrl0 = 0x000b000b
.p0_mpwldectrl1 = 0x000c000c
Trying to boot from MMC1
Warning - USDHC2 controller not supporting


U-Boot 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 40C
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
Writing to MMC(0)... done
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... 1 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... 0 Storage Device(s) found
No storage devices, perhaps not 'usb start'ed..?
No USB update detected, continuing boot
MMC Device 1 not found
no mmc device at slot 1
SD/MMC found on device 1
MMC Device 1 not found
** Bad device mmc 1 **
Running default loadzimage ...
MMC Device 1 not found
** Bad device mmc 1 **
=>

Так, обсудим, конечно а покапопробуте самый свежий резиз 2304 залить на контроллер для проверки.

После установки 2304 контроллер стал загружаться, попробовал 2207 – с ней тоже теперь загружается. Но на 2201 прежняя ошибка, не подскажите как мне вернуться обратно на 2201?

Вот так надо обновить загрузчик:

apt update
apt install u-boot-wb6
u-boot-install-wb

Сделал

apt update (прошло без ошибок)
apt install u-boot-wb6
u-boot-install-wb

Затем поставил 2201, но в итоге получил ту же ошибку:

U-Boot 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38 +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
Writing to MMC(0)... done
Warning: Bootlimit (3) exceeded. Using altbootcmd.
Switching to rootfs on partition 3
Saving Environment to MMC...
Writing to MMC(0)... done
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... 1 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... 0 Storage Device(s) found
No storage devices, perhaps not 'usb start'ed..?
No USB update detected, continuing boot
MMC Device 1 not found
no mmc device at slot 1
SD/MMC found on device 1
MMC Device 1 not found
** Bad device mmc 1 **
Running default loadzimage ...
MMC Device 1 not found
** Bad device mmc 1 **
=>
U-Boot SPL 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38)
DRAM init ok, rows:15, ncs:1, size: 512MB
.p0_mpdgctrl0   = 0x01060106
.p0_mpdgctrl1   = 0x0e3f0e3f
.p0_mprddlctl   = 0x3f3f3d3f
.p0_mpwrdlctl   = 0x3f3f3a36
.p0_mpwldectrl0 = 0x000b000b
.p0_mpwldectrl1 = 0x000c000c
Trying to boot from MMC1
Warning - USDHC2 controller not supporting


U-Boot 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 40C
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
Writing to MMC(0)... done
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... 1 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... 0 Storage Device(s) found
No storage devices, perhaps not 'usb start'ed..?
No USB update detected, continuing boot
MMC Device 1 not found
no mmc device at slot 1
SD/MMC found on device 1
MMC Device 1 not found
** Bad device mmc 1 **
Running default loadzimage ...
MMC Device 1 not found
** Bad device mmc 1 **

Еще раз пробую воспроизвести. Беру контроллер работающий на 2304.
Заливаю https://fw-releases.wirenboard.com/fit_image/stable/6x/wb-6x-stable-2020-11-11_11%3A08%3A36.fit

Попробовал несколько раз, залил даже " Firmware version 202103302319" дорелиизную. Не воспроизводится.

Добрый день!

То есть при установке других прошивок всё работает?

Пробую.

U-Boot 2017.03-1.0.2-g6ee0824fba (May 27 2019 - 16:14:52 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 53C
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
EEPROM #0 MAC: 04:91:62:c2:33:30
EEPROM #1 MAC: 04:91:62:c2:41:59
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: Kingston Rev: 1.00 Prod: DataTraveler 2.0
            Type: Removable Hard Disk
            Capacity: 1919.0 MB = 1.8 GB (3930112 x 512)
reading wb6_update.fit
** Unable to read file wb6_update.fit **
reading wb6_update_FACTORYRESET.fit
1 bytes read in 19 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 0x82000100 ...
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (820010c8)
   Skip 7928976 bytes of data
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (8200042c)
   Skip 46505 bytes of data
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (82000e74)
   Skip 4653 bytes of data
   Skip 174093992 bytes of data
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (82000584)
** 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 0x82000100 ...
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (820010c8)
reading wb6_update_FACTORYRESET.fit
7945616 bytes read in 4914 ms (1.5 MiB/s)
     Description:  Update kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x82000300
     Data Size:    7928976 Bytes = 7.6 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   47f6419e0d5d8326c41b16761827dc3d746fec78
## 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 0x83000100 ...
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (830010c8)
   Skip 7928976 bytes of data
reading wb6_update_FACTORYRESET.fit
FAT: Misaligned buffer address (8300042c)
reading wb6_update_FACTORYRESET.fit
63589 bytes read in 727 ms (85 KiB/s)
     Description:  Update DTB
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x83000440
     Data Size:    46505 Bytes = 45.4 KiB
     Architecture: ARM
     Hash algo:    sha1
     Hash value:   ef9dd3fe2b348fb8eb9f150b9dc2e27d6899e823
## Verifying ... sha1+ 
   Loading part 0 ... OK
Kernel image @ 0x82000000 [ 0x000000 - 0x78fc90 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Loading Device Tree to 9ef48000, end 9ef565a8 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.22-wb6_initramfs (root@WB-buildserver) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #2 SMP Tue Feb 1 16:52:01 MSK 2022
[    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 init (i.MX6UL/ULL)
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @cfbd0000 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: 506760K/524288K available (5120K kernel code, 202K rwdata, 1576K rodata, 5120K init, 295K bss, 17528K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xb0000000 - 0xd0000000   ( 512 MB)
[    0.000000]     modules : 0xaf000000 - 0xb0000000   (  16 MB)
[    0.000000]       .text : 0xb0008000 - 0xb0600000   (6112 kB)
[    0.000000]       .init : 0xb0800000 - 0xb0d00000   (5120 kB)
[    0.000000]       .data : 0xb0d00000 - 0xb0d32880   ( 203 kB)
[    0.000000]        .bss : 0xb0d34000 - 0xb0d7ddb0   ( 296 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.000052] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.002601] Console: colour dummy device 80x30
[    0.002641] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002673] pid_max: default: 32768 minimum: 301
[    0.002866] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002892] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.004091] CPU: Testing write buffer coherency: ok
[    0.004584] /cpus/cpu@0 missing clock-frequency property
[    0.004623] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004677] Setting up static identity map for 0x80100000 - 0x80100070
[    0.007073] Brought up 1 CPUs
[    0.007109] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.007125] CPU: All CPU(s) started in SVC mode.
[    0.008340] devtmpfs: initialized
[    0.034460] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.035144] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.035194] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.035373] pinctrl core: initialized pinctrl subsystem
[    0.037429] NET: Registered protocol family 16
[    0.037943] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.040614] cpuidle: using governor menu
[    0.076058] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.076088] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.078327] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.118592] mxs-dma 1804000.dma-apbh: initialized
[    0.123124] SCSI subsystem initialized
[    0.123720] usbcore: registered new interface driver usbfs
[    0.123899] usbcore: registered new interface driver hub
[    0.124143] usbcore: registered new device driver usb
[    0.125736] i2c-gpio i2c_rtc: using pins 48 (SDA) and 49 (SCL)
[    0.126622] i2c-gpio i2c_eeprom1: using pins 76 (SDA) and 67 (SCL)
[    0.127465] i2c-gpio i2c_eeprom2: using pins 70 (SDA) and 71 (SCL)
[    0.128947] i2c i2c-1: IMX I2C adapter registered
[    0.128991] i2c i2c-1: can't use DMA, using PIO instead.
[    0.129411] pps_core: LinuxPPS API ver. 1 registered
[    0.129435] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.129492] PTP clock support registered
[    0.131880] clocksource: Switched to clocksource mxc_timer1
[    0.155694] NET: Registered protocol family 2
[    0.156890] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.157017] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.157173] TCP: Hash tables configured (established 4096 bind 4096)
[    0.157283] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.157341] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.157650] NET: Registered protocol family 1
[    0.158461] RPC: Registered named UNIX socket transport module.
[    0.158496] RPC: Registered udp transport module.
[    0.158511] RPC: Registered tcp transport module.
[    0.158525] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.727059] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.742221] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.744227] ntfs: driver 2.1.32 [Flags: R/W].
[    0.754689] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.754725] io scheduler noop registered (default)
[    0.759897] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.759937] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[    0.769038] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX
[    1.323178] console [ttymxc0] enabled
[    1.328700] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 55, base_baud = 5000000) is a IMX
[    1.338974] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 56, base_baud = 5000000) is a IMX
[    1.381801] imx_rngc 2284000.rngb: Freescale RNGC registered.
[    1.416706] brd: module loaded
[    1.435694] loop: module loaded
[    1.443954] at24 5-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.455364] at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.462892] libphy: Fixed MDIO Bus: probed
[    1.469342] 20b4000.ethernet supply phy not found, using dummy regulator
[    1.477365] pps pps0: new PPS source ptp0
[    1.510253] libphy: fec_enet_mii_bus: probed
[    1.516525] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.641967] 2188000.ethernet supply phy not found, using dummy regulator
[    1.762894] pps pps1: new PPS source ptp1
[    1.767966] libphy: fec_enet_mii_bus: probed
[    1.775897] fec 2188000.ethernet eth1: registered PHC device 1
[    1.782477] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.789050] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.794908] usbcore: registered new interface driver cdc_acm
[    1.800603] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.809088] usbcore: registered new interface driver usb-storage
[    1.872375] rtc-pcf8563 4-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.888512] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
[    1.897644] i2c /dev entries driver
[    1.905834] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    1.913345] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_SD1_DATA1 already requested by watchdog; cannot claim for watchdog_6x
[    1.924899] imx6ul-pinctrl 20e0000.iomuxc: pin-114 (watchdog_6x) status -22
[    1.931952] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 114 (MX6UL_PAD_SD1_DATA1) from group wdggrp_6x  on device 20e0000.iomuxc
[    1.944369] gpio-wdt watchdog_6x: Error applying setting, reverse things back
[    1.951560] gpio-wdt: probe of watchdog_6x failed with error -22
[    1.959325] sdhci: Secure Digital Host Controller Interface driver
[    1.965649] sdhci: Copyright(c) Pierre Ossman
[    1.970038] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.041948] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    2.061504] ledtrig-cpu: registered to indicate activity on CPUs
[    2.069065] random: fast init done
[    2.089533] usbcore: registered new interface driver usbhid
[    2.097300] usbhid: USB HID core driver
[    2.111578] NET: Registered protocol family 17
[    2.122546] Registering SWP/SWPB emulation handler
[    2.129591] registered taskstats version 1
[    2.146570] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    2.169822] rtc-pcf8563 4-0051: setting system clock to 2023-05-24 13:53:17 UTC (1684936397)
[    2.178313] of_cfs_init
[    2.180967] of_cfs_init: OK
[    2.189868] vdd3p0: disabling
[    2.195042] vref-3v3: disabling
[    2.200291] usb1_vbus: disabling
[    2.212256] Freeing unused kernel memory: 5120K (b0800000 - b0d00000)
[    2.227967] mmc0: new DDR MMC card at address 0001
[    2.248063] mmcblk0: mmc0:0001 Q2J54A 3.59 GiB 
[    2.262245] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 16.0 MiB
mount: mounting none on /dev/pts [    2.272246] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 16.0 MiB
failed: No such file or directory
[    2.292503] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB
[    2.303292]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
Boot mode: usbupdate,wb6_update_FACTORYRESET.fit
Board is WB6, loading ci_hdrc_imx module
[    2.542734] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    2.547680] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    2.581960] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    2.587642] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.594496] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.601726] usb usb1: Product: EHCI Host Controller
[    2.606659] usb usb1: Manufacturer: Linux 4.9.22-wb6_initramfs ehci_hcd
[    2.613322] usb usb1: SerialNumber: ci_hdrc.0
[    2.619164] hub 1-0:1.0: USB hub found
[    2.623164] hub 1-0:1.0: 1 port detected
[    2.628660] 2184200.usb supply vbus not found, using dummy regulator
[    2.639336] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.644426] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    2.671970] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.677736] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.684610] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.691892] usb usb2: Product: EHCI Host Controller
[    2.696787] usb usb2: Manufacturer: Linux 4.9.22-wb6_initramfs ehci_hcd
[    2.703478] usb usb2: SerialNumber: ci_hdrc.1
[    2.709249] hub 2-0:1.0: USB hub found
[    2.713242] hub 2-0:1.0: 1 port detected
[    2.982018] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    3.072035] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[    3.175747] usb 1-1: New USB device found, idVendor=0951, idProduct=160e
[    3.182653] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.189921] usb 1-1: Product: DataTraveler 2.0
[    3.194515] usb 1-1: Manufacturer: Kingston
[    3.198750] usb 1-1: SerialNumber: 2008012500000000000004BD
[    3.208015] usb-storage 1-1:1.0: USB Mass Storage device detected
[    3.215195] scsi host0: usb-storage 1-1:1.0
[    3.262605] usb 2-1: New USB device found, idVendor=0424, idProduct=2514
[    3.269379] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.278320] hub 2-1:1.0: USB hub found
[    3.282467] hub 2-1:1.0: 4 ports detected
[    3.602052] usb 2-1.1: new high-speed USB device number 3 using ci_hdrc
[    3.754514] usb 2-1.1: New USB device found, idVendor=0bda, idProduct=b720
[    3.761518] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.769132] usb 2-1.1: Product: 802.11n WLAN Adapter
[    3.774243] usb 2-1.1: Manufacturer: Realtek
[    3.778561] usb 2-1.1: SerialNumber: 00e04c000001
Load modules for USB to work
Starting USB update
Waiting for USB to settle (0/10)
[    4.244333] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
[    4.256781] sd 0:0:0:0: [sda] 3930112 512-byte logical blocks: (2.01 GB/1.87 GiB)
[    4.268383] sd 0:0:0:0: [sda] Write Protect is off
[    4.274127] sd 0:0:0:0: [sda] No Caching mode page found
[    4.279528] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.407199]  sda: sda1
[    4.413616] 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
[    5.125819] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.


BusyBox v1.22.1 (Debian 1:1.22.0-19+deb9u2) 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.

##############################################################################
....

Factory reset is confirmed!

===============================================================================
Wed May 24 13:53:26 UTC 2023: started update from /usb/wb6_update_FACTORYRESET.fit
===============================================================================
Description:         WirenBoard firmware update
Compatible device:   contactless,imx6ul-wirenboard61
Firmware version:    202203251520
Firmware compatible: unknown
Release name:        wb-2201
Release suite:       stable
Release target:      wb6/stretch
Release repo prefix: 
Time of creation:    Fri Mar 25 15:21:39 UTC 2022
===============================================================================

>>> Checking SHA1 hash of install
PROGRESS: 0%
>>> SHA1 hash of install ok
>>> Wiping data partition (factory reset)
mke2fs 1.43.4 (31-Jan-2017)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/mmcblk0p6 is mounted.
[   13.198955] random: crng init done
Discarding device blocks: done                            
Creating filesystem with 345344 4k blocks and 86416 inodes
Filesystem UUID: 83e91f1d-1213-4b00-84c7-734d75f23953
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done 

>>> Extracting install script
>>> Running install script
...
PROGRESS: 100%
>>> SHA1 hash of rootfs ok
>>> Installing firmware update
>>> Getting mmcpart from U-Boot environment
>>> Will install to /dev/mmcblk0p2
>>> Check if partition table is correct
[   51.999131] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
>>> Mounting /dev/mmcblk0p2 at /dev/shm/rootfs
[   52.035440] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
>>> Cleaning up /dev/mmcblk0p2
>>> Cleaning up using rsync
>>> Extracting files to new rootfs
/dev/shm/rootfs /
>>> Recovering device certificates
~ # [  142.226365] EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities
~ # [  142.293082] EXT4-fs (loop0): couldn't mount as ext2 due to feature incompatibilities
~ # 
~ # [  142.359893] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)
~ # >>> Mount /dev, /proc and /sys to rootfs
>>> Running post-install scripts
>>> > Processing /dev/shm/rootfs/usr/lib/wb-image-update/postinst/10update-u-boot
Trying to install u-boot using u-boot-install-wb from new rootfs
Das U-Boot installator for Wiren Board

Ну и загружается совершенно штатно. На контроллере был 2304, контроллер WB6.6

wirenboard-ACAX3M6K login: root
Password: 
          _                _                         _ 
__      _(_)_ __ ___ _ __ | |__   ___   __ _ _ __ __| |
\ \ /\ / / | '__/ _ \ '_ \| '_ \ / _ \ / _` | '__/ _` |
 \ V  V /| | | |  __/ | | | |_) | (_) | (_| | | | (_| |
  \_/\_/ |_|_|  \___|_| |_|_.__/ \___/ \__,_|_|  \__,_|
                                                       
Welcome to Wiren Board 6.6.0 (s/n ACAX3M6K), release wb-2201 (as stable)
Linux wirenboard-ACAX3M6K 5.10.35-wb105 #1 Wed Feb 2 21:09:31 UTC 2022 armv7l GNU/Linux

Попробуйте выполнить ```print`` из загрузчика, посмотрим что там указано. У меня:

U-Boot SPL 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38)
DRAM init ok, rows:15, ncs:1, size: 512MB
.p0_mpdgctrl0   = 0x0118011c
.p0_mpdgctrl1   = 0x0e3f0e3f
.p0_mprddlctl   = 0x3f3f4045
.p0_mpwrdlctl   = 0x3f3f3935
.p0_mpwldectrl0 = 0x000b000b
.p0_mpwldectrl1 = 0x000c000c
Trying to boot from MMC1
Warning - USDHC2 controller not supporting


U-Boot 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 61C
Reset cause: WDOG
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 

=> print
_decr_timeout=setexpr fw_timeout ${fw_timeout} - 1
_led_toggle_state=0
_usb_update_checkbutton=run _usb_update_print_msg ; run led_wait_init ; if run wait_button_up; then if run wait_button_down; then run _usb_update_start; fi; fi
_usb_update_checkfile=if load ${fw_dev} ${loadaddr} ${fw_file} 1 ; then run _usb_update_checkbutton ; elif load ${fw_dev} ${loadaddr} ${fw_reset_file} 1 ; then setenv fw_file ${fw_reset_file}; run _usb_update_checkbutton ; fi
_usb_update_print_msg=echo ; echo '##############################' ; echo '# Detected USB flash drive with update file' ; echo "# Filename: ${fw_file}" ; echo "# Press a FW key if you want to update firmware from this file" ; echo "# or wait 3 seconds to boot normally." ; echo "##############################"
_usb_update_start=run led_fw_init; echo USB update procedure start; run do_usb_update
_wait_loop=run led_wait_toggle ; sleep 0.2 ; run _decr_timeout
abortboot=1
addoverlay=if ${fdt_load_continue} && load mmc ${mmcdev}:${mmcpart} ${fdt_overlay_addr} ${fdt_overlays_dir}/${ovl}.dtbo; then echo Applying DT overlay ${ovl};if fdt apply ${fdt_overlay_addr}; then true; else echo Failed to apply overlay ${ovl};setenv fdt_load_continue false;fi;fi
altbootcmd=if test ${mmcpart} -eq 2; then echo Switching to rootfs on partition 3;setenv mmcpart 3;else; echo Switching to rootfs on partition 2;setenv mmcpart 2;fi;setenv bootcount 0;saveenv; boot
baudrate=115200
board_name=WB
board_rev=6UL
bootcmd=run maybe_usbupdate;mmc dev ${mmcdev};if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then run bootenv; fi;echo Running default loadzimage ...;if run loadzimage; then run loadfdt; run mmcboot; fi;fi;
bootcount=0
bootdelay=3
bootenv=echo Importing environment from ${loadaddr}...; env import -t ${loadaddr} ${filesize};echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;
bootlimit=3
bootrestore=echo Restoring minimal partition table and bootloader; setexpr RESTOREBOOT_SIZE *$bootrestore_size / 0x200 ; setexpr RESTOREBOOT_START *$bootrestore_start ; mmc write $RESTOREBOOT_START 2 $RESTOREBOOT_SIZE ; mw.l $bootrestore_flag 0 ; led red on ; echo Done! Now do a power cycle ; reset
bootrestore_flag=0x82fffffc
bootrestore_size=0x82fffff8
bootrestore_start=0x82fffff4
console=ttymxc0
do_usb_update=echo Checking if ubootenv part is present; if fsfitxtract ${fw_dev} ${fw_file} ubootenv ${loadaddr}; then run bootenv; else echo Extracting kernel; fsfitxtract ${fw_dev} ${fw_file} kernel ${loadaddr}; echo Extracting DTB; fsfitxtract ${fw_dev} ${fw_file} dtb ${fdt_addr}; setenv optargs ${optargs} bootmode=usbupdate,${fw_f;
eth1addr=04:91:62:c2:41:59
ethaddr=04:91:62:c2:33:30
fdt_addr=0x83000000
fdt_dir=/boot/dtbs
fdt_extra_overlay_offset=0x7e0
fdt_extra_overlay_size=0x20
fdt_file=/boot/dtbs/imx6ul-wirenboard61.dtb
fdt_maxsize=0x20000
fdt_overlay_addr=0x84000000
fdt_overlays_dir=/boot/overlays
fw_dev=usb 0:1
fw_file=wb6_update.fit
fw_reset_file=wb6_update_FACTORYRESET.fit
fw_timeout="14"
ip_dyn=yes
led_fw_init=led green on; led red off;
led_nofw_init=led green off; led red on;
led_wait_init=led red on ; led green on
led_wait_toggle=if test ${_led_toggle_state} -eq 0; then led green on; led red on; else led green off; led red off; fi; setexpr _led_toggle_state ${_led_toggle_state} ^ 1
loadaddr=0x82000000
loadbootenv=load mmc ${mmcdev}:${mmcpart} ${loadaddr} /boot/uEnv.txt
loadfdt=run loadfdtandoverlays
loadfdtandoverlays=mmc read ${fdt_overlay_addr} ${fdt_extra_overlay_offset} ${fdt_extra_overlay_size};if fdt addr ${fdt_overlay_addr}; then setenv fdt_extra_overlay_addr ${fdt_overlay_addr};setexpr fdt_extra_overlay_size_bytes ${fdt_extra_overlay_size} * 0x200;setexpr fdt_overlay_addr ${fdt_overlay_addr} + ${fdt_extra_overlay_size_byte;
loadmainfdt=if test -n ${fdt_file_override} && echo Loading fdt_file_override ${fdt_file_override} && load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file_override}; then true; else if test -n ${fdt_name_factory} && echo Loading factory fdt ${fdt_name_factory} && load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_dir}/${fdt_name_factory}.;
loadzimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} /boot/zImage
maybe_usbupdate=echo Checking if there is a USB storage with update file ${fw_file}; regulator dev usb1_vbus; regulator enable; usb start; if usb storage; then run _usb_update_checkfile ; fi; run led_nofw_init ; echo No USB update detected, continuing boot
mmcargs=setenv optargs ${optargs} root=/dev/mmcblk${mmcdev}p${mmcpart} rootwait ro; run setbootargs
mmcboot=echo Booting from mmc ...; run mmcargs; bootz ${loadaddr} - ${fdt_addr}
mmcdev=0
mmcpart=2
netargs=setenv optargs ${optargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp; run setbootargs
netboot=echo Booting from net ...; run netargs; tftp zImage; if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else bootz; fi;
not_timeout=test 0x${fw_timeout} -gt 0
ramboot=echo Programming fuses ...; fuse prog -y 0 5 0x4860; fuse prog -y 0 6 0x10; echo Booting kernel from RAM ...; run setbootargs; bootz ${loadaddr} - ${fdt_addr};
read_button=gpio qi GPIO5_10
setbootargs=setenv bootargs console=${console},${baudrate} ${optargs}
upgrade_available=0
videomode=video=ctfb:x:480,y:272,depth:24,pclk:108695,le:8,ri:4,up:2,lo:4,hs:41,vs:10,sync:0,vmode:0
wait_button_down=until run read_button && run not_timeout ; do run _wait_loop; done; run not_timeout
wait_button_up=while run read_button && run not_timeout ; do run _wait_loop; done; run not_timeout

Environment size: 6596/8188 bytes
=> 

Вот что у меня дает print, это при попытке обновления с 2207 (202303311032) до 2201 (202203251520)

=> print
_decr_timeout=setexpr fw_timeout ${fw_timeout} - 1
_led_toggle_state=0
_usb_update_checkbutton=run _usb_update_print_msg ; run led_wait_init ; if run wait_button_up; then if run wait_button_down; then run _usb_update_start; fi; fi
_usb_update_checkfile=if load ${fw_dev} ${loadaddr} ${fw_file} 1 ; then run _usb_update_checkbutton ; elif load ${fw_dev} ${loadaddr} ${fw_reset_file} 1 ; then setenv fw_file ${fw_reset_file}; run _usb_update_checkbutton ; fi
_usb_update_print_msg=echo ; echo '##############################' ; echo '# Detected USB flash drive with update file' ; echo "# Filename: ${fw_file}" ; echo "# Press a FW key if you want to update firmware from this file" ; echo "# or wait 3 seconds to boot normally." ; echo "##############################"
_usb_update_start=run led_fw_init; echo USB update procedure start; run do_usb_update
_wait_loop=run led_wait_toggle ; sleep 0.2 ; run _decr_timeout
addoverlay=if ${fdt_load_continue} && load mmc ${mmcdev}:${mmcpart} ${fdt_overlay_addr} ${fdt_overlays_dir}/${ovl}.dtbo; then echo Applying DT overlay ${ovl};if fdt apply ${fdt_overlay_addr}; then true; else echo Failed to apply overlay ${ovl};setenv fdt_load_continue false;fi;fi
altbootcmd=if test ${mmcpart} -eq 2; then echo Switching to rootfs on partition 3;setenv mmcpart 3;else; echo Switching to rootfs on partition 2;setenv mmcpart 2;fi;setenv bootcount 0;saveenv; boot
baudrate=115200
board_name=WB
board_rev=6UL
bootcmd=run maybe_usbupdate;mmc dev ${mmcdev};if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then run bootenv; fi;echo Running default loadzimage ...;if run loadzimage; then run loadfdt; run mmcboot; fi;fi;
bootcount=1
bootdelay=3
bootenv=echo Importing environment from ${loadaddr}...; env import -t ${loadaddr} ${filesize};echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;
bootlimit=3
bootrestore=echo Restoring minimal partition table and bootloader; setexpr RESTOREBOOT_SIZE *$bootrestore_size / 0x200 ; setexpr RESTOREBOOT_START *$bootrestore_start ; mmc write $RESTOREBOOT_START 2 $RESTOREBOOT_SIZE ; mw.l $bootrestore_flag 0 ; led red on ; echo Done! Now do a power cycle ; reset
bootrestore_flag=0x82fffffc
bootrestore_size=0x82fffff8
bootrestore_start=0x82fffff4
console=ttymxc0
do_usb_update=echo Checking if ubootenv part is present; if fsfitxtract ${fw_dev} ${fw_file} ubootenv ${loadaddr}; then run bootenv; else echo Extracting kernel; fsfitxtract ${fw_dev} ${fw_file} kernel ${loadaddr}; echo Extracting DTB; fsfitxtract ${fw_dev} ${fw_file} dtb ${fdt_addr}; setenv optargs ${optargs} bootmode=usbupdate,${fw_file}; run setbootargs; bootz ${loadaddr} - ${fdt_addr}; fi;
eth1addr=80:1f:12:4b:c0:0b
ethaddr=80:1f:12:4c:3f:c3
fdt_addr=0x83000000
fdt_dir=/boot/dtbs
fdt_extra_overlay_offset=0x7e0
fdt_extra_overlay_size=0x20
fdt_file=/boot/dtbs/imx6ul-wirenboard61.dtb
fdt_maxsize=0x20000
fdt_overlay_addr=0x84000000
fdt_overlays_dir=/boot/overlays
fileaddr=82000000
filesize=1
fw_dev=usb 0:1
fw_file=wb6_update_FACTORYRESET.fit
fw_reset_file=wb6_update_FACTORYRESET.fit
fw_timeout=0
ip_dyn=yes
kernel_mmcdev=0
led_fw_init=led green on; led red off;
led_nofw_init=led green off; led red on;
led_wait_init=led red on ; led green on
led_wait_toggle=if test ${_led_toggle_state} -eq 0; then led green on; led red on; else led green off; led red off; fi; setexpr _led_toggle_state ${_led_toggle_state} ^ 1
loadaddr=0x82000000
loadbootenv=load mmc ${mmcdev}:${mmcpart} ${loadaddr} /boot/uEnv.txt
loadfdt=run loadfdtandoverlays
loadfdtandoverlays=mmc read ${fdt_overlay_addr} ${fdt_extra_overlay_offset} ${fdt_extra_overlay_size};if fdt addr ${fdt_overlay_addr}; then setenv fdt_extra_overlay_addr ${fdt_overlay_addr};setexpr fdt_extra_overlay_size_bytes ${fdt_extra_overlay_size} * 0x200;setexpr fdt_overlay_addr ${fdt_overlay_addr} + ${fdt_extra_overlay_size_bytes};echo Reading overlays list from eMMC;fdt get value fdt_overlays /fragment/__overlay__ overlays;echo Reading factory fdt name from eMMC;fdt get value fdt_name_factory /fragment/__overlay__ factory-fdt;fi;run loadmainfdt;fdt addr ${fdt_addr} ${fdt_maxsize};setenv fdt_load_continue true;for ovl in ${fdt_overlays}; do run addoverlay;done;if ${fdt_load_continue} && test -n ${fdt_extra_overlay_addr}; then echo Applying extra overlay;if fdt apply ${fdt_extra_overlay_addr}; then true; else echo Failed to apply extra overlay;setenv fdt_load_continue false;fi;fi;if ${fdt_load_continue}; then true; else echo Some overlays are not applied, booting in failsafe;run loadmainfdt;fdt addr ${fdt_addr} ${fdt_maxsize};fdt set / wirenboard-boot-failsafe;fi;
loadmainfdt=if test -n ${fdt_file_override} && echo Loading fdt_file_override ${fdt_file_override} && load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file_override}; then true; else if test -n ${fdt_name_factory} && echo Loading factory fdt ${fdt_name_factory} && load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_dir}/${fdt_name_factory}.dtb;then true; else echo Loading fdt_file ${fdt_file};load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file};fi;fi;
loadzimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} /boot/zImage
maybe_usbupdate=echo Checking if there is a USB storage with update file ${fw_file}; regulator dev usb1_vbus; regulator enable; usb start; if usb storage; then run _usb_update_checkfile ; fi; run led_nofw_init ; echo No USB update detected, continuing boot
mmcargs=setenv optargs ${optargs} root=/dev/mmcblk${kernel_mmcdev}p${mmcpart} rootwait ro; run setbootargs
mmcboot=echo Booting from mmc ...; run mmcargs; bootz ${loadaddr} - ${fdt_addr}
mmcdev=1
mmcpart=2
netargs=setenv optargs ${optargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp; run setbootargs
netboot=echo Booting from net ...; run netargs; tftp zImage; if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else bootz; fi;
not_timeout=test 0x${fw_timeout} -gt 0
ramboot=echo Programming fuses ...; fuse prog -y 0 5 0x4860; fuse prog -y 0 6 0x10; echo Booting kernel from RAM ...; run setbootargs; bootz ${loadaddr} - ${fdt_addr};
read_button=gpio qi GPIO5_10
setbootargs=setenv bootargs console=${console},${baudrate} ${optargs}
upgrade_available=1
videomode=video=ctfb:x:480,y:272,depth:24,pclk:108695,le:8,ri:4,up:2,lo:4,hs:41,vs:10,sync:0,vmode:0
wait_button_down=until run read_button && run not_timeout ; do run _wait_loop; done; run not_timeout
wait_button_up=while run read_button && run not_timeout ; do run _wait_loop; done; run not_timeout

Environment size: 6650/8188 bytes

При попытке установки 2201 несколько раз получал вот такое:

Factory reset is confirmed!

===============================================================================
Thu May 25 15:55:58 UTC 2023: started update from /usb/wb6_update_FACTORYRESET.fit
===============================================================================
Description:         WirenBoard firmware update
Compatible device:   contactless,imx6ul-wirenboard61
Firmware version:    202203251520
Firmware compatible: unknown
Release name:        wb-2201
Release suite:       stable
Release target:      wb6/stretch
Release repo prefix:
Time of creation:    Fri Mar 25 15:21:39 UTC 2022
===============================================================================

>>> Checking SHA1 hash of install
PROGRESS: 0%
>>> SHA1 hash of install ok
>>> Wiping data partition (factory reset)
mke2fs 1.43.4 (31-Jan-2017)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/mmcblk0p6 is mounted.
Discarding device blocks: [   14.293211] random: crng init done
done
Creating filesystem with 331008 4k blocks and 82896 inodes
Filesystem UUID: ff2d2065-3d9f-41de-8b1f-e5984cf88297
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

>>> Extracting install script
>>> Running install script
>>> Checking SHA1 hash of rootfs
PROGRESS: 100%
!!! SHA1 of rootfs doesn't match (expected dc48de2f590152570b8ca135c57428e854611973, got 70a7f747a00107228e9d6f2b262d538eac51e692)

Вот то что “1” - это странно, крайне. Попрошу коллег посмотреть.

Александр, добрый день! Коллеги, почему-то всё стесняются написать, но, пожалуйста, выкладывайте полный вывод из консоли! Вы сейчас выбираете интересные куски, но не всегда удачно.

По проблеме: попробуйте пожалуйста выполнить env default -a; saveenv в загрузчике и перезагрузиться. В любом случае прикрепите файлом полный вывод из консоли с момента подачи питания.

1 лайк

Здравствуйте, Евгений. После выполнения env default -a; saveenv загрузился!
Привожу полный лог загрузки:


U-Boot SPL 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38)
DRAM init ok, rows:15, ncs:1, size: 512MB
.p0_mpdgctrl0   = 0x010c0107
.p0_mpdgctrl1   = 0x0e3f0e3f
.p0_mprddlctl   = 0x3f3f3d3e
.p0_mpwrdlctl   = 0x3f3f3835
.p0_mpwldectrl0 = 0x000c000b
.p0_mpwldectrl1 = 0x000d000d
Trying to boot from MMC1
Warning - USDHC2 controller not supporting


U-Boot 2017.03-wb1.3.0-g520058c326 (Jan 18 2022 - 10:56:38 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 34C
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... 1 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... 0 Storage Device(s) found
No storage devices, perhaps not 'usb start'ed..?
No USB update detected, continuing boot
switch to partitions #0, OK
mmc0(part 0) is current device
SD/MMC found on device 0
323 bytes read in 72 ms (3.9 KiB/s)
Importing environment from 0x82000000...
Checking if uenvcmd is set ...
Running default loadzimage ...
5899176 bytes read in 398 ms (14.1 MiB/s)

MMC read: dev # 0, block # 2016, count 32 ... 32 blocks read: OK
Reading overlays list from eMMC
Reading factory fdt name from eMMC
Loading factory fdt imx6ul-wirenboard65
44868 bytes read in 208 ms (210 KiB/s)
682 bytes read in 221 ms (2.9 KiB/s)
Applying DT overlay wb6-gsm-sim5300e
597 bytes read in 147 ms (3.9 KiB/s)
Applying DT overlay wb6-wifi-rtl8723bu
509 bytes read in 175 ms (2 KiB/s)
Applying DT overlay wb6-noradio
334 bytes read in 114 ms (2 KiB/s)
Applying DT overlay wb6-eth1
254 bytes read in 127 ms (2 KiB/s)
Applying DT overlay temp-industrial
Applying extra overlay
Booting from mmc ...
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Loading Device Tree to 9ef4c000, end 9ef6efff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.35-wb105 (jenkins@wbdevenv) (arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516, GNU ld (GNU Binutils for Debian) 2.28) #1 Wed Feb 2 21:09:31 UTC 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[    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.5 (i.MX6UL/ULL)
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x9f000000
[    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] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait ro
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 489388K/524288K available (8192K kernel code, 714K rwdata, 2680K rodata, 1024K init, 272K bss, 18516K reserved, 16384K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x238/0x3d4 with crng_init=0
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000061] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.002794] Console: colour dummy device 80x30
[    0.002862] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002903] pid_max: default: 32768 minimum: 301
[    0.003332] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003370] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.004940] CPU: Testing write buffer coherency: ok
[    0.006021] Setting up static identity map for 0x80100000 - 0x80100078
[    0.006913] devtmpfs: initialized
[    0.024508] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.025031] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.025079] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.026432] pinctrl core: initialized pinctrl subsystem
[    0.028489] NET: Registered protocol family 16
[    0.030792] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.032822] thermal_sys: Registered thermal governor 'step_wise'
[    0.033106] cpuidle: using governor menu
[    0.205488] vdd1p1: supplied by regulator-dummy
[    0.217186] vdd3p0: supplied by regulator-dummy
[    0.228908] cpu: supplied by regulator-dummy
[    0.240610] vddsoc: supplied by regulator-dummy
[    0.589504] No ATAGs?
[    0.589565] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.589589] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.590211] debugfs: Directory 'dummy-iomuxc-gpr@20e4000' with parent 'regmap' already present!
[    0.590823] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.592293] imx6ul-pinctrl 2290000.iomuxc-snvs: no groups defined in /soc/bus@2200000/iomuxc-snvs@2290000
[    0.592334] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.633230] mxs-dma 1804000.dma-apbh: initialized
[    0.638571] SCSI subsystem initialized
[    0.639076] usbcore: registered new interface driver usbfs
[    0.639221] usbcore: registered new interface driver hub
[    0.639347] usbcore: registered new device driver usb
[    0.640177] gpio-48 (i2c_rtc): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    0.640308] gpio-49 (i2c_rtc): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    0.641262] i2c-gpio i2c_rtc: using lines 48 (SDA) and 49 (SCL)
[    0.642003] gpio-76 (i2c_eeprom1): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    0.642137] gpio-67 (i2c_eeprom1): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    0.642749] i2c-gpio i2c_eeprom1: using lines 76 (SDA) and 67 (SCL)
[    0.643537] gpio-70 (i2c_eeprom2): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    0.643672] gpio-71 (i2c_eeprom2): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    0.644309] i2c-gpio i2c_eeprom2: using lines 70 (SDA) and 71 (SCL)
[    0.645898] gpio-30 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    0.646275] i2c i2c-1: IMX I2C adapter registered
[    0.647028] mc: Linux media interface: v0.10
[    0.647147] videodev: Linux video capture interface: v2.00
[    0.647295] pps_core: LinuxPPS API ver. 1 registered
[    0.647320] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.647375] PTP clock support registered
[    0.648001] Advanced Linux Sound Architecture Driver Initialized.
[    0.650152] clocksource: Switched to clocksource mxc_timer1
[    0.668085] NET: Registered protocol family 2
[    0.669259] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.669376] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.669496] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.669606] TCP: Hash tables configured (established 4096 bind 4096)
[    0.669800] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.669854] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.670355] NET: Registered protocol family 1
[    0.671288] RPC: Registered named UNIX socket transport module.
[    0.671325] RPC: Registered udp transport module.
[    0.671345] RPC: Registered tcp transport module.
[    0.671364] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.672561] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.675508] Initialise system trusted keyrings
[    0.675954] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.687729] NFS: Registering the id_resolver key type
[    0.687807] Key type id_resolver registered
[    0.687829] Key type id_legacy registered
[    0.688755] Key type asymmetric registered
[    0.688793] Asymmetric key parser 'x509' registered
[    0.688899] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.688928] io scheduler mq-deadline registered
[    0.688948] io scheduler kyber registered
[    0.701170] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.701222] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[    0.705255] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
[    1.367917] printk: console [ttymxc0] enabled
[    1.374431] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 58, base_baud = 5000000) is a IMX
[    1.385075] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 59, base_baud = 5000000) is a IMX
[    1.428774] imx_rngc 2284000.rng: Freescale RNGB registered (HW revision 2.129)
[    1.436210] random: fast init done
[    1.440184] random: crng init done
[    1.479654] brd: module loaded
[    1.497535] loop: module loaded
[    1.501142] at24 5-0050: supply vcc not found, using dummy regulator
[    1.512602] at24 5-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.519571] at24 6-0050: supply vcc not found, using dummy regulator
[    1.531050] at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.541118] libphy: Fixed MDIO Bus: probed
[    1.548119] pps pps0: new PPS source ptp0
[    1.588393] libphy: fec_enet_mii_bus: probed
[    1.593903] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.720842] pps pps1: new PPS source ptp1
[    1.727453] libphy: fec_enet_mii_bus: probed
[    1.736182] fec 2188000.ethernet eth1: registered PHC device 1
[    1.743053] PPP generic driver version 2.4.2
[    1.747748] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.754396] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.760198] usbcore: registered new interface driver usb-storage
[    1.766467] usbcore: registered new interface driver usbserial_generic
[    1.773133] usbserial: USB Serial support registered for generic
[    1.834467] rtc-pcf8563 4-0051: registered as rtc0
[    1.851286] rtc-pcf8563 4-0051: setting system clock to 2023-05-26T06:50:56 UTC (1685083856)
[    1.869644] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1
[    1.876193] i2c /dev entries driver
[    1.883100] lm75 4-0048: supply vs not found, using dummy regulator
[    1.894692] lm75 4-0048: hwmon0: sensor 'lm75b'
[    2.014957] sdhci: Secure Digital Host Controller Interface driver
[    2.021253] sdhci: Copyright(c) Pierre Ossman
[    2.025628] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.040324] ledtrig-cpu: registered to indicate activity on CPUs
[    2.048160] usbcore: registered new interface driver usbhid
[    2.053833] usbhid: USB HID core driver
[    2.070298] mmc0: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[    2.078270] NET: Registered protocol family 10
[    2.085459] Segment Routing with IPv6
[    2.089535] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.097511] NET: Registered protocol family 17
[    2.102341] Key type dns_resolver registered
[    2.111109] registered taskstats version 1
[    2.115284] Loading compiled-in X.509 certificates
[    2.137536] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    2.149476] of_cfs_init
[    2.152288] of_cfs_init: OK
[    2.160057] ALSA device list:
[    2.163152]   No soundcards found.
[    2.166866] Waiting for root device /dev/mmcblk0p2...
[    2.177016] mmc0: new DDR MMC card at address 0001
[    2.182756] mmcblk0: mmc0:0001 W62704 3.53 GiB
[    2.187673] mmcblk0boot0: mmc0:0001 W62704 partition 1 2.00 MiB
[    2.194099] mmcblk0boot1: mmc0:0001 W62704 partition 2 2.00 MiB
[    2.200410] mmcblk0rpmb: mmc0:0001 W62704 partition 3 512 KiB, chardev (245:0)
[    2.210891]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
[    2.238584] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.246953] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.258116] devtmpfs: mounted
[    2.265293] Freeing unused kernel memory: 1024K
[    2.270725] Run /sbin/init as init process
[    2.573425] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    2.593380] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 9 (stretch)!

[    2.631150] systemd[1]: Set hostname to <wirenboard>.
[    3.230933] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    3.270924] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    3.311648] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    3.352040] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    3.420005] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    3.452159] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    3.491022] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Created slice System Slice.
         Starting File System Check on Root Device...
         Starting Load Kernel Modules...
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Debug File System...
         Mounting /sys/kernel/config...
         Starting Create list of required st…ce nodes for the current kernel...
         Mounting POSIX Message Queue File System...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Starting Journal Service...
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted /sys/kernel/config.
[  OK  ] Started Journal Service.
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started File System Check Daemon to report status.
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[    4.693515] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting prepare partitions at first boot...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started prepare partitions at first boot.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started udev Coldplug all Devices.
[    6.732361] Driver for 1-wire Dallas network protocol.
[    6.746409] gpio-11 (onewire_w1): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    6.820962] gpio-108 (onewire_w2): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[  OK  ] Found device /dev/ttymxc0.
[    7.208238] fec 20b4000.ethernet rename2: renamed from eth0
[    7.654432] imx_usb 2184000.usb: No over current polarity defined
[    7.668226] fec 2188000.ethernet eth0: renamed from eth1
[    7.740791] fec 20b4000.ethernet eth1: renamed from rename2
[    7.779830] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    7.829651] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    7.940313] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    7.987584] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    7.995965] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.003231] usb usb1: Product: EHCI Host Controller
[    8.008116] usb usb1: Manufacturer: Linux 5.10.35-wb105 ehci_hcd
[    8.014160] usb usb1: SerialNumber: ci_hdrc.0
[    8.319932] hub 1-0:1.0: USB hub found
[    8.368492] hub 1-0:1.0: 1 port detected
[    8.396066] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    8.450292] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    8.560263] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    8.580685] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    8.588978] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.596279] usb usb2: Product: EHCI Host Controller
[    8.601185] usb usb2: Manufacturer: Linux 5.10.35-wb105 ehci_hcd
[    8.607200] usb usb2: SerialNumber: ci_hdrc.1
[    8.742978] usb usb1-port1: over-current condition
[  OK  ] Found device /dev/mmcblk0p5.
[    8.889460] hub 2-0:1.0: USB hub found
[    8.940332] hub 2-0:1.0: 1 port detected
[  OK  ] Found device /dev/mmcblk0p6.
[    9.340394] usb 2-1: new high-speed USB device number 2 using ci_hdrc
         Starting File System Check on /dev/mmcblk0p6...
[    9.560980] usb 2-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    9.569207] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
         Activating swap /dev/mmcblk0p5...
[    9.647821] hub 2-1:1.0: USB hub found
[    9.662786] hub 2-1:1.0: 4 ports detected
[    9.667256] Adding 262140k swap on /dev/mmcblk0p5.  Priority:-2 extents:1 across:262140k SS
[  OK  ] Activated swap /dev/mmcblk0p5.
[  OK  ] Reached target Swap.
[  OK  ] Started File System Check on /dev/mmcblk0p6.
         Mounting /mnt/data...
[   10.010315] usb 2-1.1: new high-speed USB device number 3 using ci_hdrc
[   10.082496] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Mounted /mnt/data.
[   10.161989] usb 2-1.1: New USB device found, idVendor=0bda, idProduct=b720, bcdDevice= 2.00
[   10.170455] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.177840] usb 2-1.1: Product: 802.11n WLAN Adapter
[   10.182882] usb 2-1.1: Manufacturer: Realtek
[   10.187174] usb 2-1.1: SerialNumber: 00e04c000001
         Mounting /var/log...
[  OK  ] Mounted /var/log.
[   10.545732] Bluetooth: Core ver 2.22
[   10.560525] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   10.588426] NET: Registered protocol family 31
[   10.592972] Bluetooth: HCI device and connection manager initialized
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[   10.622836] Bluetooth: HCI socket layer initialized
[   10.627752] Bluetooth: L2CAP socket layer initialized
         Starting Flush Journal to Persistent Storage...
[  OK  ] Reached target Local File Systems.
[   10.675331] Bluetooth: SCO socket layer initialized
[  OK  ] Started ifup for eth1.
[   10.749539] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
         Starting prepare mounts and symlinks to config files...
[   10.782527] usbcore: registered new interface driver btusb
[   10.801444] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   10.811496] Bluetooth: hci0: RTL: rom_version status=0 version=1
[   10.817580] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin
[   10.828061] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_config.bin
[   10.834669] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   10.843948] Bluetooth: hci0: RTL: cfg_sz -2, total sz 22496
         Starting Raise network interfaces...
[   10.922720] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   10.987029] cfg80211: failed to load regulatory.db
[   11.102637] systemd-journald[109]: Received request to flush runtime journal from PID 1
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[   11.671539] Bluetooth: hci0: RTL: fw version 0x0e2f9f73
[  OK  ] Started Flush Journal to Persistent Storage.
[   12.428755] RTL871X: module init start
[   12.432621] RTL871X: rtl8723bu v4.3.6.11_12942.20141204_BTCOEX20140507-4E40
[   12.439588] RTL871X: rtl8723bu BT-Coex version = BTCOEX20140507-4E40
[   12.764650] RTL871X: rtw_ndev_init(wlan0)
[   12.780689] RTL871X: rtw_ndev_init(wlan1)
[   12.818293] usbcore: registered new interface driver rtl8723bu
[   12.824233] RTL871X: module init ret=0
[   13.393126] usbcore: registered new interface driver rtl8xxxu
[  OK  ] Found device 802.11n_WLAN_Adapter.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started ifup for wlan0.
[   16.198686] RTL871X: RTW_ADAPTIVITY_EN_
[   16.198710] AUTO, chplan:0x20, Regulation:3,3
[   16.206991] RTL871X: RTW_ADAPTIVITY_MODE_
[   16.206995] NORMAL
[   19.932202] RTL871X: nolinked power save enter
[  OK  ] Started prepare mounts and symlinks to config files.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Monitor directories with device templates for wb-mqtt-serial.
[  OK  ] Reached target Paths.
[  OK  ] Listening on KNX Daemon (socket).
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
         Starting initialize filesystems at first boot...
         Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
         Starting Bluetooth service...
[  OK  ] Started Cgroup management daemon.
         Starting System Logging Service...
[  OK  ] Started Generates wb-mqtt-serial UI schema for wb-mqtt-confed.
         Starting Restore local date from Wiren Board GSM RTC...
[  OK  ] Started D-Bus[   21.588209] new mount options do not match the existing superblock, will be ignored
 System Message Bus.
[   22.003104] Micrel KSZ8081 or KSZ8091 2188000.ethernet-2:03: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=2188000.ethernet-2:03, irq=POLL)
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth.
         Starting Login Service...
[   22.385784] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   22.391208] Bluetooth: BNEP filters: protocol multicast
         Starting Restore /etc/resolv.conf i…fore the ppp link was shut down...
[   22.445942] Bluetooth: BNEP socket layer initialized
[  OK  ] Started watch config files.
         Starting Initialize Wiren Board Device Tree overlays...
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[  OK  ] Started Mosquitto MQTT v3.1/v3.1.1 Broker.
[  OK  ] Started Login Service.
         Starting Hostname Service...
         Starting Wiren Board MQTT to Modbus TCP gateway...
         Starting Wiren Board MQTT to OPC UA gateway...
[  OK  ] Started Wiren Board firmware update service.
[  OK  ] Started Wiren Board configuration editor backend.
[   24.263389] EXT4-fs (mmcblk0p3): recovery complete
[   24.268277] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Started Wiren Board MQTT to OPC UA gateway.
[  OK  ] Started Hostname Service.
[  OK  ] Started Wiren Board MQTT to Modbus TCP gateway.
[   30.767670] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 224, base_baud = 5000000) is a IMX
[  OK  ] Started Initialize Wiren Board Device Tree overlays.
[  OK  ] Started one-click diagnostic data c…ard, generating archive with data.
         Starting KNXD Configurator for Wiren Board...
[  OK  ] Started MQTT Rule engine for Wiren Board.
[  OK  ] Started metrics sender..
[   38.750445] SMSC LAN8710/LAN8720 2188000.ethernet-2:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-2:00, irq=POLL)
[  OK  ] Started Restore local date from Wiren Board GSM RTC.
         Starting KNX Daemon...
[  OK  ] Started KNX Daemon.
[  OK  ] Started KNXD Configurator for Wiren Board.
[  OK  ] Started Wiren Board MQTT KNX bridge.
[   44.671551] usb 2-1.2: new high-speed USB device number 4 using ci_hdrc
[   44.854605] usb 2-1.2: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 255, changing to 11
[   44.925757] usb 2-1.2: New USB device found, idVendor=058b, idProduct=0041, bcdDevice= 0.00
[   44.934208] usb 2-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   45.261297] usbcore: registered new interface driver cdc_acm
[   45.267020] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   46.168888] usb 2-1.2: USB disconnect, device number 4
[   46.490299] usb 2-1.2: new high-speed USB device number 5 using ci_hdrc
[   46.671514] usb 2-1.2: New USB device found, idVendor=8087, idProduct=07ed, bcdDevice= 1.00
[   46.679936] usb 2-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   47.450496] usb 2-1.2: USB disconnect, device number 5
[***   ] A start job is running for initiali…ems at first boot (40s / no limit)[   52.100251] usb 2-1.2: new high-speed USB device number 6 using ci_hdrc
[   52.270727] usb 2-1.2: New USB device found, idVendor=1e0e, idProduct=0020, bcdDevice=17.30
[   52.279133] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   52.286511] usb 2-1.2: Product: SIMCOM_PRODUCT
[   52.290986] usb 2-1.2: Manufacturer: SIMCOM_VENDOR
[   52.295797] usb 2-1.2: SerialNumber: 004999010640000
[   52.411127] cdc_acm 2-1.2:1.0: ttyACM0: USB ACM device
[   52.438158] cdc_acm 2-1.2:1.2: ttyACM1: USB ACM device
[   52.490715] cdc_acm 2-1.2:1.4: ttyACM2: USB ACM device
[   52.530595] cdc_acm 2-1.2:1.6: ttyACM3: USB ACM device
[**    ] A start job is running for initiali…ems at first boot (41s / no limit)[   52.551702] cdc_acm 2-1.2:1.8: ttyACM4: USB ACM device
[   52.591274] cdc_acm 2-1.2:1.10: ttyACM5: USB ACM device
[   52.630893] cdc_acm 2-1.2:1.12: ttyACM6: USB ACM device
[  OK  ] Stopped KNX Daemon.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Started initialize filesystems at first boot.
[  OK  ] Reached target Network.
         Starting KNX Daemon...
         Starting MQTT Driver for GPIO-controlled switches...
[  OK  ] Started Kernel 1-Wire MQTT driver for WB-HomA.
         Starting MQTT Driver for ADC...
[  OK  ] Started Wiren Board journald to MQTT gateway.
         Starting A high performance web server and a reverse proxy server...
         Starting dnsmasq - A lightweight DHCP and caching DNS server...
         Starting Permit User Sessions...
[  OK  ] Started Wiren Board database logger.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started MQTT Driver for serial devices.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started KNX Daemon.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Serial Getty on ttymxc0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Network is Online.
         Starting LSB: Start NTP daemon...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Brings up/down network automatically...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: Start NTP daemon.
[   69.284372] process '/sbin/netplugd' started with executable stack
[  OK  ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[  OK  ] Reached target Host and Network Name Lookups.
[   72.052699] RTL871X: RTW_ADAPTIVITY_EN_
[   72.052724] AUTO, chplan:0x20, Regulation:3,3
[   72.061010] RTL871X: RTW_ADAPTIVITY_MODE_
[   72.061014] NORMAL

Debian GNU/Linux 9 wirenboard-AUMMT26G ttymxc0

wirenboard-AUMMT26G login: [   74.755610] RTL871X: nolinked power save leave
[   75.476609] RTL871X: assoc success
[   75.480125] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Debian GNU/Linux 9 wirenboard-AUMMT26G ttymxc0

Ага, предположение, значит, верно. Попробуйте (если есть еще один контроллер) обновить загрузчик и поставить 2201.

Вы имеете ввиду взять один из пострадавших контроллеров, снова накатить ему 2304, обновить загрузчик и поставить 2201? Я ведь так и делал ранее, если снова это сделать без добавления env default -a; saveenv в результате будет ошибка ** Bad device mmc 1 **

Нет. Цель - отработать решение по обновлению контроллеро ведь. Для этого не нужен путь 2304->2201.

Так насколько я понял нельзя просто перейти с 2201 на 2207 (чтобы в рамках stretch) через флешку, у нас зависимости ломаются как указано в изначальном посте, и прежний софт не работает. Хотя я и пробовал снова собрать зависимости на 2207 через apt-get install --download-only для каждого пакета нашего ПО, и вышло что сам набор зависимостей не отличается, но при попытке установки получаем ошибки. Именно поэтому и появилась потребность откатить назад 2207 на 2201, что не получилось и из-за чего я создал тему.

Или есть вероятность что эти ошибки уйдут с обновлением загрузчика? Тогда конечно попробую.

Добавлено: на некоторых контроллерах bad mmc появилась без отката на 2201, наверное тогда действительно имеет смысл обновить загрузчик просто при переходе на новую прошивку

А не подскажите заодно, есть ли способ обновить загрузчик автономно, без apt update и интернета? У нас контроллеры работают в условиях очень плохой связи GSM, из-за этого и заварили всю кашу с флешками, чтобы их хоть как-то обновлять. Просто скачать u-boot-wb6 через тот же apt-get insatll --download-only и закинуть на флешку? Будет ли одна и та же скачанная прошивка одинаково работать на WB 6.5 - 6.6?

Это конечно немного не по теме, если что создам отдельную ветку для этого вопроса.