嵌入式爱好者

查看: 26788|回复: 4

[Linux] A40i 纯核心板上电启动后卡死

[复制链接]

4

主题

11

帖子

34

积分

A40i/T3/T507/T527通行证

扫一扫,手机访问本帖
发表于 2021-7-1 18:17:55 | 显示全部楼层 |阅读模式
我这边没有使用底板,纯核心板启动,只引出了几个串口,从Debug串口看启动是正常的,但是启动完成进入后就卡死了,输入任何命令都没有反馈;
放回核心板是OK的,请问这个是什么问题?

微信截图_20210701181044.png
回复

使用道具 举报

0

主题

158

帖子

385

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证

发表于 2021-7-2 08:51:25 | 显示全部楼层
您方便发您全部的打印信息吗?
点评回复 支持 反对

使用道具 举报

0

主题

1173

帖子

2194

积分

发表于 2021-7-2 08:54:01 | 显示全部楼层
您有修改过镜像吗,您把完整开机打印信息发过来看看吧,这些打印信息有点少,没法定位原因

点评

没有修改过镜像,完整打印信息如下: HELLO! BOOT0 is starting! [ 0.35]HELLO! BOOT0 is starting! [ 0.39]boot0 commit : 74581757d98a20b111500764817c436cdafbdae3 [  详情 回复 发表于 2021-7-2 10:07
点评回复 支持 反对

使用道具 举报

4

主题

11

帖子

34

积分

A40i/T3/T507/T527通行证

 楼主| 发表于 2021-7-2 10:07:24 | 显示全部楼层
zhichao 发表于 2021-7-2 08:54
您有修改过镜像吗,您把完整开机打印信息发过来看看吧,这些打印信息有点少,没法定位原因

没有修改过镜像,完整打印信息如下:

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

[     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.109]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.1
[     0.204][mmc]: HSSDR52/SDR25 8 bit
[     0.208][mmc]: 50000000 Hz
[     0.210][mmc]: 7456 MB
[     0.213][mmc]: ***SD/MMC 2 init OK!!!***
[     0.286]Succeed in loading uboot from sdmmc flash.
[     0.291]Entry_name        = u-boot
[     0.306]Ready to disable icache.
[     0.310]0xffffffff 0xffffffff
[     0.313]0xffffffff 0xffffffff
[     0.316]0xffffffff 0xffffffff
[     0.319]0xffffffff 0xffffffff
[     0.322]0xffffffff 0xffffffff
[     0.325]0xffffffff 0xffffffff
[     0.328]Jump to secend Boot.


U-Boot 2014.07 (Dec 05 2020 - 07:48:31) Allwinner Technology

uboot commit : e91bc0df2308fa51b97863036b82e1eda546aac9

i2c_init: by cpux
i2c_init ok
[      0.343]pmbus:   ready
[      0.357]PMU: AXP221
[      0.357]PMU: AXP22x found
[      0.358]PMU: dcdc2 1160
[      0.359]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: 0x76e8dbf8
Relocation Offset is: 35ee4000
In:    serial
Out:   serial
Err:   serial
gic: normal mode
[      0.510]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
boot_disp.output_disp=0
boot_disp.output_type=3
boot_disp.output_mode=10
fetch script data boot_disp.auto_hpd fail
disp0 device type(4) enable
attched ok, mgr0<-->device0, type=4, mode=10
[      1.261]end
workmode = 0,storage type = 2
[      1.261]MMC:         2
[mmc]: mmc driver ver 2016-07-01 15:50:00
Read addr=40 eeprom addrlen=1 ok!!

The test ok!
secret ok
[mmc]: mmc_update_timing_para: error sdc_no 2
SUNXI SD/MMC: 2
[mmc]: 50 MHz...
[mmc]: sample: 63 - 158(ps)
[mmc]: ds: 62 - 161(ps)
[mmc]: 100 MHz...
[mmc]: sample: 32 - 156(ps)
[mmc]: ds: 32 - 156(ps)
[mmc]: 200 MHz...
[mmc]: sample: 16 - 156(ps)
[mmc]: ds: 16 - 156(ps)
[mmc]: media type 0x8000000
[mmc]: ************Try MMC card 2************
[mmc]: host caps: 0x6f
[mmc]: MID 000015 PSN a2008f32
[mmc]: PNM 8GTF4R -- 0x38-47-54-46-34
[mmc]: PRV 0.6
[mmc]: MDT m-12 y-2020
[mmc]: MMC v5.1
[mmc]: speed mode     : HSSDR52/SDR25
[mmc]: clock          : 50000000 Hz
[mmc]: bus_width      : 8 bit
[mmc]: user capacity  : 7456 MB
[mmc]: boot capacity  : 4096 KB
[mmc]: rpmb capacity  : 512 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 : 0x39
[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.473]sunxi flash init ok
sunxi secure storage is not supported
[      1.479]usb burn from boot
delay time 0
[      1.571]usb prepare ok
[      2.370]timer occur
[      2.371]overtime
[      2.404]do_burn_from_boot usb : no usb exist
--------fastboot partitions--------
-total partitions:7-
-name-        -start-       -size-      
boot-resource: 1000000       e00000      
env         : 1e00000       400000      
boot        : 2200000       1000000     
rootfs      : 3200000       786a0000   
private     : 7b8a0000      1000000     
usr         : 7c8a0000      7e400000   
UDISK       : faca0000      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 = 3( 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 29 ms (37.9 MiB/s)
bmp file buffer: 0x40000000, bmp_info.buffer: 46400000
fetch script data boot_disp.output_full fail
screen_id =0, screen_width =1920, screen_height =1080
frame buffer address 46400036
[      2.665]inter uboot shell
Press SPACE to abort autoboot
read partition: boot or recovery
[      3.984]sunxi flash read :offset 2200000, 14410235 bytes OK
Android's image name: sun8i_arm
Kernel load addr 0x40008000 size 11696 KiB
RAM disk load addr 0x41000000 size 1353 KiB
read private data
private maybe empty
read private data
private maybe empty
[      4.056]ready to boot
prepare for kernel
[mmc]: mmc exit start
[mmc]: 50 MHz...
[mmc]: sample: 61 - 163(ps)
[mmc]: ds: 61 - 163(ps)
[mmc]: 100 MHz...
[mmc]: sample: 31 - 161(ps)
[mmc]: ds: 31 - 161(ps)
[mmc]: 200 MHz...
[mmc]: sample: 15 - 166(ps)
[mmc]: ds: 15 - 166(ps)
[mmc]: mmc 2 exit ok

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.65 (bluesky@a97aa656d1ab) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #357 SMP PREEMPT Sat Dec 5 08:16:51 UTC 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun8iw11p1, model: sun8iw11p1
[    0.000000] bootconsole [earlycon0] enabled
[/init]: RootDevice is "/dev/mmcblk0p7"
[/init]: Try to load EMMC ...
e2fsck 1.41.14 (22-Dec-2010)
/dev/mmcblk0p7: recovering journal
/dev/mmcblk0p7: clean, 9640/11520 files, 502492/1965588 blocks
mount: proc is already mounted or /proc busy
       proc is already mounted on /proc
mount: devtmpfs is already mounted or /dev busy
init asteroid  env##
Populating /dev/ using udev: done
init qt env########################
Starting sshd: OK
Starting telnetd: OK
Starting vsftpd: OK
================Usrage================
/fbinit           means:clean /dev/fb0
/fbinit 0          means:clean /dev/fb0
/fbinit 1          means:clean /dev/fb1
/fbinit 2          means:clean /dev/fb2
================usrage================
cleanning /dev/fb0 ...
clean /dev/fb0 finish
e2fsck 1.43.3 (04-Sep-2016)
/dev/mmcblk0p9 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
D-Bus per-session daemon address is: unix:abstract=/tmp/dbus-4mNyUVGKYu,guid=61558b83ea90f8b306aaedf200000004
Unknown username "pulse" in message bus configuration file
/etc/autorun.sh: line 5: /qt5.9.sh: No such file or directory
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mmcblk0p9: 11/348816 files (0.0% non-contiguous), 21908/1393504 blocks
/etc/init.d/rcS: line 127: /adb.sh: No such file or directory

Welcome to Allwinner A40i Linux Platform V1.3
A40i login: root
Password:
login[1284]: root login on 'ttyS0'
-sh: /qt5.9.sh: No such file or directory
#
点评回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 12:36

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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