Hi Patrick, I am trying to follow this thread to boot from NAND for a20 Olimex Micro board. I have built hno's lichee-dev sun7i u-boot.bin and follow sunxi wiki "Install to NAND", and I am only missing the ANDROID magic you mentioned here.
I tried to dd the 16 bytes magic to "boot" partition, which was trashed after that, so I went ahead to create "boot"(no format, only dd the 16 bytes),"bootloader"(vfat), and "root"(ext4), like the following 3 partitions partition 1: class = DISK, name = boot, partition start = 32768, partition size = 2048 user_type=0 partition 2: class = DISK, name = bootloader, partition start = 34816, partition size = 32768 user_type=0 partition 3: class = DISK, name = root, partition start = 67584, partition size = 3864576 user_type=0 boot1 complains: [ 1.444] can't find c:\boot.axf I feel like I am almost there, just missing something on the magic and partitions stuff. Where did I do wrong? do you have any more detailed instructions available somewhere? Thanks in advance, -Hunter On Wednesday, July 17, 2013 12:01:35 AM UTC-5, Patrick Wood wrote: > > Just a quick FYI on the A20 BOOT1: it is looking for an Android boot > partition with the "ANDROID!" magic header and the address/size combo in > the next 8 bytes. I was unable to get it to proceed without having at least > a small partition named "boot" with "ANDRIOD!\0\0\0\0\0\0\0\0" in the first > 16 bytes; the rest of the boot partition is ignored. Making the partition > smaller than 4096 blocks (2M) produces warnings from BOOT1, but everything > proceeds to boot just fine anyway. > > This appears to be just some sort of annoying Allwinner (in)sanity check > that wasn't in the A10's boot code. > > On Monday, July 15, 2013 10:04:50 AM UTC-4, Patrick Wood wrote: >> >> I built this and it boots the c2 linaro nand install (with the >> kernel/initrd on a raw partition a la android) just fine. Pulls the dram >> config from the script.bin file... Not a bad feature, actually, but not >> compatible with other uboots. > > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
