xiaojia-tech 发表于 2021-7-1 18:17:55

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

我这边没有使用底板,纯核心板启动,只引出了几个串口,从Debug串口看启动是正常的,但是启动完成进入后就卡死了,输入任何命令都没有反馈;
放回核心板是OK的,请问这个是什么问题?

tanglu 发表于 2021-7-2 08:51:25

您方便发您全部的打印信息吗?

zhichao 发表于 2021-7-2 08:54:01

您有修改过镜像吗,您把完整开机打印信息发过来看看吧,这些打印信息有点少,没法定位原因

xiaojia-tech 发表于 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 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.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 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.1
[   0.204]: HSSDR52/SDR25 8 bit
[   0.208]: 50000000 Hz
[   0.210]: 7456 MB
[   0.213]: ***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=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: 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 driver ver 2016-07-01 15:50:00
Read addr=40 eeprom addrlen=1 ok!!

The test ok!
secret ok
: mmc_update_timing_para: error sdc_no 2
SUNXI SD/MMC: 2
: 50 MHz...
: sample: 63 - 158(ps)
: ds: 62 - 161(ps)
: 100 MHz...
: sample: 32 - 156(ps)
: ds: 32 - 156(ps)
: 200 MHz...
: sample: 16 - 156(ps)
: ds: 16 - 156(ps)
: media type 0x8000000
: ************Try MMC card 2************
: host caps: 0x6f
: MID 000015 PSN a2008f32
: PNM 8GTF4R -- 0x38-47-54-46-34
: PRV 0.6
: MDT m-12 y-2020
: MMC v5.1
: speed mode   : HSSDR52/SDR25
: clock          : 50000000 Hz
: bus_width      : 8 bit
: user capacity: 7456 MB
: boot capacity: 4096 KB
: rpmb capacity: 512 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 : 0x39
: EOL Info(Rev blks): Normal
: Wear out(type A): 0%-10% life time used
: 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 dramend
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 exit start
: 50 MHz...
: sample: 61 - 163(ps)
: ds: 61 - 163(ps)
: 100 MHz...
: sample: 31 - 161(ps)
: ds: 31 - 161(ps)
: 200 MHz...
: sample: 15 - 166(ps)
: ds: 15 - 166(ps)
: 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 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 enabled
: RootDevice is "/dev/mmcblk0p7"
: 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 asteroidenv##
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: root login on 'ttyS0'
-sh: /qt5.9.sh: No such file or directory
#
页: [1]
查看完整版本: A40i 纯核心板上电启动后卡死