请教
通过nandflashwrite,把DSP-AIS ARM-UBL UBOOT烧写到nandflash的1 2 4 block 。nandflashwrite中定义block空间如下
#define DEVICE_NAND_RBL_SEARCH_START_BLOCK (1)
#define DEVICE_NAND_ARM_UBL_SEARCH_START_BLOCK (2)
#define DEVICE_NAND_UBOOT_SEARCH_START_BLOCK (4)
在内核代码中NAND分区定义如下
sta
tic struct mtd_partition da830_evm_nand_partitions[] = [
/* bootloader params in the first sector */
[0] = [
.name = "u-boot env",
.offset = 0,
.size = SZ_128K,
.mask_flags = MTD_WRITEABLE, /* force read-only */
],
/* primary bootloader in the next sector */
[1] = [
.name = "UBL",
.offset = MTDPART_OFS_APPEND,
.size = SZ_128K,
],
/* bootloader (U-Boot, etc) in next sector */
[2] = [
.name = "u-boot",
.offset = MTDPART_OFS_APPEND,
.size = 4 * SZ_128K,
],
/* kernel */
[3] = [
.name = "kernel",
.offset = MTDPART_OFS_APPEND,
.size = SZ_2M,
],
/* file system */
[4] = [
.name = "filesystem",
.offset = MTDPART_OFS_APPEND,
]
];
内核代码中NAND分区定义的u-boot env 、UBL、u-boot地址空间与DSP-AIS ARM-UBL UBOOT实际存储地址冲突?
在uboot中 通过NAND write命令 烧写uImage,应该烧写到哪个地址空间?
谢谢