I was able to build swupdate with yocto and copied the
'ext3.gz.u-boot' image
to nand flash (mtd device) with 'nandwrite -p'. This works well and i was already able to update the rootfs with swupdate (imx6 board with uboot).
Then i wanted to update swupdate itself.
This is where i get an error
'nand: nand_do_write_ops: attempt to write non page aligned data'
When i investigated further, i found out that writing to raw nand is not encouraged and one should better use ubi and ubifs.
Is it adviced to run swupdate from ubi? i know normally you shouldn't risk to update the update/rescue system but there may be cases where it might be worth the risk.
Best regards,
Florian
thank you for your fast reply!
I am just getting a grip on the whole subject.
I'll have to reconfigure u-boot to build with ubi/ubifs support.
This project is really great. Thank you.
best regards,
Florian Voit