mksquashfs sonic.iso sonic.squashfs -b 1048576 -comp xz -Xdict-size 100%. If you use this command, you will compress in LZMA2 which is a much more efficient format for managing compressed data. The only downside is that it will take longer to create the file, but you will have compression ratios like .7z. udance4ever.
The squashfs_cache_get function in the cache.c file contains the "front" cache verification logic of SQUASHFS, it contains the call that, eventually, will read the data into memory and decompress it either to a buffer or directly to the page cache [not discussed here]. If you see the logs closely, SQUASHFS only attempts to decompress once.

If yur cfe.bin file has NVRAM starting at 0x680 it means your cfe.bin file includes headers and is not headerless, strip them away in order to flash it via JTAG. This has been tested on a device running up to B079 OEN firmware version, using OpenOCD 0.12.0 and a TUMPA JTAG adapter at 20000KHz.

Now I have these files waiting to be flashed: openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-nand-factory.ubi; openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-nand-sysupgrade.bin; All I changed with menuconfig is the target and device. Is that all or are there other important settings to take full advantage of the hardware? It's probably copying files after mounting the squashfs which are files or directories that need editing. Example some files in /usr or /var will be copied over to ram during the boot process, unless the liveCD implemented an overlay filesystem like auFS or overlayfs with the former being used in the Gentoo Linux liveCD which doesn't required copying directories from its squashfs image.
In code update mode, the squashfs image and white-listed files from the read-write filesystem are copied into RAM by the initramfs and used to assemble the root overlayfs instance, leaving the flash free to be modified by installing images at runtime.
vu2u1. 132 217 440 552 814 856 666 437

how to open squashfs file