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  [ 2 posts ] 
Author Message
 Post subject: AT91SAM9260-EK NAND partition
PostPosted: Fri Jun 29, 2007 9:17 am 
Offline

Joined: Thu Apr 05, 2007 11:49 am
Posts: 11
Location: Korea
Hi

I am testing the AT91SAM9260-EK.
I am using the kernel version 2.6.15 (patched at91). but this version omitted the nand flash chip driver. and I had download the kernel 2.6.20 and patch at91 from maxim web site

hum...

below, my kernel debug msg.


Starting kernel ...
Linux version 2.6.20 wizard@localhost.localdomain) (gcc version 3.4.4) #0
~
yaffs Uun 26 2007 17:32:31 Installing.
~
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3.3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 256MiB 3.3V 8-bit":
0x00000000-0x00040000 : "Partition 1"
0x00040000-0x10000000 : "Partition 2"
~

but I don't know how partition divided.

I find the Michel Benoit mailing "Tue Fed 27 16:12:40 GMT 2007"

(http://lists.arm.linux.org.uk/pipermail/linux-arm/2007-February/012758.html)


Starting kernel ...
Uncompressing Linux......................................................................................
don.
Linux version 2.6.19.1 (michel at leonard) (gcc version 4.1.2) #127
~
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB
3,3V 8-bit)
Scanning device for bad blocks 00000000 1 5
Creating 4 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00080000 : "boot"
0x00100000-0x00400000 : "kernel"
0x00400000-0x01000000 : "rootfs"
0x01000000-0x10000000 : "user"
~

I am novice for Linux porting. and poor english. Sorry~

How can i divide the partition in nand ?
Where is the modifying point in at91_nand.c ?


Top
 Profile  
 
 Post subject: AT91SAM9260-EK NAND partition
PostPosted: Fri Jun 29, 2007 4:19 pm 
Offline

Joined: Thu Apr 05, 2007 11:49 am
Posts: 11
Location: Korea
I think that the partition code is placed in the at91_nand.c file. but I can't find. After I send post, I look for related code. And I find the partition struct in board-sam9260.c (\kernel-2.6.20-at91-patch\arch\arm\mach-at91rm9200).


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


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: