Hi,

I want to format (erase everything) my nand flash. How may I do this?

 

From: canibek saðýn [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 13, 2008 4:07 PM
To: 'Phil Quiney'
Subject: RE: Divide nand to different partitions

 

Dear Phil ,

I changed the Size “Rootfilesystem” to 192 MB (128+64) as you told. Thank you 
fort his advice. I am wondering how may i set the kernel option  as “quiet”? Is 
this from qconf file? 

 

From: Phil Quiney [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 13, 2008 3:41 PM
To: canibek saðýn
Subject: RE: Divide nand to different partitions

 

Hi,

 

Yes size does matter ;-)

 

What is worse, it also depends on contents of the filesystem.

 

The delay is really in two parts, the time taken to mount the partition and the 
time of first file access. The best you can hope for is to reduce the root 
filesystem to a minimum and reduce the partition size to match it. We have set 
ours to 256M as a compromise between free space and the size of the initial 
root filesystem.

 

I have tried updating the YAFFS2 to the latest version (on the 2.6.10 kernel) 
as this supports checkpointing which is supposed to reduce the mount time. 
However for whatever reason the checkpointing mode did not work. The new UBIFS 
(formally JFFS3) in the latest 2.6.27 kernel also addresses these shortcomings, 
however I have not had time to look at this.

 

As an alternative we have also tried using a RAMDISK to load a splash screen. 
Whilst not exactly 'booted', it does give the user some indication that 
something is happening. I can get power up to splash screen in less than 10 
seconds.

 

You can also reduce the boot time by setting the 'quiet' kernel option. This 
greatly reduces the console output apart form anything else. Also reducing the 
time uboot waits for you to press a key can take a few more seconds off the 
time.

 

Great fun eh?

 

Regards

 

Phil Q

 

Phil Quiney, Principal Software Engineer
Trinity Convergence
Cambridge Business Park

Cowley Road

Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560

www.trinityconvergence.com <http://www.trinityconvergence.com/> 

 

 

  _____  

From: canibek sağın [mailto:[EMAIL PROTECTED] 
Sent: 13 October 2008 13:24
To: Phil Quiney
Subject: RE: Divide nand to different partitions

Dear Phil,

Thank you,  for your reply it reaaly solved my problem. Now I have changed the 
“LinuxRoot” partition size. I want to decrease my systems boot time but now it 
is almost 80 seconds. I want to decrease it under 60 seconds. My root partition 
 is almost 163 MB and it is on the      0x60800000-0x76600000 : "LinuxRoot"   
partition. I have resize it from 350MB to 256 MB.Does this resizing have any 
effects on this boottime ?

 

From: Phil Quiney [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 13, 2008 2:47 PM
To: canibek sağın; [email protected]
Subject: RE: Divide nand to different partitions

 

Hi,

 

Your problem is here...

 

IP-Config: No network devices available.

As you have specified an NFS root filesytem in the kernel boot arguments it is 
not going to work if it cannot find any network devices. 

 

It would appear that your FLASH partition table is OK....

Creating 8 MTD partitions on "nand_davinci.0":
0x00000000-0x003c0000 : "bootloader"
0x003c0000-0x00400000 : "params"
0x00400000-0x00800000 : "kernel"
0x00800000-0x20800000 : "MTD3"
0x20800000-0x40800000 : "MTD4"
0x40800000-0x60800000 : "MTD5"
0x60800000-0x76600000 : "LinuxRoot"
0x76600000-0x80000000 : "IsaretSembol"

So, you have either compiled the ethernet driver out of the kernel or there is 
something wrong with your board. 

 

Regards

 

Phil Q

 

Phil Quiney, Principal Software Engineer
Trinity Convergence
Cambridge Business Park

Cowley Road

Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560

www.trinityconvergence.com <http://www.trinityconvergence.com/> 

 

 

  _____  

From: canibek sağın [mailto:[EMAIL PROTECTED] 
Sent: 13 October 2008 12:08
To: Phil Quiney; [email protected]
Subject: FW: Divide nand to different partitions

I have add my console output as text file, I couldn’t understand why this 
message I got.  

 

 

From: canibek sağın [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 13, 2008 2:01 PM
To: '[EMAIL PROTECTED]'; '[email protected]'
Subject: FW: Divide nand to different partitions

 

 

 

From: Phil Quiney [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 13, 2008 1:24 PM
To: canibek sağın
Subject: RE: Divide nand to different partitions

 

You are failing to NFS mount a file system...what has this got to do with FLASH?

 

Can you post your boot args as well as the complete output of the console.

 

Also not as a .doc file - just a plain text file will do.

 

Regards

 

Phil Q

 

Phil Quiney, Principal Software Engineer
Trinity Convergence
Cambridge Business Park

Cowley Road

Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560

www.trinityconvergence.com <http://www.trinityconvergence.com/> 

 

 

  _____  

From: canibek sağın [mailto:[EMAIL PROTECTED] 
Sent: 13 October 2008 11:18
To: Phil Quiney
Subject: RE: Divide nand to different partitions

This is the error message, thanks for your help.

 

From: Phil Quiney [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 13, 2008 12:19 PM
To: canibek sagin
Subject: RE: Divide nand to different partitions

 

 

You could get to 192M with SZ_128 + SZ_64 won't that do?

 

Regards

 

Phil Q

 

Phil Quiney, Principal Software Engineer
Trinity Convergence
Cambridge Business Park

Cowley Road

Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560

www.trinityconvergence.com <http://www.trinityconvergence.com/> 

 

 

  _____  

From: canibek sağın [mailto:[EMAIL PROTECTED] 
Sent: 13 October 2008 10:15
To: Phil Quiney
Subject: FW: Divide nand to different partitions

 

 

From: canibek saðýn [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 13, 2008 12:14 PM
To: '[email protected]'
Subject: Divide nand to different partitions

 

Hi,

I have a dm355 evm board and I Want to divide my 2GByte nand to 6 partitions, 
How can I do this? I have make some changes on “mtd_partition” structure on 
(“arm/mach-davinci/board-dm355-evm.c”) .

But it didn’t work, because I couldn’t make a partition as 200MByte, it accepts 
128MB(“SZ_128”) and 256MB (“SZ_256”).

 

How may I do a definition as “SZ_200”?

 

Thanks,

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

Reply via email to