Hi Peter Pudney:
Thanks for the info. I tried several approaches and - no luck. In one case I produced a microSD which boots my CT into the NAND android 4.2.2 -- wow this is strange. The other cards did not boot at all.
My ct is Allwinner A20 2x cortex A7. The CB2 is also A20 and 2x cortex A7. But I am still not sure whether I should use the files from:
http://dl.linux-sunxi.org/users/oliver/cubietruck_hwpack.tar.xzor from:
http://dl.linux-sunxi.org/users/hramrach/cubieboard2-linux3.3_hwpack.tar.xz --> you used his one
Here is how my content of the cubietruck_hwpack.tar.xz file looks like:
cubietruck hwpack content:
/cubietruck_hwpack/bootloader
/cubietruck_hwpack/kernel
/cubietruck_hwpack/rootfs
in /cubietruck_hwpack/bootloader there are the following files:
/cubietruck_hwpack/bootloader/sunxi-spl.bin
/cubietruck_hwpack/bootloader/u-boot.bin
/cubietruck_hwpack/bootloader/u-boot.img
I discovered that I have an additional file here named:u-boot.img
I do not know what to do with this file?
Question: When you dd the two .bin files to your sd card, did that generate the two partitions needed for a bootable sd card?
A bootable sd card needs the boot loader at the beginning of the partition up to sector 2048. After that the "boot stuff" is looking for an ext2 partition. In an older
http://linux-sunxi.org/index.php.. article "Bootable SD card" it is recommended that you format this separate /boot partition FAT and after the dd. This does not make sense because it overwrites the code in front of sector 2048 and in this case the FAT partition starts at sector 1. Which means no u-boot no boot at all.
I might be almost there if I would know which sunxi-spl.bin and which u-boot.bin I should use. The ones from cubieboard2 or from cubietruck. In addition I need to know what to with that u-boot.img from the cubietruck hwpack?
After that is done I could create a 64 MB ext2 partition starting at sector 2048 which would be the boot partition. Fies: uCore, uEnv.txt and boot.scr probably belong into this partition.
Behind the boot 64 MB boot partition the rext4 root partition could start at sector 133120. So now what belongs into this root partition?
I could put the content from the hw_pack /cubietruck_hwpack/rootfs folder into it?
If somebody could help me here I might be able to have a Core for cubietruck