Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
It is impossible to boot via SD CARD on android 4.2? My NAND is gone, I removed it... I'm actually using Android 4.1, and I will try 4.2, 4.3, 4.4 in the future. Thanks for the website, I will try it right away. Em terça-feira, 18 de março de 2014 02h10min52s UTC-3, Puneet B escreveu: Hi Igor, Thanks for your reply. i am facing problem in booting of android4.2 from sdcard. but for android4.0 you can see this link. http://linux-sunxi.org/Boot_Android_from_SdCard. but if you are using android4.2 . boot u-boot, kernel from sdcard and mount file system from nand which will work. 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
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 puni...@gmail.com 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 linux-sunxi...@googlegroups.com 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
On 02/21/14 13:21, Puneet B wrote: [ 2.933] boot1: bad boot image magic, maybe not a boot.img? Your boot1 is not right, boot0 loaded fine from the flash, but it couldn't find boot1 where it expected it to be. oliver -- 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
This from his boot log indicatees that boot1 was found, loaded, and started up okay: Succeed in loading Boot1. Jump to Boot1. [ 0.150] boot1 version : 2.0.0 -- 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
Hi Ditmar, I already saw this link . This link will tell us to take the back up of boot0 and boot1. since i am using custom board. i have fresh nand. so how can flash linux into NAND starting from boot0 and boot1. 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
Hi Patwood, In my himming bird board android is booting fine from NAND. so i tried to install ubuntu in NAND by this link. https://www.miniand.com/forums/forums/development/topics/boot-ubuntu-lubuntu-from-internal-4g-flash?page=2 My steps: 1i booted ubuntu from sdcard. 2./nand-partv /dev/nand 'linux 800' 3remove sdcard 4booted from NAND. i did not done any changes in nanda partition. (i check by mounting nanda also , but u-boot is not evoked). in log: U-Boot 2014.01-rc1-09161-gaf9f405-dirty (Feb 19 2014 - 19:20:31) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: embdes I2C: ready DRAM: 1 GiB HELLO! BOOT0 is starting! boot0 version : 2.0.0 � read dram para. dram size =1024MB 0x01a48608 super_standby_flag = 0 Succeed in opening nand flash. block from 2 to 6 deal block 2 Succeed in reading Boot1 file head. The size of Boot1 is 0x00068000. The file stored in 0x of block 2 is perfect. Check is correct. Ready to disable icache. Succeed in loading Boot1. Jump to Boot1. [ 0.150] boot1 version : 2.0.0 [ 0.159] script installed early ok [ 0.160] pmu type = 3 [ 0.161] bat vol = 0 mv [ 0.179] axi:ahb:apb=4:2:2 [ 0.179] set dcdc2=1400mv, clock=912M successed [ 0.181] key [ 0.194] no key found [ 0.194] flash init start [ 2.177] flash init finish [ 2.203] fs init ok [ 2.531] fattype FAT16 [ 2.531] fs mount ok [ 2.536] nand good_block_ratio=944 [ 2.536] storage_type=0 [ 2.587] 0 [ 2.601] set pc [ 2.603] usbdc_vol = 4000, usbdc_cur = 0 [ 2.603] usbpc_vol = 4400, usbpc_cur = 0 [ 2.606] init to usb pc [ 2.609] set pc [ 2.804] battery enough [ 2.804] power_start=0x0001 [ 2.804] key value = 0 [ 2.807] recovery key high 40, low 4 [ 2.901] show pic finish [ 2.901] load kernel start [ 2.930] load kernel successed [ 2.931] start address = 0x4a00 [ 2.933] boot1: bad boot image magic, maybe not a boot.img? [ 2.942] power exit detect [ 2.942] usb exit detect [ 2.944] try to fel in 1 secend Booting stop here. 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
On Wed, Feb 19, 2014 at 10:00:08PM -0800, 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. Good you can share you info on the wiki i want to know boot0 and boot1 , is it common for all A20 board. try to create an livesuite image and use livesuite. you can create an livesuite image from android build(see cubieboad info) http://linux-sunxi.org/Building_Android_TV_image or modify an existing image https://www.miniand.com/wiki/Allwinner/Unpacking+and+building+LiveSuit+images Regards 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 linux-sunxi+unsubscr...@googlegroups.com. 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
Hi arete74, Actually i am not booted android successfully from sdcard. only u-boot ,kernel from sdcard and rootfs mounted from NAND. sorry for inconvenience. and also i dont want to flash NAND from live suite also. i want to flash in to nand from command line ( by using bootable sd card) Kindly tell me how can i do it. 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..
Hi , Atleast how to flash linux in fresh NAND. 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[linux-sunxi] how to flash android in NAND without phonixsuite ..
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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.