U-Boot SPL 2021.10-wb1.6.0-g9e72dde28f (Jul 11 2023 - 12:18:34 +0000)
DRAM init ok, rows:16, ncs:1, size: 1024MB
.p0_mpdgctrl0   = 0x01150112
.p0_mpdgctrl1   = 0x0e3f0e3f
.p0_mprddlctl   = 0x3f3f3e3d
.p0_mpwrdlctl   = 0x3f3f3834
.p0_mpwldectrl0 = 0x00120010
.p0_mpwldectrl1 = 0x00130013
Trying to boot from MMC1
Warning - USDHC2 controller not supporting

U-Boot 2021.10-wb1.6.0-g9e72dde28f (Jul 11 2023 - 12:18:34 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 38C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM:  1 GiB
MMC:   FSL_SDHC: 1
In:    serial
Out:   serial
Err:   serial
Loading Environment from MMC... OK
Will only keep env vars: mmcpart bootcount upgrade_available uenvcmd wb_webupd otp_program otp_aes_program
## Info: input data size = 43 = 0x2B
bootcount=0
mmcpart=2
upgrade_available=0

Environment size: 43/8188 bytes
## Resetting to default environment
## Info: input data size = 43 = 0x2B
Net:   Could not get PHY for FEC0: addr 0
No ethernet found.

Hit any key to stop autoboot:  0
## Info: input data size = 4285 = 0x10BD
switch to partitions #0, OK
mmc1(part 0) is current device
eMMC found on device 1
Press FW button to enter firmware update mode
..............
Entering firmware update mode.
Checking if ubootenv part is present
## Loading FIT header to 0x82000000 ...
** File not found .wb-restore/factoryreset.fit **
Read failed: -1Extracting kernel
## Loading FIT header to 0x82000000 ...
** File not found .wb-restore/factoryreset.fit **
Read failed: -1Extracting DTB
## Loading FIT header to 0x83000000 ...
** File not found .wb-restore/factoryreset.fit **
Read failed: -1zimage: Bad magic!
ERROR: Failed to enter update mode!
ERROR: /mnt/data/.wb-restore/factoryreset.fit missing or corrupt
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB...
Bus usb@2184000: USB EHCI 1.00
Bus usb@2184200: USB EHCI 1.00
scanning bus usb@2184000 for devices...
U-Boot SPL 2021.10-wb1.6.0-g9e72dde28f (Jul 11 2023 - 12:18:34 +0000)
DRAM init ok, rows:16, ncs:1, size: 1024MB
.p0_mpdgctrl0   = 0x01190119
.p0_mpdgctrl1   = 0x0e3f0e3f
.p0_mprddlctl   = 0x3f3f3f3e
.p0_mpwrdlctl   = 0x3f3f3834
.p0_mpwldectrl0 = 0x00120010
.p0_mpwldectrl1 = 0x00130013
Trying to boot from MMC1
Warning - USDHC2 controller not supporting

U-Boot 2021.10-wb1.6.0-g9e72dde28f (Jul 11 2023 - 12:18:34 +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:  1 GiB
MMC:   FSL_SDHC: 1
In:    serial
Out:   serial
Err:   serial
Loading Environment from MMC... OK
Will only keep env vars: mmcpart bootcount upgrade_available uenvcmd wb_webupd otp_program otp_aes_program
## Info: input data size = 43 = 0x2B
bootcount=0
mmcpart=2
upgrade_available=0

Environment size: 43/8188 bytes
## Resetting to default environment
## Info: input data size = 43 = 0x2B
Net:   Could not get PHY for FEC0: addr 0
No ethernet found.

Hit any key to stop autoboot:  0
## Info: input data size = 4285 = 0x10BD
switch to partitions #0, OK
mmc1(part 0) is current device
eMMC found on device 1
Press FW button to enter firmware update mode
................................................
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB...
Bus usb@2184000: USB EHCI 1.00
Bus usb@2184200: USB EHCI 1.00
scanning bus usb@2184000 for devices... 2 USB Device(s) found
scanning bus usb@2184200 for devices... EHCI timed out on TD - token=0x80008d80

      USB device not accepting new address (error=22)
1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
  Device 0: Vendor:          Rev: PMAP Prod: USB DISK 2.0
            Type: Removable Hard Disk
            Capacity: 3840.0 MB = 3.7 GB (7864320 x 512)
Failed to load 'wb6_update.fit'
1 bytes read in 7 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.
##############################

No USB update detected, continuing boot
Failed to load '/boot/uEnv.txt'
Running default loadzimage ...
Failed to load '/boot/zImage'
=>
U-Boot SPL 2021.10-wb1.6.0-g9e72dde28f (Jul 11 2023 - 12:18:34 +0000)
DRAM init ok, rows:16, ncs:1, size: 1024MB
.p0_mpdgctrl0   = 0x01180118
.p0_mpdgctrl1   = 0x0e3f0e3f
.p0_mprddlctl   = 0x3f3f3e3e
.p0_mpwrdlctl   = 0x3f3f3934
.p0_mpwldectrl0 = 0x00120010
.p0_mpwldectrl1 = 0x00130013
Trying to boot from MMC1
Warning - USDHC2 controller not supporting

U-Boot 2021.10-wb1.6.0-g9e72dde28f (Jul 11 2023 - 12:18:34 +0000)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 39C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM:  1 GiB
MMC:   FSL_SDHC: 1
In:    serial
Out:   serial
Err:   serial
Loading Environment from MMC... OK
Will only keep env vars: mmcpart bootcount upgrade_available uenvcmd wb_webupd otp_program otp_aes_program
## Info: input data size = 43 = 0x2B
bootcount=0
mmcpart=2
upgrade_available=0

Environment size: 43/8188 bytes
## Resetting to default environment
## Info: input data size = 43 = 0x2B
Net:   Could not get PHY for FEC0: addr 0
No ethernet found.

Hit any key to stop autoboot:  0
## Info: input data size = 4285 = 0x10BD
switch to partitions #0, OK
mmc1(part 0) is current device
eMMC found on device 1
Press FW button to enter firmware update mode
....
Entering firmware update mode.
Checking if ubootenv part is present
## Loading FIT header to 0x82000000 ...
** File not found .wb-restore/factoryreset.fit **
Read failed: -1Extracting kernel
## Loading FIT header to 0x82000000 ...
** File not found .wb-restore/factoryreset.fit **
Read failed: -1Extracting DTB
## Loading FIT header to 0x83000000 ...
** File not found .wb-restore/factoryreset.fit **
Read failed: -1zimage: Bad magic!
ERROR: Failed to enter update mode!
ERROR: /mnt/data/.wb-restore/factoryreset.fit missing or corrupt
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB...
Bus usb@2184000: USB EHCI 1.00
Bus usb@2184200: USB EHCI 1.00
scanning bus usb@2184000 for devices... 2 USB Device(s) found
scanning bus usb@2184200 for devices... EHCI timed out on TD - token=0x80008d80

      USB device not accepting new address (error=22)
1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
  Device 0: Vendor:          Rev: PMAP Prod: USB DISK 2.0
            Type: Removable Hard Disk
            Capacity: 3840.0 MB = 3.7 GB (7864320 x 512)
Failed to load 'wb6_update.fit'
1 bytes read in 8 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 ...
## Loading FIT strings to 0x82000028 ...
## Loading FIT struct to 0x82000100 ...
Can't find subimage 'ubootenv'
Extracting kernel
## Loading FIT header to 0x82000000 ...
## Loading FIT strings to 0x82000028 ...
## Loading FIT struct to 0x82000100 ...
7937936 bytes read in 484 ms (15.6 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 ...
## Loading FIT strings to 0x83000028 ...
## Loading FIT struct to 0x83000100 ...
55849 bytes read in 113 ms (482.4 KiB/s)
     Description:  Update DTB
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x83000480
     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 bef8b000, end bef995a8 ... 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 @ef7cf000 s25932 r8192 d23220 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
[    0.000000] Kernel command line: console=ttymxc0,115200 bootmode=update_auto bootmode=usbupdate,wb6_update_FACTORYRESET.fit
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1026552K/1048576K available (5120K kernel code, 202K rwdata, 1576K rodata, 5120K init, 295K bss, 22024K 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 : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xb0000000 - 0xf0000000   (1024 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.000016] 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.002625] Console: colour dummy device 80x30
[    0.002669] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002701] pid_max: default: 32768 minimum: 301
[    0.002885] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002911] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004176] CPU: Testing write buffer coherency: ok
[    0.004680] /cpus/cpu@0 missing clock-frequency property
[    0.004721] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004780] Setting up static identity map for 0x80100000 - 0x80100070
[    0.007183] Brought up 1 CPUs
[    0.007219] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.007235] CPU: All CPU(s) started in SVC mode.
[    0.008569] devtmpfs: initialized
[    0.035112] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.035813] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.035864] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.036047] pinctrl core: initialized pinctrl subsystem
[    0.038096] NET: Registered protocol family 16
[    0.038640] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.041391] cpuidle: using governor menu
[    0.077221] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.077254] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.079479] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.120016] mxs-dma 1804000.dma-apbh: initialized
[    0.124558] SCSI subsystem initialized
[    0.125174] usbcore: registered new interface driver usbfs
[    0.125339] usbcore: registered new interface driver hub
[    0.125587] usbcore: registered new device driver usb
[    0.127228] i2c-gpio i2c_rtc: using pins 48 (SDA) and 49 (SCL)
[    0.128082] i2c-gpio i2c_eeprom1: using pins 76 (SDA) and 67 (SCL)
[    0.128943] i2c-gpio i2c_eeprom2: using pins 70 (SDA) and 71 (SCL)
[    0.130456] i2c i2c-1: IMX I2C adapter registered
[    0.130498] i2c i2c-1: can't use DMA, using PIO instead.
[    0.130904] pps_core: LinuxPPS API ver. 1 registered
[    0.130929] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.130988] PTP clock support registered
[    0.133445] clocksource: Switched to clocksource mxc_timer1
[    0.157686] NET: Registered protocol family 2
[    0.158934] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.159140] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.159434] TCP: Hash tables configured (established 8192 bind 8192)
[    0.159580] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.159664] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.160000] NET: Registered protocol family 1
[    0.160847] RPC: Registered named UNIX socket transport module.
[    0.160879] RPC: Registered udp transport module.
[    0.160895] RPC: Registered tcp transport module.
[    0.160908] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.734415] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.749395] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.751457] ntfs: driver 2.1.32 [Flags: R/W].
[    0.761882] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.761916] io scheduler noop registered (default)
[    0.767480] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.767520] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[    0.776695] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX
[    1.333183] console [ttymxc0] enabled
[    1.338787] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 55, base_baud = 5000000) is a IMX
[    1.349095] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 56, base_baud = 5000000) is a IMX
[    1.391906] imx_rngc 2284000.rngb: Freescale RNGC registered.
[    1.426980] brd: module loaded
[    1.446171] loop: module loaded
[    1.454455] at24 5-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.465895] at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    1.473406] libphy: Fixed MDIO Bus: probed
[    1.479945] 20b4000.ethernet supply phy not found, using dummy regulator
[    1.487967] pps pps0: new PPS source ptp0
[    1.520977] libphy: fec_enet_mii_bus: probed
[    1.527259] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.653540] 2188000.ethernet supply phy not found, using dummy regulator
[    1.774500] pps pps1: new PPS source ptp1
[    1.779579] libphy: fec_enet_mii_bus: probed
[    1.786696] fec 2188000.ethernet eth1: registered PHC device 1
[    1.793117] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.799821] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.805667] usbcore: registered new interface driver cdc_acm
[    1.811362] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.819728] usbcore: registered new interface driver usb-storage
[    1.883119] rtc-pcf8563 4-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.899346] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
[    1.908472] i2c /dev entries driver
[    1.916733] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    1.924245] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_SD1_DATA1 already requested by watchdog; cannot claim for watchdog_6x
[    1.935790] imx6ul-pinctrl 20e0000.iomuxc: pin-114 (watchdog_6x) status -22
[    1.942792] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 114 (MX6UL_PAD_SD1_DATA1) from group wdggrp_6x  on device 20e0000.iomuxc
[    1.955216] gpio-wdt watchdog_6x: Error applying setting, reverse things back
[    1.962407] gpio-wdt: probe of watchdog_6x failed with error -22
[    1.970185] sdhci: Secure Digital Host Controller Interface driver
[    1.976508] sdhci: Copyright(c) Pierre Ossman
[    1.980895] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.053521] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    2.073107] ledtrig-cpu: registered to indicate activity on CPUs
[    2.083112] random: fast init done
[    2.103687] usbcore: registered new interface driver usbhid
[    2.111367] usbhid: USB HID core driver
[    2.123574] NET: Registered protocol family 17
[    2.130991] Registering SWP/SWPB emulation handler
[    2.141213] registered taskstats version 1
[    2.156825] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    2.180253] rtc-pcf8563 4-0051: setting system clock to 2025-08-28 06:19:32 UTC (1756361972)
[    2.188744] of_cfs_init
[    2.191376] of_cfs_init: OK
[    2.200324] vdd3p0: disabling
[    2.203475] vref-3v3: disabling
[    2.206644] usb1_vbus: disabling
[    2.216479] Freeing unused kernel memory: 5120K (b0800000 - b0d00000)
[    2.249003] mmc0: new DDR MMC card at address 0001
[    2.263943] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
[    2.270110] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
[    2.283253] mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
mount: mounting none on /dev/pts failed: No such file or directory
[    2.303823] mmcblk0rpmb: mmc0:0001 Q2J55L partition 3 4.00 MiB
[    2.314707]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
Boot mode: usbupdate,wb6_update_FACTORYRESET.fit
Board is WB6, loading ci_hdrc_imx module
[    2.555393] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    2.560341] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    2.593519] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    2.599218] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.606101] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.613335] usb usb1: Product: EHCI Host Controller
[    2.618253] usb usb1: Manufacturer: Linux 4.9.22-wb6_initramfs ehci_hcd
[    2.624910] usb usb1: SerialNumber: ci_hdrc.0
[    2.630756] hub 1-0:1.0: USB hub found
[    2.634753] hub 1-0:1.0: 1 port detected
[    2.640225] 2184200.usb supply vbus not found, using dummy regulator
[    2.650932] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.656023] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    2.683536] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.689322] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.696201] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.703520] usb usb2: Product: EHCI Host Controller
[    2.708419] usb usb2: Manufacturer: Linux 4.9.22-wb6_initramfs ehci_hcd
[    2.715086] usb usb2: SerialNumber: ci_hdrc.1
[    2.720857] hub 2-0:1.0: USB hub found
[    2.724846] hub 2-0:1.0: 1 port detected
[    3.033612] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    3.083590] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[    3.249722] usb 1-1: New USB device found, idVendor=13fe, idProduct=4300
[    3.256662] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.263931] usb 1-1: Product: USB DISK 2.0
[    3.268116] usb 1-1: Manufacturer:
[    3.272349] usb 1-1: SerialNumber: 070008ED01FFFF35
[    3.278273] usb 2-1: New USB device found, idVendor=0424, idProduct=2514
[    3.285190] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.295525] usb-storage 1-1:1.0: USB Mass Storage device detected
[    3.305091] hub 2-1:1.0: USB hub found
[    3.310011] hub 2-1:1.0: 4 ports detected
[    3.314377] scsi host0: usb-storage 1-1:1.0
[    3.643632] usb 2-1.1: new high-speed USB device number 3 using ci_hdrc
[    3.795995] usb 2-1.1: New USB device found, idVendor=0bda, idProduct=b720
[    3.802999] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.810533] usb 2-1.1: Product: 802.11n WLAN Adapter
[    3.815615] usb 2-1.1: Manufacturer: Realtek
[    3.819932] usb 2-1.1: SerialNumber: 00e04c000001
Load modules for USB to work
Starting USB update
Waiting for USB to settle (0/10)
Waiting for USB to settle (1/10)
[    5.561550] scsi 0:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 6
[    5.574481] sd 0:0:0:0: [sda] 7864320 512-byte logical blocks: (4.03 GB/3.75 GiB)
[    5.585391] sd 0:0:0:0: [sda] Write Protect is off
[    5.592435] sd 0:0:0:0: [sda] No Caching mode page found
[    5.598022] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.618703]  sda: sda1
[    5.630428] 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
[    6.172489] 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.

##############################################################################
.
oo....

Factory reset is confirmed!

===============================================================================
Thu Aug 28 06:19:46 UTC 2025: started update from /usb/wb6_update_FACTORYRESET.fit
===============================================================================
Description:         WirenBoard firmware update
Compatible device:   contactless,imx6ul-wirenboard61
Firmware version:    202212301103
Firmware compatible: unknown
Release name:        wb-2207
Release suite:       stable
Release target:      wb6/stretch
Release repo prefix:
Time of creation:    Fri Dec 30 11:04:06 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: [   17.678472] random: crng init done
done
Creating filesystem with 1264896 4k blocks and 316368 inodes
Filesystem UUID: c1b8e7da-16ba-4d35-9ea8-1af625eaceec
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736

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

>>> Extracting install script
>>> Running install script
>>> Checking SHA1 hash of rootfs
PROGRESS: 100%
>>> SHA1 hash of rootfs ok
>>> Installing firmware update
>>> Getting mmcpart from U-Boot environment
>>> Will install to /dev/mmcblk0p3
>>> Check if partition table is correct
mount: mounting /dev/mmcblk0p3 on /dev/shm/rootfs failed: Invalid argument
>>> Unable to mount root partition, formatting /dev/mmcblk0p3
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/mmcblk0p3 is mounted.
mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

!!! mkfs.ext4 failed

~ #