Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
when i gave cat /proc/mtd on the target board which has tms320dm368 microcontroller i got following message
dev: size erasesize name
I am not able to see the partitions for bootloader, params, kernel and filesystem..
In the kernel configuration file
CONFIG_JFFS2 =y
please suggest where could be the problem
CONFIG_MTD = y
CONFIG_MTD_CHAR = y
CONFIG_MTD_BLKDEVS = y
CONFIG_MTD_BLOCK = y
dmesg doesnot report any indication of a problem detecting flash
Iam using Nand flash
when I am using Linux-2.6.32.17-davinci1 as uImage cat/proc/mtd is empty but if I use Linux-2.6.18_pro500-davinci_IPNC cat /proc/mtd displays the partition for bootloader,params,kernel and filesystem.
So please suggest what changes need to be done in kernel - Linux-2.6.32.17-davinci1
to see the partition for different parameters
The problem most likely lies in your board file and/or kernel config files. Do a diff of each kernel's .config file. Look for board and/or MTD config differences.
Not sure what board target you are using, but it's probably under arch/arm/mach-davinci/board-*.c.
Here is an example of the MTD NAND partitions being defined on a Davinci board.
The above example comes from arch/arm/mach-davinci/board-da830-evm.c in the 3.1.0 distro. Note, da830_evm_nand_partitions is conditionally compiled in based on CONFIG_DA830_UI_NAND. Perhaps you have a similar issue?
ipv6: disagrees about version of symbol module_layout
modprobe: FATAL: Error inserting ipv6 (/lib/modules/2.6.32.17-davinci1/kernel/net/ipv6/ipv6.ko): Invalid module format
Starting syslogd/klogd: done
Starting thttpdipv6: disagrees about version of symbol module_layout
.
ipv6: disagrees about version of symbol module_layout
cmemk: disagrees about version of symbol module_layout
FATAL: Error inserting cmemk (/lib/modules/2.6.32.17-davinci1/kernel/drivers/dsp/cmemk.ko): Invalid module format
irqk: disagrees about version of symbol module_layout
FATAL: Error inserting irqk (/lib/modules/2.6.32.17-davinci1/kernel/drivers/dsp/irqk.ko): Invalid module format
edmak: disagrees about version of symbol module_layout
FATAL: Error inserting edmak (/lib/modules/2.6.32.17-davinci1/kernel/drivers/dsp/edmak.ko): Invalid module format
dm365mmap: disagrees about version of symbol module_layout
FATAL: Error inserting dm365mmap (/lib/modules/2.6.32.17-davinci1/kernel/drivers/dsp/dm365mmap.ko): Invalid module format
BusyBox v1.13.2 (2011-03-24 18:58:44 CDT) multi-call binary
the abobe kernel modules are not laoaded ...so is this the reason for cat /proc/mtd to be empty
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.