This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPL138 引导Linux内核 NOR Flash分区不成功!

Other Parts Discussed in Thread: OMAP-L138

 TI工程师你们好!

     板子是我们自己做的用的是NOR Flash, Linux 源码是用的"linux-03.21.00.04.tar.gz"现在的问题是linux启动时没打印分区的一些信息,

像如下这样子的信息!

dev: size erasesize name
mtd0: 00010000 00010000 "UBL"
mtd1: 00080000 00010000 "U-Boot"
mtd2: 00010000 00010000 "U-Boot-Env"
mtd3: 00280000 00010000 "Kernel"
mtd4: 00400000 00010000 "Filesystem"
mtd5: 00010000 00010000 "MAC-Address"

如果用的是LogicPD EVM开发板在menuconfig 配置成 SPI Flash启动是有打印分区信息的!

menuconfig NOR Flash配置如下!

NOR
Note: NOR flash is supported only on OMAP-L138 (or DA850, AM18xx) EVM
Device Drivers --->
< > MMC/SD/SDIO card support --->
<*> Memory Technology Device (MTD) support --->
[*] MTD partitioning support
[*] Command line partition table parsing
<*> Direct char device access to MTD devices
<*> Common interface to block layer for MTD
'translation layers'
<*> Caching block device access to MTD devices
RAM/ROM/Flash chip drivers --->
<*> Detect flash chips by Common Flash Interface
(CFI) probe
<*> Support for Intel/Sharp flash chips
Mapping drivers for chip access --->
<*> TI DaVinci board mappings
WARNING
Please disable MMC support when NOR has to be used. They are pin multiplexed and NOR will not work when
MMC is enabled.

在"board-da850-evm.c"文件中是有

static struct mtd_partition da850_evm_norflash_partition[] = {
{
.name = "bootloaders + env",
.offset = 0,
.size = SZ_512K,
.mask_flags = MTD_WRITEABLE,
},
{
.name = "kernel",
.offset = MTDPART_OFS_APPEND,
.size = SZ_2M,
.mask_flags = 0,
},
{
.name = "filesystem",
.offset = MTDPART_OFS_APPEND,
.size = MTDPART_SIZ_FULL,
.mask_flags = 0,
},
};

现在不知道为什么在NOR Flash上分区不成功! 

请求TI的高手帮忙看看是什么问题! 是不是还有什么配置不对!还是在源码中要修改某些地方,麻烦告诉我们一下在哪些文件里修改怎么改! 我们是想在NOR Flash 上引导jffs2根文件系统!

谢谢!