Hi All,
We are making customize board based on IMX6Q processor.
We are using 16GB eMMC for in our board.
We want to create below partitions in our project.
1. x-loader
2. uboot
3. uboot-env
4. factory-kernel
5. kernel
6. factory-filesystem
7. filesystem
Is there anyway we can create partition table on eMMC directly from kernel or u-boot same as we were creating in NAND?
Please provide us alternative if it is not possible to do it from kernel/uboot.
Previously we were using TI's AM3505 processor based board with NAND instead of eMMC. In which we were creating partition table form kernel itself .
example:
static struct mtd_partition am3517evm_nand_partitions[] = {
/* All the partition sizes are listed in terms of NAND block size */
{
.name = "x-loader",
.offset = 0,
.size = 4*(SZ_128K),
.mask_flags = MTD_WRITEABLE
},
{
.name = "uboot",
.offset = MTDPART_OFS_APPEND,
.size = 14*(SZ_128K),
.mask_flags = MTD_WRITEABLE
},
{
.name = "uboot-env",
.offset = MTDPART_OFS_APPEND,
.size = 2*(SZ_128K)
},
{
.name = "factory-kernel",
.offset = MTDPART_OFS_APPEND,
.size = 40*(SZ_128K)
},
{
.name = "kernel",
.offset = MTDPART_OFS_APPEND,
.size = 40*(SZ_128K)
},
{
.name = "factory-filesystem",
.offset = MTDPART_OFS_APPEND,
.size = 400 * 8 * ( SZ_128K )
},
{
.name = "filesystem",
.offset = MTDPART_OFS_APPEND,
.size = MTDPART_SIZ_FULL,
},
};
Is there any similar method for eMMC also? Or what are the method to create partition table in eMMC.
Thanks,
Jemish