iMX6UL Fail Bulk(W): LIBUSB_ERROR_TIMEOUT (-7) with big rootfs

Hi, I am trying uuu (1.5.181) on a custom board based on iMX6UL and flash rootfs on NAND.
I build both core-image-minimal and core-image-full-cmdline with Yocto.
I am based on the example nand script:
uuu_version 1.4.193

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f skyline410/u-boot-skyline410.imx-nand

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f skyline410/u-boot-skyline410.imx-nand -skipspl
SDPV: jump
# }

FB: ucmd printenv

FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f skyline410/zImage-skyline410.bin
FB: ucmd setenv fastboot_buffer ${fdt_addr}
FB: download -f skyline410/imx6ul-14x14-evk-gpmi-weim-skyline410.dtb
FB: ucmd setenv fastboot_buffer ${initrd_addr}
FB: download -f skyline410/skyline-mfgtool-initramfs-skyline410.cpio.zst.u-boot
FB: ucmd setenv bootargs ${bootargs} ${mtdparts}
#FB: ucmd setenv bootargs console=ttymxc3,115200  ${mtdparts}
FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}

FBK: ucmd cat /proc/mtd
FBK: ucmd cat /proc/mtd | while read dev size erase name; do mtd=${dev:3}; mtd=${mtd%:}; name=${name%\"}; name=${name#\"}; echo export $name=$mtd >> /tmp/mtd.sh; done;

FBK: ucmd chmod 777 /tmp/mtd.sh
FBK: ucmd mount -t debugfs debugfs /sys/kernel/debug

# burn rootfs
FBK: ucmd source /tmp/mtd.sh; flash_erase /dev/mtd${nandrootfs} 0 0
FBK: ucmd source /tmp/mtd.sh; ubiformat /dev/mtd${nandrootfs}
FBK: ucmd source /tmp/mtd.sh; ubiattach /dev/ubi_ctrl -m ${nandrootfs}
FBK: ucmd source /tmp/mtd.sh; ubimkvol /dev/ubi0 -Nnandrootfs -m
FBK: ucmd source /tmp/mtd.sh; mkdir -p /mnt/mtd
FBK: ucmd source /tmp/mtd.sh; mount -t ubifs ubi0:nandrootfs /mnt/mtd
FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar x -z -C /mnt/mtd
#FBK: ucp skyline410/core-image-minimal-skyline410.tar.gz t:-
FBK: ucp skyline410/core-image-full-cmdline-skyline410.tar.gz t:-
#FBK: ucp skyline410/test-benchmark-skyline410.tar.gz t:-
FBK: sync
FBK: ucmd umount /mnt/mtd

FBK: done

Flashing core-image-minimal is fine, however, FBK: ucmd umount /mnt/mtd is very slow.
But when flashing core-image-full-cmdline, it fails:
~/mfgtool/binaries/kirkstone $ sudo uuu -s nand.rootfs.skyline410.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.181-0-gd362f4a

Build in config:
	Pctl	 Chip		 Vid	 Pid	 BcdVersion	 Serial_No
	==================================================
	SDPS:	 MX8QXP		 0x1fc9	 0x012f	 [0x0002..0xffff]
	SDPS:	 MX8QM		 0x1fc9	 0x0129	 [0x0002..0xffff]
	SDPS:	 MX8DXL		 0x1fc9	 0x0147
	SDPS:	 MX28		 0x15a2	 0x004f
	SDPS:	 MX815		 0x1fc9	 0x013e
	SDPS:	 MX865		 0x1fc9	 0x0146
	SDPS:	 MX8ULP		 0x1fc9	 0x014a
	SDPS:	 MX8ULP		 0x1fc9	 0x014b
	SDPS:	 MX93		 0x1fc9	 0x014e
	SDPS:	 MX93		 0x1fc9	 0x0159
	SDPS:	 MX95		 0x1fc9	 0x015d
	SDPS:	 MX95		 0x1fc9	 0x015c
	SDP:	 MX7D		 0x15a2	 0x0076
	SDP:	 MX6Q		 0x15a2	 0x0054
	SDP:	 MX6D		 0x15a2	 0x0061
	SDP:	 MX6SL		 0x15a2	 0x0063
	SDP:	 MX6SX		 0x15a2	 0x0071
	SDP:	 MX6UL		 0x15a2	 0x007d
	SDP:	 MX6ULL		 0x15a2	 0x0080
	SDP:	 MX6SLL		 0x1fc9	 0x0128
	SDP:	 MX7ULP		 0x1fc9	 0x0126
	SDP:	 MXRT106X	 0x1fc9	 0x0135
	SDP:	 MX8MM		 0x1fc9	 0x0134
	SDP:	 MX8MQ		 0x1fc9	 0x012b
	SDPU:	 SPL		 0x0525	 0xb4a4	 [0x0000..0x04ff]
	SDPV:	 SPL1		 0x0525	 0xb4a4	 [0x0500..0x9998]
	SDPV:	 SPL1		 0x1fc9	 0x0151	 [0x0500..0x9998]
	SDPU:	 SPL		 0x0525	 0xb4a4	 [0x9999..0x9999]
	SDPU:	 SPL		 0x3016	 0x1001	 [0x0000..0x04ff]
	SDPV:	 SPL1		 0x3016	 0x1001	 [0x0500..0x9998]
	FBK:	 		 0x066f	 0x9afe
	FBK:	 		 0x066f	 0x9bff
	FBK:	 		 0x1fc9	 0x0153
	FB:	 		 0x0525	 0xa4a5
	FB:	 		 0x18d1	 0x0d02
	FB:	 		 0x3016	 0x0001
	FB:	 		 0x1fc9	 0x0152
	FB:	 		 0x0483	 0x0afb

New USB Device Attached at 1:11-
1:11->Start Cmd:SDP: boot -f skyline410/u-boot-skyline410.imx-nand
100%1:11->Okay (0.56s)
New USB Device Attached at 1:11-D9642301232F21D4
1:11-D9642301232F21D4>Start Cmd:FB: ucmd printenv
1:11-D9642301232F21D4>Okay (0.095s)
1:11-D9642301232F21D4>Start Cmd:FB: ucmd setenv fastboot_buffer ${loadaddr}
1:11-D9642301232F21D4>Okay (0.001s)
1:11-D9642301232F21D4>Start Cmd:FB: download -f skyline410/zImage-skyline410.bin
1:11-D9642301232F21D4>Okay (0.25s)
1:11-D9642301232F21D4>Start Cmd:FB: ucmd setenv fastboot_buffer ${fdt_addr}
1:11-D9642301232F21D4>Okay (0s)
1:11-D9642301232F21D4>Start Cmd:FB: download -f skyline410/imx6ul-14x14-evk-gpmi-weim-skyline410.dtb
1:11-D9642301232F21D4>Okay (0.008s)
1:11-D9642301232F21D4>Start Cmd:FB: ucmd setenv fastboot_buffer ${initrd_addr}
1:11-D9642301232F21D4>Okay (0.001s)
1:11-D9642301232F21D4>Start Cmd:FB: download -f skyline410/skyline-mfgtool-initramfs-skyline410.cpio.zst.u-boot
1:11-D9642301232F21D4>Okay (0.225s)
1:11-D9642301232F21D4>Start Cmd:FB: ucmd setenv bootargs ${bootargs} ${mtdparts}
1:11-D9642301232F21D4>Okay (0.001s)
1:11-D9642301232F21D4>Start Cmd:FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
1:11-D9642301232F21D4>Okay (0s)
New USB Device Attached at 1:11-0000000000000000
1:11-0000000000000000>Start Cmd:FBK: ucmd cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00020000 "nandboot"
mtd1: 01000000 00020000 "nandkernel"
mtd2: 00400000 00020000 "nanddtb"
mtd3: 14000000 00020000 "nandrootfs"
mtd4: 0a800000 00020000 "nanddata"
1:11-0000000000000000>Okay (0.041s)
1:11-0000000000000000>Start Cmd:FBK: ucmd cat /proc/mtd | while read dev size erase name; do mtd=${dev:3}; mtd=${mtd%:}; name=${name%\"}; name=${name#\"}; echo export $name=$mtd >> /tmp/mtd.sh; done;
1:11-0000000000000000>Okay (0.038s)
1:11-0000000000000000>Start Cmd:FBK: ucmd chmod 777 /tmp/mtd.sh
1:11-0000000000000000>Okay (0.023s)
1:11-0000000000000000>Start Cmd:FBK: ucmd mount -t debugfs debugfs /sys/kernel/debug
1:11-0000000000000000>Okay (0.028s)
1:11-0000000000000000>Start Cmd:FBK: ucmd source /tmp/mtd.sh; flash_erase /dev/mtd${nandrootfs} 0 0
Erasing 327680 Kibyte @ 0 -- 100 % complete
1:11-0000000000000000>Okay (4s)
1:11-0000000000000000>Start Cmd:FBK: ucmd source /tmp/mtd.sh; ubiformat /dev/mtd${nandrootfs}
ubiformat: mtd3 (nand), size 335544320 bytes (320.0 MiB), 2560 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 2559 -- 100 % complete
ubiformat: 2560 eraseblocks are supposedly empty
ubiformat: formatting eraseblock 2559 -- 100 % complete
1:11-0000000000000000>Okay (6.644s)
1:11-0000000000000000>Start Cmd:FBK: ucmd source /tmp/mtd.sh; ubiattach /dev/ubi_ctrl -m ${nandrootfs}
UBI device number 0, total 2560 LEBs (325058560 bytes, 310.0 MiB), available 2474 LEBs (314138624 bytes, 299.5 MiB), LEB size 126976 bytes (124.0 KiB)
1:11-0000000000000000>Okay (1.032s)
1:11-0000000000000000>Start Cmd:FBK: ucmd source /tmp/mtd.sh; ubimkvol /dev/ubi0 -Nnandrootfs -m
Set volume size to 314138624
Volume ID 0, size 2474 LEBs (314138624 bytes, 299.5 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "nandrootfs", alignment 1
1:11-0000000000000000>Okay (0.047s)
1:11-0000000000000000>Start Cmd:FBK: ucmd source /tmp/mtd.sh; mkdir -p /mnt/mtd
1:11-0000000000000000>Okay (0.027s)
1:11-0000000000000000>Start Cmd:FBK: ucmd source /tmp/mtd.sh; mount -t ubifs ubi0:nandrootfs /mnt/mtd
1:11-0000000000000000>Okay (0.158s)
1:11-0000000000000000>Start Cmd:FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar x -z -C /mnt/mtd
1:11-0000000000000000>Okay (0.051s)
1:11-0000000000000000>Start Cmd:FBK: ucp skyline410/core-image-full-cmdline-skyline410.tar.gz t:-
55%1:11-0000000000000000>Fail Bulk(W): LIBUSB_ERROR_TIMEOUT (-7)(67.43s)
Please input command:
U>

From the target serial log:
U-Boot 2022.04+g181859317b+p0 (Nov 15 2022 - 06:28:05 +0000)

CPU:   i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
Model: Freescale i.MX6 UltraLite 14x14 EVK Board
Board: SML MX6UL 14x14 EVK
DRAM:  512 MiB
Core:  60 devices, 17 uclasses, devicetree: separate
NAND:  512 MiB
MMC:   FSL_SDHC: 0
Loading Environment from NAND... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
Net:   SoC fuse indicates Ethernet@0x20b4000 is unavailable.
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
Could not get PHY for FEC0: addr 2
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
Could not get PHY for FEC0: addr 2
No ethernet found.

Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for 				 mfgtools
, using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot:  0

## Checking Image at 86800000 ...
Unknown image format!
Run fastboot ...
baudrate=115200
bootargs=console=ttymxc0,115200 rdinit=/linuxrc clk_ignore_unused
bootcmd=echo SML Booting from NAND ...; nand read ${loadaddr} 0x400000 0x1000000;nand read ${fdt_addr} 0x1400000 0x400000;if test ${tee} = yes; then nand read ${tee_addr} 0x6000000 0x400000;bootm ${tee_addr} - ${fdt_addr};else bootz ${loadaddr} - ${fdt_addr};fi
bootcmd_mfg=run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
bootdelay=3
console=ttymxc0
emmc_ack=1
emmc_dev=1
ethprime=eth1
fdt_addr=0x83000000
fdt_high=0xffffffff
initrd_addr=0x86800000
initrd_high=0xffffffff
kboot=bootz
loadaddr=0x80800000
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ignore_unused
mtdparts=mtdparts=gpmi-nand:4m(nandboot),16m(nandkernel),4m(nanddtb),320m(nandrootfs),-(nanddata)
sd_dev=1
splashimage=0x8c000000
tee=no
tee_addr=0x84000000

Environment size: 1014/131068 bytes
Starting download of 7201168 bytes
......................................................
downloading of 7201168 bytes finished
Starting download of 36161 bytes

downloading of 36161 bytes finished
Starting download of 6447409 bytes
.................................................
downloading of 6447409 bytes finished
Kernel image @ 0x80800000 [ 0x000000 - 0x6de190 ]
## Loading init Ramdisk from Legacy Image at 86800000 ...
   Image Name:   skyline-mfgtool-initramfs-skylin
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    6447345 Bytes = 6.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300bd40
Modify /soc/bus@2000000/tsc@2040000 disabled
Modify /soc/bus@2000000/can@2094000 disabled
Modify /soc/bus@2100000/lcdif@21c8000 disabled
Modify /soc/bus@2100000/csi@21c4000 disabled
Modify /soc/bus@2000000/ethernet@20b4000 disabled
gpio@209c000: set_value: error: gpio GPIO1_8 not reserved
gpio@20ac000: set_value: error: gpio GPIO5_9 not reserved

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.71-5.15.71-2.2.0-5.15.71-2.2.0+g3313732e9984+p0 (oe-user@oe-host) (arm-sml-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Tue Nov 15 10:35:06 UTC 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: Freescale i.MX6 UltraLite 14x14 EVK Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x96000000, size 160 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000]   HighMem  empty
[    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] percpu: Embedded 12 pages/cpu s16844 r8192 d24116 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc clk_ignore_unused mtdparts=gpmi-nand:4m(nandboot),16m(nandkernel),4m(nanddtb),320m(nandrootfs),-(nanddata)
[    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: 332680K/524288K available (10240K kernel code, 1205K rwdata, 2768K rodata, 1024K init, 383K bss, 27768K reserved, 163840K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000003] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every<PHONE_NUMBER>1ns
[    0.000055] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>9 ns
[    0.002679] Console: colour dummy device 80x30
[    0.002788] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002840] pid_max: default: 32768 minimum: 301
[    0.003327] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003389] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.005247] CPU: Testing write buffer coherency: ok
[    0.005924] CPU0: update cpu_capacity 1024
[    0.005977] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.008457] Setting up static identity map for 0x80100000 - 0x80100060
[    0.008866] rcu: Hierarchical SRCU implementation.
[    0.009968] smp: Bringing up secondary CPUs ...
[    0.010013] smp: Brought up 1 node, 1 CPU
[    0.010047] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.010079] CPU: All CPU(s) started in SVC mode.
[    0.011215] devtmpfs: initialized
[    0.027510] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.028113] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.028190] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.040648] pinctrl core: initialized pinctrl subsystem
[    0.044252] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.062047] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.064644] thermal_sys: Registered thermal governor 'step_wise'
[    0.065048] cpuidle: using governor menu
[    0.065352] CPU identified as i.MX6UL, silicon rev 1.2
[    0.090324] vdd3p0: supplied by regulator-dummy
[    0.091484] cpu: supplied by regulator-dummy
[    0.092957] vddsoc: supplied by regulator-dummy
[    0.123071] No ATAGs?
[    0.123229] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.123271] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.125463] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.127802] imx mu driver is registered.
[    0.128715] imx rpmsg driver is registered.
[    0.148735] Kprobes globally optimized
[    0.185914] usbcore: registered new interface driver usbfs
[    0.186073] usbcore: registered new interface driver hub
[    0.186204] usbcore: registered new device driver usb
[    0.186793] mc: Linux media interface: v0.10
[    0.187044] pps_core: LinuxPPS API ver. 1 registered
[    0.187074] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti<EMAIL_ADDRESS>[    0.187142] PTP clock support registered
[    0.190844] clocksource: Switched to clocksource mxc_timer1
[    0.191295] VFS: Disk quotas dquot_6.6.0
[    0.191489] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.212581] NET: Registered PF_INET protocol family
[    0.213100] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.215238] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.215349] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.215398] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.215516] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.215687] TCP: Hash tables configured (established 4096 bind 4096)
[    0.215888] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.215991] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.216409] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.218032] RPC: Registered named UNIX socket transport module.
[    0.218093] RPC: Registered udp transport module.
[    0.218117] RPC: Registered tcp transport module.
[    0.218139] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.221431] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.223897] Trying to unpack rootfs image as initramfs...
[    0.234628] Bus freq driver module loaded
[    0.236918] Initialise system trusted keyrings
[    0.241241] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.272340] NFS: Registering the id_resolver key type
[    0.272491] Key type id_resolver registered
[    0.272522] Key type id_legacy registered
[    0.272763] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.272798] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.272896] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.274160] fuse: init (API version 7.34)
[    0.282118] async_tx: api initialized (async)
[    0.282181] Key type asymmetric registered
[    0.282209] Asymmetric key parser 'x509' registered
[    0.282365] io scheduler mq-deadline registered
[    0.282401] io scheduler kyber registered
[    0.310670] mxs-dma 1804000.dma-apbh: initialized
[    0.326553] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 29, base_baud = 5000000) is a IMX
[    1.701064] printk: console [ttymxc0] enabled
[    1.712816] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 67, base_baud = 5000000) is a IMX
[    1.742225] imx sema4 driver is registered.
[    1.802255] brd: module loaded
[    1.832311] loop: module loaded
[    1.851541] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xdc
[    1.857959] nand: AMD/Spansion S34ML04G2
[    1.871067] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.892448] Bad block table found at page 262080, version 0x01
[    1.911768] Bad block table found at page 262016, version 0x01
[    1.921309] 5 cmdlinepart partitions found on MTD device gpmi-nand
[    1.927552] Creating 5 MTD partitions on "gpmi-nand":
[    1.951053] 0x000000000000-0x000000400000 : "nandboot"
[    1.962831] 0x000000400000-0x000001400000 : "nandkernel"
[    1.984130] 0x000001400000-0x000001800000 : "nanddtb"
[    2.003592] 0x000001800000-0x000015800000 : "nandrootfs"
[    2.025318] 0x000015800000-0x000020000000 : "nanddata"
[    2.045761] gpmi-nand 1806000.nand-controller: driver registered.
[    2.066602] gpio-505 (eth0-phy): hogged as output/high
[    2.081318] gpio-506 (eth1-phy): hogged as output/high
[    2.089205] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.111043] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld<EMAIL_ADDRESS>All Rights Reserved.
[    2.134246] tun: Universal TUN/TAP device driver, 1.6
[    2.154274] pps pps0: new PPS source ptp0
[    2.161927] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    2.168767] fec 2188000.ethernet: Using random MAC address: ba:9f:6a:4e:96:01
[    2.717879] Freeing initrd memory: 6300K
[    2.731428] imx-sdma 20ec000.sdma: firmware found.
[    2.736954] imx-sdma 20ec000.sdma: loaded firmware 3.5
[    3.090257] fec 2188000.ethernet eth0: registered PHC device 0
[    3.097292] usbcore: registered new interface driver r8152
[    3.103275] usbcore: registered new interface driver lan78xx
[    3.109086] usbcore: registered new interface driver asix
[    3.114794] usbcore: registered new interface driver ax88179_178a
[    3.121141] usbcore: registered new interface driver cdc_ether
[    3.127126] usbcore: registered new interface driver smsc95xx
[    3.133183] usbcore: registered new interface driver net1080
[    3.138957] usbcore: registered new interface driver cdc_subset
[    3.145048] usbcore: registered new interface driver zaurus
[    3.150732] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    3.158402] usbcore: registered new interface driver cdc_ncm
[    3.164235] usbcore: registered new interface driver r8153_ecm
[    3.170097] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.184995] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    3.191293] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    3.207680] sdhci: Secure Digital Host Controller Interface driver
[    3.214148] sdhci: Copyright(c) Pierre Ossman
[    3.218539] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.227643] sdhci-esdhc-imx 2190000.mmc: Got CD GPIO
[    3.236232] caam-dma caam-dma: Defer probing after JR driver probing
[    3.245594] caam 2140000.crypto: device ID = 0x0a16030000000000 (Era 8)
[    3.252424] caam 2140000.crypto: job rings = 3, qi = 0
[    3.284353] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[    3.299983] caam algorithms registered in /proc/crypto
[    3.310626] caam 2140000.crypto: caam pkc algorithms registered in /proc/crypto
[    3.319075] caam 2140000.crypto: rng crypto API alg registered prng-caam
[    3.326385] caam 2140000.crypto: registering rng-caam
[    3.333859] Device caam-keygen registered
[    3.347465] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[    3.357693] usbcore: registered new interface driver usbhid
[    3.363497] usbhid: USB HID core driver
[    3.369330] random: crng init done
[    3.378514] NET: Registered PF_LLC protocol family
[    3.384950] NET: Registered PF_INET6 protocol family
[    3.392773] Segment Routing with IPv6
[    3.396550] In-situ OAM (IOAM) with IPv6
[    3.400708] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.408468] NET: Registered PF_PACKET protocol family
[    3.414478] Key type dns_resolver registered
[    3.444644] Registering SWP/SWPB emulation handler
[    3.449956] Loading compiled-in X.509 certificates
[    3.496183] imx_usb 2184000.usb: No over current polarity defined
[    3.513139] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.518135] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    3.551133] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.557714] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    3.566203] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.574040] usb usb1: Product: EHCI Host Controller
[    3.579366] usb usb1: Manufacturer: Linux 5.15.71-5.15.71-2.2.0-5.15.71-2.2.0+g3313732e9984+p0 ehci_hcd
[    3.588828] usb usb1: SerialNumber: ci_hdrc.1
[    3.594445] hub 1-0:1.0: USB hub found
[    3.598374] hub 1-0:1.0: 1 port detected
[    3.605690] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    3.618040] caam-dma caam-dma: caam dma support with 3 job rings
[    3.625582] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.652932] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.659786] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.668797] clk: Not disabling unused clocks
[    3.676059] Freeing unused kernel image (initmem) memory: 1024K
[    3.682192] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.712028] Run /linuxrc as init process
Found New UDC: ci_hdrc.0
ci_hdrc.0 0
ffs.utp0
[    3.895935] file system registered
run utp at /dev/usb-utp0/ep0
.
uuu fastboot client 1.0.0 [built [    3.958977] read descriptors
Aug 17 2022 19:49:14]
Start init[    3.965427] read strings
 usb
write string
Start handle command
run shell cmd: cat /proc/mtd
run shell cmd: cat /proc/mtd | while read dev size erase name; do mtd=${dev:3}; mtd=${mtd%:}; name=${name%\"}; name=${name#\"}; echo export $name=$mtd >> /tmp/mtd.sh; done;
run shell cmd: chmod 777 /tmp/mtd.sh
run shell cmd: mount -t debugfs debugfs /sys/kernel/debug
run shell cmd: source /tmp/mtd.sh; flash_erase /dev/mtd${nandrootfs} 0 0
run shell cmd: source /tmp/mtd.sh; ubiformat /dev/mtd${nandrootfs}
run shell cmd: source /tmp/mtd.sh; ubiattach /dev/ubi_ctrl -m ${nandrootfs}
[   16.460062] ubi0: default fastmap pool size: 125
[   16.465203] ubi0: default fastmap WL pool size: 62
[   16.470034] ubi0: attaching mtd3
[   17.358832] ubi0: scanning is finished
[   17.388305] ubi0: attached mtd3 (name "nandrootfs", size 320 MiB)
[   17.394945] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   17.402305] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   17.409216] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   17.416703] ubi0: good PEBs: 2560, bad PEBs: 0, corrupted PEBs: 0
[   17.423192] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[   17.430602] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 713225854
[   17.440071] ubi0: available PEBs: 2474, total reserved PEBs: 86, PEBs reserved for bad PEB handling: 80
[   17.449717] ubi0: background thread "ubi_bgt0d" started, PID 224
run shell cmd: source /tmp/mtd.sh; ubimkvol /dev/ubi0 -Nnandrootfs -m
run shell cmd: source /tmp/mtd.sh; mkdir -p /mnt/mtd
run shell cmd: source /tmp/mtd.sh; mount -t ubifs ubi0:nandrootfs /mnt/mtd
[   17.585897] UBIFS (ubi0:0): default file-system created
[   17.592219] UBIFS (ubi0:0): Mounting in unauthenticated mode
[   17.603871] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 228
[   17.646041] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "nandrootfs"
[   17.654242] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   17.664615] UBIFS (ubi0:0): FS size: 312487936 bytes (298 MiB, 2461 LEBs), max 2474 LEBs, journal size 15618048 bytes (14 MiB, 123 LEBs)
[   17.677334] UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
[   17.684341] UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID 628F74BD-9F15-441F-BDB5-3B5BBB15CDB0, small LPT model
run shell cmd: export EXTRACT_UNSAFE_SYMLINKS=1; tar x -z -C /mnt/mtd
WOpen:-
[   64.498032] cfg80211: failed to load regulatory.db

This is a very steady failure which fails exactly at the same 55%.
Thanks in advance if anyone could help to look at this.

we recent meet similar problem at small me
mory devices.
try patch linux kernel driver
Changed the page alignment check within the prepare_td_for_sg() function
since the first buffer could not be page size aligned, so the check is
only performed for the following buffers.
Signed-off-by: Han Xu<EMAIL_ADDRESS>drivers/usb/chipidea/udc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 0b7bd3c643c3..13cbf2e2aeae 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -517,7 +517,8 @@ static int prepare_td_for_sg(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq)
}
while (i++ < req->num_mapped_sgs) {

  if (sg_dma_address(s) % PAGE_SIZE) {

  /* The first buffer could be not page size aligned. */

  if ((sg_dma_address(s) % PAGE_SIZE) && (i > 1)) {
  	dev_err(hwep->ci->dev, "not page aligned sg buffer\n");
  	return -EINVAL;
  }

@nxpfrankli Thanks for your quick reply.
I patched linux-imx-mfgtool which is used by initramfs.
However, I got same uuu failure and on the target I got:
free(): invalid pointer
[  575.424621] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[  575.433966] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 ]---

Can you put all kernel log, which show what kernel panic?

On initramfs I completely turn off swap by CONFIG_SWAP=n, but no luck and still Fail Bulk(W): LIBUSB_ERROR_TIMEOUT (-7).

can you try, chipidea driver have issues.  https://github.com/nxp-imx/imx-uuc/commit/d4c6ce886c4c392bc2ab70efe5229d6ea805cf1e

@nxpfrankli Thanks for the suggestion. Unfortunately, I tried adding both uuc patch
and kernel patch:
Changed the page alignment check within the prepare_td_for_sg() function
since the first buffer could not be page size aligned, so the check is
only performed for the following buffers.

Signed-off-by: Han Xu <[han.xu@nxp.com](mailto:han.xu@nxp.com)>
---
 drivers/usb/chipidea/udc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 0b7bd3c643c3..13cbf2e2aeae 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -517,7 +517,8 @@ static int prepare_td_for_sg(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq)
 	}

 	while (i++ < req->num_mapped_sgs) {
-		if (sg_dma_address(s) % PAGE_SIZE) {
+		/* The first buffer could be not page size aligned. */
+		if ((sg_dma_address(s) % PAGE_SIZE) && (i > 1)) {
 			dev_err(hwep->ci->dev, "not page aligned sg buffer\n");
 			return -EINVAL;
 		}

to initramfs, but still have the same problem.

Just FYI I did an experiment by changing the tar extraction to a temp fs first instead of directly writing to mtd partition:
adminrd@rpi-hms-nkg001:~/mfgtool/binaries/kirkstone $ cat nand.rootfs.skyline410.uuu
uuu_version 1.3.191

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f skyline410/u-boot-skyline410.imx-nand

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f skyline410/u-boot-skyline410.imx-nand -skipspl
SDPV: jump
# }

FB: ucmd printenv

FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f skyline410/zImage-skyline410.bin
FB: ucmd setenv fastboot_buffer ${fdt_addr}
FB: download -f skyline410/imx6ul-14x14-evk-gpmi-weim-skyline410.dtb
FB: ucmd setenv fastboot_buffer ${initrd_addr}
FB: download -f skyline410/skyline-mfgtool-initramfs-skyline410.cpio.zst.u-boot
FB: ucmd setenv bootargs ${bootargs} ${mtdparts}
#FB: ucmd setenv bootargs console=ttymxc3,115200  ${mtdparts}
FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}

FBK: ucmd cat /proc/mtd
FBK: ucmd cat /proc/mtd | while read dev size erase name; do mtd=${dev:3}; mtd=${mtd%:}; name=${name%\"}; name=${name#\"}; echo export $name=$mtd >> /tmp/mtd.sh; done;

FBK: ucmd chmod 777 /tmp/mtd.sh
#FBK: ucmd mount -t debugfs debugfs /sys/kernel/debug

# burn rootfs
#FBK: ucmd rm -rf /tmp/*
FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar x -z
FBK: ucp skyline410/test-benchmark-skyline410.tar.gz t:/tmp/rootfs
FBK: sync

FBK: ucmd source /tmp/mtd.sh; flash_erase /dev/mtd${nandrootfs} 0 0
FBK: ucmd source /tmp/mtd.sh; ubiformat /dev/mtd${nandrootfs}
FBK: ucmd source /tmp/mtd.sh; ubiattach /dev/ubi_ctrl -m ${nandrootfs}
FBK: ucmd source /tmp/mtd.sh; ubimkvol /dev/ubi0 -Nnandrootfs -m
FBK: ucmd source /tmp/mtd.sh; mkdir -p /mnt/mtd
FBK: ucmd source /tmp/mtd.sh; mount -t ubifs ubi0:nandrootfs /mnt/mtd
FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar x -z -C /mnt/mtd

FBK: ucmd source /tmp/mtd.sh; nandwrite -p /dev/mtd${nandrootfs} -p /tmp/rootfs
FBK: sync
FBK: ucmd umount /mnt/mtd

FBK: done

The uuu log:
adminrd@rpi-hms-nkg001:~/mfgtool/binaries/kirkstone $ sudo uuu -s nand.rootfs.skyline410.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.181-0-gd362f4a

Build in config:
	Pctl	 Chip		 Vid	 Pid	 BcdVersion	 Serial_No
	==================================================
	SDPS:	 MX8QXP		 0x1fc9	 0x012f	 [0x0002..0xffff]
	SDPS:	 MX8QM		 0x1fc9	 0x0129	 [0x0002..0xffff]
	SDPS:	 MX8DXL		 0x1fc9	 0x0147
	SDPS:	 MX28		 0x15a2	 0x004f
	SDPS:	 MX815		 0x1fc9	 0x013e
	SDPS:	 MX865		 0x1fc9	 0x0146
	SDPS:	 MX8ULP		 0x1fc9	 0x014a
	SDPS:	 MX8ULP		 0x1fc9	 0x014b
	SDPS:	 MX93		 0x1fc9	 0x014e
	SDPS:	 MX93		 0x1fc9	 0x0159
	SDPS:	 MX95		 0x1fc9	 0x015d
	SDPS:	 MX95		 0x1fc9	 0x015c
	SDP:	 MX7D		 0x15a2	 0x0076
	SDP:	 MX6Q		 0x15a2	 0x0054
	SDP:	 MX6D		 0x15a2	 0x0061
	SDP:	 MX6SL		 0x15a2	 0x0063
	SDP:	 MX6SX		 0x15a2	 0x0071
	SDP:	 MX6UL		 0x15a2	 0x007d
	SDP:	 MX6ULL		 0x15a2	 0x0080
	SDP:	 MX6SLL		 0x1fc9	 0x0128
	SDP:	 MX7ULP		 0x1fc9	 0x0126
	SDP:	 MXRT106X	 0x1fc9	 0x0135
	SDP:	 MX8MM		 0x1fc9	 0x0134
	SDP:	 MX8MQ		 0x1fc9	 0x012b
	SDPU:	 SPL		 0x0525	 0xb4a4	 [0x0000..0x04ff]
	SDPV:	 SPL1		 0x0525	 0xb4a4	 [0x0500..0x9998]
	SDPV:	 SPL1		 0x1fc9	 0x0151	 [0x0500..0x9998]
	SDPU:	 SPL		 0x0525	 0xb4a4	 [0x9999..0x9999]
	SDPU:	 SPL		 0x3016	 0x1001	 [0x0000..0x04ff]
	SDPV:	 SPL1		 0x3016	 0x1001	 [0x0500..0x9998]
	FBK:	 		 0x066f	 0x9afe
	FBK:	 		 0x066f	 0x9bff
	FBK:	 		 0x1fc9	 0x0153
	FB:	 		 0x0525	 0xa4a5
	FB:	 		 0x18d1	 0x0d02
	FB:	 		 0x3016	 0x0001
	FB:	 		 0x1fc9	 0x0152
	FB:	 		 0x0483	 0x0afb

New USB Device Attached at 1:13-
1:13->Start Cmd:SDP: boot -f skyline410/u-boot-skyline410.imx-nand
100%1:13->Okay (0.562s)
New USB Device Attached at 1:13-D9642301232F21D4
1:13-D9642301232F21D4>Start Cmd:FB: ucmd printenv
1:13-D9642301232F21D4>Okay (0.094s)
1:13-D9642301232F21D4>Start Cmd:FB: ucmd setenv fastboot_buffer ${loadaddr}
1:13-D9642301232F21D4>Okay (0.001s)
1:13-D9642301232F21D4>Start Cmd:FB: download -f skyline410/zImage-skyline410.bin
1:13-D9642301232F21D4>Okay (0.25s)
1:13-D9642301232F21D4>Start Cmd:FB: ucmd setenv fastboot_buffer ${fdt_addr}
1:13-D9642301232F21D4>Okay (0s)
1:13-D9642301232F21D4>Start Cmd:FB: download -f skyline410/imx6ul-14x14-evk-gpmi-weim-skyline410.dtb
1:13-D9642301232F21D4>Okay (0.008s)
1:13-D9642301232F21D4>Start Cmd:FB: ucmd setenv fastboot_buffer ${initrd_addr}
1:13-D9642301232F21D4>Okay (0s)
1:13-D9642301232F21D4>Start Cmd:FB: download -f skyline410/skyline-mfgtool-initramfs-skyline410.cpio.zst.u-boot
1:13-D9642301232F21D4>Okay (0.222s)
1:13-D9642301232F21D4>Start Cmd:FB: ucmd setenv bootargs ${bootargs} ${mtdparts}
1:13-D9642301232F21D4>Okay (0s)
1:13-D9642301232F21D4>Start Cmd:FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
1:13-D9642301232F21D4>Okay (0s)
New USB Device Attached at 1:13-0000000000000000
1:13-0000000000000000>Start Cmd:FBK: ucmd cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00020000 "nandboot"
mtd1: 01000000 00020000 "nandkernel"
mtd2: 00400000 00020000 "nanddtb"
mtd3: 0c000000 00020000 "nandrootfs"
mtd4: 12800000 00020000 "nanddata"
1:13-0000000000000000>Okay (0.038s)
1:13-0000000000000000>Start Cmd:FBK: ucmd cat /proc/mtd | while read dev size erase name; do mtd=${dev:3}; mtd=${mtd%:}; name=${name%\"}; name=${name#\"}; echo export $name=$mtd >> /tmp/mtd.sh; done;
1:13-0000000000000000>Okay (0.039s)
1:13-0000000000000000>Start Cmd:FBK: ucmd chmod 777 /tmp/mtd.sh
1:13-0000000000000000>Okay (0.022s)
1:13-0000000000000000>Start Cmd:FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar x -z
1:13-0000000000000000>Okay (0.051s)
1:13-0000000000000000>Start Cmd:FBK: ucp skyline410/test-benchmark-skyline410.tar.gz t:/tmp/rootfs
62%1:13-0000000000000000>Fail Bulk(W): LIBUSB_ERROR_TIMEOUT (-7)(9.514s)
Please input command:
U>

I got a better result that now is 62% instead of 21% on mtd writing.
The serial log:
U-Boot 2022.04+g181859317b+p0 (Nov 15 2022 - 06:28:05 +0000)

CPU:   i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 34C
Reset cause: POR
Model: Freescale i.MX6 UltraLite 14x14 EVK Board
Board: SML MX6UL 14x14 EVK
DRAM:  512 MiB
Core:  60 devices, 17 uclasses, devicetree: separate
NAND:  512 MiB
MMC:   FSL_SDHC: 0
Loading Environment from NAND... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
Net:   SoC fuse indicates Ethernet@0x20b4000 is unavailable.
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
Could not get PHY for FEC0: addr 2
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
SoC fuse indicates Ethernet@0x20b4000 is unavailable.
Could not get PHY for FEC0: addr 2
No ethernet found.

Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for 				 mfgtools
, using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot:  0

## Checking Image at 86800000 ...
Unknown image format!
Run fastboot ...
baudrate=115200
bootargs=console=ttymxc0,115200 rdinit=/linuxrc clk_ignore_unused
bootcmd=echo SML Booting from NAND ...; nand read ${loadaddr} 0x400000 0x1000000;nand read ${fdt_addr} 0x1400000 0x400000;if test ${tee} = yes; then nand read ${tee_addr} 0x6000000 0x400000;bootm ${tee_addr} - ${fdt_addr};else bootz ${loadaddr} - ${fdt_addr};fi
bootcmd_mfg=run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
bootdelay=3
console=ttymxc0
emmc_ack=1
emmc_dev=1
ethprime=eth1
fdt_addr=0x83000000
fdt_high=0xffffffff
initrd_addr=0x86800000
initrd_high=0xffffffff
kboot=bootz
loadaddr=0x80800000
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ignore_unused
mtdparts=mtdparts=gpmi-nand:4m(nandboot),16m(nandkernel),4m(nanddtb),192m(nandrootfs),-(nanddata)
sd_dev=1
splashimage=0x8c000000
tee=no
tee_addr=0x84000000

Environment size: 1014/131068 bytes
Starting download of 7281608 bytes
.......................................................
downloading of 7281608 bytes finished
Starting download of 36161 bytes

downloading of 36161 bytes finished
Starting download of 6447477 bytes
.................................................
downloading of 6447477 bytes finished
Kernel image @ 0x80800000 [ 0x000000 - 0x6f1bc8 ]
## Loading init Ramdisk from Legacy Image at 86800000 ...
   Image Name:   skyline-mfgtool-initramfs-skylin
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    6447413 Bytes = 6.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300bd40
Modify /soc/bus@2000000/tsc@2040000 disabled
Modify /soc/bus@2000000/can@2094000 disabled
Modify /soc/bus@2100000/lcdif@21c8000 disabled
Modify /soc/bus@2100000/csi@21c4000 disabled
Modify /soc/bus@2000000/ethernet@20b4000 disabled
gpio@209c000: set_value: error: gpio GPIO1_8 not reserved
gpio@20ac000: set_value: error: gpio GPIO5_9 not reserved

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.71-5.15.71-2.2.0-5.15.71-2.2.0+g3313732e9984+p0 (oe-user@oe-host) (arm-sml-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Tue Nov 15 10:35:06 UTC 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: Freescale i.MX6 UltraLite 14x14 EVK Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x96000000, size 160 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000]   HighMem  empty
[    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] percpu: Embedded 12 pages/cpu s16844 r8192 d24116 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc clk_ignore_unused mtdparts=gpmi-nand:4m(nandboot),16m(nandkernel),4m(nanddtb),192m(nandrootfs),-(nanddata)
[    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: 332680K/524288K available (10240K kernel code, 1207K rwdata, 2816K rodata, 1024K init, 382K bss, 27768K reserved, 163840K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000004] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every<PHONE_NUMBER>1ns
[    0.000058] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>9 ns
[    0.002671] Console: colour dummy device 80x30
[    0.002784] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002839] pid_max: default: 32768 minimum: 301
[    0.003327] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003387] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.005238] CPU: Testing write buffer coherency: ok
[    0.005907] CPU0: update cpu_capacity 1024
[    0.005959] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.008481] Setting up static identity map for 0x80100000 - 0x80100060
[    0.008885] rcu: Hierarchical SRCU implementation.
[    0.010032] smp: Bringing up secondary CPUs ...
[    0.010077] smp: Brought up 1 node, 1 CPU
[    0.010108] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.010223] CPU: All CPU(s) started in SVC mode.
[    0.011275] devtmpfs: initialized
[    0.027323] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.027913] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.027990] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.040373] pinctrl core: initialized pinctrl subsystem
[    0.044082] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.061913] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.064504] thermal_sys: Registered thermal governor 'step_wise'
[    0.064910] cpuidle: using governor menu
[    0.065220] CPU identified as i.MX6UL, silicon rev 1.2
[    0.090165] vdd3p0: supplied by regulator-dummy
[    0.091305] cpu: supplied by regulator-dummy
[    0.092770] vddsoc: supplied by regulator-dummy
[    0.122684] No ATAGs?
[    0.122840] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.122883] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.125051] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.127385] imx mu driver is registered.
[    0.128290] imx rpmsg driver is registered.
[    0.148671] Kprobes globally optimized
[    0.185950] usbcore: registered new interface driver usbfs
[    0.186109] usbcore: registered new interface driver hub
[    0.186236] usbcore: registered new device driver usb
[    0.186845] mc: Linux media interface: v0.10
[    0.187060] pps_core: LinuxPPS API ver. 1 registered
[    0.187089] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti<EMAIL_ADDRESS>[    0.187153] PTP clock support registered
[    0.190862] clocksource: Switched to clocksource mxc_timer1
[    0.191338] VFS: Disk quotas dquot_6.6.0
[    0.191532] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.212410] NET: Registered PF_INET protocol family
[    0.212926] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.215076] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.215190] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.215239] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.215354] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.215524] TCP: Hash tables configured (established 4096 bind 4096)
[    0.215722] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.215807] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.216218] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.217872] RPC: Registered named UNIX socket transport module.
[    0.217935] RPC: Registered udp transport module.
[    0.217957] RPC: Registered tcp transport module.
[    0.217977] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.221266] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.223758] Trying to unpack rootfs image as initramfs...
[    0.234652] Bus freq driver module loaded
[    0.236864] Initialise system trusted keyrings
[    0.241255] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.272360] NFS: Registering the id_resolver key type
[    0.272546] Key type id_resolver registered
[    0.272578] Key type id_legacy registered
[    0.272837] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.272879] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.272976] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.274219] fuse: init (API version 7.34)
[    0.282154] async_tx: api initialized (async)
[    0.282218] Key type asymmetric registered
[    0.282246] Asymmetric key parser 'x509' registered
[    0.282404] io scheduler mq-deadline registered
[    0.282438] io scheduler kyber registered
[    0.310678] mxs-dma 1804000.dma-apbh: initialized
[    0.326547] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 29, base_baud = 5000000) is a IMX
[    1.701086] printk: console [ttymxc0] enabled
[    1.712822] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 67, base_baud = 5000000) is a IMX
[    1.742266] imx sema4 driver is registered.
[    1.802281] brd: module loaded
[    1.834370] loop: module loaded
[    1.852875] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xdc
[    1.859292] nand: AMD/Spansion S34ML04G2
[    1.881168] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.892335] Bad block table found at page 262080, version 0x01
[    1.911840] Bad block table found at page 262016, version 0x01
[    1.921288] 5 cmdlinepart partitions found on MTD device gpmi-nand
[    1.927539] Creating 5 MTD partitions on "gpmi-nand":
[    1.951082] 0x000000000000-0x000000400000 : "nandboot"
[    1.962809] 0x000000400000-0x000001400000 : "nandkernel"
[    1.984215] 0x000001400000-0x000001800000 : "nanddtb"
[    2.003551] 0x000001800000-0x00000d800000 : "nandrootfs"
[    2.024129] 0x00000d800000-0x000020000000 : "nanddata"
[    2.045612] gpmi-nand 1806000.nand-controller: driver registered.
[    2.066581] gpio-505 (eth0-phy): hogged as output/high
[    2.081266] gpio-506 (eth1-phy): hogged as output/high
[    2.089176] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.111053] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld<EMAIL_ADDRESS>All Rights Reserved.
[    2.134289] tun: Universal TUN/TAP device driver, 1.6
[    2.154206] pps pps0: new PPS source ptp0
[    2.162034] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    2.168872] fec 2188000.ethernet: Using random MAC address: 86:ce:56:b1:18:ec
[    2.719559] Freeing initrd memory: 6300K
[    2.731373] imx-sdma 20ec000.sdma: firmware found.
[    2.736918] imx-sdma 20ec000.sdma: loaded firmware 3.5
[    3.092201] fec 2188000.ethernet eth0: registered PHC device 0
[    3.099052] usbcore: registered new interface driver r8152
[    3.104929] usbcore: registered new interface driver lan78xx
[    3.110735] usbcore: registered new interface driver asix
[    3.116457] usbcore: registered new interface driver ax88179_178a
[    3.122996] usbcore: registered new interface driver cdc_ether
[    3.128975] usbcore: registered new interface driver smsc95xx
[    3.135081] usbcore: registered new interface driver net1080
[    3.141003] usbcore: registered new interface driver cdc_subset
[    3.147041] usbcore: registered new interface driver zaurus
[    3.152801] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    3.160426] usbcore: registered new interface driver cdc_ncm
[    3.166267] usbcore: registered new interface driver r8153_ecm
[    3.172174] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.186984] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    3.193280] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    3.209627] sdhci: Secure Digital Host Controller Interface driver
[    3.216100] sdhci: Copyright(c) Pierre Ossman
[    3.220492] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.229596] sdhci-esdhc-imx 2190000.mmc: Got CD GPIO
[    3.238206] caam-dma caam-dma: Defer probing after JR driver probing
[    3.247616] caam 2140000.crypto: device ID = 0x0a16030000000000 (Era 8)
[    3.254453] caam 2140000.crypto: job rings = 3, qi = 0
[    3.284968] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[    3.300341] caam algorithms registered in /proc/crypto
[    3.311608] caam 2140000.crypto: caam pkc algorithms registered in /proc/crypto
[    3.319513] caam 2140000.crypto: rng crypto API alg registered prng-caam
[    3.326679] caam 2140000.crypto: registering rng-caam
[    3.334195] Device caam-keygen registered
[    3.347851] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[    3.358036] usbcore: registered new interface driver usbhid
[    3.363833] usbhid: USB HID core driver
[    3.369681] random: crng init done
[    3.378872] NET: Registered PF_LLC protocol family
[    3.385255] NET: Registered PF_INET6 protocol family
[    3.393001] Segment Routing with IPv6
[    3.396777] In-situ OAM (IOAM) with IPv6
[    3.401170] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.408730] NET: Registered PF_PACKET protocol family
[    3.414404] lib80211: common routines for IEEE802.11 drivers
[    3.420518] Key type dns_resolver registered
[    3.454667] Registering SWP/SWPB emulation handler
[    3.459957] Loading compiled-in X.509 certificates
[    3.505682] imx_usb 2184000.usb: No over current polarity defined
[    3.522622] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.527606] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    3.561144] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.567743] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    3.576230] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.584074] usb usb1: Product: EHCI Host Controller
[    3.589410] usb usb1: Manufacturer: Linux 5.15.71-5.15.71-2.2.0-5.15.71-2.2.0+g3313732e9984+p0 ehci_hcd
[    3.598870] usb usb1: SerialNumber: ci_hdrc.1
[    3.604610] hub 1-0:1.0: USB hub found
[    3.608491] hub 1-0:1.0: 1 port detected
[    3.615855] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    3.628342] caam-dma caam-dma: caam dma support with 3 job rings
[    3.635814] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.663467] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.670323] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.679357] clk: Not disabling unused clocks
[    3.686650] Freeing unused kernel image (initmem) memory: 1024K
[    3.692733] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.722164] Run /linuxrc as init process
Found New UDC: ci_hdrc.0
ci_hdrc.0 0
ffs.utp0
[    3.905992] file system registered
run utp at /dev/usb-utp0/ep0
.
uuu fastboot client 1.0.0 [built [    3.969001] read descriptors
May  9 2024 18:50:12]
Start init[    3.975842] read strings
 usb
write string
Start handle command
run shell cmd: cat /proc/mtd
run shell cmd: cat /proc/mtd | while read dev size erase name; do mtd=${dev:3}; mtd=${mtd%:}; name=${name%\"}; name=${name#\"}; echo export $name=$mtd >> /tmp/mtd.sh; done;
run shell cmd: chmod 777 /tmp/mtd.sh
run shell cmd: export EXTRACT_UNSAFE_SYMLINKS=1; tar x -z
WOpen:/tmp/rootfs

Hi again, I have migrated our Yocto build system to Scarthgap (u-boot-imx 2023.04; linux-imx 6.6)and now this problem is gone.


Declare Beta support for proxyAll

And fix an invalid link.
Signed-off-by: Quan Tian<EMAIL_ADDRESS>

cc @vicky-liu

/skip-all


Display status emojis in the LHN (including the user's own status)

Details
This is the first part of a series of PRs to implement the UI for the new custom status feature.
It implements the Status option in the profile settings, and the screen to set a status.
As this feature is incomplete yet and build in iterations it will be hidden behind the customStatus  beta.
Fixed Issues

$ https://github.com/Expensify/App/issues/23132
PROPOSAL:
Tests

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Add the customStatus beta to your account or simply let this function return true
Test Steps for Account A:

Log in using Account A.
Navigate to Settings.
Select the Status item.
Choose the desired emoji and accompanying text.
Press Save.

Note: By default, the status is set to expire 'by the end of the day,' which means it remains valid until tomorrow.

Return to the main dashboard.
Verify that the chosen emoji now appears next to your avatar.

Test Steps for Account B:

Log in using Account B.
View the chat list on the left panel.
Locate the chat associated with Account A.
Confirm that you can see Account A's status emoji next to their name.
(For Web Only) Hover over the status emoji.

Verify that a tooltip appears.
Confirm that the text within the tooltip matches what was set by Account A.

Additional Notes:

Modifying the valid time duration for the status can only be done manually within the code. Refer to the provided link for the specifics.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/48593211/c558beb3-2017-45da-9ef8-418fa9ff1a7f

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

@perunt Please update Tests chapter in your Author Checklist - especially how to set this status be able to test clicking on it to show the Status Page...

@burczu  I updated the description and also added the link to the method of how you can change the date manually
you can pass it using this formatting moment(...).format('YYYY-MM-DD HH:mm:ss')

Yep, it's an identical error Invalid prop forwardedRef supplied to withOnyx(Component)
The same error we have in the change language screen. Seem to be related to Onyx.
@stitesExpensify if status is a beta feature can we postpone fixing this error? wdyt?

Yes, we can skip that for now since it's already being worked on elsewhere. I've been OOO but will review this on monday

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Looking great so far! 2 things that I noticed:

The user's status is not being shown in the LHN:

In @burczu testing videos, the status is showing up on the #admins channel which shouldn't happen. The status should only ever show up on DMs. I was not able to repro this so maybe it isn't happening anymore? But something i wanted to call out in case you have an idea how that could happen @perunt

https://user-images.githubusercontent.com/7771498/262036263-7db7c2d3-20d6-4cdf-a603-dca8c07e4d46.mp4

I added a check for that second issue. As for the first one, it's unrelated to focus mode like I thought. I can't get it to happen on my end. Would you mind sharing the test account details or that JSON report?

Hmm there is nothing special about the accounts i'm using. @burczu are you able to see the emojis in 1 from my post above?

@stitesExpensify @perunt Regarding first issue - I think it works correctly: the status icon shows up in LHN only next to items where the current user, that has this status set, is presented:

I think it works correctly: the status icon shows up in LHN only next to items where the current user, that has this status set, is presented:

Hmm something must just be weird on my end then.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.3.58-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.58-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.3.59-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.59-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

I think that something broke here. I'm no longer seeing the status in LHN at all @perunt

I saw recently the Moment was replaced, it could break it. Let me check


Issue/52741

Modified regex to allow for \\n, which will match the user entering a newline character explicitly, rather than hitting enter on their keyboard to create a multi-line string.
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #52741

Habitually merged another bugfix into my main before I branched for this issue. Closing PR and will create a new one that does not include the other bugfix, sorry!


Add @vue/typescript-plugin to nodePackages

Description of changes

This PR adds the https://www.npmjs.com/package/@vue/typescript-plugin to nodePackages which is required to make the typescript language server play nice with the volar language server (current officially supported vue language server). The configuration details for the typescript lsp can be found here: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#vue-support.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 303707 run on x86_64-linux 1

3 packages failed to build:

code-server
lv_img_conv
wrangler

61 packages built:

akkoma-frontends.akkoma-fe
authentik
balena-cli
commitlint
concurrently
create-cycle-app
discourse
discourseAllPlugins
documenso
emacsPackages.lsp-bridge
emanote
emanote.data
emojione
fast-cli
geph.gui
haskellPackages.emanote
haskellPackages.emanote.data
haskellPackages.emanote.doc
haskellPackages.tailwind
haskellPackages.tailwind.doc
image_optim
joplin
kiwitalk
lemmy-ui
lighthouse
lunarvim
nodehun
openvscode-server
pgrok
pgrok.server
postcss-cli
pot
pscid
pyright
python311Packages.types-lxml
python311Packages.types-lxml.dist
python312Packages.types-lxml
python312Packages.types-lxml.dist
shout
surrealist
theLoungePlugins.plugins.closepms
theLoungePlugins.themes.flat-blue
theLoungePlugins.themes.flat-dark
uppy-companion
vesktop
vikunja
vimPlugins.coc-cmake
vimPlugins.coc-eslint
vimPlugins.coc-haxe
vimPlugins.coc-markdownlint
vimPlugins.coc-metals
vimPlugins.coc-pyright
vimPlugins.coc-rust-analyzer
vimPlugins.coc-stylelint
vimPlugins.coc-tslint
vimPlugins.coc-tsserver
vimPlugins.coc-vetur
vscode-extensions.ms-python.vscode-pylance
vscode-extensions.rust-lang.rust-analyzer
wasm-text-gen
youtube-music

Closing this in favor of https://github.com/NixOS/nixpkgs/pull/319134, as @vue/language-server is the recommended package to use. (https://github.com/vuejs/language-tools?tab=readme-ov-file#community-integration)


Practical limits for recursive references

The implications that an OCI Index could reference other Indexes is scary to a registry author because they need to follow these relationships in order to effectively garbage collect blobs.
At KubeCon EU some registry stakeholders discussed potentially adding a limit to the depth in which a recursive relationship should be.
I'm not sure if this is best specified in the image-spec or distribution-spec.

I would argue distribution-spec would be the best place to do this -- since it's not really an issue outside of registries. With "OCIv2" the depth of references will increase (depending on whether we do a full directory-based Merkle tree or some more linear structure it might increase by a little or a lot).
But I might be okay with having some statement that "if you encounter an image with more than 20 layers of references, implementations MAY reject the image as being invalid". But even that makes me a little nervous about forwards-compatibility.

The problem with picking a specific limit is that, if long sequences of references have a legitimate usecase, then someone will eventually hit a situation where the limit becomes an unnatural restriction. Why not simply prohibit cyclic references? Since most images will have fairly shallow reference trees, it should be straightforward for registry code to check for cyclic references.

@glyn Because it can still be used by bad actors as an attack, even without cyclic references; just generate a tree of depth 1 million.

Since most images will have fairly shallow reference trees, it should be straightforward for registry code to check for cyclic references.

Cyclic references should be effectively impossible since the index is content-addressable (the A in Merkle DAG is "acyclic"). I guess this could happen if a registry isn't checking digests but is doing reference counting, but I'd say that's a pretty egregious bug in the registry :)

The implications that an OCI Index could reference other Indexes is scary to a registry author because they need to follow these relationships in order to effectively garbage collect blobs.

I don't think this is actually that scary. If you're doing reference counting, you only need to consider one level of references for a given HTTP request. The client would be responsible for actually traversing the dependency graph to delete each index in the appropriate order, so most of the work would actually fall on the client. Of course this depends on the registry implementation, but this wouldn't seem like a problem for most straightforward approaches (happy to be enlightened if I'm missing something, though I suspect most issues will be for historical reasons 😄 ).
I'd be more worried about https://github.com/opencontainers/image-spec/issues/781 but I'd suggest registries could just return an HTTP 413 if the incoming manifest/index is too burdensome to store.

I would argue distribution-spec would be the best place to do this

Agreed, this seems like something most clients would have to consider when interacting with a registry, so we should add some notes to the registry spec.

@glyn Because it can still be used by bad actors as an attack, even without cyclic references; just generate a tree of depth 1 million.

That sounds like a very expensive attack, but point taken @josephschorr.

Since most images will have fairly shallow reference trees, it should be straightforward for registry code to check for cyclic references.

Cyclic references should be effectively impossible since the index is content-addressable (the A in Merkle DAG is "acyclic").

Doh! If you, @jonjohnsonjr, keep telling me this, I'll eventually remember it. Apologies.

Is this something the spec should limit, or something each registry would specify?
We each have layer count and size constraints. We have different repo counts. Some of these are cost management, some are just reasonable expectations to set with customers. Is this any different?
As we try to close out old issues, just wondering if we really need this one as active?

@SteveLasker Personally, I'd feel more comfortable if reasonable limits were defined in the specification, as that would allow tools to check and verify before pushing occurred. It also has the added bonus of consistency across implementations, which means any manifest pushed to one registry should work with another, assuming they meet the specification.

What do folks believe are reasonable sizes?
As a cohort, I was initially concerned with the 256 limit to path size on a repo as ACR supports nested namespaces.
I then tried it out, to see what <256 really looked like:
docker pull demo42.azurecr.io/repo01/repo02/repo03/repo04/repo05/repo06/repo07/repo08/repo09/repo10/repo11/repo12/repo13/repo14/repo15/repo16/repo17/repo18/repo19/repo20/repo21/repo22/repo23/repo2/repo24/repo25/repo26/repo27/repo28/repo29/repo30/repo31/hello-world:aab1
Yeah, I now think 256 is completely within reasonable limits. :)
So, what do we think are reasonable limits for, to limit DOS attacks, or just runaway code?

manifest: layer count
index: manifest count
layer size
config size

And, while I agree with Joey it would be nice to have consistency, if we can't agree, is there a problem with having registries implement limits? I'm just looking to hopefully focus our mindpower on a shorter list of active issues.

So, what do we think are reasonable limits for, to limit DOS attacks, or just runaway code?

The containers/image library is mostly using a limits of 4 MB some of which may apply to the distribution spec (e.g., token and error-response sizes). Until now we have not experienced any issues with these limits.
Setting these limits was motivated by fixing CVE-2020-1702.


MM-20977 - Inviting multiple users with valid/allowed and invalid emails causes the invites for the valid users not to be sent

Summary
Added addUsersToTeamGracefully to allow mixing bad/good users in invite
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-20977
Related PRs
Server: https://github.com/mattermost/mattermost-server/pull/13372
Webapp: https://github.com/mattermost/mattermost-webapp/pull/4495

@reflog
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#1010-upstream-release-5.18-1576146749
Branch 'automated-cherry-pick-of-#1010-upstream-release-5.18-1576146749' set up to track remote branch 'release-5.18' from 'upstream'.
+++ Downloading patch to /tmp/1010.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/1010.patch

Applying: refactored into two separate components. cleaned up css
Using index info to reconstruct a base tree...
M	src/reducers/entities/posts.ts
Falling back to patching base and 3-way merge...
Auto-merging src/reducers/entities/posts.ts
CONFLICT (content): Merge conflict in src/reducers/entities/posts.ts
Patch failed at 0001 refactored into two separate components. cleaned up css
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

UU src/reducers/entities/posts.ts

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.

@reflog Did this got cherry picked? Should this get cherry picked?

@hanzei - it was cherry picked to 5.18. It's not breaking anything there, just adds a (currently unused) function

Thanks for confirming. Just wanted to double check. :+1:


docs: 添加 Vision 到已知的使用 VitePress 的知识库

May I add your Lercel/Vision into our README.md as one of the amazing knowledge base projects?
@Lercel

Sure, my great honor.


Allow React components to be passed to appendSlide and addSlide

Is your feature request related to a problem? Please describe.
Currently, you can only pass raw HTML to appendSlide and addSlide.
Describe the solution you'd like
If we can import some custom component with some props, and have it such that we can do appendSlide(<Component prop1={prop1} ... propX={propX} />) that would be great.
Even better, if this could be done:
appendSlide(
  <SwiperSlide>
    {({ isActive }) => (
      <Component isActive={isActive} ... propX={propX} />
    )}
  </SwiperSlide>
)

Describe alternatives you've considered
There aren't any right now.
Additional context
This would be perfect because then we can programatically add slides after the initial render. And we don't have to rely on an array mapping to get a similar functionality.
EDIT: I have just discovered a hack to get this to work FOR STATIC CONTENT, by using renderToStaticMarkup, but that throws an error about useLayoutEffect being used on the server for some reason (even though it executes on the client). There are no event listeners attached and I still haven't figured out how to attach the event listeners to this. If event listeners can be attached successfully then I will post a quick demo of it in action for reference. Regardless, it would be good if this is supported natively.

Nope, it is not needed in React. In React you need to manage slides in this case in React-way, e.g. having slides in array, adding slide is basically array's .push etc

Hi I'd just like to clarify though, if this is managed with an array, there is no way to delete the slides correctly.
You can add via a push but if you delete an item at a certain index, it does not work correctly. I outline this issue in this discussion.
The state of the other components are reset when a an element at a certain index of the array is deleted.
How should this be done correctly?

Hey @ajaypillay look at this demo https://codesandbox.io/s/swiper-react-dynamic-slides-forked-b11r7, no any issues

Hi @nolimits4web thanks for the demo - but the issue is that the state of the other slides don't need to be saved. I show it here in this demo.
If you click add slide, then click randomize state on the new slide, and then delete the slide at index 0, all the other slides will get their states reset. This is the same method as outlined in the demo but these slides have to contain their own state.
How should this be fixed?

That has nothing related to Swiper, this is how React works, if you won’t to avoid slide rerendering keep its unique key

If that's the case then I can't delete an element in the array right? Because then everything after that element would have a different key. How would you advise that I go about deleting an element from the array without causing a re-render? Appreciate the help, thank you.


[Policies] Saving a policy as BYOD reverts it back to NONE

Pre-Conditions:-

IoTS should be up and running
There should be a BYOD registered

Create a policy with the desired set of actions eg: restrict camera.
Select the relevant role
Select BYOD as the device group
Save and publish the policy
Apply the policy to the devices
View the policies
Edit the policy and check the device group set in step 3

Expected Results:-

Device group should remain as BYOD

Actual Results:-

Device group is displayed as NONE

@chamaraanu : Labels- critical, 3.1.0-alpha

Verified in 3.1.0-RC


 These colors are supposed to be semi-transparent to allow other decorations to show through.
I calculated new semi-transparent colors that blend with the theme background color into the original color value. I tried to get values that were 20% opaque. One of the values would've needed an impossible base color to blend correctly at 20% opaque so I had to calculate it at a higher opacity.
All translations

Dark themes

#32374d is now #f6bbe533 (ex. editor.wordHighlightBackground)
#2e3250 is now #e3a2f433 (ex. editor.wordHighlightStrongBackground)

Light themes

#d3e8f8 is now #339c8c33 (ex. editor.wordHighlightBackground)
#a3cfee is now #007dd659 (ex. editor.wordHighlightStrongBackground)
#e0e7ea is now #7497a633 (ex. editor.rangeHighlightBackground)

Examples
In these examples I've selected the letters pri in the first this.price. That first instance of this.price has editor.wordHighlightStrongBackground. The other two this.prices have editor.wordHighlightBackground. In the before images you can't tell that those letters are selected because the opaque color is rendered over the selection.
Dark
Before

After

Light
Before

After

(note: The light theme's editor.wordHighlightStrongBackground was the color that had to be more opaque)

This looks great and is much more clear, much appreciated!


Fixes #681 - Missing generic type in attrs

I believe this fixes 681. ~However, I think I'm not able to write tests properly.~
~For example, the following fails with error Expected diagnostic on 1:37 but got 1:28~
func testMissingGenericTypeToAttribute() {
  AssertParse(
    """
    @differentiable(reverse wrt,where T #^DIAG_1^#
    func podcastPlaybackSpeed() {
    }
    """,
    diagnostics: [
      DiagnosticSpec(locationMarker: "DIAG_1", message: "Expected '=' in same type requirement"),
    ]
  )
}

~I don't think this is true, because the diagnostic marker is not on 1:28.
It would be great if this PR didn't get merged. Instead, i'd like to fix the test first, so any tips are welcome!~
Edit: Fixed the tests in d40bae7

@swift-ci test


Added data-path command line argument

Depends on: node-clinic-doctor - PR 165
This PR adds the possibility of specifying a user defined path to store the data collected by Doctor.
PRs for bubbleprof and flame needs to be done to extend this functionality to the CLI

You should add the new option to https://github.com/nearform/node-clinic/blob/master/docs/clinic-doctor.txt as well.

Should we not call it path instead of data-path?

Esthetically I was not really convinced about data-path but I thought it was more expressive than data. What about destination?

How about --dest?

I am fine with dest.

Can you please add a unit test in https://github.com/nearform/node-clinic/blob/master/test/cli-doctor-full.test.js?


Add version: Coder.Coder version 2.13.5

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

🤖 cc: @deansheather @matifali


Code editor is unuseable on code which uses tabs instead of spaces for indentation.

From<EMAIL_ADDRESS>on 2011-01-19T20:27:08Z
What steps will reproduce the problem?
1.Open any source file which is indented with tabs What is the expected output? What do you see instead? Either autodetection of the use of tabs, or the ability to manually switch to tab indentation. What version of the product are you using? On what operating system? Spyder 2.0.6 Win XP
Please provide any additional information below
. I realize the use of tabs/spaces is highly personal, and subjective.
However, I have an extensive code base, which is exclusively standardized on tab indentation. Since this is a multi-user environment, converting the tabs to spaces is not an option. Therefore, Spyder is unuseable.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=531

From pierre.raybaut on 2011-04-04T13:07:35Z
This is now implemented in development version (v2.1.0dev): you may choose manually the indentation characters.
Status: Fixed


Drop msrestazure dependency for SCVMM extension

Changelogs:

Replace msrestazure with azure.core, refer the PR https://github.com/Azure/azure-cli-extensions/pull/7899

Related command
az scvmm
General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

/azp run

@hsurana06 Please fix CI failure

sync latest azure-cli repo's dev branch
run azdev setup again to reset your local env
run azdev test --live for failed tests

@evelyn-ys I have updated the PR to fix CI failure.


Minimum Freshness Time

The  constructor has a minimum freshness time of 15 min. If you try to use the background task to trigger any faster then that it will give you a value out of range error. This is not currently documented on this thread and it is implied when you go to the freshnesstime thread but is not stated.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cd39caf5-b4db-ba32-fbee-49580a61c4d1
Version Independent ID: c62bdc13-5a3f-a4e7-5a38-fdb293828729
Content: TimeTrigger Class (Windows.ApplicationModel.Background) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.applicationmodel.background.timetrigger.yml&version=GBlive&_a=contents
Product: uwp
Git Login: msatranjr
Microsoft Alias: misatran

Thanks for taking the time to let us know about this. Due to the sheer volume of feedback in our repo, we're currently prioritizing new Issues. If you believe your feedback is still actionable, let us know either directly in this thread or by filing a new Issue and we’ll work to incorporate your suggestions. Though this issue will be marked as Closed, this issue is still being tracked internally and you're welcome to leave a comment with more details. Thank you again!


[Package Request]: Plex Media Server service wrapper for windows

How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://github.com/cjmurph/PmsService
Publisher: cjmurph
Package Name: PlexService
Description: Service wrapper for Plex Media Server
Package Version: <IP_ADDRESS>
Installer URL: https://github.com/cjmurph/PmsService/releases/download/v1.2.3/PlexService_<IP_ADDRESS>.msi
NOTE: The installer requires interactive installation to select the user to run the service under.

[Policy] In PR


subset from input dataset at ingest

For cases where the storage unit only needs to be populated for a subset extent of the input data.
Example: Himawari 8 datasets have data for the entire globe, but we might only want to ingest and store data covering Australia.

Should it go into the storage mapping config (or it's future incarnation)?
How complex should it be?

Bounding box
polygon
multi-polygon
What projection should it be specified it?
Source dataset? (UTM might be tricky)
Target storage type?
Lat/Lon EPSG:4326
Specify its own projection

Added 'roi' field to storage_mapping (soon to be renamed to storage_type).
Can specify bounding box in the storage unit crs.
More issues can be created for additional use cases when they become relevant


WASM too large for cloudflare workers

Describe the bug
The given WASM for cloudflare example could not be deployed.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Clone the example /cloudflare-workers and do npm run deploy
Expected behavior
It should deploy successfully.
Screenshots or Videos

Platform

OS:  macOS
Version: 12.4

Additional context
No response

Hey @hiaw,
So Remix-Image-Wasm supports:

AVIF
JPEG
PNG
WebP

It does this by including one or two .wasm files for every image type (and actually includes another file for fast resizing).
The problem is each of the files is pretty large, so depending on the size of your app it might go over the max size.
I've been looking for a different wasm image transformation package that might have a smaller bundle size, or try to see if it's possible to merge these files into one to save more space.

In the meantime, here's something we can try that may or may not work, but I can come out with a patch if it doesn't.
When you downloaded Remix-Image-Wasm, it asked you to add the following code to your wrangler.toml file:
[wasm_modules]
AVIF_ENC_WASM = "node_modules/remix-image-wasm/avif_enc.wasm"
AVIF_DEC_WASM = "node_modules/remix-image-wasm/avif_dec.wasm"
JPEG_ENC_WASM = "node_modules/remix-image-wasm/jpeg_enc.wasm"
JPEG_DEC_WASM = "node_modules/remix-image-wasm/jpeg_dec.wasm"
PNG_WASM = "node_modules/remix-image-wasm/png.wasm"
WEBP_ENC_WASM = "node_modules/remix-image-wasm/webp_enc.wasm"
WEBP_DEC_WASM = "node_modules/remix-image-wasm/webp_dec.wasm"
RESIZE_WASM = "node_modules/remix-image-wasm/resize.wasm"

If I had to guess, you probably aren't using AVIF images, so you should remove the lines that start with AVIF_ENC_WASM and AVIF_DEC_WASM. If you aren't using another format like JPEG, you can also remove those .wasm files. Just make sure you keep the line starting with RESIZE_WASM in your wrangler.toml.
By removing these lines, you will lose the ability to use AVIF images as inputs and outputs, but your bundle size will be smaller.
I haven't tested this yet, but planning on adding support for it in the future. I'm going to make Remix-Image-Wasm detect which .wasm files have been included, so it will automatically fall back to using pureTransformer if not. This means you can choose which files you want to be fast, such as keeping the WEBP .wasm files, while still supporting PNG by falling back to pureTransformer.
(Note: it's possible you could customize depending on your input file types and output file types. Say your images would always be provided as a JPEG or PNG, and then you would always output them as WEBP or PNG. Files that end in _DEC are for input files, while _ENC are for output files, but the PNG file is combined. In this case, you would make your file:
[wasm_modules]
JPEG_DEC_WASM = "node_modules/remix-image-wasm/jpeg_dec.wasm"
PNG_WASM = "node_modules/remix-image-wasm/png.wasm"
WEBP_ENC_WASM = "node_modules/remix-image-wasm/webp_enc.wasm"
RESIZE_WASM = "node_modules/remix-image-wasm/resize.wasm"

)
So try the above solution, and let me know if it lowers your bundled size enough to upload to Cloudflare. Once uploaded, it may or may not work since I haven't added code to explicitly support this case yet, but I'm primarily concerned with it passing upload. I'll be making a PR and releasing a new build on npm adding full support for these changes.

Hey @hiaw,
I just released remix-image-wasm v0.1.2 which supports leaving out .wasm files if you don't need to support that file type.
Documentation here: https://remix-image.mcfarl.in/docs/tutorial-extras/web-assembly#reducing-bundle-size