Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
openwrt-bot opened this issue Nov 16, 2019 · 2 comments
Closed

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

openwrt-bot opened this issue Nov 16, 2019 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Nov 16, 2019

sefralgon:

The problem occurs on OpenWrt 19.07.0rc1 official image for this device, which is named
openwrt-19.07.0-rc1-ramips-rt305x-dir-300-b1-squashfs-sysupgrade.bin

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.

@openwrt-bot
Copy link
Author

openwrt-bot commented Nov 16, 2019

jow-:

The device image has been disabled by default with https://git.openwrt.org/1bd280b1ef 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.

@openwrt-bot
Copy link
Author

openwrt-bot commented Nov 16, 2019

sefralgon:

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant