I think you need to edit the board support source in the kernel to create partitions. E.g.
http://fxr.watson.org/fxr/source/arch/a ... x-2.6#L130 for the 9260ek. Then you just use mknod like you would for any other device in /dev/. The char devs have a weird minor number scheme, they alternate rw and ro, with each physical partition getting 2 minors.
Code:
root@omap5912osk:/media/hda1/alsa-lib-1.0.14/test/.libs$ ls -l /dev/mtd*
crw-rw---- 1 root root 90, 0 Jan 1 1970 /dev/mtd0
crw-rw---- 1 root root 90, 1 Jan 1 1970 /dev/mtd0ro
crw-rw---- 1 root root 90, 2 Jan 1 1970 /dev/mtd1
crw-rw---- 1 root root 90, 3 Jan 1 1970 /dev/mtd1ro
crw-rw---- 1 root root 90, 4 Jan 1 1970 /dev/mtd2
crw-rw---- 1 root root 90, 5 Jan 1 1970 /dev/mtd2ro
crw-rw---- 1 root root 90, 6 Jan 1 1970 /dev/mtd3
crw-rw---- 1 root root 90, 7 Jan 1 1970 /dev/mtd3ro
brw-rw---- 1 root disk 31, 0 Jan 1 1970 /dev/mtdblock0
brw-rw---- 1 root disk 31, 1 Jan 1 1970 /dev/mtdblock1
brw-rw---- 1 root disk 31, 2 Jan 1 1970 /dev/mtdblock2
brw-rw---- 1 root disk 31, 3 Jan 1 1970 /dev/mtdblock3
root@omap5912osk:/media/hda1/alsa-lib-1.0.14/test/.libs$ cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00020000 "bootloader"
mtd1: 00020000 00020000 "params"
mtd2: 00200000 00020000 "kernel"
mtd3: 01dc0000 00020000 "filesystem"
The above is from a non-at91 system, but the mtd layer works the same. You can see how the major and minor numbers relate to the partitions.