BPI-R3 howto restart on emmc

Hi,

After extending the data partition on the emmc, I tried to upgrade from 23.5.3 to 24.10. It failed and left me in recovery mode (RAMFS).

I was not able to recover from this, so I started to suspect the emmc, and wanted to recreate is completely. I suspected the data partitions (in my case p5 and 6) and deleted them, but did not find a way to recreate them, so I wanted to start over, as it is a new device), but with keeping the nand config, as this is the only working part right now.

How can I prepare the mmc for transferring a new openwrt version (boot, data, all what is needed).

So I want to remove all data in order to start over. In the Openwrt thread about this board I asked this too, but it looks like this has never been done before. I hope you can tell me what needs to be done in preparation (cfdisk, parted, using the nand version) and transferring the Openwrt version, preferably using a USB stick to dd the data. I want to keep the nand before loosing that too (nand is on 23.05.5 and is my only routed way out now).

Thanks for your help!