all works fine. After the reboot, the box is still waiting for my tftp server. When I start my tpft server, the box allways download the initramfs image ... then I have to do all steps again ...
root@OpenWrt:/tmp# ubinfo -a
UBI version: 1
Count of UBI devices: 1
UBI control device major/minor: 10:126
Present UBI devices: ubi0
ubi0
Volumes count: 4
Logical eraseblock size: 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks: 852 (108183552 bytes, 103.1 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes 128
Count of bad physical eraseblocks: 20
Count of reserved physical eraseblocks: 0
Current maximum erase counter value: 1005
Minimum input/output unit size: 2048 bytes
Character device major/minor: 245:0
Present volumes: 0, 1, 2, 3
Volume ID: 0 (on ubi0)
Type: dynamic
Alignment: 1
Size: 364 LEBs (46219264 bytes, 44.0 MiB)
State: OK
Name: avm_filesys_0
Character device major/minor: 245:1
--------------------
Volume ID: 1 (on ubi0)
Type: dynamic
Alignment: 1
Size: 364 LEBs (46219264 bytes, 44.0 MiB)
State: OK
Name: avm_filesys_1
Character device major/minor: 245:2
--------------------
Volume ID: 2 (on ubi0)
Type: dynamic
Alignment: 1
Size: 17 LEBs (2158592 bytes, 2.0 MiB)
State: OK
Name: avm_config
Character device major/minor: 245:3
--------------------
Volume ID: 3 (on ubi0)
Type: dynamic
Alignment: 1
Size: 103 LEBs (13078528 bytes, 12.4 MiB)
State: OK
Name: avm_userdata
Character device major/minor: 245:4
root@OpenWrt:/tmp#
now, the box booting in initramfs ... I can install luci and luci says, I am in the initramfs, I should do install a vaild openWRT image. I do that and install it, red led is flashing, than rebooting and than the box freeze, I think?
Well, that's a bit weird...
In the output of ubinfo -a you can see that the original avm_filesys_0 and avm_filesys_1 are still there. On the other hand, ubirmvol can't find them.
@janh@dhewg
Could you please chime in and share your wisdom?