View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001257 | UBoot | NAND-FMD | public | 2012-08-22 17:03 | 2014-01-28 11:31 |
Reporter | Keller | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | armStoneA8-V1.1 | ||||
Target Version | fss5pv210-V2.0 | Fixed in Version | fss5pv210-V2.0 | ||
Summary | 0001257: Allow dynamic MTD partition sizes depending on NAND flash type | ||||
Description | Up to now, the mtdparts defaults setting was a fix setting given in the U-Boot configuration. However this setting depends on the block size of the NAND chip. On boards that allow NAND chips with different block sizes (e.g. PicoMOD6, PicoCOM3), this should be set depending on the actually mounted NAND chip. | ||||
Forum Link | |||||
|
If the default setting for mtdparts is empty, the mtdparts command now calls function board_get_mtdparts_default() where we can dynamically return a setting reflecting the current NAND setup. In addition we also set the mtdparts environment variable if it is empty. This saves a call to mtdparts default if the board is initialized for the first time. |