I think you should first build a workable SD card, then use the
partition tool to part the nand flash. Remember the first partition
must be a fat partition, and put the second boot loader(provided by
android distribution) and .fex file into this partition, then edit the
.inf file to instruct the second boot loader to load your own u-boot
which must be build from lichee-dev branch. Still you need to transfer
the boot0 to the beginning of nand flash. The boot0 can be extracted
from a android image. After all these steps proves working, write a
script to do it automatically.

Anyway, I didn't do the whole thing like this, but used the original
boot0 and boot1 provided by android and build my own u-boot and
kernel. Just want to be helpful. If you succedeed, I'd like to see you
to share the method.

2014-02-23 10:23 GMT+08:00 Patrick Wood <[email protected]>:
> You're missing the boot partition.  Read this:
> http://www.cubieforums.net/index.php/topic,511.0.html
> And this:  http://cubieforums.net/index.php?topic=511.msg2408#msg2408
>
>
> On Thursday, February 20, 2014 1:00:08 AM UTC-5, Puneet B wrote:
>>
>> Hi all,
>>
>> I am using A20 humming bird board.
>>
>> i want to boot android from NAND.
>>
>> i booted android from sd card successfully.
>>
>> i want to know boot0 and boot1 , is it common for all A20 board.
>>
>> and to which sector i need to flash this.
>>
>> Regards
>> Punith
>
> --
> 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to