[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ptablespec (I lost 1Mb in the flash3 partition)



I'm all right with you about your comment,
The initial df command on the devboard_lx was (I lost 1Mb in the flash3 partition) :

Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                    4432      4432         0 100% /
/dev/flash3               4432      4432         0 100% /
/dev/flash2               1920        32      1888   2% /mnt/flash
tmpfs                     3520        40      3480   1% /var

With this ptablespec, the df command display :

# name size     rw-options  type      image-file
rescue 0x010000 ro          rescue    rescue.img
flash1 0x1a0000 ro          kernel    flash1.img
flash2 0x050000 rw          jffs      flash2.img

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/flash3               3136      3136         0 100% /
/dev/flash2                192        24       168  13% /mnt/flash
tmpfs                     3504        16      3488   0% /var

With this ptablespec, the df command display :

# name size     rw-options  type      image-file
rescue 0x010000 ro          rescue    rescue.img
flash1 0x1b0000 ro          kernel    flash1.img
flash2 0x040000 rw          jffs      flash2.img

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/flash3               3072      3072         0 100% /
/dev/flash2                128        24       104  19% /mnt/flash
tmpfs                     3504        16      3488   0% /var


Mikael Starvik a écrit:

>The flash2 partition is 128kB in your example, not 2MB.
>You need a larger flash to get a larger kernel partition. 
>The devboard_82 has 6 MB of flash and thus plenty of space
>for your own applications. Another way may be to replace 
>glibc with a smaller lib such as uclibc. I'm not sure
>if we support external developers using other libraries
>than glibc.
>
>/Mikael
>
>-----Original Message-----
>From: Philippe Frossard [mailto:p.frossard@xxxxxxx.ch] 
>Sent: Wednesday, February 18, 2004 4:08 PM
>To: Mikael Starvik; dev-etrax
>Subject: Re: ptablespec
>
>
>
>How to increase flash1 partition ?
>(The flash2 partition is 2Mbytes - It's huge for me)
>
>Mikael Starvik a écrit:
>
>  
>
>>Hi,
>>
>>JFFS needs at least 5 blocks (0x050000). 4 block may work for a short while
>>but will create problems in the long run.
>>
>>/Mikael
>>
>>-----Original Message-----
>>From: owner-dev-etrax@xxxxxxx.com">mailto:owner-dev-etrax@xxxxxxx.com] On Behalf
>>Of Philippe Frossard
>>Sent: Wednesday, February 18, 2004 3:41 PM
>>To: dev-etrax
>>Subject: ptablespec
>>
>>
>>I'm using cris-dist-1.25 for devboard_lx and devboard_lx-R2_1_0, 
>>linux-2.4.14.
>>I changed the ptablespec like this (For increase flash1 partition) :
>>
>># name size     rw-options  type      image-file
>>rescue 0x010000 ro          rescue    rescue.img
>>flash1 0x1d0000 ro          kernel    flash1.img
>>flash2 0x020000 rw          jffs      flash2.img
>>
>>I executed flashit successfully but the flash2 partition is not mount 
>>(There isn't fstab file).
>>
>>
>> 
>>
>>    
>>
>
>
>  
>