jffs2, intel flash and i.MX21
I am working with i.Mx21 and intel strata nor flash. I wish to use jffs2 and I have got a readymade jffs2 file sytem for nor flash from may be freescale/motorola. I am told that this file system is supposed to be mounted by the kernel when it boots up. However it does happen so and system does not boot at all. Can anybody please tell me what's wrong.
I have enabled mtd, jffs2 and intel flash support with bus size of 32. The intel flash driver cfi_cmdset_0001.c is also there.
Can anybody please give me a clue
1) how can I debug that
2) which part of the kernel should I look into i.e where do I found the
code to mount the jffs2 in the kernel tree
3) what might be missing in the kernel config
4) any other idea?
Signature · 1 line
Munira Ahmed
Am 2005-06-02 19:01 +0800 schrieb Munira Ahmed:
Quoted 1 line
1) how can I debug that
Tell us what you did, what is happening, what should happening, what hardware you are using, which bootloader.
Quoted 2 lines
2) which part of the kernel should I look into i.e where do I found the
code to mount the jffs2 in the kernel tree
Oh my... fs/jffs2 or drivers/mtd.
Quoted 1 line
3) what might be missing in the kernel config
Many many things. A mapping driver, or partition support, wrong commandline, wrong chip driver, modules instead of *'s.
Quoted 1 line
4) any other idea?
Many, your provided information is very insufficient.
Regards, Konsti
Quoted 6 lines · Konstantin Kletschke
Am 2005-06-02 19:01 +0800 schrieb Munira Ahmed:
Quoted 1 line
1) how can I debug that
Tell us what you did, what is happening, what should happening, what hardware you are using, which bootloader.
I am using an internally designed bootloader. I am using MX21 development board with intel strata flash. I copy bootloader, kernel image and flash system to the flash and try to reboot the system. system hangs although the same sequence is running fine with cram file system. Of course with different kernel configs.
Quoted 5 lines
Quoted 3 lines
2) which part of the kernel should I look into i.e where do I found the
code to mount the jffs2 in the kernel treeOh my... fs/jffs2 or
drivers/mtd.
Both or either one. I know generally but I was hoping to be directed to
the specific file.
Quoted 4 lines
Quoted 1 line
3) what might be missing in the kernel config
Many many things. A mapping driver, or partition support, wrong commandline, wrong chip driver, modules instead of *'s.
Mapping driver and support for mtd partiion is there. also I am using * instead of M in the menuconfig
Quoted 11 lines
Quoted 2 lines
4) any other idea?
Many, your provided information is very insufficient.
Regards, Konsti
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Signature · 27 lines
Munira Ahmed Senior Embedded Specialist Radixs Pte Ltd Email:[email protected] Main: +65 6335 8600 Fax: +65 6335 8601 URL: www.radixs.com 1 Temasek Avenue, #21-01, Millenia Tower, Singapore 039192 Disclaimer Notice: This email, its content and any files transmitted with it are intended solely for the addressee(s) and may be confidential and privileged. Any unauthorised disclosure or use or dissemination of the information contained herein, either whole or partial, is prohibited. Radixs Pte Ltd (Radixs) cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of Radixs or one of its agents. If you have received this message in error, please notify the sender immediately, and delete this email from your computer system. Radixs has taken reasonable precaution to ensure no viruses are present in this email, however Radixs does not accept responsibility for any loss or damage arising from the use of this email or attachments. Co. Reg. 200104892Z