Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: static partitions for NAND flash (AT91SAM9260EK) ?
PostPosted: Fri Jan 11, 2008 12:35 pm 
Offline

Joined: Tue Jun 26, 2007 6:27 pm
Posts: 81
Hello,

what di I have to do to make partitions in the NAND Flash ?

I modified the file /arch/arm/mach-at91rm9200/board-sam9260.c

static struct mtd_partition __initdata ek_nand_partition[] = {
{
.name = "Partition 1",
.offset = 0,
.size = 256 * 1024,
},
{
.name = "Partition 2",
.offset = 256 * 1024,
.size = 256 * 1024,
},
{
.name = "Partition 3",
.offset = 512 * 1024,
.size = 256 * 1024,
},
{
.name = "Partition 4",
.offset = 768 * 1024,
.size = MTDPART_SIZ_FULL,
},
};

then I rebuild the Kernel.

The Uboot doesn´t recognize the parttions... ?

Thank you


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 17, 2008 1:34 pm 
Offline

Joined: Wed Jan 16, 2008 1:29 pm
Posts: 8
Location: Lucerne CH
Hi

Maybe you have a look at this:
http://www.denx.de/wiki/view/DULG/BootTimeConfigurationOfMTDPartitions
If you want to use it, don't forget to enable the CONFIG_CMDLINE_PARTS Kernel configuration option. I'm using it with Kernel 2.6.21 and it works brilliant.

Greets Destrukto


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 27, 2008 12:01 pm 
Offline
User avatar

Joined: Wed May 12, 2004 6:59 pm
Posts: 161
Location: Bergamo, Italia
ManuelSahm,
please post uboot output so we could better understand what you're doing there :)

_________________
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
- Atmel Third Party Consultant
Tel. +39-(0)35-255.235 - Fax +39-178-223.9748
http://www.KoanSoftware.com | http://www.KaeilOS.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: