Не загружается wb 8.5

Приветствую.

В консоль выводит следующее

[EC] Wiren Board Embedded Controller
[EC] Firmware version: 2.0.2
[EC] Git info: 628e0f4_HEAD
[EC] Power on reason: Power supply on
[EC] RTC time: 2025-04-15 13:03:42
[EC] Board temperature: 30.4ºC
[EC] Vin: 0.0V, USB: 5.1V
[EC] Turning on the main CPU; all future debug messages will originate from the CPU.



U-Boot SPL 2024.01-gad5987f990 (Nov 13 2024 - 13:30:48 +0000)
DRAM: 4096 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.10.0  (debug):v2.10.0+dfsg-1+wb1-1-g9db2f29f3
NOTICE:  BL31: Built : 13:16:33, Feb 29 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082d88, model: Wiren Board 8.x
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.

На флешку с прошивкой не реагирует. ( нет сообщений с FW в консоли )

Если выключить Watchdog - в дебаг вообще ни чего не выводит.

Добрый день!

Отключите все внешние и внутренние модули.

Сообщите какое напряжение питания подаете? Имеет смысл попробовать подать ** Vin 12–24V** и повторить.

Если только от USB, то точно ли там есть 5 В?

Попробуйте прошивку через Debug Network

Это весь вывод?

Контроллер из коробки, голый. в дебаге 5в - это запитал только от usb чтобы скопировать логи. при 24 вольтах поведение идентичное

да, по кругу выдает с интервалом в 1м (точно не засекал)

[EC] Watchdog is timed out, reset power.

U-Boot SPL 2024.01-gad5987f990 (Nov 13 2024 - 13:30:48 +0000)
DRAM: 4096 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.10.0  (debug):v2.10.0+dfsg-1+wb1-1-g9db2f29f3
NOTICE:  BL31: Built : 13:16:33, Feb 29 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082d88, model: Wiren Board 8.x
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.

Напишите серийный номер контроллера или номер заказа.

А вот после этого - что? Выложите лог пары циклов, пожалуйста.
Ну и c воткнутой флешкой на которой wb_update_FACTORYRESET.fit желательно тоже.
А после чего стал перезагружаться контроллер?

Результат получилось повторить на втором контроллереле (но цели такой не было)
имеем контроллеры:
8.5.1B/4G AERMKODY (условно первый)
8.5.1B/4G APFRWNIO (условно второй)
заказ 217063

Задача была переехать с wb6 +jethome на wb8, были сделаны следующие действия:

  1. apt update && apt upgrade
  2. apt install wb-mb-explorer
  3. Настройка даты и времени в контроллере Wiren Board — Wiren Board
  4. Установка Docker на контроллер Wiren Board — Wiren Board
  5. в докер кучу контейнеров
  6. скопировал etc c wb6 на wb8 [etc (yauza all).zip — Яндекс Диск]
  7. reboot и все.

в результате:


[EC] Wiren Board Embedded Controller
[EC] Firmware version: 2.0.2
[EC] Git info: 628e0f4_HEAD
[EC] Power on reason: Power supply on
[EC] RTC time: 2025-04-16 11:23:45
[EC] Board temperature: 34.6ºC
[EC] Vin: 0.0V, USB: 4.9V
[EC] Turning on the main CPU; all future debug messages will originate from the CPU.



U-Boot SPL 2024.01-gad5987f990 (Nov 13 2024 - 13:30:48 +0000)
DRAM: 4096 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.10.0  (debug):v2.10.0+dfsg-1+wb1-1-g9db2f29f3
NOTICE:  BL31: Built : 13:16:33, Feb 29 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082d88, model: Wiren Board 8.x
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.


[EC] Watchdog is timed out, reset power.

U-Boot SPL 2024.01-gad5987f990 (Nov 13 2024 - 13:30:48 +0000)
DRAM: 4096 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.10.0  (debug):v2.10.0+dfsg-1+wb1-1-g9db2f29f3
NOTICE:  BL31: Built : 13:16:33, Feb 29 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082d88, model: Wiren Board 8.x
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.


[EC] Watchdog is timed out, reset power.

U-Boot SPL 2024.01-gad5987f990 (Nov 13 2024 - 13:30:48 +0000)
DRAM: 4096 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.10.0  (debug):v2.10.0+dfsg-1+wb1-1-g9db2f29f3
NOTICE:  BL31: Built : 13:16:33, Feb 29 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082d88, model: Wiren Board 8.x
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.

как это выглядит

флешка с factoryreset установлена.
при включении быстро моргает светодиод EC далее лог выше.
“цикл” заканчивает на INFO: Changed devicetree. потом ожидание заметно больше минуты, потом сообщение
[EC] Watchdog is timed out, reset power.
писк
остальной блок сообщений.

на кнопку fw никак не реагирует.

уточнение, после установки docker - контроллер ребутился

А какой результат ожидался после такой операции?
То есть если прямо поверх симлинков скопировать из архива не поддерживающего атрибуты файловой системы да с другого контроллера - результат ожидаемый.
Или копировали с помощью rsync или подобного? Тогда - с какими параметрами?

результат переноса настроек одного контроллера на другой.
Перенос файлов производился без архивов. Скачивал и загружал через программу Cyberduck подключаясь по SFTP

подобные операции проводил не раз, после сбросов или переездов. поэтому был уверен в своих действиях.

etc (yauza all) — Яндекс Диск - без архивации

Я не знаю такаой программы.
Судя по результатам - она некорректно работает с атрибутами файлов.
Ну и переносить вообще все файлы - между контроллерами разной архитектуры просто нельзя.

Тут, для примера:
Screenshot_20250416_144827
файл.
А в фаловой системе контроллера - это симлинк.
В общем случай негарантийный и требуется или сброс или восстановление на стенде, если сброс не удастся.

Программу брал Просмотр файлов контроллера с компьютера — Wiren Board

Выше логи, на fw никак не реагирует.

Получается контроллер можно окирпичить копированием условным одним файлом?

Попробовал прошить через этот метод Образ для снятия дампа разделов eMMC контроллера Wiren Board — Wiren Board

результат с зажатой клавишей FW:

Environment size: 1/65532 bytes
## Resetting to default environment
## Info: input data size = 15 = 0xF
Net:   No ethernet found.
Hit <SPACE> to stop autoboot... (2 s)
## Info: input data size = 4321 = 0x10E1
switch to partitions #0, OK
mmc0 is current device
eMMC found on device 0
36 bytes read in 2 ms (17.6 KiB/s)
Importing environment from 0x40080000...
Checking if uenvcmd is set ...
Running default loadzimage ...
16996157 bytes read in 9147 ms (1.8 MiB/s)

MMC read: dev # 0, block # 2016, count 32 ... 32 blocks read: OK
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Loading fdt_file_override /boot/bootlet_dtb
41922 bytes read in 25 ms (1.6 MiB/s)
Working FDT set to 4fa00000
Booting from mmc ...
   Uncompressing Kernel Image
Moving Image from 0x40080000 to 0x40200000, end=41e80000
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
   Loading Device Tree to 0000000049fdd000, end 0000000049ffffff ... OK
Working FDT set to 49fdd000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.8.0 (root@wbdevenv) (aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #95 SMP Mon Jul  1 15:41:02 UTC 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Wiren Board rev. 8.4.3 (T507)
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 KiB) nomap non-reusable secmon@40000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x13f7ba9c0-0x13f7bcfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000004003ffff]
[    0.000000]   node   0: [mem 0x0000000040040000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 21 pages/cpu s48552 r8192 d29272 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk1p2 rootwait ro
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
[    0.000000] Memory: 3985264K/4194304K available (11712K kernel code, 1408K rwdata, 3568K rodata, 11776K init, 517K bss, 176272K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000525] Console: colour dummy device 80x25
[    0.000609] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000622] pid_max: default: 32768 minimum: 301
[    0.000696] LSM: initializing lsm=capability,integrity
[    0.000805] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000827] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001859] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.002565] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.002789] rcu: Hierarchical SRCU implementation.
[    0.002793] rcu:     Max phase no-delay instances is 1000.
[    0.003052] EFI services will not be available.
[    0.003266] smp: Bringing up secondary CPUs ...
[    0.003739] Detected VIPT I-cache on CPU1
[    0.003816] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.004365] Detected VIPT I-cache on CPU2
[    0.004411] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004876] Detected VIPT I-cache on CPU3
[    0.004921] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004988] smp: Brought up 1 node, 4 CPUs
[    0.004996] SMP: Total of 4 processors activated.
[    0.005000] CPU: All CPU(s) started at EL2
[    0.005023] CPU features: detected: 32-bit EL0 Support
[    0.005026] CPU features: detected: 32-bit EL1 Support
[    0.005031] CPU features: detected: CRC32 instructions
[    0.005070] alternatives: applying system-wide alternatives
[    0.007619] devtmpfs: initialized
[    0.015880] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.015906] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.017167] pinctrl core: initialized pinctrl subsystem
[    0.017641] DMI not present or invalid.
[    0.018362] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.019202] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.019330] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.019506] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.019538] audit: initializing netlink subsys (disabled)
[    0.019667] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
[    0.020018] thermal_sys: Registered thermal governor 'step_wise'
[    0.020023] thermal_sys: Registered thermal governor 'power_allocator'
[    0.020070] cpuidle: using governor menu
[    0.020202] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.020280] ASID allocator initialised with 65536 entries
[    0.020476] Serial: AMBA PL011 UART driver
[    0.024239] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.027886] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.027939] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@3001000
[    0.028022] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.028119] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.028173] platform 7010000.clock: Fixed dependency cycle(s) with /soc/clock@3001000
[    0.028230] platform 7010000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.032579] Modules: 25472 pages in range for non-PLT usage
[    0.032584] Modules: 516992 pages in range for PLT usage
[    0.033261] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.033266] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.033272] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.033275] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.033280] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.033284] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.033289] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.033292] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.034336] ACPI: Interpreter disabled.
[    0.034863] iommu: Default domain type: Translated
[    0.034868] iommu: DMA domain TLB invalidation policy: strict mode
[    0.035208] SCSI subsystem initialized
[    0.035405] usbcore: registered new interface driver usbfs
[    0.035432] usbcore: registered new interface driver hub
[    0.035461] usbcore: registered new device driver usb
[    0.035773] pps_core: LinuxPPS API ver. 1 registered
[    0.035778] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.035791] PTP clock support registered
[    0.035827] EDAC MC: Ver: 3.0.0
[    0.036137] scmi_core: SCMI protocol bus registered
[    0.037236] clocksource: Switched to clocksource arch_sys_counter
[    0.037427] VFS: Disk quotas dquot_6.6.0
[    0.037457] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.037628] pnp: PnP ACPI: disabled
[    0.044198] NET: Registered PF_INET protocol family
[    0.044410] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.047597] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.047648] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.047662] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.047920] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.049196] TCP: Hash tables configured (established 32768 bind 32768)
[    0.049337] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.049429] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.049608] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.053529] kvm [1]: IPA Size Limit: 40 bits
[    0.054553] kvm [1]: vgic interrupt IRQ9
[    0.054583] kvm [1]: Hyp mode initialized successfully
[    0.056118] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    0.056427] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.056456] ntfs: driver 2.1.32 [Flags: R/W].
[    0.119132] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.119159] io scheduler mq-deadline registered
[    0.119164] io scheduler kyber registered
[    0.119229] io scheduler bfq registered
[    0.122402] EINJ: ACPI disabled.
[    0.130571] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.138559] loop: module loaded
[    0.143921] VFIO - User Level meta-driver version: 0.3
[    0.145069] usbcore: registered new interface driver usb-storage
[    0.147675] sun6i-rtc 7000000.rtc: registered as rtc0
[    0.147704] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:11 UTC (86411)
[    0.148089] i2c_dev: i2c /dev entries driver
[    0.148335] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[    0.148970] axp20x-i2c 0-0036: AXP20x variant AXP15060 found
[    0.149279] axp20x-i2c 0-0036: AXP20X driver loaded
[    0.151235] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.152047] sdhci: Secure Digital Host Controller Interface driver
[    0.152051] sdhci: Copyright(c) Pierre Ossman
[    0.152348] Synopsys Designware Multimedia Card Interface Driver
[    0.153018] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.154421] ledtrig-cpu: registered to indicate activity on CPUs
[    0.154626] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000002
[    0.154727] usbcore: registered new interface driver usbhid
[    0.154732] usbhid: USB HID core driver
[    0.156329] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.158599] NET: Registered PF_INET6 protocol family
[    0.159471] Segment Routing with IPv6
[    0.159513] In-situ OAM (IOAM) with IPv6
[    0.159561] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.160059] NET: Registered PF_PACKET protocol family
[    0.168587] registered taskstats version 1
[    0.186436] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.194339] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    0.195220] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.195519] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    0.196256] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-ph not found, using dummy regulator
[    0.196775] printk: legacy console [ttyS0] disabled
[    0.217386] dw-apb-uart 5000000.serial: detected caps 00000100 should be 00040100
[    0.217413] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 284, base_baud = 1500000) is a 16550A
[    0.217464] printk: legacy console [ttyS0] enabled
[    1.327077] dw-apb-uart 5000400.serial: detected caps 00000100 should be 00040100
[    1.334576] 5000400.serial: ttyS1 at MMIO 0x5000400 (irq = 285, base_baud = 1500000) is a 16550A
[    1.364662] dw-apb-uart 5000800.serial: detected caps 00000100 should be 00040100
[    1.372154] 5000800.serial: ttyS2 at MMIO 0x5000800 (irq = 286, base_baud = 1500000) is a 16550A
[    1.381642] sun6i-spi 5011000.spi: Failed to request TX DMA channel
[    1.387986] sun6i-spi 5011000.spi: Failed to request RX DMA channel
[    1.394877] wbec spi0.0: wrong wbec ID at 0x0. Get 0x5 istead of 0x3CD2
[    1.401504] wbec: probe of spi0.0 failed with error -524
[    1.407578] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found
[    1.413941] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found
[    1.419919] dwmac-sun8i 5020000.ethernet: No regulator found
[    1.425703] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[    1.431462] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 58000 (expect 0)
[    1.440597] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported
[    1.447826] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported
[    1.455048] dwmac-sun8i 5020000.ethernet: COE Type 2
[    1.460014] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[    1.466802] dwmac-sun8i 5020000.ethernet: Normal descriptors
[    1.472460] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[    1.579401] dwmac-sun8i 5020000.ethernet: EMAC reset timeout (may be ignored in RMII mode)
[    1.588115] dwmac-sun8i 5030000.ethernet: IRQ eth_wake_irq not found
[    1.594482] dwmac-sun8i 5030000.ethernet: IRQ eth_lpi not found
[    1.600453] dwmac-sun8i 5030000.ethernet: No regulator found
[    1.606172] dwmac-sun8i 5030000.ethernet: PTP uses main clock
[    1.611929] dwmac-sun8i 5030000.ethernet: Current syscon value is not the default 58000 (expect 0)
[    1.621034] dwmac-sun8i 5030000.ethernet: No HW DMA feature register supported
[    1.628261] dwmac-sun8i 5030000.ethernet: RX Checksum Offload Engine supported
[    1.635482] dwmac-sun8i 5030000.ethernet: COE Type 2
[    1.640448] dwmac-sun8i 5030000.ethernet: TX Checksum insertion supported
[    1.647235] dwmac-sun8i 5030000.ethernet: Normal descriptors
[    1.652895] dwmac-sun8i 5030000.ethernet: Chain mode enabled
[    1.759366] dwmac-sun8i 5030000.ethernet: EMAC reset timeout (may be ignored in RMII mode)
[    1.776414] gpio-109 (sda): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    1.785897] axp20x-i2c 3-0034: AXP20x variant AXP221 found
[    1.791715] axp20x-adc axp22x-adc: DMA mask not set
[    1.797248] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    1.801559] axp20x-battery-power-supply axp20x-battery-power-supply: DMA mask not set
[    1.823377] axp20x-i2c 3-0034: AXP20X driver loaded
[    1.828301] i2c i2c-3: Not I2C compliant: can't read SCL
[    1.833622] i2c i2c-3: Bus may be unreliable
[    1.837896] i2c-gpio i2c_wbmz: using lines 109 (SDA) and 76 (SCL, no clock stretching)
[    1.845913] gpio-147 (sda): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    1.854892] gpio-128 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    1.864084] i2c-gpio i2c_atecc_rtc: using lines 147 (SDA) and 128 (SCL)
[    1.909055] mmc0: new HS200 MMC card at address 0001
[    1.914678] mmcblk0: mmc0:0001 MMC64G 58.2 GiB
[    1.921196]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
[    1.926473] mmcblk0boot0: mmc0:0001 MMC64G 4.00 MiB
[    1.929264] mdio_bus gpio-0: ethernet-phy has invalid PHY address
[    1.932676] mmcblk0boot1: mmc0:0001 MMC64G 4.00 MiB
[    1.937443] mdio_bus gpio-0: scan phy ethernet-phy at address 0
[    1.943402] mmcblk0rpmb: mmc0:0001 MMC64G 4.00 MiB, chardev (242:0)
[    2.009247] mdio_bus gpio-1: ethernet-phy has invalid PHY address
[    2.015346] mdio_bus gpio-1: scan phy ethernet-phy at address 0
[    2.023626] sun4i-usb-phy 5100400.phy: phy0 dr_mode=3
[    2.030649] ehci-platform 5101000.usb: EHCI Host Controller
[    2.030936] ehci-platform 5200000.usb: EHCI Host Controller
[    2.031206] ehci-platform 5310000.usb: EHCI Host Controller
[    2.031226] ehci-platform 5310000.usb: new USB bus registered, assigned bus number 1
[    2.031330] ehci-platform 5310000.usb: irq 295, io mem 0x05310000
[    2.031952] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[    2.034969] ohci-platform 5101400.usb: Generic Platform OHCI controller
[    2.034985] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 2
[    2.035069] ohci-platform 5101400.usb: irq 297, io mem 0x05101400
[    2.036249] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 3
[    2.041831] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 4
[    2.047471] ehci-platform 5101000.usb: irq 293, io mem 0x05101000
[    2.049234] ehci-platform 5310000.usb: USB 2.0 started, EHCI 1.00
[    2.049952] hub 1-0:1.0: USB hub found
[    2.049988] hub 1-0:1.0: 1 port detected
[    2.050632] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    2.050650] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 5
[    2.050724] ohci-platform 5200400.usb: irq 298, io mem 0x05200400
[    2.055208] ehci-platform 5200000.usb: irq 294, io mem 0x05200000
[    2.061808] ohci-platform 5310400.usb: Generic Platform OHCI controller
[    2.062028] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    2.064773] of_cfs_init
[    2.064863] of_cfs_init: OK
[    2.064954] clk: Disabling unused clocks
[    2.065113] Warning: unable to open an initial console.
[    2.065306] sunxi-mmc 4020000.mmc: Got CD GPIO
[    2.073245] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00
[    2.077080] ohci-platform 5310400.usb: new USB bus registered, assigned bus number 6
[    2.085447] hub 3-0:1.0: USB hub found
[    2.089373] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    2.090950] ohci-platform 5310400.usb: irq 299, io mem 0x05310400
[    2.093236] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    2.098645] hub 3-0:1.0: 1 port detected
[    2.230256] hub 2-0:1.0: USB hub found
[    2.234044] hub 2-0:1.0: 1 port detected
[    2.238890] hub 4-0:1.0: USB hub found
[    2.242679] hub 4-0:1.0: 1 port detected
[    2.247415] hub 5-0:1.0: USB hub found
[    2.251205] hub 5-0:1.0: 1 port detected
[    2.255944] hub 6-0:1.0: USB hub found
[    2.259734] hub 6-0:1.0: 1 port detected
[    2.268978] Freeing unused kernel memory: 11776K
[    2.273634] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.285283] Run /init as init process
[    2.285450] mmc1: new high speed SDXC card at address aaaa
[    2.295255] mmcblk1: mmc1:aaaa SN64G 59.5 GiB
[    2.302043]  mmcblk1: p1 p2 p3 p4









------------Hello from WirenBoard recovery dumper!---------------

[    3.519430] EXT4-fs (mmcblk1p3): warning: mounting unchecked fs, running e2fsck is recommended
[    3.563276] EXT4-fs (mmcblk1p3): mounted filesystem 2bcd36a4-1ad6-4b34-9a00-f575e9143a10 r/w without journal. Quota mode: none.
---- Press & hold FW button to confirm Factoryreset from safe builtin FIT; Do nothing to dump files from WB
---- FR confirmed!
------ FAIL
[   12.255587] platform vin-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.266225] platform v33-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.276828] platform v50-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.287428] platform vbus-debug-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.298635] platform vbus-network-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.310015] platform a1-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.320527] platform a2-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.331040] platform a3-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.341554] platform a4-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.352069] platform iio-hwmon-pcb-temp: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0


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

sh: can't access tty; job control turned off
~ # [   33.757278] dcdc4: disabling

Вариант без зажатой FW

[EC] Watchdog is timed out, reset power.

U-Boot SPL 2024.01-gef5e8561a8-dirty (Apr 15 2024 - 12:44:00 +0000)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.0  (debug):v2.10.0+dfsg-1+wb1-1-g9db2f29f3
NOTICE:  BL31: Built : 13:16:33, Feb 29 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a07cb60, model: Wiren Board 8.x
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.
ns16550_serial serial@5000000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


U-Boot 2024.01-gef5e8561a8-dirty (Apr 15 2024 - 12:44:00 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: Wiren Board 8.x
DRAM:  4 GiB
Core:  68 devices, 19 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0, mmc@4022000: 1
Loading Environment from nowhere... OK
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Will only keep env vars: mmcpart bootcount upgrade_available uenvcmd wb_webupd otp_program otp_aes_program
## Info: input data size = 15 = 0xF

Environment size: 1/65532 bytes
## Resetting to default environment
## Info: input data size = 15 = 0xF
Net:   No ethernet found.
Hit <SPACE> to stop autoboot... (2 s)
## Info: input data size = 4321 = 0x10E1
switch to partitions #0, OK
mmc0 is current device
eMMC found on device 0
36 bytes read in 1 ms (35.2 KiB/s)
Importing environment from 0x40080000...
Checking if uenvcmd is set ...
Running default loadzimage ...
16996157 bytes read in 9147 ms (1.8 MiB/s)

MMC read: dev # 0, block # 2016, count 32 ... 32 blocks read: OK
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Loading fdt_file_override /boot/bootlet_dtb
41922 bytes read in 24 ms (1.7 MiB/s)
Working FDT set to 4fa00000
Booting from mmc ...
   Uncompressing Kernel Image
Moving Image from 0x40080000 to 0x40200000, end=41e80000
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
   Loading Device Tree to 0000000049fdd000, end 0000000049ffffff ... OK
Working FDT set to 49fdd000

Starting kernel ...


--- удалил лог загрузки---




------------Hello from WirenBoard recovery dumper!---------------

[    3.511240] EXT4-fs (mmcblk1p3): warning: mounting unchecked fs, running e2fsck is recommended
[    3.555845] EXT4-fs (mmcblk1p3): mounted filesystem 2bcd36a4-1ad6-4b34-9a00-f575e9143a10 r/w without journal. Quota mode: none.
---- Press & hold FW button to confirm Factoryreset from safe builtin FIT; Do nothing to dump files from WB
[    7.149676] EXT4-fs (mmcblk1p3): unmounting filesystem 2bcd36a4-1ad6-4b34-9a00-f575e9143a10.
[    7.198625] exFAT-fs (mmcblk1p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

---- Backing up emmc beginning
++++ Done

---- Backing up mmcblk0p1
++++ Done

---- Backing up mmcblk0p3
++++ Done

---- Backing up mmcblk0p4
++++ Done

---- Backing up mmcblk0p5
[   12.257321] platform vin-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.267996] platform v33-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.278623] platform v50-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.289247] platform vbus-debug-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.300477] platform vbus-network-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.311925] platform a1-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.322490] platform a2-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.333050] platform a3-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.343611] platform a4-volt: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.354169] platform iio-hwmon-pcb-temp: deferred probe pending: platform: wait for supplier /soc/spi@5011000/wbec@0/wbec-adc@0
[   12.909308] random: crng init done
++++ Done

---- Backing up all files
[   18.623867] EXT4-fs (mmcblk0p2): recovery complete
[   18.629051] EXT4-fs (mmcblk0p2): mounted filesystem a615b33a-d7bf-4acf-9363-081805896aa1 r/w with ordered data mode. Quota mode: none.
[   18.828016] EXT4-fs (mmcblk0p6): recovery complete
[   18.833187] EXT4-fs (mmcblk0p6): mounted filesystem 09a8aad9-eb97-4ff0-8958-82fb0e0dd98f r/w with ordered data mode. Quota mode: none.
[   33.757339] dcdc4: disabling

[EC] Watchdog is timed out, reset power.

Да, конечно. Самое простое - удалить что-то системное.

Надо попробовать выключить watchdog на время выполнения factory reset.
Если не удастся - то только на стенде в офисе.

Окей, система бы не загрузилась, но почему не работает восстанавление заводской конфигурации настроек, а также релиз ПО контроллера, который был в момент его выпуска

единственная реакция на FW это вот эта ошибка:


---- Press & hold FW button to confirm Factoryreset from safe builtin FIT; Do nothing to dump files from WB
---- FR confirmed!
------ FAIL

тут явно какой-то баг софта, мои действия должны были положить rootfs но не factory reset и загрузчик в целом.

Возможно, но воспроизвести у меня не получилось. Но я использовал флешку для сброса.

а попробуйте нажать кнопку отключения вотчдога и после этого загрузить

1 Like

Обратил внимание, еще один симптом.
не могу выключить контроллер с кнопки, но он точно выключался уже с этой проблемой. возможно, до нажатия вотчдога.