medany1 发表于 2020-2-17 14:15:32

A40i 核心板+底板,烧录官方镜像后u-boot一直重启,不能进入内核

本帖最后由 medany1 于 2020-2-17 14:21 编辑

串口控制台打印一下信息,

HELLO! BOOT0 is starting!
                         [   0.35]HELLO! BOOT0 is starting!
[   0.39]boot0 commit : b58d49ff80aa5ff8865ab68aa2463d4ee0fe1e7d

[   0.46]boot0 version : 4.0
[   0.50]set pll start
[   0.54]set pll end
[   0.89]rtc value = 0x00000000
[   0.92]rtc value = 0x00000000
[   0.95]rtc value = 0x00000000
[   0.98]rtc value = 0x00000000
[   0.102]rtc value = 0x00000000
[   0.105]rtc value = 0x00000000
[   0.108]DRAMC IS FOUR
[   0.111]DRAM BOOT DRIVE INFO: V1.1
[   0.114]Found A40
[   0.116]Found A40
[   0.118]Found A40
[   0.120]Found A40
[   0.122]Found A40
[   0.128]PMU: [   0.129]AXP221
[   0.131]ddr voltage = 1500 mv
[   0.134]DRAM CLK =576 MHZ
[   0.137]DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
[   0.142]DRAM zq value: 0x003b3bfb
[   0.148]DRAM SIZE =1024 M
[   0.151]DRAM ** test OK.
[   0.153]dram size =1024
[   0.156]rtc standby flag is 0x00000000, super standby flag is 0x00000000
[   0.164]card no is 2
[   0.166]sdcard 2 line count 8
[   0.169]: mmc driver ver 2016-07-01 15:30
[   0.173]: wrong freq 2 at spd md 2
[   0.186]: ***Try MMC card 2***
[   0.202]: MMC 5.0
[   0.204]: HSSDR52/SDR25 8 bit
[   0.208]: 50000000 Hz
[   0.211]: 7264 MB
[   0.213]: ***SD/MMC 2 init OK!!!***
[   0.287]Succeed in loading uboot from sdmmc flash.
[   0.292]Entry_name      = u-boot
[   0.307]Ready to disable icache.
[   0.311]0xffffffff 0xffffffff
[   0.314]0xffffffff 0xffffffff
[   0.317]0xffffffff 0xffffffff
[   0.320]0xffffffff 0xffffffff
[   0.323]0xffffffff 0xffffffff
[   0.326]0xffffffff 0xffffffff
[   0.329]Jump to secend Boot.


U-Boot 2014.07 (Oct 08 2019 - 09:29:14) Allwinner Technology

uboot commit : 65b7504a61af7d8b06d7afd9b75cb593144fdcc8

i2c_init: by cpux
i2c_init ok
[      0.344]pmbus:   ready
[      0.358]PMU: AXP221
[      0.358]PMU: AXP22x found
[      0.359]PMU: dcdc2 1160
[      0.360]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100MhzMBus=400Mhz
set power on vol to default
dcdc1_vol = 3300, onoff=1
dcdc2_vol = 1160, onoff=1
dcdc3_vol = 1200, onoff=1
dcdc4_vol = 1100, onoff=0
aldo1_vol = 3300, onoff=1
aldo2_vol = 1800, onoff=1
aldo3_vol = 3000, onoff=1
dc1sw_vol = 3000, onoff=0
dc5ldo_vol = 1100, onoff=0
dldo1_vol = 3300, onoff=1
dldo2_vol = 3300, onoff=0
dldo3_vol = 3300, onoff=0
dldo4_vol = 2500, onoff=1
eldo1_vol = 2800, onoff=0
eldo2_vol = 1200, onoff=1
eldo3_vol = 2800, onoff=1
gpio0_vol = 3300, onoff=1
gpio1_vol = 3300, onoff=1
find power_sply to end
vbus exist
run key detect
no key found
no uart input
DRAM:1 GiB
fdt addr: 0x76e8fcd8
Relocation Offset is: 35ee6000
In:    serial
Out:   serial
Err:   serial
gic: normal mode
[      0.511]start
drv_disp_init
init_clocks: finish init_clocks.
pwm_request: reg = 0x1c23400. pwm = 0.
request pwm success, pwm = 0.
tv_init:
tv_probe:000
tv0 have no type1
tv0 have no type2
tv0 have no type3
no report hpd work,you need support the switch class!
screen 0 don't support TV!
screen 1 don't support TV!
screen 0 do not support VGA TYPE!
screen 1 do not support VGA TYPE!
tv_init:
drv_disp_init finish
fetch script data boot_disp.output_disp fail
fetch script data boot_disp.output_type fail
fetch script data boot_disp.output_mode fail
fetch script data boot_disp.auto_hpd fail
disp0 device type(1) enable
disp 0, clk: pll(306000000),clk(306000000),dclk(51000000) dsi_rate(306000000)
   clk real:pll(308571428),clk(308571428),dclk(51428571) dsi_rate(0)
enable power vcc-lcd, ret=0
[      1.275]end
workmode = 0,storage type = 2
[      1.275]MMC:      2
: mmc driver ver 2016-07-01 15:50:00
: mmc_update_timing_para: error sdc_no 2
SUNXI SD/MMC: 2
: 50 MHz...
: sample: 63 - 158(ps)
: ds: 63 - 158(ps)
: 100 MHz...
: sample: 33 - 151(ps)
: ds: 34 - 147(ps)
: 200 MHz...
: sample: 16 - 156(ps)
: ds: 17 - 147(ps)
: media type 0x8000000
: ************Try MMC card 2************
: host caps: 0x6f
: MID 000013 PSN 0ee758d6
: PNM Q2J55L -- 0x51-32-4a-35-35
: PRV 1.0
: MDT m-7 y-2019
: MMC v5.0
: speed mode   : HSSDR52/SDR25
: clock          : 50000000 Hz
: bus_width      : 8 bit
: user capacity: 7264 MB
: boot capacity: 16384 KB
: rpmb capacity: 4096 KB
: ************SD/MMC 2 init OK!!!************
: use default speed mode: 1-HSSDR52/SDR25, ifreq: 2
: ========best spd md: 1-HSSDR52/SDR25, freq: 2-50000000
: already at HSSDR52_SDR25 mode
: erase_grp_size      : 0x400WrBlk*0x200=0x80000 Byte
: secure_feature      : 0x55
: secure_removal_type : 0x1
: EOL Info(Rev blks): Normal
: Wear out(type A): 0%-10% life time used
: Wear out(type B): 0%-10% life time used
[      1.515]sunxi flash init ok
--------fastboot partitions--------
-total partitions:6-
-name-      -start-       -size-      
boot-resource: 1000000       700000      
env         : 1700000       400000      
boot      : 1b00000       1000000   
rootfs      : 2b00000       40000000   
usr         : 42b00000      9fb00000   
UDISK       : e2600000      0         
-----------------------------------
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_mmc
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_mmc boot_normal
update dtb dram start
update dtb dramend
PowerBus = 2( 2:vBus 3:acBus other: not exist)
no battery, limit to dc
no battery exist
EnterNormalBootMode sunxi_bmp_display--
reading bootlogo.bmp
1152054 bytes read in 31 ms (35.4 MiB/s)
bmp file buffer: 0x40000000, bmp_info.buffer: 46400000
fetch script data boot_disp.output_full fail
screen_id =0, screen_width =1024, screen_height =600
frame buffer address 46400036
[      1.778]inter uboot shell
Read addr=40 eeprom addrlen=1 ok!!

The test ok!
secret ok
Hit any key to stop autoboot:1

zhichao 发表于 2020-2-17 14:19:02

烧写镜像和开发板一致吗,有v1是v1.1,没v1是v1.2

medany1 发表于 2020-2-17 14:30:22

本帖最后由 medany1 于 2020-2-17 14:38 编辑

zhichao 发表于 2020-2-17 14:19
烧写镜像和开发板一致吗,有v1是v1.1,没v1是v1.2
开发板是V1.2,无显示屏,烧录的镜像是sun8iw11p1_linux_OKA40i_C_uart0-1024x600.img
fetch script data boot_disp.output_full fail

medany1 发表于 2020-2-17 16:44:31

usb单独供电就会重启,需要加外接电源

zhichao 发表于 2020-2-17 17:19:12

usb只支持烧写,开发板启动需要电源
页: [1]
查看完整版本: A40i 核心板+底板,烧录官方镜像后u-boot一直重启,不能进入内核