Iomega iconnect lost settings and programs

Hello,
i have installed U-Boot, uImage and squasfs_factory files to the nand of the device.
The device starts openwrt Version OpenWrt 21.02.3 r16554-1d4dea6d4f / LuCI openwrt-21.02 branch git-22.083.69138-0a0ce2a.
If i create a root password and install some packages with opkg, after a reboot the root password and the installed packages are lost and i most reconfigure the system.
What i most do that the settings and installed programms didnt lost after a reboot?

Sounds like your device is out of storage space and cannot save any changes.

Create a smaller image using imagebuilder and flash that instead. Remove anything you don’t need.

Looking at the device page you should have 32mb available to openwrt. That’s enough for a basic system.

How much free storage does Luci report? Or df -h in the command line?

Which install instructions did you follow? This device has a fairly non-standard install process and mtd partition scheme

I use follow tutorial to install openwrt to iomega iconnect:
https://openwrt.org/toh/iomega/iconnect

I have download following files from openwrt to the tftp server:
u-boot:
https://downloads.openwrt.org/releases/21.02.3/targets/kirkwood/generic/u-boot-iconnect/u-boot.kwb
uImage:
https://downloads.openwrt.org/releases/21.02.3/targets/kirkwood/generic/openwrt-21.02.3-kirkwood-iom_iconnect-1.1-initramfs-uImage
openwrt:
https://downloads.openwrt.org/releases/21.02.3/targets/kirkwood/generic/openwrt-21.02.3-kirkwood-iom_iconnect-1.1-squashfs-sysupgrade.bin

My env variables from u-boot:

iconnect => printenv
arcNumber=2870
baudrate=115200
bootargs_root=root=/dev/mtdblock2 rootfstype=jffs2
bootcmd=run load_openwrt
bootdelay=3
console=console=ttyS0,115200 panic=20
download_kernel=mw $(loadaddr) 0xffff 0x300000; tftp $(loadaddr) $(kernel_name);
download_rootfs=mw $(loadaddr) 0xffff 0x200000; tftp $(loadaddr) $(rootfs_name);
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
fdtcontroladdr=fb2d378
flash_kernel=nand erase 0x100000 0x400000; nand write.e $(loadaddr) 0x100000 0x400000;
flash_rootfs=nand erase 0x500000 0xfb00000; nand write.e $(loadaddr) 0x500000 0x200000;
ipaddr=192.168.0.222
kernel=/boot/uImage
kernel_name=openwrt-21.02.3-kirkwood-iom_iconnect-1.1-initramfs-uImage
load_openwrt=setenv bootargs $(console) $(bootargs_root); nand read $(loadaddr) 0x100000 0x400000; bootm $(loadaddr)
loadaddr=0x6400000
machid=B36
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x80000@0x0(uboot),0x20000@0x80000(uboot_env),-@0xa0000(rootfs)
rootfs_name=openwrt-21.02.3-kirkwood-iom_iconnect-1.1-squashfs-sysupgrade.bin
serverip=192.168.0.200
stderr=serial
stdin=serial
stdout=serial

Environment size: 1076/131068 bytes

I have flashed the new u-boot with section 4.2, but i use the file u-boot.kwb.

Then i have write uimage and openwrt section 6.2:

Only env variables kernel_name and rootfs_name i have changed:

setenv kernel_name 'openwrt-21.02.3-kirkwood-iom_iconnect-1.1-initramfs-uImage'
setenv rootfs_name 'openwrt-21.02.3-kirkwood-iom_iconnect-1.1-squashfs-sysupgrade.trx'

after reboot openwrt boots, but if i change root password or install programs after a reboot nothing was saved.

root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   123.0M      9.1M    113.9M   7% /
tmpfs                   123.0M     40.0K    123.0M   0% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev

root@OpenWrt:/# mount
tmpfs on / type tmpfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)

root@OpenWrt:/# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 000e0000 00020000 "u-boot"
mtd1: 00100000 00020000 "u-boot environment"
mtd2: 00200000 00020000 "ubi"
mtd3: 1fe00000 00020000 "ubi"

serial output:
https://pastebin.com/eSiiGmxF

Ok, you’re running from an initramfs image. These boot from ram only and do not allowing settings to be persistent.

Do a sysupgrade from the initramfs image and then change your uboot bootcmd to boot from the rootfs partition and it ‘should’ boot.

The instructions call for a standalone kernel image

Hello,
i have download the imagebuilder to compile uImage and rootfs from https://downloads.openwrt.org/releases/21.02.3/targets/kirkwood/generic/openwrt-imagebuilder-21.02.3-kirkwood.Linux-x86_64.tar.xz

iom_iconnect-1.1-uImage and openwrt-21.02.3-kirkwood-checkpoint_l-50-squashfs-sysupgrade.bin i have write to the nand, but if i start the iconnect, he didn't find everything

[ 2.884958] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 2.892491] Please append a correct "root=" boot option; here are the available partitions:
[ 2.900894] 1f00 896 mtdblock0
[ 2.900897] (driver?)
[ 2.907462] 1f01 1024 mtdblock1
[ 2.907464] (driver?)
[ 2.914047] 1f02 2048 mtdblock2
[ 2.914049] (driver?)
[ 2.920611] 1f03 522240 mtdblock3
[ 2.920614] (driver?)
[ 2.927186] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

setenv bootargs_root 'root=/dev/mtdblock2 rw rootfstype=jffs2' or setenv bootargs_root 'root=/dev/mtd2 rw rootfstype=jffs2' didn't work

I think that everything fail in the Kernel to use the mtd Partition (diver?), but what

What i must do to boot openwrt?