[U-Boot] map mtd partitions address for TWO NOR flash

H. Johnny johnny.hung543 at gmail.com
Thu May 14 10:51:57 CEST 2009


>> BTW, I know u-boot can pass the mtdparts parameters to linux kernel.
>> Which mtd partition info linux kernel will use, u-boot mtdparts info
>> or static address map code ?
>
> That's a Linux question, isn't it? And as such off topic here...
>
> The answer is: it depends.
>
> If you don't configure CONFIG_MTD_CMDLINE_PARTS into your kernel,
> then always the static partition map will be used. If you enable
> CONFIG_MTD_CMDLINE_PARTS and do not provide partition info on the
> command line, then also the static partition map will be used. If you
> enable CONFIG_MTD_CMDLINE_PARTS *and* provide partition info on the
> command line, then the command line information will be used.

Yes, I know but i'm trying to pass mtdparts to linux kernel but it
still use static partitions.
Thanks for your reply. I will look into the kernel source code.

-- 
[To be different, do different. To be appear different, change the name.]
H. Johnny


More information about the U-Boot mailing list