OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version openwrt-19.07
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by sefralgon - 16.11.2019
Last edited by Jo-Philipp Wich - 16.11.2019

FS#2606 - D-Link DIR-300 B1: not enough space for jffs2

The problem occurs on OpenWrt 19.07.0rc1 official image for this device, which is named

If it’s flashed on the target device, D-Link DIR-300 B1, using emergency tftp interface via UART, the result is following:

/dev/root /rom squashfs ro,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0
tmpfs /tmp/root tmpfs rw,noatime,mode=755 0 0
overlayfs:/tmp/root / overlay rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,size=512k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=000 0 0
debugfs /sys/kernel/debug debugfs rw,noatime 0 0

rootfs_data partition is not mounted.

dev: size erasesize name
mtd0: 00030000 00010000 “u-boot” mtd1: 00010000 00010000 “devdata” mtd2: 00010000 00010000 “devconf” mtd3: 003b0000 00010000 “firmware” mtd4: 00151973 00010000 “kernel” mtd5: 0025e68d 00010000 “rootfs” mtd6: 00040000 00010000 “rootfs_data”

Its size is only 4 erase blocks, 64k each. Apparently it’s not enough for JFFS2 filesystem.

Closed by  Jo-Philipp Wich
16.11.2019 19:19
Reason for closing:  Fixed
Jo-Philipp Wich commented on 16.11.2019 19:19

The device image has been disabled by default with and will not be part of RC2 / final. You can still individually compile images for it by selecting the DIR-300 B1 in menuconfig, or by using the ImageBuilder to assemble a stripped down image with a smaller package selection.

sefralgon commented on 16.11.2019 19:44

Is it not possible to do something better than removing the image completely? Such as build the image for 19.07.0rc2 with no LuCi or even by cleaning some unused files off?

The image, initramfs-kernel.bin is still useful. What is going to happen with it?


Available keyboard shortcuts


Task Details

Task Editing