Hello, I'm new to this forum. I have a system based on Allwinner A31 (sun6i). A while ago my NAND FLASH had a hardware problem and I physically removed it, and now I rely only on SD CARD.
I used the PhoenixCard from Allwinner to create a SD CARD with the same image I was using before with the NAND. I knew it would give me problems related to the NAND partitions that are now on SD CARD. What I would like to know is if anyone knows where do I have to change inside the code to change my partitions from NAND to SD CARD. Here is the log of my boot: HELLO! BOOT0 is starting! boot0 version : 2.3.7 reg_val=0x00000000 ss =0x00000000 [DRAM]ver 1.02 clk = 240 cpu 0 pmu 0 Found PMU:AXP221 ddr vol 1500mV dram size =2048 card boot number = 0 card no is 0 sdcard 0 line count 0 [mmc]: SD/MMC Card: 4bit, capacity: 14980MB [mmc]: vendor: Man 0x0002544d Snr 0x36ea7015 [mmc]: product: SA16G [mmc]: revision: 1.1 sdcard 0 init ok The size of Boot1 is 0x00054000. Succeed in loading boot1 from sdmmc flash. Ready to disable icache. Succeed in loading Boot1. Jump to Boot1. [ 0.244] boot1 version : 2.0.0 [ 0.251] script installed ok [ 0.251] PMU: AXP221 [ 0.251] bat ratio = 100 [ 0.254] dcdc3 1260 [ 0.301] pll1 1008 [ 0.369] power finish [ 0.374] dcdc1 3000 [ 0.374] dcdc2 1200 [ 0.374] dcdc4 1200 [ 0.375] dcdc5 1500 [ 0.378] flash init start [ 0.647] [mmc]: init mmc pll6clk 600000000, clk 50000000, mclkbase 0x8150030b [ 0.649] [mmc]: SD/MMC Card: 4bit, capacity: 14980MB [ 0.654] [mmc]: vendor: Man 0x0002544d Snr 0x36ea7015 [ 0.659] [mmc]: product: SA16G [ 0.663] [mmc]: revision: 1.1 [ 0.666] flash init finish [ 0.710] fs init ok [ 0.711] fattype FAT16 [ 0.712] fs mount ok [ 0.719] dram_para_set start [ 0.724] dram_para_set end [ 0.724] type=1 [ 0.751] 0 [ 0.953] WRN:L229(Common/ui/display_interface/display_interface.c):fetch script data boot_disp.output_type fail [ 0.958] WRN:L265(Common/ui/display_interface/display_interface.c):fetch script data boot_disp.output_mode fail [ 0.968] WRN:L285(Common/ui/display_interface/display_interface.c):fetch script data boot_disp.auto_hpd fail [ 0.978] lcd0_para.lcd_used=1 [ 0.981] lcd open [ 0.985] lcd 0 timeout=50 [ 1.044] lcd open,ret=0 [ 1.044] power status = 3 [ 1.044] power start cause = 0 [ 1.047] axp buffer 0x00000000 [ 1.050] power trigger [ 1.053] startup status = 1 [ 1.056] no battery exist [ 1.094] lcd 1 timeout=200 [ 1.236] key 0 [ 1.236] cant find rcvy value [ 1.237] cant find fstbt value [ 1.242] try to boot [ 1.242] load kernel start [ 1.268] load kernel successed [ 1.268] start address = 0x4a000000 [ 1.294] lcd 2 timeout=100 [ 1.395] lcd 3 timeout=0 [ 1.395] lcd 4 timeout=0 [ 1.422] jump to [ 1.422] 0x4a000000 U-Boot 2011.09-rc1 (Mar 12 2014 - 08:08:13) Allwinner Technology CPU: SUNXI Family Board: SUN6I DRAM: 2 GiB MMC: SUNXI SD/MMC: 0 In: serial Out: serial Err: serial bootcmd set setargs_mmc Hit any key to stop autoboot: 0 read boot or recovery all sunxi flash read :offset 3000000, 12112551 bytes OK [ 4.925] Starting kernel ... [ 1.651913] target frequency find is 1008000000, entry 34 [ 1.657363] set cpu frequency to 1008MHz ok [ 1.693439] otg_wakelock_init: No OTG transceiver found [ 1.705063] init: /init.sun6i.rc: 171: ignored duplicate definition of service 'pvrsrvctl' [ 1.713675] init: /init.sun6i.rc: 376: user option requires a user id [ 6.017046] init: FB_OPEN failed! [ 16.013896] init: buffer : /dev/block/nande [ 16.018641] init: do_umount: /data [ 16.022536] init: do_umount error = Invalid argument [ 16.027627] init: start e2fsck listening... [ 21.020398] init: buffer : /dev/block/nandh [ 21.025158] init: do_umount: /cache [ 21.028977] init: do_umount error = Invalid argument [ 21.034130] init: start e2fsck listening... [ 21.034606] init: open device error :No such file or directory [ 31.017515] init: buffer : /dev/block/nandi [ 31.022278] init: do_umount: /databk [ 31.026183] init: do_umount error = Invalid argument[rfkill]: rfkill set power 1 [ 31.056879] init: cannot find '/system/bin/6620_launcher', disabling '6620_launcher' [ 31.073847] init: cannot find '/system/bin/sh', disabling 'console' [ 31.080147] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager' [ 31.088098] init: cannot find '/system/bin/vold', disabling 'vold' [ 31.094319] init: cannot find '/system/vendor/bin/pvrsrvctl', disabling 'pvrsrvctl' [ 31.102016] init: cannot find '/system/bin/netd', disabling 'netd' [ 31.108217] init: cannot find '/system/bin/debuggerd', disabling 'debuggerd' [ 31.115297] init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger' [ 31.123243] init: cannot find '/system/bin/app_process', disabling 'zygote' [ 31.130222] init: cannot find '/system/bin/drmserver', disabling 'drm' [ 31.136939] init: cannot find '/system/bin/mediaserver', disabling 'media' [ 31.143848] init: cannot find '/system/bin/dbus-daemon', disabling 'dbus' [ 31.150668] init: cannot find '/system/bin/installd', disabling 'installd' [ 31.157562] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery' [ 31.165968] init: cannot find '/system/bin/keystore', disabling 'keystore' [ 31.172917] init: cannot find '/system/bin/u3gmonitor', disabling 'u3gmonitor' [ 31.180156] init: cannot find '/system/xbin/mux.d', disabling 'gsmmux' [ 31.186720] init: cannot find '/system/bin/rild', disabling 'ril-daemon-2g' [ 31.193713] init: cannot find '/system/bin/usb_scan', disabling 'ttyusb-scan' [ 31.200878] init: cannot find '/system/bin/mtk_agpsd', disabling 'agpsd' [ 31.207626] init: cannot find '/system/bin/btv_service', disabling 'rtv-daemon' [ 31.215929] init: cannot find '/system/bin/sh', disabling 'console' HERE IT STOPS and nothing more is done. Thanks, Igor. -- 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.
