summaryrefslogtreecommitdiff
path: root/common/cmd_ubi.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-10-17 18:19:33 +0200
committerStefan Agner <stefan.agner@toradex.com>2014-10-23 11:11:04 +0200
commit68870e53cb0087becd86119005417987201e2ef6 (patch)
treeb79318ca06b86104e775eaf08062111010c8041e /common/cmd_ubi.c
parentf15dd8504d76343a1069706558abf954d9e4521d (diff)
colibri_vf: extend environment
Newer UBI implementation do not allow small UBI partitions since the amount of bad blocks is now calculated by the size of the MTD partition (instead volume size). On small partitions, this leads to UBI partitions only consisting of reserved blocks. Therefor we now use only one volume, which also allows better wear leveling and bad block management. Since it is needed to attach the whole UBI partition, mounting the UBI filesystem would be a good option. Measurement showed that the overhead reading from UBI filesystem compared to read from a UBI volume is minimal (below 100ms). Furthermore, this also adds support to load device trees for newer, device tree based kernels. By setting the variable fdt_board, the scripts read the FDT file and try to pass this to the kernel. The FDT file will be concatinated: ${soc}-colibri-{fdt_board}.dtb E.g. when fdt_board is set to "eval-v3", the scripts will load the device tree file "vf610-colibri-eval-v3.dtb" on a Colibri VF61.
Diffstat (limited to 'common/cmd_ubi.c')
0 files changed, 0 insertions, 0 deletions