I'm experimenting with read-only MTD driver. As it's read-only, I didn't fill "erasesize".
This resulted in: Creating 7 MTD partitions on "bcm47xxsflash": 0x000000000000-0x000000020000 : "boot" 0x000000020000-0x000000790000 : "firmware" 0x00000002001c-0x000000020960 : "loader" 0x000000020960-0x000000128800 : "linux" 0x000000128800-0x0000007f0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=100000, len=6f0000 0x000000100000-0x0000007f0000 : "rootfs_data" 0x0000007f0000-0x000000800000 : "nvram" (Note the "rootfs_data" offset! It's below the "rootfs"!). Maybe we should fail in static int split_squashfs(struct mtd_info *master, int offset, int *split_offset) when there is no master->erasesize? -- Rafał _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
