嵌入式爱好者

查看: 17980|回复: 4

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

[复制链接]

11

主题

24

帖子

71

积分

A40i/T3/T507/T527通行证i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2020-2-17 14:15:32 | 显示全部楼层 |阅读模式
本帖最后由 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[0] value = 0x00000000
[     0.92]rtc[1] value = 0x00000000
[     0.95]rtc[2] value = 0x00000000
[     0.98]rtc[3] value = 0x00000000
[     0.102]rtc[4] value = 0x00000000
[     0.105]rtc[5] 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]: mmc driver ver 2016-07-01 15:30
[     0.173][mmc]: wrong freq 2 at spd md 2
[     0.186][mmc]: ***Try MMC card 2***
[     0.202][mmc]: MMC 5.0
[     0.204][mmc]: HSSDR52/SDR25 8 bit
[     0.208][mmc]: 50000000 Hz
[     0.211][mmc]: 7264 MB
[     0.213][mmc]: ***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=100Mhz  MBus=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]: mmc driver ver 2016-07-01 15:50:00
[mmc]: mmc_update_timing_para: error sdc_no 2
SUNXI SD/MMC: 2
[mmc]: 50 MHz...
[mmc]: sample: 63 - 158(ps)
[mmc]: ds: 63 - 158(ps)
[mmc]: 100 MHz...
[mmc]: sample: 33 - 151(ps)
[mmc]: ds: 34 - 147(ps)
[mmc]: 200 MHz...
[mmc]: sample: 16 - 156(ps)
[mmc]: ds: 17 - 147(ps)
[mmc]: media type 0x8000000
[mmc]: ************Try MMC card 2************
[mmc]: host caps: 0x6f
[mmc]: MID 000013 PSN 0ee758d6
[mmc]: PNM Q2J55L -- 0x51-32-4a-35-35
[mmc]: PRV 1.0
[mmc]: MDT m-7 y-2019
[mmc]: MMC v5.0
[mmc]: speed mode     : HSSDR52/SDR25
[mmc]: clock          : 50000000 Hz
[mmc]: bus_width      : 8 bit
[mmc]: user capacity  : 7264 MB
[mmc]: boot capacity  : 16384 KB
[mmc]: rpmb capacity  : 4096 KB
[mmc]: ************SD/MMC 2 init OK!!!************
[mmc]: use default speed mode: 1-HSSDR52/SDR25, ifreq: 2
[mmc]: ========best spd md: 1-HSSDR52/SDR25, freq: 2-50000000
[mmc]: already at HSSDR52_SDR25 mode
[mmc]: erase_grp_size      : 0x400WrBlk*0x200=0x80000 Byte
[mmc]: secure_feature      : 0x55
[mmc]: secure_removal_type : 0x1
[mmc]: EOL Info(Rev blks): Normal
[mmc]: Wear out(type A): 0%-10% life time used
[mmc]: 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 dram  end
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

回复

使用道具 举报

0

主题

1173

帖子

2194

积分

发表于 2020-2-17 14:19:02 | 显示全部楼层
烧写镜像和开发板一致吗,有v1是v1.1,没v1是v1.2

点评

烧录的镜像是sun8iw11p1_linux_OKA40i_C_uart0-1024x600  详情 回复 发表于 2020-2-17 14:30
点评回复 支持 反对

使用道具 举报

11

主题

24

帖子

71

积分

A40i/T3/T507/T527通行证i.MX6Q通行证

 楼主| 发表于 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
点评回复 支持 反对

使用道具 举报

11

主题

24

帖子

71

积分

A40i/T3/T507/T527通行证i.MX6Q通行证

 楼主| 发表于 2020-2-17 16:44:31 | 显示全部楼层
usb单独供电就会重启,需要加外接电源
点评回复 支持 反对

使用道具 举报

0

主题

1173

帖子

2194

积分

发表于 2020-2-17 17:19:12 | 显示全部楼层
usb只支持烧写,开发板启动需要电源
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-19 20:57

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表