Help: Fail to save config on comtrend

HI
I flash latest Openwrt 18.06 on not docummented comtrend device named "comtrend ct-5631" but it looks like the comtrend CT6373. This have 8Mbflash and 32GbRAM.

Thu Jun 27 12:18:59 2019 kern.notice kernel: [    0.000000] Linux version 4.9.184 (buildbot@2ccc8102e0c3) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292) ) #0 Thu Jun 27 12:18:52 2019
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] Detected Broadcom 0x6358 CPU revision a1
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] CPU frequency is 300 MHz
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] 32MB of RAM installed
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] board_bcm963xx: Boot address 0xbfc00000
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] board_bcm963xx: CFE version: 1.0.37-10.1-2
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] board: board name: CT6373-1
Thu Jun 27 12:18:59 2019 kern.info kernel: [    0.000000] MIPS: machine is Comtrend CT-6373


root@comtrend:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00010000 00002000 "CFE"
mtd1: 003f0000 00010000 "linux"
mtd2: 0015dcbc 00010000 "kernel"
mtd3: 00292244 00010000 "rootfs"
mtd4: 00030000 00010000 "rootfs_data"
mtd5: 00000000 00000000 "nvram"


root@comtrend:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                    13.6M    596.0K     13.0M   4% /tmp
tmpfs                    13.6M     68.0K     13.5M   0% /tmp/root
overlayfs:/tmp/root      13.6M     68.0K     13.5M   0% /
tmpfs                   512.0

That´s the problem is overlayfs is mounted on tmp memory and I can't save the configs.

Looks like overlayfs will be mounted on mtd4: 00030000 00010000 "rootfs_data" that here is enought space, isn't??

BR:
Al9

It is sort of partitioned for 4M. If it really has an 8M chip your partition table is wrong. 30000 is only 192k of space, minimum for jffs is 4 blocks not 3.

1 Like

That's true!!!. It brings a 4Gb flash chip... :stuck_out_tongue_closed_eyes:
32gbit

4Gb = 4Giga bit

MX29LV320DBTI-70G = 32Mbit = 4MByte

Considering this model's 300 MHz CPU, Broadcom b/g wireless, and 4/32 memory it's really not worth messing with further.

2 Likes