| Author |
Message |
|
kawakinho
Joined: Thu Nov 19, 2009 4:43 pm Posts: 142
|
 Re: [HOW TO] get free space on root with r2891 for optware
Yes it will, don't worry.
_________________ Playon!HD Firmware r4824 Samsung SpinPoint F1 - 1 TB - SATA-300 (HD103UJ) 100Mbit/s wired Ethernet Panasonic Viera P42G15 via HDMI NAD receiver via Coaxial
|
| Sun Jan 17, 2010 2:50 am |
|
 |
|
vonck
Joined: Thu Dec 24, 2009 8:09 am Posts: 190
|
 Re: [HOW TO] get free space on root with r2891 for optware
On the YAMJ trail firmwares kawakinho's original trick doesn't work anymore. My solution: take some space from /usr/local/etc and move it to /: XML fragment: <image type="yaffs2"> <fileName>package2/yaffs2_1.img</fileName> <mountPoint>/</mountPoint> <sizeBytesMin>0x5500000</sizeBytesMin>
</image> <image type="yaffs2"> <fileName>package2/usr.local.etc.tar.bz2</fileName> <mountPoint>/usr/local/etc</mountPoint> <sizeBytesMin>0x400000</sizeBytesMin> </image> Result of "df" on r3286: Code: Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 84480 77252 7228 91% / /dev/mtdblock/2 4096 1336 2760 33% /usr/local/etc
|
| Sun Feb 07, 2010 3:18 pm |
|
 |
|
kawakinho
Joined: Thu Nov 19, 2009 4:43 pm Posts: 142
|
 Re: [HOW TO] get free space on root with r2891 for optware
Yay, @vonck Nice one. Thanks!
_________________ Playon!HD Firmware r4824 Samsung SpinPoint F1 - 1 TB - SATA-300 (HD103UJ) 100Mbit/s wired Ethernet Panasonic Viera P42G15 via HDMI NAD receiver via Coaxial
|
| Sun Feb 07, 2010 10:54 pm |
|
 |
|
vonck
Joined: Thu Dec 24, 2009 8:09 am Posts: 190
|
 Re: [HOW TO] get free space on root with r2891 for optware
@kawakinho Could you that info/xml to the starter-post? Thanks.
|
| Tue Feb 09, 2010 6:58 pm |
|
 |
|
kawakinho
Joined: Thu Nov 19, 2009 4:43 pm Posts: 142
|
 Re: [HOW TO] get free space on root with r2891++ for optware
Done. Thanks
_________________ Playon!HD Firmware r4824 Samsung SpinPoint F1 - 1 TB - SATA-300 (HD103UJ) 100Mbit/s wired Ethernet Panasonic Viera P42G15 via HDMI NAD receiver via Coaxial
|
| Tue Feb 09, 2010 7:17 pm |
|
 |
|
muonic
Joined: Mon Aug 03, 2009 5:54 pm Posts: 110
|
 Re: [HOW TO] get free space on root with r2891++ for optware
vonck wrote: <image type="yaffs2"> <fileName>package2/yaffs2_1.img</fileName> <mountPoint>/</mountPoint> <sizeBytesMin>0x5500000</sizeBytesMin> </image> <image type="yaffs2"> <fileName>package2/usr.local.etc.tar.bz2</fileName> <mountPoint>/usr/local/etc</mountPoint> <sizeBytesMin>0x400000</sizeBytesMin> </image>
I tried this setting with firmware3400 but the /dev/root is still 100%.
|
| Mon Mar 29, 2010 12:22 pm |
|
 |
|
frater
Joined: Mon Nov 02, 2009 9:22 pm Posts: 100
|
 Re: [HOW TO] get free space on root with r2891++ for optware
I used this procedure on 3643 just now and successfully installed optware on it (using my own script). I did see some very minor issues (in my install script) which I corrected.
|
| Fri Apr 02, 2010 6:28 pm |
|
 |
|
giameg
Joined: Sun Oct 31, 2010 11:38 pm Posts: 2
|
 Re: [HOW TO] get free space on root with r2891++ for optware
Hi All, I have the same problem with this message. I have a realtek 1073DD Multimedia player, which comes with a poor firmware which is posted here as "oldfw" http://www.sirakusa.com/public/fw/oldfw.rarand i have a new firmware that i want to upgrade to, and this is called "newfw", posted here: http://www.sirakusa.com/public/fw/newfw.rarIN the process of upgrading from oldfw to newfw i got the answer "not enough space for yaffs", how can i deal with that ?
Attachments:
File comment: Error Message
Snapshot_20101023_1635140.jpg [ 13.63 KiB | Viewed 2423 times ]
|
| Sun Oct 31, 2010 11:44 pm |
|
 |
|
wigout
Joined: Wed May 12, 2010 7:39 pm Posts: 43
|
 Re: [HOW TO] get free space on root with r2891++ for optware
Looking at the numbers in the config file & unyaffed image, you're combined minimum byte size is larger than anything I've seen. Maybe you're running out of available flash (you aren't permitted to use all 256 mbs, you know....)
Two solutions: 1. remove the <sizeBytesMin>...... </sizeBytesMin> (from the yaffs2_1 section and /usr/local/etc section) lines from your configuration.xml file and see if the firmware will flash without any minimums in place. If it will, then your firmware isn't too big for your flash, which is a good thing. If that work you can go to step 2 and get a little more free space. 2. use more reasonable numbers in the <sizeBytesMin>...... </sizeBytesMin> line. for the yaff2_1, use: <sizeBytesMin>0x8e00000</sizeBytesMin> for the /usr/local/etc use <sizeBytesMin>0x500000</sizeBytesMin>
But really, try step 1 first to make sure this firmware will work at all, then futz with the partition sizes.
Please post your findings,
-wigout
_________________minimodding.com- a place for open discussion of modifications to embedded linux devices
|
| Mon Nov 01, 2010 6:44 am |
|
 |
|
giameg
Joined: Sun Oct 31, 2010 11:38 pm Posts: 2
|
 Re: [HOW TO] get free space on root with r2891++ for optware
Great, thanks
The firmware upgraded just simply deleting the minbytes information
I still have to do the step 2 but it works now thanks again
|
| Tue Nov 02, 2010 9:27 am |
|
|