Does it mean that at any given time, only one type of flash can be seen
by the kernel?? If so, how it is supposed to work in production?

Another question: DVEVM Technical Reference says "Do NOT change this
jumper with the power on." Should I ignore this?

Kim

-----Original Message-----
From: Singh, Brijesh [mailto:[EMAIL PROTECTED] 
Sent: April 3, 2007 4:18 PM
To: Kim Klaiman; [email protected]
Subject: RE: JFFS2 use on default DVEVM NOR flash

What's your jumper setting on CS2 select? If your jumper is set for NOR
flash then kernel will not see the NAND flash (not detect).

In your case, 
1. set the jumper to NOR flash
2. copy kernel/rootfs (using "cp.b" command) in DDR, 
3. change jumper to NAND flash
4. execute bootm command to boot the board.


-Brijesh


-----Original Message-----
From: Kim Klaiman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 3:09 PM
To: Singh, Brijesh; [email protected]
Subject: JFFS2 use on default DVEVM NOR flash

Thanks!

Actually I already did the part of the kernel and rootfs on NOR flash.
What am I missing for JFFS2? Why I don't see any MTD messages during the
reboot and there are no /dev/mtd* devices?

-----Original Message-----
From: Singh, Brijesh [mailto:[EMAIL PROTECTED] 
Sent: April 3, 2007 4:05 PM
To: Kim Klaiman; [email protected]
Subject: RE: JFFS2 use on default DVEVM NOR flash

Yes, you can do that. 

Please refer spraah2.pdf on ti.com. The doc will help you to build/copy
kernel and rootfs in NOR flash.

-Brijesh

________________________________________
From: Kim Klaiman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 2:59 PM
To: Singh, Brijesh
Subject: RE: JFFS2 use on default DVEVM NOR flash

Thanks Brijesh!

Is it possible to put the kernel image and the root file system on NOR
flash and create JFFS2 for data on NAND flash? The kernel will boot from
NOR flash, uncompress to RAM, run from RAM and save data to JFFS2 on
NAND flash - does it make sense?

Kim

________________________________________
From: Singh, Brijesh [mailto:[EMAIL PROTECTED] 
Sent: April 3, 2007 3:51 PM
To: Kim Klaiman
Subject: RE: JFFS2 use on default DVEVM NOR flash

Kim,

Are you using DVEVM/DVSDK kernel? If so, then LSP does not support NOR
flash. 

IIRC, then there is patch on GIT tree to support NOR flash. You can try
to apply the patch and see if it works.

-Brijesh


________________________________________
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
p.com] On Behalf Of Kim Klaiman
Sent: Tuesday, April 03, 2007 2:37 PM
To: [email protected]
Subject: JFFS2 use on default DVEVM NOR flash

Hello all,

MontaVista User Guide specifies the following steps for using JFFS2:
* MTD
* Under Filesystems, enable the following options:
* Journaling Flash File System v2 (JFFS2) support
* JFFS debugging verbosity (0 = quiet, 3 = noisy)
* JFFS2 Support for NAND chips
(Only if your target supports NAND flash.)

Note: The devices /dev/mtd0 and /dev/mtdblock0 are required for JFFS2 to
work. These devices should be included automatically with the target
LSPs that support the flash driver. Ensure that these devices are
present. During boot-up of the kernel, the MTD driver prints whether the
flash has been found or not. Also, after boot-up, the command cat
/proc/mtd can be used to see the details of the MTD device and confirm
that the driver is active.


After enabling those options, I don't see any MTD messages during the
reboot and there are no /dev/mtd* devices. I do see the message "JFFS2
version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.", but I'm using NOR
flash currently. 
What am I missing?

Thanks,
Kim Klaiman
Senior Embedded Software Engineer
Bioscrypt Inc. 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to