Picostation M2 __link__ - Firmware
Using binwalk (your best friend here), we can see the skeleton:
This means you can aggressively modify one partition and still have a recovery path. But it also means you only have ~4 MB for your custom rootfs on each side. Hacking the Firmware (Without Bricking) Let’s say you want to add a custom Python script or a persistent netcat listener. You can't just modify the SquashFS directly (it's read-only and checksummed). Instead, you use the overlay. firmware picostation m2
$ binwalk PS2.v6.2.0.bin DECIMAL HEXADECIMAL DESCRIPTION 0 0x0 U-Boot image (legacy), image name: "U-Boot" 262144 0x40000 Squashfs filesystem, little endian... ... Using binwalk (your best friend here), we can