BananaPi 到手了你们第一件事想做啥?
对!安装原生系统,测试硬件都是否正常,我就是这样严谨的人
言归正传,马上还是入手准备材料,翻箱倒柜忙活了半天,终于配齐了材料
我用的是移动电源作为BananaPi电力供应,电源也带开关的非常方便。 TTL卡我也有的,我以前刷路由器用的
硬件都准备好了,再接上HDMI显示器就万事具备了。下一步制作系统盘。
先来下载系统映像文件,直接到官网
http://www.lemaker.org/index.php?m=content&c=index&a=show&catid=29&id=4
要啥有啥 当然我其他先不研究,直奔主题
下载工具和系统一切顺利
问题来了,使用这些系统映像文件,要是有4GB的卡就没有我这篇文章了,
IcKey提供的BananaPi 来的太快,我闲置的SD卡竟然最大的容量只有2GBTF卡
以前从来没写过 android系统,我看看那系统文件才500兆左右,迫切的尝鲜心理,自以为2GB应该够用。
于是就开始制作系统卡。整个写过程如说明描述一样,没有任何报错信息。
盗用 FishXX 图片一张 (来自:http://bbs.ickey.cn/group-topic-id-26651.html)
准备到这步都很完美
见证奇迹的时候到了.......
插入BananaPi ,通电启动.....
终于看到了BananaPi 启动logo了 我的显示器貌似给力就是屏幕反光太厉害
在我正在高兴的时刻,画面换到了这一幕.....
Android 系统启动画面出来了,真是太棒了......
此刻还沉浸在喜悦之中的我,继续等待....
1分钟过去了还是这样的画面.....不着急...第一次启动是慢的 ......
.......
5分钟过去了.....还是这样得画面,貌似不祥征兆出现
重启吧 ....还是老样子
到底发生了什么事??我的BananaPi 的第一次启动就这样失败了
我得连上TTL线, 察看启动信息了.....
马上把超级终端的启动信息察看了一遍 内容如下:
HELLO! BOOT0 is starting!
boot0 version : 3.0.0
dram size =1024
card boot number = 0
card no is 0
sdcard 0 line count 0
[mmc]: SD/MMC Card: 4bit, capacity: 1922MB
[mmc]: vendor: Man 0x001d4144 Snr 0x21119c00
[mmc]: product: SD
[mmc]: revision: 1.0
sdcard 0 init ok
The size of uboot is 0x000a0000.
sum=0xc9f92a52
src_sum=0xc9f92a52
Succeed in loading uboot from sdmmc flash.
Ready to disable icache.
Jump to secend Boot.
[ 0.167]
U-Boot 2011.09-rc1-dirty (Nov 08 2013 - 11:06:32) Allwinner Technology
[ 0.175]version: 1.1.0
[ 0.178]pmbus: ready
[ 0.282]PMU: AXP209
[ 0.285]PMU: AXP20x found
[ 0.288]PMU: bat ratio = 100
[ 0.291]after set, dcdc2 =1400mv
[ 0.295]PMU: dcdc2 1400
[ 0.297]PMU: pll1 912 Mhz
boot_clock = 912
dcdc2_vol = 1400
[ 0.305]after set, dcdc2 =1400mv
dcdc3_vol = 1250
ldo2_vol = 3000
ldo3_vol = 2800
ldo4_vol = 2800
power_start = 0
storage_type = -1
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.341]DRAM: 1 GiB
relocation Offset is: 35b27000
donn\'t initialize ther user_gpio (main_key:boot_init_gpio)
DRV_DISP_Init: opened
[ 0.554]boot_disp.output_type=2
[ 0.557]boot_disp.output_mode=5
[ 0.560]boot_disp.auto_hpd=1
Hdmi_dvi_enable is NULL
Hdmi_get_input_csc is NULL
workmode = 0
MMC: 0
SUNXI SD/MMC: 0
Man 1d4144 Snr 21119c00
SD
1.0
[ 0.622]sunxi flash init ok
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
-total partitions:11-
-name- -start- -size-
bootloader : 1000000 1000000
env : 2000000 1000000
boot : 3000000 1000000
system : 4000000 20000000
data : 24000000 40000000
misc : 64000000 1000000
recovery : 65000000 2000000
cache : 67000000 14000000
private : 7b000000 1000000
databk : 7c000000 10000000
UDISK : 8c000000 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
MMC: block number 0x3ea000 exceeds max(0x3c1000)
read flash error
WORK_MODE_BOOT
board_status_probe
sunxi_bmp_display
WORK_MODE_BOOT
[ 0.727]Hit any key to stop autoboot: 0
read boot or recovery all
[ 1.303]sunxi flash read ffset 3000000, 11610161 bytes OK
[ 1.312]ready to boot
[ 1.315]
Starting kernel ...
[ 0.646839] aw_pm_init: not support super standby.
[ 0.684384] sw_ahci sw_ahci.0: SATA power enable do not exist!!
[ 1.142966] [hdmi]hdmi module init
[ 1.148083] ##fb init:w=1280,h=720,fbmode=3
[ 1.501598] init: start e2fsck listening...
[ 1.843276] init: HDMI status = 1, try 10 times!TV status = 0
[ 2.168327] init: do_umount: /data
[ 2.506293] init: C_IN_START
[ 2.509371] init: path = /dev/block/data
[ 2.887453] init: do_umount: /cache
[ 3.514042] init: C_IN_START
[ 3.517079] init: path = /dev/block/cache
[ 3.606866] init: open device error :No such file or directory
[ 3.613519] init: open device error :No such file or directory
[ 13.016877] init: buffer : /dev/block/mmcblk0p13
[ 13.040028] init: exec: pid 1203 exited with return code 1: Unknown error 256
[ 16.048090] init: buffer : /dev/block/mmcblk0p13
[ 16.058321] init: exec: pid 1204 exited with return code 1: Unknown error 25
看了半天看不太懂 但是基本上可以断定 那张2gbTF问题。大家看看是不是啊?
我的bananaPi的第一次启动,就被这张闲置的2gb TF 卡给搞砸了
看来我还是要买张大容量SD卡,于是马上去www.ickey.cn 云汉芯城 淘一淘。
8GB卡48.9包的顺丰邮,毫不犹豫下单订购了一张。
第二天上午快递已经送到前台了,比我上班还早,幸亏不下雨否则顺丰要在我下班前派件了
看到这个只能表示“云汉芯城"确实给力了,我就买张SD卡也是非常标准包装
开包验货......
我的SD卡....物流包装真的无可挑剔。
下一步又要重做android系统盘了。有了大容量的新SD卡,会不会还有问题呢?
后续会发生什么状况呢,请继续关注补帖内容
|