P76v 調試

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產品設計。

You May Also Like