Hello friend,

I'm new here but I might give you some light of your problem. I tried to do 
the reverse, use on fresh SD CARD. What I did was:

dd if=boot0_sdcard.fex of=/dev/sdd seek=8 bs=1024
dd if=boot1_sdcard.fex of=/dev/sdd seek=19096 bs=1024

This was for sun6i, Allwinner A31. When I compiled the Kernel (lichee) it 
compiled boot0_sdcard.fex and boot1_sdcard.fex, also for boot0 and boot1 
for NAND. Those parts are on GPT area (see 
here: http://en.wikipedia.org/wiki/GUID_Partition_Table).
>From what I understand (I might be mistaken), they are not "partitions", 
boot0 and boot1. After them comes U-BOOT. 
Look here (it is in portuguese but you can get the 
meaning): 
http://meiradarocha.jor.br/news/2013/05/02/como-fazer-backup-do-sistema-android-do-tablet-bc1003-wei-wide-pro-10/?replytocom=8118#respond

I tried without success to place u-boot after boot1, but I manage to solve 
my problem using the PhoenixCard software from Allwinner to create a SD 
CARD from my image file. This program placed every file and partition where 
it should be. 

Sorry I didn't gave you the solution, but I hope those websites can help 
you find the solution...

By the way, I'm with problem on my SD CARD. You said you did manage to load 
with success. Mine is with problem trying to find the NAND partiton. My 
original image file was made to work with NAND Flash, but the project I'm 
trying to do demands SD CARD. So I removed my NAND and I'm trying to load 
everything from SD CARD. My kernel tries to find the NAND partitions that 
don't exist anymore. Do you know where I can change these before compiling 
my Kernel?

Thanks,
Igor.









Em quinta-feira, 13 de março de 2014 21h14min12s UTC-3, Runzhong Yi 
escreveu:
>
> Maybe the work yuq did sometime ago could help you. Search this 
> maillist, or see this link: https://github.com/yuq/sunxi-nfc-mtd. 
>
> 2014-03-13 15:12 GMT+08:00 Puneet B <[email protected] <javascript:>>: 
> > how to erase boot0 and boot1 in nand. 
> > 
> > i tried by using mkfs.ext4 /dev/nand. 
> > 
> > but still boot0 and boot1 is not erased. 
> > 
> > kindly tell me how to erase the nand memory. 
> > 
> > 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] <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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.

Reply via email to