http://blog.csdn.net/wb4916/article/details/78031511
BPI-M1P(全志A20)刷Android启动卡之后启动的过程

BPI-M1P(全志A20)刷Android启动卡之后启动的过程

2017/9/19 16:48

1、将16GB的class-10速的TF(最少8GB)卡插入读卡器之后插入到Win7电脑上。

BPI-M1P(全志A20)刷Android启动卡之后启动的过程-LMLPHP

2、通过全志的工具APST下载:卡量产烧录工具PhoenixCardV4.1.1没有外层目录.zip(终端客户可以找代理商/方案公司要)

PhoenixCard 软件用于将待量产的固件通过 SD 卡读卡器写入 SD 卡中。用户可以选择不同的模式将SD卡烧写成量产模式或者是启动模式,烧写完成后可以用烧写好的 SD 卡来进行设备量产或者启动。

BPI-M1P(全志A20)刷Android启动卡之后启动的过程-LMLPHP

3、如果出现360安全卫士阻止是正常现象,请选择:允许程序运行。(委婉地说:全志没有找360认证。^_)¥的问题

BPI-M1P(全志A20)刷Android启动卡之后启动的过程-LMLPHP

4、请选择你编译好的固件:sun7i_android_sugar-ref001.img

请选择烧录模式为:启动卡。

BPI-M1P(全志A20)刷Android启动卡之后启动的过程-LMLPHP

5、烧录完成(正确选择完毕):

BPI-M1P(全志A20)刷Android启动卡之后启动的过程-LMLPHP

6、烧录完成之后的LOG信息:

BPI-M1P(全志A20)刷Android启动卡之后启动的过程-LMLPHP

Xshell 5 (Build 0964)
Copyright (c) 2002-2016 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[c:\~]$

Connecting to COM5...
Failed to open COM5.

Type `help' to learn how to use Xshell prompt.
[c:\~]$

Connecting to COM5...
Connected.

??HELLO! BOOT0 is starting!
boot0 version : 3.1.0
dram size =1024
card boot number = 0
card no is 0
sdcard 0 line count 0
[mmc]: mmc driver ver 2014-04-3 16:20
[mmc]: ***Try SD card 0***
[mmc]: SD/MMC Card: 4bit, capacity: 14992MB
[mmc]: vendor: Man 0x0002544d Snr 0x20f53f3f
[mmc]: product: SA16G
[mmc]: revision: 1.2
[mmc]: ***SD/MMC 0 init OK!!!***
sdcard 0 init ok
The size of uboot is 0x000b0000.
sum=0xee2e7fea
src_sum=0xee2e7fea
Succeed in loading uboot from sdmmc flash.
Ready to disable icache.
Jump to secend Boot.
[      0.251]

U-Boot 2011.09-rc1 (Sep 12 2017 - 11:22:54) Allwinner Technology

[      0.259]version: 1.1.0
[      0.262]pmbus:   ready
[      0.367]PMU: AXP209
[      0.369]PMU: AXP20x found
[      0.372]PMU: bat ratio = 100
[      0.378]PMU: dcdc2 1400
[      0.389]PMU: pll1 912 Mhz
boot_clock = 912
dcdc2_vol = 1400
dcdc3_vol = 1250
ldo2_vol = 3000
ldo3_vol = 2800
ldo4_vol = 2800
power_start = 0
storage_type = 0
usb_recovery = 1
find power_sply to end
fel key old mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      0.430]DRAM:  1 GiB
relocation Offset is: 35b17000
user_gpio config
user_gpio ok
[ir_boot_para]:the ir is no use
workmode = 0
MMC: 0
[      0.546][mmc]: mmc driver ver 2014-5-23 10:07:00
[      0.551][mmc]: get sdc_odly_25M fail,use default dly 0
[      0.557][mmc]: get sdc_sdly_25M fail,use default dly 5
[      0.562][mmc]: get sdc_odly_50M fail,use default dly 3
[      0.567][mmc]: get sdc_sdly_50M fail,use default dly 5
[      0.572][mmc]: get sdc_f_max fail,use default sdc_f_max 52000000
[      0.579][mmc]: SUNXI SD/MMC: 0
[      0.591][mmc]: ************Try SD card 0************
[      0.626][mmc]: MID 000002 PSN 20f53f3f
[      0.629][mmc]: PNM SA16G -- 0x53-41-31-36-47-00
[      0.634][mmc]: PRV 1.2
[      0.636][mmc]: MDT m-10 y-2013
[      0.640][mmc]: ---------------mmc->clock 52000000-----------
[      0.645][mmc]: ---------------mmc->bus_width 4--------------
[      0.651][mmc]: SD/MMC Card: 4bit, capacity: 14992MB
[      0.656][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB
[      0.662][mmc]: ************SD/MMC 0 init OK!!!************
[      0.668]sunxi flash init ok
DRV_DISP_Init: opened
[      0.773]boot_disp.output_type=2
[      0.776]boot_disp.output_mode=5
[      0.779]boot_disp.auto_hpd=1
error: open config.fex, maybe it is not exist
Hdmi_dvi_enable is NULL
Hdmi_get_input_csc is NULL 
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:11-
-name-        -start-       -size-      
bootloader  : 1000000       2000000     
env         : 3000000       1000000     
boot        : 4000000       1000000     
system      : 5000000       20000000    
recovery    : 25000000      2000000     
databk      : 27000000      10000000    
misc        : 37000000      1000000     
private     : 38000000      1000000     
data        : 39000000      40000000    
cache       : 79000000      14000000    
UDISK       : 8d000000      0           
-----------------------------------
base bootcmd=run setargs_mmc boot_normal
bootcmd set setargs_mmc
key 0
recovery key high 6, low 4
cant find fstbt value
to be run cmd=run setargs_mmc boot_normal
the user data'magic is bad
WORK_MODE_BOOT
sunxi_bmp_display
f_read btr over hd12871
read byte = 177288
[      0.937]fetch script data boot_disp.virtual_logo_width fail or vale=0
CONFIG_ARCH_SUN7IW1P1 : coef_rdy_en!!!
[      0.947]Hit any key to stop autoboot:  0 
read boot or recovery all
[      1.519]sunxi flash read :offset 4000000, 13483446 bytes OK
[      1.530]ready to boot
[      1.532][mmc]: MMC Device 2 not found
[      1.536][mmc]:  mmc  not find,so not exit
[      1.540]
Starting kernel ...

[    0.769756] aw_pm_init: not support super standby. 
[    0.812264] sw_ahci sw_ahci.0: SATA power enable do not exist!!
[    1.170628] [hdmi]hdmi module init
[    1.181269] ##fb init:w=1280,h=720,fbmode=3
[    1.308664] init: /init.rc: 394: ignored duplicate definition of service 'console'
[    1.702848] init: start e2fsck listening...
[    2.287566] EXT4-fs (mmcblk0p12): VFS: Can't find ext4 filesystem
[    2.340727] init: buffer : /dev/block/mmcblk0p12
[   10.119586] init: do_umount: /data 
[   10.123634] init: do_umount error = Invalid argument
[   10.317693] EXT4-fs (mmcblk0p13): VFS: Can't find ext4 filesystem
[   10.380674] init: buffer : /dev/block/mmcblk0p13
[   10.708588] init: C_IN_START
[   10.711993] init: path = /dev/block/data
[   15.512915] init: do_umount: /cache 
[   15.517050] init: do_umount error = Invalid argument
[   15.560328] init: start format /dev/block/UDISK
[   15.565799] init: wait for format /dev/block/UDISK
[   15.565996] init: fork to format /dev/block/UDISK
[   15.717092] init: C_IN_START
[   15.720608] init: path = /dev/block/cache
[   18.974960] init: format /dev/block/UDISK ok
[   19.476608] init: start format /dev/block/private
[   19.482235] init: wait for format /dev/block/private
[   19.488859] init: fork to format /dev/block/private
[   20.052409] init: format /dev/block/private ok
[   20.062359] EXT4-fs (mmcblk0p9): VFS: Can't find ext4 filesystem
[   20.100691] init: buffer : /dev/block/mmcblk0p9
[   23.773669] init: do_umount: /databk 
[   23.777842] init: do_umount error = Invalid argument
[   24.090388] i2c i2c-1: Invalid 7-bit I2C address 0x00
[   24.729462] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[   24.745654] android_usb: already disabled
[   24.755399] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
[   24.771883] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
root@android:/ # 
root@android:/ # 
root@android:/ # 
root@android:/ # 
root@android:/ # 
root@android:/ # 
root@android:/ # [   67.465587] init: untracked pid 2973 exited
[  192.538699] start_powernow uncare mode:859320624!
[  195.459781] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit

root@android:/ # 
root@android:/ # 
root@android:/ # 
root@android:/ # [  208.701598] init: untracked pid 3860 exited

05-11 03:43