Hello,
Try creating /dev/mtdx and /dev/mtdblockx x=0,1,2,3... devices using mknod.
> Date: Thu, 9 Apr 2009 11:15:02 +0200
> From: [email protected]
> To: [email protected]
> Subject: [uClinux-dev] MTD Problem (no partition in /dev directory)
>
> Hi,
>
> I currently work with the Freescale MCF5329 Fire Engine, and I can't
> find a solution for my problem. I try to mount a flash partition. This
> partition appears in my boot log and with "cat /proc/mtd" command, but
> NOT in the /dev directory
>
> Has anybody an idea about a solution ?
>
> Best regards.
>
> Val
>
> //BOOTLOG///////////////////////////////////////////////////////////////////////////////////////////////////
> dBUG> set kcl rootsfstype=jffs2
> dBUG> gfl
> Compressed image found. Uncompressing...
> Linux version 2.6.17.1 (r...@val-laptop) (gcc version 4.1.1) #10 Wed Apr 1
> 15:49
>
>
> uClinux/COLDFIRE(m532x)
> COLDFIRE port done by Greg Ungerer, [email protected]
> Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
> Built 1 zonelists
> Kernel command line: rootsfstype=jffs2
> PID hash table entries: 128 (order: 7, 512 bytes)
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
> Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
> Memory available: 29388k/32640k RAM, (1510k kernel code, 299k data)
> Mount-cache hash table entries: 512
> NET: Registered protocol family 16
> NET: Registered protocol family 2
> IP route cache hash table entries: 256 (order: -2, 1024 bytes)
> TCP established hash table entries: 1024 (order: 0, 4096 bytes)
> TCP bind hash table entries: 512 (order: -1, 2048 bytes)
> TCP: Hash tables configured (established 1024 bind 512)
> TCP reno registered
> JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
> Initializing Cryptographic API
> io scheduler noop registered
> io scheduler cfq registered (default)
> Initing M532x Framebuffer
> Console: switching to colour frame buffer device 100x37
> fb0: M532x FB frame buffer device
> ISA-Philips-Basic-CAN memory mapped CAN Driver 3.0_ColdFire_FlexCAN (c) Mar
> 31 5
> ColdFire internal UART serial driver version 1.00
> ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART
> ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> loop: loaded (max 8 devices)
> nbd: registered device at major 43
> FEC ENET Version 0.2
> fec: PHY @ 0x1, ID 0x20005c90 -- DP83848
> eth0: ethernet 00:00:00:00:00:00
> uclinux[mtd]: RAM probe address=0x401e4818 size=0x11e000
> Creating 1 MTD partitions on "RAM":
> 0x00000000-0x0011e000 : "ROMfs"
> uclinux[mtd]: set ROMfs to be root filesystem
> NAND device: Manufacturer ID: 0x20, Chip ID: 0x73 (ST Micro NAND 16MiB 3,3V
> 8-b)
> Scanning device for bad blocks
> Creating 1 MTD partitions on "NAND 16MiB 3,3V 8-bit":
> 0x00000000-0x01000000 : "M5329 flash partition 1"
> TCP bic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> VFS: Mounted root (romfs filesystem) readonly.
> Freeing unused kernel memory: 64k freed (0x401ad000 - 0x401bc000)
> Shell invoked to run file: /etc/rc
> Command: hostname uClinux
> Command: /bin/expand /etc/ramfs.img /dev/ram1
> Command: mount -t proc proc /proc
> Command: mount -t ext2 /dev/ram1 /var
> Command: mkdir /var/tmp
> Command: mkdir /var/log
> Command: mkdir /var/run
> Command: mkdir /var/lock
> Command: mkdir /var/empty
> Command: ifconfig lo 127.0.0.1
> Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
> Command: dhcpcd -p -a eth0 &
> [17]
> Command: cat /etc/motd
> Welcome to
> ____ _ _
> / __| ||_|
> _ _| | | | _ ____ _ _ _ _
> | | | | | | || | _ \| | | |\ \/ /
> | |_| | |__| || | | | | |_| |/ \
> | ___\____|_||_|_| |_|\____|\_/\_/
> | |
> |_|
>
> For further information check:
> http://www.uclinux.org/
>
> Execution Finished, Eeth0: config: auto-negotiation xionti, 100FDXng, 100HDX
> , 10FDX, 10HDX.
>
> Sash command shell (version 1.1.1)
> />
>
> //DEV
> DIRECTORY////////////////////////////////////////////////////////////////////////////////////////////
> /> cd dev
> /dev> ls
> can0
> console
> cua0
> cua1
> event0
> fb0
> flash
> i2c
> ipsec
> kmem
> mem
> null
> ppp
> ptyp0
> ptyp1
> ptyp2
> ptyp3
> ptyp4
> ptyp5
> ptyp6
> ptyp7
> ptyp8
> ptyp9
> ptypa
> ptypb
> ptypc
> ptypd
> ptype
> ptypf
> qspi
> ram0
> ram1
> ram2
> ram3
> random
> rom0
> rom1
> rom2
> rom3
> rom4
> rom5
> rom6
> rom7
> rom8
> rom9
> tty
> tty0
> tty1
> tty2
> tty3
> ttyS0
> ttyS1
> ttyp0
> ttyp1
> ttyp2
> ttyp3
> ttyp4
> ttyp5
> ttyp6
> ttyp7
> ttyp8
> ttyp9
> ttypa
> ttypb
> ttypc
> ttypd
> ttype
> ttypf
> urandom
> zero
> /dev>
> //PROC
> DIRECTORY///////////////////////////////////////////////////////////////////////////////////////////
> /proc> cat /proc/mtd
> dev: size erasesize name
> mtd0: 0011e000 00001000 "ROMfs"
> mtd1: 01000000 00004000 "M5329 flash partition 1"
> /proc>
> ///////////////////////////////////////////////////////////////////////////////////////////////////////////
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
_________________________________________________________________
So many new options, so little time. Windows Live Messenger.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev