Welcome, Guest

Author Topic: free space chaos calmer 15.05.1  (Read 2543 times)

davidedp

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
free space chaos calmer 15.05.1
« on: April 08, 2016, 05:57:09 PM »
I have just updated the firmware of my rt5350f to the last release of chaos calmer
https://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/rt305x/openwrt-15.05.1-ramips-rt305x-olinuxino-rt5350f-squashfs-sysupgrade.bin
After having finished the installation via tftp I noticed that the free space is now just 232 KB, while it was 2 MB with the previous version. Is there any module or packet that has been added and that I can remove. Do you think I did something wrong?

On the current version of chaos calmer 15.05.1 when I type df -h I obtain:

root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 448.0K 216.0K 232.0K 48% /
/dev/root 2.3M 2.3M 0 100% /rom
tmpfs 14.2M 624.0K 13.6M 4% /tmp
tmpfs 14.2M 48.0K 14.2M 0% /tmp/root
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock6 448.0K 216.0K 232.0K 48% /overlay
overlayfs:/overlay 448.0K 216.0K 232.0K 48% /


On the previous version instead:

root@OpenWrt:/# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 4.2M 2.1M 2.1M 50% /
/dev/root 2.5M 2.5M 0 100% /rom
tmpfs 14.3M 432.0K 13.8M 3% /tmp
/dev/mtdblock6 4.2M 2.1M 2.1M 50% /overlay
overlayfs:/overlay 4.2M 2.1M 2.1M 50% /
tmpfs 512.0K 0 512.0K 0% /dev
« Last Edit: April 08, 2016, 07:49:17 PM by davidedp »

wouter

  • Newbie
  • *
  • Posts: 11
  • Karma: +4/-0
Re: free space chaos calmer 15.05.1
« Reply #1 on: April 11, 2016, 09:18:09 AM »
The partition size in the latest version of this trunk is incorrect.

Check the 2 dts files.
target/linux/ramips/dts/OLINUXINO-RT5350F.dts and OLINUXINO-RT5350F-EVB.dts

And edit the next line.

Code: [Select]
                          partition@50000 {
                                        label = "firmware";
                                        reg = <0x50000 0x3b0000>;
                                };

and change it into

Code: [Select]
                          partition@50000 {
                                        label = "firmware";
                                        reg = <0x50000 0x7b0000>;
                                };

davidedp

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: free space chaos calmer 15.05.1
« Reply #2 on: April 11, 2016, 11:00:34 AM »
Am I supposed to recompile the kernel or I can change only the device tree blob?

wouter

  • Newbie
  • *
  • Posts: 11
  • Karma: +4/-0
Re: free space chaos calmer 15.05.1
« Reply #3 on: April 11, 2016, 03:55:07 PM »
After editing the .dts files you have to run make again.
If the kernel is already build it will only regenerate the .dtb files and recreate the sysupgrade package.