Hi guys! I need your advice about the a NAND device layout.
mtd4 - kernel
mtd5 - rootfs (SquashFS in stock firmware)
U-boot verifies a checksum and signature of (mtd4+mtd5) at every boot. So they have to be readonly and kept untouchable after the installation of OpenWrt. Checksum and signature algorithm is already known.
I would like to use mtd12 (ubi) as overlay.
Is it posiible to do in OpenWrt? Could you share an example of a dts file for such a case, please? Or suitable labels (names) for mtd5 and mtd12.