caminati, what is the code that you used to create the final img file.
I'm not sure I understood what you want to know.
As root, I did the following:
find | cpio -H newc -o | gzip > ~/core
mkimage -C none -A arm -T ramdisk -d ~/core ~/uCore
Then put uCore, boot.scr, uImage and script.bin in first partition of mmc.
As usual (see rhombus-tech.net), that partition should start at sector 2048, with previous sectors containing spl and u-boor binaries.
I have a script to prepare an empty mmc this way, which must be run from a directory containing sun4i-spl.bin and u-boot.bin: see attachment.
If you use it, be careful!
Guessing the right version of u-boot binaries turned out to be the single major point of trouble, so I attach also those two files. They should be the same contained in my image.
I now have Core's busybox, blikid, and mke2fs working in uCore. I can now do a backup on A10!
Most scripts should be working since it is our busybox. I would like to post the img so that others may begin testing.
Can't wait for that.
Of course, an img file would be much handier if truncated at x+1 Mb (where x is the size of first partition and hopefully not much more than the total size of the four files it contains), and not as large as the whole mmc.
Please tell me if I omitted needed details.