AT91SAM9260-EK NAND partition

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Kang sang woo
Contact:
Location: Korea
Posts: 11
Joined: Thu Apr 05, 2007 11:49 am

AT91SAM9260-EK NAND partition

Fri Jun 29, 2007 9:17 am

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 ... 12758.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 ?
Kang sang woo
Contact:
Location: Korea
Posts: 11
Joined: Thu Apr 05, 2007 11:49 am

AT91SAM9260-EK NAND partition

Fri Jun 29, 2007 4:19 pm

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).

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 0 guests