mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* how to change size of a partition in kernel
@ 2013-11-11  5:41 Suki Buryani
  2013-11-11  6:11 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: Suki Buryani @ 2013-11-11  5:41 UTC (permalink / raw)
  To: linux-kernel

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

Thanks


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to change size of a partition in kernel
  2013-11-11  5:41 how to change size of a partition in kernel Suki Buryani
@ 2013-11-11  6:11 ` NeilBrown
  0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2013-11-11  6:11 UTC (permalink / raw)
  To: Suki Buryani; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

On Sun, 10 Nov 2013 21:41:31 -0800 (PST) Suki Buryani <sukiburyani@yahoo.com>
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-11  6:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-11  5:41 how to change size of a partition in kernel Suki Buryani
2013-11-11  6:11 ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®