hi,all
download uImage and copy it to NAND partion
#tftp 0x80700000 uImage
#nand erase 0x400000 0x200000
...........
../ti-davinci/arch/arm/mach-davinci/board-dm355-evm.c
.........
#ifdef CONFIG_DM355_NAND_256KB_BLOCKS
#define NAND_BLOCK_SIZE (SZ_256K)
#else
#define NAND_BLOCK_SIZE (SZ_128K)
#endif
static struct mtd_partition nand_partitions[] = {
/* bootloader (UBL, U-Boot, BBT) in sectors: 0 - 14 */
{
.name = "bootloader",
.offset = 0,
.size = 15*NAND_BLOCK_SIZE,
.mask_flags = MTD_WRITEABLE, /* force read-only */
},
/* bootloader params in the next sector 15 */
{
.name = "params",
.offset = MTDPART_OFS_APPEND,
.size = 1*NAND_BLOCK_SIZE,
.mask_flags = MTD_WRITEABLE, /* force read-only */
},
/* kernel in sectors: 16 */
{
.name = "kernel",
.offset = MTDPART_OFS_APPEND,
.size = SZ_4M,
.mask_flags = 0
},
{
.name = "filesystem1",
.offset = MTDPART_OFS_APPEND,
.size = SZ_512M,
.mask_flags = 0
},
{
.name = "filesystem2",
.offset = MTDPART_OFS_APPEND,
.size = MTDPART_SIZ_FULL,
.mask_flags = 0
}
};
size of bootloader(15*NAND_BLOCK_SIZE) plus size of bootloader params(1*NAND_BLOCK_SIZE) is 0x400000;
I do not know whether my understanding is correct,please give some hints! Thank you!