>>> Console logging enabled; tempfile /tmp/tmp.Xw9MMg, final file /disk/wb-console.log will be written on exit >>> Extend tmpfs size to whole RAM >>> Remount tmpfs in /tmp with size=2018M >>> Maybe update factoryreset.fit to fix tmpfs size issue at 512M RAM (with emmc update) 32+0 records in 32+0 records out 16384 bytes (16 kB, 16 KiB) copied, 0.00789654 s, 2.1 MB/s >>> Firmware seems to be compatible with this controller >>> Wiping data partition (factory reset) >>> Checking SHA1 hash of rootfs PROGRESS: 0% PROGRESS: 8% PROGRESS: 16% PROGRESS: 25% PROGRESS: 34% PROGRESS: 43% PROGRESS: 51% PROGRESS: 60% PROGRESS: 69% PROGRESS: 78% PROGRESS: 86% PROGRESS: 95% PROGRESS: 100% >>> SHA1 hash of rootfs ok >>> rootfs is valid, installing firmware update >>> Enlarging first rootfs partition >>> Mounting partition before calling e2fsck to renew mount time >>> Checking and repairing filesystem on /dev/mmcblk0p2 >>> Temp toolpath: /tmp/tmp.HTO340 rootfs1: Inode 9 has illegal block(s). rootfs1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options) >>> Filesystem check failed, can't proceed with resizing >>> Backing up old MBR (and partition table) 1+0 records in 1+0 records out 512 bytes copied, 0.00110263 s, 464 kB/s >>> Creating a new parition table >>> New disk dump will be saved in /tmp/tmp.ojWu2x Partition #2 contains a ext4 signature. Partition #5 contains a swap signature. Partition #6 contains a ext4 signature. Re-reading the partition table failed.: Device or resource busy >>> Unmounting /mnt/data and saving its mountpoint >>> Restoring mount of /dev/mmcblk0p6 to /mnt/data >>> Expanding filesystem on this partition resize2fs 1.46.2 (28-Feb-2021) Please run 'e2fsck -f /dev/mmcblk0p2' first. /tmp/tmp.DjqsB2: while force-closing undo file Overwriting existing filesystem; this can be undone using the command: e2undo /tmp/tmp.DjqsB2 /dev/mmcblk0p2 >>> Filesystem expantion failed, restoring everything /tmp/tmp.DjqsB2: Corrupt undo file header. 1+0 records in 1+0 records out 512 bytes copied, 0.000833 s, 615 kB/s >>> Unmounting /mnt/data and saving its mountpoint >>> Restoring mount of /dev/mmcblk0p6 to /mnt/data >>> Repartition failed, continuing without it >>> Getting mmcpart from U-Boot environment >>> Will install to /dev/mmcblk0p2 >>> Cleaning up /dev/mmcblk0p2 >>> Cleaning up using rsync >>> Mounting /dev/mmcblk0p2 at /tmp/tmp.qxhcMl >>> Extracting files to new rootfs /tmp/tmp.qxhcMl / PROGRESS: 0% PROGRESS: 1% PROGRESS: 5% PROGRESS: 9% PROGRESS: 13% PROGRESS: 16% PROGRESS: 19% PROGRESS: 22% PROGRESS: 26% PROGRESS: 30% PROGRESS: 33% PROGRESS: 37% PROGRESS: 40% PROGRESS: 44% PROGRESS: 47% PROGRESS: 50% PROGRESS: 52% PROGRESS: 55% PROGRESS: 58% PROGRESS: 61% PROGRESS: 65% PROGRESS: 69% PROGRESS: 72% PROGRESS: 76% PROGRESS: 79% PROGRESS: 82% PROGRESS: 85% PROGRESS: 87% PROGRESS: 90% PROGRESS: 93% PROGRESS: 96% PROGRESS: 98% PROGRESS: 99% PROGRESS: 100% / >>> Recovering device certificates >>> Mount /dev, /proc and /sys to rootfs /tmp/tmp.qxhcMl >>> Running post-install scripts >>> > Processing /tmp/tmp.qxhcMl/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 installer for Wiren Board You are about to install U-boot image '/usr/lib/u-boot/sun8i_wirenboard7/u-boot-sunxi-with-spl.bin' on '/dev/mmcblk0' (platform wb7) Force installation requested Writing U-boot image '/usr/lib/u-boot/sun8i_wirenboard7/u-boot-sunxi-with-spl.bin' on '/dev/mmcblk0' (options 'bs=1024 seek=8') 448+1 records in 448+1 records out 459612 bytes (460 kB, 449 KiB) copied, 0.0909531 s, 5.1 MB/s Syncing device >>> > Processing /tmp/tmp.qxhcMl/usr/lib/wb-image-update/postinst/10update-wbec-firmware 32+0 records in 32+0 records out 16384 bytes (16 kB, 16 KiB) copied, 0.00230212 s, 7.1 MB/s Trying to update WBEC firmware Firmware file to flashing: /usr/lib/wb-ec-firmware/WB74__1.3.2_HEAD_83d2110.bin I2C bus: /dev/i2c-4 Warning: Not a tty: /dev/i2c-4 Error probing interface "serial_posix" stm32flash 0.5 http://stm32flash.sourceforge.net/ Interface i2c: addr 0x56 Version : 0x12 Device ID : 0x0466 (STM32G03xxx/04xxx) - RAM : Up to 8KiB (4096b reserved by bootloader) - Flash : Up to 64KiB (size first sector: 1x2048) - Option RAM : 128b - System RAM : 28KiB Warning: Not a tty: /dev/i2c-4 Error probing interface "serial_posix" stm32flash 0.5 http://stm32flash.sourceforge.net/ Using Parser : Raw BINARY Interface i2c: addr 0x56 Version : 0x12 Device ID : 0x0466 (STM32G03xxx/04xxx) - RAM : Up to 8KiB (4096b reserved by bootloader) - Flash : Up to 64KiB (size first sector: 1x2048) - Option RAM : 128b - System RAM : 28KiB Write to memory Wrote address 0x1fff7804 (100.00%) Done. Warning: Not a tty: /dev/i2c-4 Error probing interface "serial_posix" stm32flash 0.5 http://stm32flash.sourceforge.net/ Using Parser : Raw BINARY Interface i2c: addr 0x56 Version : 0x12 Device ID : 0x0466 (STM32G03xxx/04xxx) - RAM : Up to 8KiB (4096b reserved by bootloader) - Flash : Up to 64KiB (size first sector: 1x2048) - Option RAM : 128b - System RAM : 28KiB Write to memory Erasing memory Wrote address 0x08000100 (1.88%) Wrote address 0x08000200 (3.77%) Wrote address 0x08000300 (5.65%) Wrote address 0x08000400 (7.53%) Wrote address 0x08000500 (9.41%) Wrote address 0x08000600 (11.30%) Wrote address 0x08000700 (13.18%) Wrote address 0x08000800 (15.06%) Wrote address 0x08000900 (16.95%) Wrote address 0x08000a00 (18.83%) Wrote address 0x08000b00 (20.71%) Wrote address 0x08000c00 (22.59%) Wrote address 0x08000d00 (24.48%) Wrote address 0x08000e00 (26.36%) Wrote address 0x08000f00 (28.24%) Wrote address 0x08001000 (30.13%) Wrote address 0x08001100 (32.01%) Wrote address 0x08001200 (33.89%) Wrote address 0x08001300 (35.78%) Wrote address 0x08001400 (37.66%) Wrote address 0x08001500 (39.54%) Wrote address 0x08001600 (41.42%) Wrote address 0x08001700 (43.31%) Wrote address 0x08001800 (45.19%) Wrote address 0x08001900 (47.07%) Wrote address 0x08001a00 (48.96%) Wrote address 0x08001b00 (50.84%) Wrote address 0x08001c00 (52.72%) Wrote address 0x08001d00 (54.60%) Wrote address 0x08001e00 (56.49%) Wrote address 0x08001f00 (58.37%) Wrote address 0x08002000 (60.25%) Wrote address 0x08002100 (62.14%) Wrote address 0x08002200 (64.02%) Wrote address 0x08002300 (65.90%) Wrote address 0x08002400 (67.78%) Wrote address 0x08002500 (69.67%) Wrote address 0x08002600 (71.55%) Wrote address 0x08002700 (73.43%) Wrote address 0x08002800 (75.32%) Wrote address 0x08002900 (77.20%) Wrote address 0x08002a00 (79.08%) Wrote address 0x08002b00 (80.96%) Wrote address 0x08002c00 (82.85%) Wrote address 0x08002d00 (84.73%) Wrote address 0x08002e00 (86.61%) Wrote address 0x08002f00 (88.50%) Wrote address 0x08003000 (90.38%) Wrote address 0x08003100 (92.26%) Wrote address 0x08003200 (94.15%) Wrote address 0x08003300 (96.03%) Wrote address 0x08003400 (97.91%) Wrote address 0x08003500 (99.79%) Wrote address 0x0800351c (100.00%) Done. Warning: Not a tty: /dev/i2c-4 Error probing interface "serial_posix" stm32flash 0.5 http://stm32flash.sourceforge.net/ Using Parser : Raw BINARY Interface i2c: addr 0x56 Version : 0x12 Device ID : 0x0466 (STM32G03xxx/04xxx) - RAM : Up to 8KiB (4096b reserved by bootloader) - Flash : Up to 64KiB (size first sector: 1x2048) - Option RAM : 128b - System RAM : 28KiB Write to memory Wrote address 0x1fff7804 (100.00%) Done. >>> Unmounting /dev, /proc and /sys from rootfs /tmp/tmp.qxhcMl >>> Current factory FIT supports single-rootfs feature, keeping it >>> Switching to new rootfs >>> Done!