P76v 调试

来源:互联网 发布:算法导论13.3章答案 编辑:程序博客网 时间:2024/05/16 18:17

1. 淘宝淘了一台二手台电P76v,主控是A13,其伟大之初在于史无前例的使用了LQFP封装,而且市面可见的可以达到GHz主频以上的CPU鲜见LQFP封装!

2. 调试串口引出:打开外壳,拆开电路板,在CPU的反面2个并排的焊盘就是串口的RX和TX脚了,引出来,然后再连接一个底线。

3. 连接PL2303串口线,打开SercureCRT,开机,可以看到启动信息了。

HELLO! BOOT0 is starting!
boot0 version : 1.3.0
dram size =512
Succeed in opening nand flash.
Succeed in reading Boot1 file head.
The size of Boot1 is 0x00036000.
The file stored in 0X00000000 of block 2 is perfect.
Check is correct.
Ready to disable icache.
Succeed in loading Boot1.
Jump to Boot1.
[       0.137] boot1 version : 1.3.1c
[       0.137] pmu type = 3
[       0.138] bat vol = 4031
[       0.167] axi:ahb:apb=3:2:2
[       0.167] set dcdc2=1400, clock=1008 successed
[       0.169] key
[       0.182] no key found
[       0.182] flash init start
[       0.266] flash init finish
[       0.269] fs init ok
[       0.271] fattype FAT16
[       0.271] fs mount ok
[       0.278] script finish
[       0.279] power finish
[       0.289] BootMain start
[       0.289] 0
[       0.344] init to usb pc
[       0.369] pre sys mode
[       0.369] startup status = -1
[       0.370] key value = 1
[       0.372] recovery key high 6, low 4
[       0.376] unable to find fastboot_key key_max value
[       0.385] test for multi os boot with display
[       0.972] show pic finish
[       0.972] load kernel start
[       1.001] load kernel successed
[       1.001] start


U-Boot 2011.09-rc1 (Jun 06 2012 - 09:32:02) Allwinner Technology 


CPU:   SUNXI Family
Board: A13-EVB
DRAM:  512 MiB
NAND:  3504 MiB
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:9-
-name-        -start-       -size-      
bootloader  : 1000000       1000000     
env         : 2000000       1000000     
boot        : 3000000       2000000     
system      : 5000000       20000000    
data        : 25000000      20000000    
misc        : 45000000      1000000     
recovery    : 46000000      2000000     
cache       : 48000000      10000000    
UDISK       : 58000000      83000000    
-----------------------------------
Hit any key to stop autoboot:  0 
sunxi#
sunxi#

4. 手头有全套A13的4.1.1 SDK,已经编译通过,抽空烧录一下。

5. 不过我的最终目的是将这个方案用于linux+qt产品设计。

6.SDK 编译方法:

    a. cd lichee

    b. ./build.sh -p a13 -k 3.0

    c. 编译完成即可得到img烧录文件,一般情况下不会出现什么问题。

原创粉丝点击