| 
 | 
 
 Edited by asadpt at 2017-12-23 17:58  
 
I was trying to build the android image for orange pi win, and I got the source code from orange pi official website. I was able to build the android image from source code. But it is not booting. I am pasting the log file below.  
 
 
 
 
HELLO! BOOT0 is starting! 
boot0 commit : c8cf24d1d34e7621583739b09227f1e3a2ef603b 
 
boot0 version : 4.0.0 
set pll start 
set pll end 
rtc[0] value = 0x00000000 
rtc[1] value = 0x00000000 
rtc[2] value = 0x00000000 
rtc[3] value = 0x00000000 
rtc[4] value = 0x00000000 
rtc[5] value = 0x00000000 
DRAM driver version: V1.0 
DRAM Type = 3 (2 DR2,3 DR3,6 PDDR2,7 PDDR3) 
DRAM clk = 672 MHz 
DRAM zq value: 003b3bbb 
rsb_send_initseq: rsb clk 400Khz -> 3Mhz 
PMU: AXP81X 
ddr voltage = 1500 mv 
DRAM single rank full DQ OK 
DRAM size = 1024 MB 
DRAM init ok 
dram size =1024 
card boot number = 0, boot0 copy = 0 
card no is 0 
sdcard 0 line count 4 
[mmc]: mmc driver ver 2015-05-08 20:06 
[mmc]: sdc0 spd mode error, 2 
[mmc]: Wrong media type 0x00000000 
[mmc]: ***Try SD card 0*** 
[mmc]: HSSDR52/SDR25 4 bit 
[mmc]: 50000000 Hz 
[mmc]: 15193 MB 
[mmc]: ***SD/MMC 0 init OK!!!*** 
sdcard 0 init ok 
The size of uboot is 000f8000. 
sum=2256d661 
src_sum=2256d661 
Succeed in loading uboot from sdmmc flash. 
boot0: start load other image 
boot0: Loading BL3-1 
Loading file 0 at address 0x40000000,size 0x0000a400 success 
boot0: Loading scp 
Loading file 2 at address 0x00040000,size 0x00019c00 success 
set arisc reset to de-assert state 
Ready to disable icache. 
Jump to secend Boot.%9=é    Configuring SPC Controller 
NOTICE:  BL3-1: v1.0(debug):c8cf24d 
NOTICE:  BL3-1: Built : 19:28:18, Jul  8 2015 
NOTICE:  BL3-1 commit: c8cf24d1d34e7621583739b09227f1e3a2ef603b 
 
INFO:    BL3-1: Initializing runtime services 
INFO:    BL3-1: Preparing for EL3 exit to normal world 
INFO:    BL3-1: Next image address = 0x4a000000 
INFO:    BL3-1: Next image spsr = 0x1d3 
 
 
U-Boot 2014.07 (Sep 16 2015 - 18:08:34) Allwinner Technology  
 
uboot commit : ad5f4db37d600c2566902ed7e243eaa9b670a563 
 
rsb: secure monitor exist 
[      0.385]pmbus:   ready 
[      0.387][ARISC] :arisc initialize 
[      0.715][ARISC] :arisc_dvfs_cfg_vf_table: support only one vf_table 
[SCP] :sunxi-arisc driver begin startup 2 
[SCP] :arisc_para size:1a8 
[SCP] :arisc version: [v0.1.76] 
[SCP] :sunxi-arisc driver v1.10 is starting 
[      0.841][ARISC] :sunxi-arisc driver startup succeeded 
[      0.874]PMU: AXP81X 
[      0.876]PMU: read AXP81X 84H=0xf6 
[      0.879]PMU: write AXP81X 84H=0xf6 
[      0.883]PMU: AXP81X found 
bat_vol=0, ratio=100 
[      0.889]PMU: dcdc2 1100 
[      0.892]PMU: cpux 1008 Mhz,AXI=336 Mhz 
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz AHB2=300Mhz MBus=400Mhz 
device_type = 3253, onoff=1 
dcdc1_vol = 3100, onoff=1 
dcdc2_vol = 1100, onoff=1 
dcdc6_vol = 1100, onoff=1 
aldo1_vol = 2800, onoff=0 
aldo2_vol = 1800, onoff=1 
aldo3_vol = 3000, onoff=1 
dldo1_vol = 3300, onoff=0 
dldo2_vol = 3300, onoff=0 
dldo3_vol = 2800, onoff=0 
dldo4_vol = 3300, onoff=1 
eldo1_vol = 1800, onoff=1 
eldo2_vol = 1800, onoff=0 
eldo3_vol = 1800, onoff=0 
fldo2_vol = 1100, onoff=1 
gpio0_vol = 3100, onoff=0 
vbus not exist 
no battery, limit to dc 
DRAM:  1008 MiB 
fdt addr: 0x76eb8740 
Relocation Offset is: 35f0a000 
In:    serial 
Out:   serial 
Err:   serial 
gic: sec monitor mode 
[      1.162]start 
drv_disp_init 
init_clocks: finish init_clocks. 
fdt_get_one_gpio lcd0.lcd_gpio_0 fail 
fdt_get_one_gpio lcd0.lcd_gpio_1 fail 
fdt_get_one_gpio lcd0.lcd_gpio_2 fail 
fdt_get_one_gpio lcd0.lcd_gpio_3 fail 
fdt_get_one_gpio lcd0.lcd_gpio_scl fail 
fdt_get_one_gpio lcd0.lcd_gpio_sda fail 
enable power vcc-hdmi-33, ret=0 
drv_disp_init finish 
boot_disp.output_disp=0 
boot_disp.output_type=1 
boot_disp.output_type=4 
fetch script data boot_disp.auto_hpd fail 
disp0 device type(1) enable 
enable power vcc-dsi-33, ret=0 
disp 0, clk: pll(618000000),clk(618000000),dclk(103000000) dsi_rate(103000000) 
     clk real:pll(616846153),clk(616846153),dclk(154211538) dsi_rate(148500000) 
enable power vcc-mipi, ret=0 
FDT ERROR:fdt_get_pin_num:get property handle pinctrl-0 error:<unknown error> 
disp_sys_pin_set_state, fdt_set_all_pin, ret=-1 
[      1.730]end 
workmode = 17,storage type = 1 
[      1.734]NB1 : enter phy init 
[      1.737]nand_physic_init 
[      2.141]Reset NDFC start 0  0 
[      2.144]Reset NDFC end 0  0 
[      2.147]nand not support! channel 0 chip 0: 00 00 00 00 00 00 00 00 
[      2.154]nand not support! channel 0 chip 1: 00 00 00 00 00 00 00 00 
[      2.160]nand not support! channel 0 chip 2: 00 00 00 00 00 00 00 00 
[      2.167]nand not support! channel 0 chip 3: 00 00 00 00 00 00 00 00 
[      2.173] no nand found ! 
[      2.176]nand_physic_init nand_build_nsi error 
[      2.180]nand_physic_init error -1 
NB1 : nand phy init fail 
[      2.186]NB1 : enter phy Exit 
[      2.189]nand_physic_exit 
try nand fail 
try nand fail 
try card 2  
[mmc]: mmc driver ver 2015-07-29 14:10:00 
[mmc]: get sdc_ex_dly_used 2, use auto tuning sdly 
[mmc]: current is product mode, it will tune sdly later 
[mmc]: card2 io is 1.8V. 
SUNXI SD/MMC: 2 
[mmc]: start mmc_calibrate_delay_unit, don't access device... 
[mmc]: delay chain cal done, sample: 200(ps) 
[mmc]: delay chain cal done, ds: 208(ps) 
[mmc]: ************Try SD card 2************ 
[mmc]: mmc send if cond failed 
[mmc]: send app cmd failed 
[mmc]: ************Try MMC card 2************ 
[mmc]: read op condition failed 
[mmc]: mmc send op cond failed 
[mmc]: read op condition failed 
[mmc]: mmc send op cond failed 
[mmc]: Card did not respond to voltage select! 
[mmc]: ************SD/MMC 2 init error!************ 
[mmc]: mmc_init: mmc init fail, err -17 
MMC init failed 
try emmc fail 
initcall sequence 7ff9f81c failed at call 4a00c068 
### ERROR ### Please RESET the board ### 
 
 
 
 
 
 
I have reset the board 4-5 times. but still getting the same log. 
please help.... 
 |   
 
 
 
 |