Re: how to change size of a partition in kernel

From: NeilBrown
Date: Mon Nov 11 2013 - 01:12:26 EST


On Sun, 10 Nov 2013 21:41:31 -0800 (PST) Suki Buryani <sukiburyani@xxxxxxxxx>
wrote:

> Hi,
>
> can anyone tell me, how i can change size of these partitions?, aspecialy mtdblock3
>
>
> cat /proc/partitions
> major minor #blocks name
>
> Â 31ÂÂÂÂ 0ÂÂÂÂÂÂ 8192 mtdblock0
> Â 31ÂÂÂÂ 1ÂÂÂÂÂÂÂ 256 mtdblock1
> Â 31ÂÂÂÂ 2ÂÂÂÂÂÂ 2048 mtdblock2
> Â 31ÂÂÂÂ 3ÂÂÂÂÂÂ 5824 mtdblock3
> Â 31ÂÂÂÂ 4ÂÂÂÂÂÂÂÂ 64 mtdblock4
>
> my device is running linux-2.6.16,any help would be appreciative

On my device this information is hard-coded in the board file in an array
which is passed to omap_nand_flash_init().

I think 'uboot' knows the sizes too so it would need to be told if I made any
changes.

NeilBrown

Attachment: signature.asc
Description: PGP signature