Добрый день.
Не получается сбросить контроллер на заводские настройки через USB порт. Перепробовал 4 разных флешки, на одной только хотя бы файл видно.
Кусок лога загрузки:
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 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
EEPROM #0 MAC: 04:91:62:c2:15:c1
EEPROM #1 MAC: 04:91:62:c2:5a:ca
Net: No ethernet found.
Hit any key to stop autoboot: 3 2 1 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: PMAP Prod: DataTraveler 410
Type: Removable Hard Disk
Capacity: 7644.0 MB = 7.4 GB (15654912 x 512)
reading wb6_update.fit
** Unable to read file wb6_update.fit **
reading wb6_update_FACTORYRESET.fit
** wb6_update_FACTORYRESET.fit shorter than offset + len **
0 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
** wb6_update_FACTORYRESET.fit shorter than offset + len **
Bad FIT header: FDT_ERR_BADMAGIC
Extracting kernel
Loading FIT header to 0x82000000 …
reading wb6_update_FACTORYRESET.fit
** wb6_update_FACTORYRESET.fit shorter than offset + len **
Bad FIT header: FDT_ERR_BADMAGIC
Extracting DTB
Loading FIT header to 0x83000000 …
reading wb6_update_FACTORYRESET.fit
** wb6_update_FACTORYRESET.fit shorter than offset + len **
Bad FIT header: FDT_ERR_BADMAGIC
Bad Linux ARM zImage magic!
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 60 ms (4.9 KiB/s)
Importing environment from 0x82000000…
Checking if uenvcmd is set …
Running default loadzimage …
5057640 bytes read in 341 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-wirenboard660
45166 bytes read in 406 ms (108.4 KiB/s)
682 bytes read in 212 ms (2.9 KiB/s)
Applying DT overlay wb6-gsm-sim5300e
597 bytes read in 137 ms (3.9 KiB/s)
Applying DT overlay wb6-wifi-rtl8723bu
509 bytes read in 165 ms (2.9 KiB/s)
Applying DT overlay wb6-noradio
334 bytes read in 104 ms (2.9 KiB/s)
Applying DT overlay wb6-eth1
254 bytes read in 116 ms (2 KiB/s)
Applying DT overlay temp-industrial
Applying extra overlay
Booting from mmc …
Kernel image @ 0x82000000 [ 0x000000 - 0x4d2c68 ]
Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Loading Device Tree to 9ef33000, end 9ef55fff … OK
Starting kernel …
Далее загрузка идет в обычном режиме. Версия 6.6.0, в момент сброса никакой периферии не подключено к wb кроме дебаг консоли.
Куда копать?