您尚未登录。

楼主 # 2021-08-21 21:56:54

Sonder
会员
注册时间: 2021-01-22
已发帖子: 5
积分: 2.5

潜水很久了,小白来问大家一个问题,内核启动失败

在论坛里翻看了许多大家发的入门帖子,奈何本人十分小白,在自己编译A33 linux固件的时候启动问题,现在放出启动时串口输出,请大家闲暇之余帮我分析下问题,在这里谢谢大家了

离线

楼主 #1 2021-08-21 21:57:28

Sonder
会员
注册时间: 2021-01-22
已发帖子: 5
积分: 2.5

Re: 潜水很久了,小白来问大家一个问题,内核启动失败

HELLO! BOOT0 is starting!
boot0 version : 3.1.0
reg_addr 0x01f00100 =0x00000000
reg_addr 0x01f00104 =0x00000000
reg_addr 0x01f00108 =0x00000000
reg_addr 0x01f0010c =0x00000000
reg_addr 0x01f00110 =0x00000000
reg_addr 0x01f00114 =0x00000000
DRAM DRIVE INFO: V1.5
DRAM CLK =552 MHZ
DRAM simple test OK.
dram size =512
card boot number = 2
card no is 2
sdcard 2 line count 0
[mmc]: mmc driver ver 2014-07-07 16:54
[mmc]: ***Try SD card 2***
[mmc]: mmc 2 cmd 8 timeout, err 0x00000100
[mmc]: mmc 2 cmd 8 err 0x00000100
[mmc]: mmc 2 send if cond failed
[mmc]: mmc 2 cmd 55 timeout, err 0x00000100
[mmc]: mmc 2 cmd 55 err 0x00000100
[mmc]: mmc 2 send app cmd failed
[mmc]: ***Try MMC card 2***
[mmc]: MMC ver 4.0
[mmc]: SD/MMC Card: 4bit, capacity: 7456MB
[mmc]: vendor: Man 0x00150100 Snr 0x01dd06b4
[mmc]: product: 8GME4
[mmc]: revision: 5.2
[mmc]: ***SD/MMC 2 init OK!!!***
sdcard 2 init ok
The size of uboot is 0x000bc000.
sum=0x463dbb11
src_sum=0x463dbb11
set_mmc_para,sdly 50M 0
set_mmc_para,sdly 25M 0
Succeed in loading uboot from sdmmc flash.
Ready to disable icache.
Jump to secend Boot.
[      0.332]

U-Boot 2011.09-rc1-00004-ga1ab41d (Jul 28 2014 - 16:21:09) Allwinner Technology 

[      0.340]version: 1.1.0
[      0.427]pmbus:   ready
[      0.429]PMU: AXP221
[      0.431]PMU: AXP22x found
[      0.435]PMU: dcdc3 1200
[      0.438]PMU: pll1 1008 Mhz,PLL6=600 Mhz
AXI=336 Mhz,AHB=200 Mhz, APB1=100 Mhz 
set power on vol to default
dcdc1_vol = 3000
dcdc2_vol = 1100
dcdc3_vol = 1200
dcdc4_vol = 0
dcdc5_vol = 1500
aldo2_vol = 2500
aldo3_vol = 3000
dldo3_vol = 3300
find power_sply to end
no battery, limit to dc
fel key old mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      0.488]DRAM:  512 MiB
relocation Offset is: 15b11000
smcl's set manager is NULL
workmode = 0
MMC:     2
[      0.686][mmc]: mmc driver ver 2014-07-15 17:16:00
[      0.691][mmc]: get sdc_2xmode ok, val = 1
[      0.695][mmc]: get sdc_f_max fail,use default sdc_f_max 50000000
[      0.701][mmc]: get card_line ok, card_line = 4
[      0.706][mmc]: get sdc_ex_dly_used fail,use default dly
[      0.711][mmc]: SUNXI SD/MMC: 2
[      0.715][mmc]: mmc 2 2xmode config clk
[      0.728][mmc]: ************Try SD card 2************
[      0.733][mmc]: mmc 2 cmd 8 timeout, err 100
[      0.738][mmc]: smc 2 err, cmd 8,  RTO
[      0.743][mmc]: mmc 2 mmc cmd 8 err 0x00000100
[      0.747][mmc]: mmc send if cond failed
[      0.751][mmc]: mmc 2 cmd 55 timeout, err 100
[      0.755][mmc]: smc 2 err, cmd 55,  RTO
[      0.761][mmc]: mmc 2 mmc cmd 55 err 0x00000100
[      0.765][mmc]: send app cmd failed
[      0.768][mmc]: ************Try MMC card 2************
[      0.793][mmc]: Invalid ext_csd revision 8
[      0.797][mmc]: mmc 2 2xmode config clk
[      0.807][mmc]: mmc 2 2xmode config clk
[      0.817][mmc]: mmc 2 2xmode config clk
[      0.826][mmc]: MID 000015 PSN dd06b4db
[      0.829][mmc]: PNM 8GME4R -- 0x38-47-4d-45-34-52
[      0.834][mmc]: PRV 0.1
[      0.837][mmc]: MDT m-12 y-2016
[      0.840][mmc]: MMC ver 4.0
[      0.843][mmc]: ---------------mmc->clock 50000000-----------
[      0.848][mmc]: ---------------mmc->bus_width 4--------------
[      0.854][mmc]: SD/MMC Card: 4bit, capacity: 7456MB
[      0.859][mmc]: boot0 capacity: 4000KB,boot1 capacity: 4000KB
[      0.865][mmc]: ************SD/MMC 2 init OK!!!************
[      0.871]sunxi flash init ok
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:6-
-name-        -start-       -size-      
boot-res    : 1000000       1000000     
env         : 2000000       1000000     
boot        : 3000000       1000000     
rootfs      : 4000000       40000000    
data        : 44000000      40000000    
UDISK       : 84000000      0           
-----------------------------------
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_mmc
key 0
recovery key high 5, low 3
cant find fstbt value
no misc partition is found
misc_message->command = 0 
to be run cmd=run setargs_mmc boot_normal
mount part name boot-res
cant open script.bin, maybe it is not exist
WORK_MODE_BOOT
board_status_probe
sunxi_bmp_logo_display
[      0.977][mmc]: blkcnt should not be 0
screen_id =0, screen_width =1024, screen_height =600
[      0.988]Hit any key to stop autoboot:  0 
read boot or recovery all
[      1.573]sunxi flash read :offset 3000000, 13875259 bytes OK
no signature
[      1.583]ready to boot
para err in disp_ioctl, cmd = 0xa,screen id = 1
[      1.590][mmc]: mmc exit start
[      1.594][mmc]: mmc 2 2xmode config clk
[      1.604][mmc]: mmc 2 2xmode config clk
[      1.616][mmc]: mmc 2 cmd 8 timeout, err 100
[      1.621][mmc]: smc 2 err, cmd 8,  RTO
[      1.626][mmc]: mmc 2 mmc cmd 8 err 0x00000100
[      1.630][mmc]: mmc send if cond failed
[      1.634][mmc]: mmc 2 cmd 55 timeout, err 100
[      1.638][mmc]: smc 2 err, cmd 55,  RTO
[      1.644][mmc]: mmc 2 mmc cmd 55 err 0x00000100
[      1.648][mmc]: send app cmd failed
[      1.658][mmc]: mmc 2 exit ok
[      1.661]
Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.39 (root@sonder-virtual-machine) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #9 SMP PREEMPT Sat Aug 21 21:42:17 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun8i
[    0.000000] cma: CMA: reserved 120 MiB at 58800000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    0.000000] PERCPU: Embedded 8 pages/cpu @c0fb9000 s10688 r8192 d13888 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p7 init=/init ion_cma_512m=120m ion_cma_1g=176m ion_carveout_512m=96m ion_carveout_1g=150m coherent_pool=4m loglevel=7 partitions=boot-res@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:data@mmcblk0p8:UDISK@mmcblk0p1 boot_type=2 config_size=0
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 381872k/381872k available, 142416k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08ea6e0   (9098 kB)
[    0.000000]       .init : 0xc08eb000 - 0xc093d9c0   ( 331 kB)
[    0.000000]       .data : 0xc093e000 - 0xc09b8bc0   ( 491 kB)
[    0.000000]        .bss : 0xc09ba098 - 0xc0b21f08   (1440 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:416
[    0.000000] try to syncboot of clk ats
[    0.000000] try to syncboot of clk sdmmc2
[    0.000000] try to syncboot of clk uart0
[    0.000000] try to syncboot of clk pll_ddr1
[    0.000000] try to syncboot of clk debe0
[    0.000000] try to syncboot of clk dma
[    0.000000] try to syncboot of clk sat
[    0.000000] try to syncboot of clk pio
[    0.000000] try to syncboot of clk mbus
[    0.000000] try to syncboot of clk drc0
[    0.000000] try to syncboot of clk lcd0ch0
[    0.000000] try to syncboot of clk axi
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000241] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000268] pid_max: default: 32768 minimum: 301
[    0.000493] Security Framework initialized
[    0.000546] SELinux:  Initializing.
[    0.000625] AppArmor: AppArmor disabled by boot time parameter
[    0.000729] Mount-cache hash table entries: 512
[    0.001834] Initializing cgroup subsys debug
[    0.001853] Initializing cgroup subsys cpuacct
[    0.001865] Initializing cgroup subsys freezer
[    0.001910] CPU: Testing write buffer coherency: ok
[    0.001964] ftrace: allocating 23575 entries in 70 pages
[    0.030327] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.030348] [sunxi_smp_prepare_cpus] enter
[    0.030395] Setting up static identity map for 0x4063a030 - 0x4063a088
[    0.010000] CPU1: Booted secondary processor
[    0.010000] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.010000] CPU2: Booted secondary processor
[    0.010000] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010000] CPU3: Booted secondary processor
[    0.010000] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.210184] Brought up 4 CPUs
[    0.210184] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.210432] devtmpfs: initialized
[    0.214465] pinctrl core: initialized pinctrl subsystem
[    0.220335] dummy: 
[    0.225472] NET: Registered protocol family 16
[    0.242678] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.242780] script_sysfs_init success
[    0.243098] sunxi pinctrl probe enter
[    0.243819] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.245468] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.245694] axp_pinctrl_probe enter...
[    0.245872] gpiochip_add: registered GPIOs 1024 to 1029 on device: axp-pinctrl
[    0.245892] mainkey total count : 84
[    0.245903] mainkey name : product, pin count : 0
[    0.245913] mainkey name : platform, pin count : 0
[    0.245923] mainkey name : target, pin count : 0
[    0.245933] mainkey name : key_detect_en, pin count : 0
[    0.245943] mainkey name : power_sply, pin count : 0
[    0.245953] mainkey name : card_boot, pin count : 0
[    0.245963] mainkey name : card0_boot_para, pin count : 6
[    0.245976] mainkey name : card2_boot_para, pin count : 6
[    0.245989] mainkey name : twi_para, pin count : 2
[    0.246001] mainkey name : uart_para, pin count : 2
[    0.246013] mainkey name : force_uart_para, pin count : 2
[    0.246024] mainkey name : jtag_para, pin count : 4
[    0.246035] mainkey name : clock, pin count : 0
[    0.246045] mainkey name : pm_para, pin count : 0
[    0.246055] mainkey name : dram_para, pin count : 0
[    0.246065] mainkey name : pm_para, pin count : 0
[    0.246075] mainkey name : wakeup_src_para, pin count : 2
[    0.246085] mainkey name : twi0, pin count : 2
[    0.246096] mainkey name : twi1, pin count : 2
[    0.246106] mainkey name : twi2, pin count : 2
[    0.246116] mainkey name : uart0, pin count : 2
[    0.246127] mainkey name : uart1, pin count : 4
[    0.246137] mainkey name : uart2, pin count : 2
[    0.246148] mainkey name : uart3, pin count : 2
[    0.246158] mainkey name : uart4, pin count : 4
[    0.246169] mainkey name : spi0, pin count : 4
[    0.246179] mainkey name : spi1, pin count : 4
[    0.246190] mainkey name : spi_devices, pin count : 0
[    0.246200] mainkey name : spi_board0, pin count : 0
[    0.246210] mainkey name : ctp_para, pin count : 2
[    0.246221] mainkey name : ctp_list_para, pin count : 0
[    0.246232] mainkey name : tkey_para, pin count : 0
[    0.246242] mainkey name : motor_para, pin count : 1
[    0.246254] map mainkey [motor_para] to pinctrl, map number [2]
[    0.246268] mainkey name : ths_para, pin count : 0
[    0.246278] mainkey name : cooler_table, pin count : 0
[    0.246288] mainkey name : nand0_para, pin count : 19
[    0.246302] mainkey name : disp_init, pin count : 0
[    0.246314] mainkey name : mipi_para, pin count : 3
[    0.246327] map mainkey [mipi_para] to pinctrl, map number [2]
[    0.246341] mainkey name : lvds_para, pin count : 17
[    0.246354] map mainkey [lvds_para] to pinctrl, map number [2]
[    0.246367] mainkey name : rgb_para, pin count : 31
[    0.246380] map mainkey [rgb_para] to pinctrl, map number [2]
[    0.246401] mainkey name : lcd1_para, pin count : 3
[    0.246412] map mainkey [lcd1_para] to pinctrl, map number [2]
[    0.246427] mainkey name : lcd0_para, pin count : 31
[    0.246442] map mainkey [lcd0_para] to pinctrl, map number [2]
[    0.246456] mainkey name : ad_tm7706_para, pin count : 8
[    0.246469] mainkey name : gpio_para, pin count : 7
[    0.246482] mainkey name : ext_rtc_para, pin count : 0
[    0.246494] mainkey name : pwm0_para, pin count : 1
[    0.246507] mainkey name : pwm1_para, pin count : 1
[    0.246519] mainkey name : csi0, pin count : 16
[    0.246532] mainkey name : mmc0_para, pin count : 7
[    0.246545] mainkey name : mmc1_para, pin count : 6
[    0.246557] mainkey name : mmc2_para, pin count : 11
[    0.246570] mainkey name : usbc0, pin count : 2
[    0.246582] map mainkey [usbc0] to pinctrl, map number [2]
[    0.246597] mainkey name : usbc1, pin count : 0
[    0.246609] mainkey name : usb_feature, pin count : 0
[    0.246621] mainkey name : msc_feature, pin count : 0
[    0.246633] mainkey name : serial_feature, pin count : 0
[    0.246645] mainkey name : gsensor_para, pin count : 1
[    0.246656] mainkey name : gsensor_list_para, pin count : 0
[    0.246667] mainkey name : gps_para, pin count : 0
[    0.246677] mainkey name : wifi_para, pin count : 8
[    0.246689] mainkey name : bt_para, pin count : 0
[    0.246699] mainkey name : 3g_para, pin count : 4
[    0.246710] mainkey name : gy_para, pin count : 0
[    0.246721] mainkey name : gy_list_para, pin count : 0
[    0.246731] mainkey name : ls_para, pin count : 1
[    0.246742] mainkey name : ls_list_para, pin count : 0
[    0.246753] mainkey name : compass_para, pin count : 0
[    0.246764] mainkey name : i2s0, pin count : 4
[    0.246775] mainkey name : i2s1, pin count : 4
[    0.246786] mainkey name : audio0, pin count : 1
[    0.246796] mainkey name : pmu1_para, pin count : 0
[    0.246807] mainkey name : pmu2_para, pin count : 0
[    0.246818] mainkey name : recovery_key, pin count : 0
[    0.246828] mainkey name : dvfs_table, pin count : 0
[    0.246839] mainkey name : Vdevice, pin count : 2
[    0.246850] mainkey name : s_uart0, pin count : 2
[    0.246861] mainkey name : s_rsb0, pin count : 2
[    0.246872] mainkey name : s_jtag0, pin count : 4
[    0.246884] mainkey name : s_powchk, pin count : 0
[    0.246894] mainkey name : mali_para, pin count : 0
[    0.246905] mainkey name : dram_dvfs_table, pin count : 0
[    0.246916] mainkey name : charging_type, pin count : 0
[    0.246927] mainkey name : dram_scene_table, pin count : 0
[    0.246938] mainkey name : leds_para, pin count : 2
[    0.246950] map mainkey [leds_para] to pinctrl, map number [4]
[    0.246961] axp pinctrl driver probe ok
[    0.248456] [sunxi-module]: [sunxi-module.0] probe success
[    0.248504] script config pll3 to 297 Mhz
[    0.248520] script config pll4 to 300 Mhz
[    0.248554] script config pll6 to 600 Mhz
[    0.248568] script config pll8 to 408 Mhz
[    0.248590] script config pll9 to 480 Mhz
[    0.248604] script config pll10 to 297 Mhz
[    0.248613] sunxi_default_clk_init
[    0.248621] try to set pll6ahb1 to 200000000
[    0.248673] try to set ahb clk source to pll6ahb1
[    0.248682] set ahb clk source to pll6ahb1
[    0.248694] try to set ahb1 to 200000000
[    0.248705] try to set apb1 to 100000000
[    0.260302] bio: create slab <bio-0> at 0
[    0.260492] [ARISC] :sunxi-arisc driver v1.60
[    0.293964] [ARISC] :arisc version: [v0.0.76]
[    0.293977] [sunxi-module]: arisc register success
[    0.513280] [ARISC] :sunxi-arisc driver v1.60 startup succeeded
[    0.514649] SCSI subsystem initialized
[    0.514649] usbcore: registered new interface driver usbfs
[    0.514649] usbcore: registered new interface driver hub
[    0.514649] usbcore: registered new device driver usb
[    0.514649] twi_chan_cfg()350 - [twi0] has no twi_regulator.
[    0.514649] twi_chan_cfg()350 - [twi1] has no twi_regulator.
[    0.514649] twi_chan_cfg()350 - [twi2] has no twi_regulator.
[    0.514649] Linux video capture interface: v2.00
[    0.520042] axp22_board axp22_board: AXP (CHIP ID: 0x06) detected
[    0.522059] axp22_dcdc1: 1600 <--> 3400 mV at 3000 mV 
[    0.522059] axp22_dcdc2: 600 <--> 1540 mV at 1100 mV 
[    0.522059] axp22_dcdc3: 600 <--> 1860 mV at 1200 mV 
[    0.522059] axp22_dcdc4: 600 <--> 1540 mV at 1100 mV 
[    0.522059] axp22_dcdc5: 1000 <--> 2550 mV at 1500 mV 
[    0.522059] axp22_rtc: 3000 mV 
[    0.522059] axp22_aldo1: 700 <--> 3300 mV at 3000 mV 
[    0.522059] axp22_aldo2: 700 <--> 3300 mV at 2500 mV 
[    0.522059] axp22_aldo3: 700 <--> 3300 mV at 3000 mV 
[    0.522059] axp22_dldo1: 700 <--> 3300 mV at 700 mV 
[    0.522059] axp22_dldo2: 700 <--> 3300 mV at 700 mV 
[    0.522059] axp22_dldo3: 700 <--> 3300 mV at 3300 mV 
[    0.522059] axp22_dldo4: 700 <--> 3300 mV at 700 mV 
[    0.522059] axp22_eldo1: 700 <--> 3300 mV at 700 mV 
[    0.522059] axp22_eldo1: supplied by axp22_dcdc1
[    0.522059] axp22_eldo2: 700 <--> 3300 mV at 700 mV 
[    0.522059] axp22_eldo2: supplied by axp22_dcdc1
[    0.522059] axp22_eldo3: 700 <--> 3300 mV at 700 mV 
[    0.522059] axp22_eldo3: supplied by axp22_dcdc1
[    0.522059] axp22_dc5ldo: 700 <--> 1400 mV at 1100 mV 
[    0.522059] axp22_ldoio0: 700 <--> 3300 mV at 3800 mV 
[    0.522059] axp22_ldoio1: 700 <--> 3300 mV at 3800 mV 
[    0.522059] axp22_dc1sw: at 700 mV 
[    0.522059] axp22_dc1sw: supplied by axp22_dcdc1
[    0.522059] input: axp22-supplyer as /devices/platform/axp22_board/axp22-supplyer.20/input/input0
[    0.530674] now_rest_vol = 100
[    0.530674] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.530885] Bluetooth: Core ver 2.16
[    0.530958] NET: Registered protocol family 31
[    0.530971] Bluetooth: HCI device and connection manager initialized
[    0.530985] Bluetooth: HCI socket layer initialized
[    0.530997] Bluetooth: L2CAP socket layer initialized
[    0.531028] Bluetooth: SCO socket layer initialized
[    0.531318] cfg80211: Calling CRDA to update world regulatory domain
[    0.531355] Switching to clocksource arch_sys_counter
[    0.553536] FS-Cache: Loaded
[    0.553892] CacheFiles: Loaded
[    0.565166] [sunxi_hci_sunxi]: sunxi-ehci1(restrict_gpio) is invalid
[    0.565182] [sunxi_hci_sunxi]: sunxi-ehci1(drv vbus) is invalid
[    0.565197] [sunxi_hci_sunxi]: get usb_regulator is nocare
[    0.565229] [sunxi_hci_sunxi]: sunxi-ohci1(restrict_gpio) is invalid
[    0.565241] [sunxi_hci_sunxi]: sunxi-ohci1(drv vbus) is invalid
[    0.565254] [sunxi_hci_sunxi]: get usb_regulator is nocare
[    0.565485] [usb_manager]: CONFIG_USB_SUNXI_USB0_OTG
[    0.565512] no usbc(0) det_vbus gpio and try to axp det_pin
[    0.565526] get usbc0(usb_restrict pin) failed
[    0.565924] [sw_udc]: udc_init: version 20080411
[    0.566428] [ddrfreq] dram_clk value is 552
[    0.566439] [ddrfreq] sunxi_ddrfreq_max=552000
[    0.566450] [ddrfreq] dram_type value is 3
[    0.566461] [ddrfreq] dram_zq value is 0x3bbb
[    0.566470] [ddrfreq] dram_odt_en value is 1
[    0.566481] [ddrfreq] dram_para1 value is 0x10f20200
[    0.566491] [ddrfreq] dram_para2 value is 0x0
[    0.566502] [ddrfreq] dram_mr0 value is 0x1c70
[    0.566512] [ddrfreq] dram_mr1 value is 0x40
[    0.566522] [ddrfreq] dram_mr2 value is 0x18
[    0.566532] [ddrfreq] dram_mr3 value is 0x0
[    0.566542] [ddrfreq] dram_tpr0 value is 0x47214f
[    0.566552] [ddrfreq] dram_tpr1 value is 0x1c2294b
[    0.566563] [ddrfreq] dram_tpr2 value is 0x61043
[    0.566573] [ddrfreq] dram_tpr3 value is 0x0
[    0.566583] [ddrfreq] dram_tpr4 value is 0x0
[    0.566593] [ddrfreq] dram_tpr5 value is 0x0
[    0.566603] [ddrfreq] dram_tpr6 value is 0x0
[    0.566613] [ddrfreq] dram_tpr7 value is 0x0
[    0.566623] [ddrfreq] dram_tpr8 value is 0x0
[    0.566633] [ddrfreq] dram_tpr9 value is 0x0
[    0.566643] [ddrfreq] dram_tpr10 value is 0x0
[    0.566653] [ddrfreq] dram_tpr11 value is 0x0
[    0.566664] [ddrfreq] dram_tpr12 value is 168
[    0.566673] [ddrfreq] sunxi_ddrfreq_min=168000
[    0.566683] [ddrfreq] dram_tpr13 value is 0x10901
[    0.566880] [dsm] use sysconfig
[    0.566889] [dsm] -----------Dram scene-freq Table------------
[    0.566901] [dsm] scene =    0       frequency = 552000KHz
[    0.566911] [dsm] scene =    1       frequency = 360000KHz
[    0.566921] [dsm] scene =    2       frequency = 240000KHz
[    0.566931] [dsm] scene =    3       frequency = 168000KHz
[    0.566940] [dsm] --------------------------------------------
[    0.567077] [ddrfreq] LV_count value is 3
[    0.567100] [ddrfreq] ---------------Dram V-F Table---------------
[    0.567112] [ddrfreq] voltage = 1100mv       frequency = 552000KHz
[    0.567122] [ddrfreq] voltage = 1100mv       frequency = 360000KHz
[    0.567133] [ddrfreq] voltage = 1100mv       frequency =    0KHz
[    0.567142] [ddrfreq] --------------------------------------------
[    0.567320] [ddrfreq] last_vdd=1100
[    0.567400] [ddrfreq] __sram_start: 0xc09b9000, __sram_end: 0xc09ba074, __sram_text_start: 0xf0000000, __sram_data_end: 0xf0001074
[    0.567415] [ddrfreq] sunxi dramfreq probe ok!
[    0.567761] NET: Registered protocol family 2
[    0.568061] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.568725] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.568993] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[    0.569235] TCP: Hash tables configured (established 16384 bind 16384)
[    0.569248] TCP: reno registered
[    0.569263] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.569290] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.569626] NET: Registered protocol family 1
[    0.570121] RPC: Registered named UNIX socket transport module.
[    0.570133] RPC: Registered udp transport module.
[    0.570143] RPC: Registered tcp transport module.
[    0.570152] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.570413] Unpacking initramfs...
[    0.748160] Freeing initrd memory: 2596K
[    0.748641] [pm]aw_pm_init!
[    0.748654] standby_mode = 1. 
[    0.748663] wakeup src cnt is : 2. 
[    0.748675] [exstandby]leave extended_standby_enable_wakeup_src : event 0x2000
[    0.748687] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x80
[    0.748700] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x0
[    0.748712] [exstandby]leave extended_standby_enable_wakeup_src : event 0x2000
[    0.748724] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x280
[    0.748736] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x0
[    0.748761] [wifi]: select wifi: rtl8189es !!
[    0.749049] [rtl8189es]: exec rtl8189es_wifi_gpio_init
[    0.749064] [rtl8189es]: module power name axp22_aldo1
[    0.749076] [rtl8189es]: module power ext1 name axp22_dldo1
[    0.749087] [rtl8189es]: module power ext2 name axp22_dldo2
[    0.749099] [rtl8189es]: rtl8189es module power set by axp.
[    0.749291] [rtl8189es]: first time
[    0.749553] [rtl8189es]: regulator on.
[    0.851610] gpio rtl8189es_shdn set val 0, act val 0
[    0.851645] [wifi_pm]: wifi gpio init is OK !!
[    0.851705] sunxi_reg_init enter
[    0.852615] audit: initializing netlink socket (disabled)
[    0.852680] type=2000 audit(0.850:1): initialized
[    0.855382] NTFS driver 2.1.30 [Flags: R/W].
[    0.855589] fuse init (API version 7.18)
[    0.856098] msgmni has been set to 990
[    0.858381] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.858401] io scheduler noop registered
[    0.858411] io scheduler deadline registered
[    0.858514] io scheduler cfq registered (default)
[    0.858990] failed to get normal led pin assign
[    0.859004] failed to get standby led pin assign
[    0.859015] gpio_pin_1(39) gpio_request
[    0.859129] gpio_pin_2(233) gpio_request
[    0.859245] gpio_pin_3(232) gpio_request
[    0.859354] gpio_pin_4(231) gpio_request
[    0.859457] gpio_pin_5(230) gpio_request
[    0.859554] gpio_pin_6(34) gpio_request
[    0.859661] gpio_pin_7(35) gpio_request
[    0.859816] gpio name is PB7, ret = 0
[    0.859959] gpio name is PH9, ret = 0
[    0.860165] gpio name is PH8, ret = 0
[    0.860298] gpio name is PH7, ret = 0
[    0.860426] gpio name is PH6, ret = 0
[    0.860560] gpio name is PB2, ret = 0
[    0.860683] gpio name is PB3, ret = 0
<4>[    0.860819] gpio_init finish with uesd 1! 
[    0.860831] pwm module init!
[    0.861470] sw_uart_get_devinfo()1416 - uart0 has no uart_regulator.
[    0.861814] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.861838] sw_console_setup()1176 - console setup baud 115200 parity n bits 8, flow n
[    1.014556] console [ttyS0] enabled
[    1.115336] loop: module loaded
[    1.301019] sunxi_spi_chan_cfg()1368 - [spi-0] has no spi_regulator.
[    1.583363] sunxi_spi_chan_cfg()1368 - [spi-1] has no spi_regulator.
[    1.964716] tun: Universal TUN/TAP device driver, 1.6
[    2.060278] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.251566] PPP generic driver version 2.4.2
[    2.442066] PPP BSD Compression module registered
[    2.893206] PPP Deflate Compression module registered
[    2.905533] PPP MPPE Compression module registered
[    2.910894] NET: Registered protocol family 24
[    2.915867] PPTP driver version 0.8.5
[    2.920200] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.927561] [sunxi_hci_sunxi]: [sunxi-ehci1]: probe, pdev->name: sunxi-ehci, pdev->id: 1, sunxi_ehci: 0xc0a1462c
[    2.938888] [sunxi_hci_sunxi]: [sunxi-ehci1]: open clock, is_open: 0
[    2.965981] [sunxi_hci_sunxi]: [sunxi-ehci1]: Set USB Power ON
[    2.972479] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.981407] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    2.991679] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    3.010035] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    3.017392] hub 1-0:1.0: USB hub found
[    3.021599] hub 1-0:1.0: 1 port detected
[    3.026416] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.033367] [sunxi_hci_sunxi]: [sunxi-ohci1]: probe, pdev->name: sunxi-ohci, pdev->id: 1, sunxi_ohci: 0xc0a14730
[    3.044691] [sunxi_hci_sunxi]: [sunxi-ohci1]: open clock, is_open: 0
[    3.071780] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.080315] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 2
[    3.088754] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    3.154660] hub 2-0:1.0: USB hub found
[    3.158843] hub 2-0:1.0: 1 port detected
[    3.163752] usbcore: registered new interface driver cdc_acm
[    3.170058] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.178945] Initializing USB Mass Storage driver...
[    3.184493] usbcore: registered new interface driver usb-storage
[    3.191180] USB Mass Storage support registered.
[    3.196345] usbcore: registered new interface driver ums-alauda
[    3.202973] usbcore: registered new interface driver ums-cypress
[    3.209679] usbcore: registered new interface driver ums-datafab
[    3.216405] usbcore: registered new interface driver ums_eneub6250
[    3.223325] usbcore: registered new interface driver ums-freecom
[    3.230051] usbcore: registered new interface driver ums-isd200
[    3.236659] usbcore: registered new interface driver ums-jumpshot
[    3.243481] usbcore: registered new interface driver ums-karma
[    3.249993] usbcore: registered new interface driver ums-onetouch
[    3.256831] usbcore: registered new interface driver ums-realtek
[    3.263615] usbcore: registered new interface driver ums-sddr09
[    3.270252] usbcore: registered new interface driver ums-sddr55
[    3.276874] usbcore: registered new interface driver ums-usbat
[    3.283489] usbcore: registered new interface driver usbserial
[    3.289968] usbserial: USB Serial Driver core
[    3.294870] usbcore: registered new interface driver option
[    3.301109] USB Serial support registered for GSM modem (1-port)
[    3.308128] [sw_udc]: [sunxi_usb_udc]: binding gadget driver 'android_usb'
[    3.315794] [sw_udc]: alloc request: ep(0xc0986f90, ep0, 64), req(0xd760e140)
[    3.323743] sunxi_udc_set_selfpowered_2300: usb device is not active
[    3.330811] [sw_udc]: sunxi_udc_pullup, is_on = 0
[    3.336037] sunxi_udc_set_pullup_2317: usb device is not active
[    3.342727] file system registered
[    3.348480] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    3.356145] android_usb gadget: Number of LUNs=3
[    3.361287]  lun0: LUN: removable file: (no medium)
[    3.366701]  lun1: LUN: removable file: (no medium)
[    3.372130]  lun2: LUN: removable file: (no medium)
[    3.377928] android_bind, serial_unique = 1
[    3.382601] sunxi_udc_set_selfpowered_2300: usb device is not active
[    3.389669] android_usb gadget: android_usb ready
[    3.394923] [sw_hcd0]: usb host driver initialize........
[    3.401020] [sw_hcd0]: open_usb_clock
[    3.405407] [sunxi_hcd0]: host_init_state = 1
[    3.410470] [sw_hcd0]: platform is usb host
[    3.415167] [sw_hcd0]: sunxi_hcd_init_controller: sunxi_hcd_host0: USB Host mode controller at f1c19000 using PIO, IRQ 103
[    3.427472] sunxi_hcd_host0 sunxi_hcd_host0: sunxi_hcd host driver
[    3.434357] sunxi_hcd_host0 sunxi_hcd_host0: new USB bus registered, assigned bus number 3
[    3.444187] hub 3-0:1.0: USB hub found
[    3.448363] hub 3-0:1.0: 1 port detected
[    3.453118] [sw_hcd0]: sunxi_usb_host0_disable start
[    3.458634] [sw_hcd0]: sunxi_hcd_wait_for_disconnect cnt=0
[    3.464748] [sunxi_hcd_host0]: Set USB Power OFF
[    3.469979] -------sunxi_hcd0_soft_disconnect---------
[    3.475682] wrn: hcd is not enable, need not stop hcd
[    3.481302] [sunxi_hcd_host0]: Set USB Power OFF
[    3.486552] [sw_hcd0]: close_usb_clock
[    3.490751] [sw_hcd0]: sunxi_usb_host0_disable end
[    3.496468] mousedev: PS/2 mouse device common for all mice
[    3.503238] [RTC] WARNING: Rtc time will be wrong!!
[    3.508917] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    3.516423] sunxi cedar version 0.1 
[    3.520460] [cedar]: install start!!!
[    3.524754] [cedar]: install end!!!
[    3.531762] axp22_dcdc1: Failed to create debugfs directory
[    3.539646] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    3.549096] Bluetooth: HCI UART driver ver 2.2
[    3.554118] Bluetooth: HCI H4 protocol initialized
[    3.559436] Bluetooth: HCI BCSP protocol initialized
[    3.565053] usbcore: registered new interface driver btusb
[    3.571159] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    3.577591] Bluetooth: MSM Sleep Mode Driver Ver 1.2
[    3.583203] Bluetooth: get ap6xxx ap6xxx_bt_wake gpio failed
[    3.583210] 
[    3.591152] Bluetooth: get ap6xxx ap6xxx_bt_host_wake gpio failed
[    3.591158] 
[    3.600160] autohotplug_init init ok
[    3.604158] sunxi_cpufreq_initcall: clocks pll=1008000000,cpu=1008000000,axi=336000000
[    3.612977] cur: pll=1008000000, cpudiv=1, axidiv=3
[    3.618410] axp22_dcdc3: Failed to create debugfs directory
[    3.624629] sunxi_cpufreq_initcall, get cpu frequency from sysconfig, max freq: 1200MHz, min freq: 120MHz
[    3.635298] -------------------CPU V-F Table--------------------
[    3.641980]  frequency = 1536000KHz  voltage = 1500mv
[    3.647585]  frequency = 1344000KHz  voltage = 1460mv
[    3.653203]  frequency = 1200000KHz  voltage = 1320mv
[    3.658808]  frequency = 1008000KHz  voltage = 1200mv
[    3.664428]  frequency = 816000KHz   voltage = 1100mv
[    3.669937]  frequency = 648000KHz   voltage = 1040mv
[    3.675459]  frequency =    0KHz     voltage = 1040mv
[    3.680788]  frequency =    0KHz     voltage = 1040mv
[    3.686102] -----------------------------------------------------
[    3.695258] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.85 2014-08-01 15:11) Compiled in Aug 21 2021 at 21:42:14
[    3.706663] [mmc]: sunxi_mci_init
[    3.710366] [mmc]: get mmc0's power supply 'axp22_dcdc1' ok
[    3.716543] [mmc]: get mmc0's 2xmode fail
[    3.720998] [mmc]: get mmc0's ddrmode fail
[    3.725537] [mmc]: get mmc0's sdc_ex_dly_used failed, use default dly
[    3.732701] [mmc]: get mmc1's sdc_power failed
[    3.737625] [mmc]: get mmc1's 2xmode fail
[    3.742079] [mmc]: get mmc1's ddrmode fail
[    3.746617] [mmc]: get mmc1's sdc_ex_dly_used failed, use default dly
[    3.753784] [mmc]: get mmc2's power supply 'axp22_dcdc1' ok
[    3.759962] [mmc]: get mmc2's 2xmode ok, val = 1
[    3.765091] [mmc]: get mmc2's ddrmode fail
[    3.769629] [mmc]: get mmc2's sdc_ex_dly_used failed, use default dly
[    3.776783] [mmc]: MMC host used card: 0x7, boot card: 0x4, io_card 2
[    3.784972] [mmc]: mmc not poweroff notifiy
[    3.789615] [mmc]: sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.800462] [mmc]: sdc2 Probe: base:0xf1c11000 irq:94 sg_cpu:d8c04000(58c04000) ret 0.
[    3.800476] [mmc]: sdc2 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.802008] [mmc]: sdc2 card_power_on start...
[    3.802037] axp22_dcdc1: Failed to create debugfs directory
[    3.802114] [mmc]: sdc2 card_power_on end ...ok
[    3.802121] [mmc]: sdc2 card_power_on ok
[    3.820045] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.820115] [mmc]: mclk 0xf1c20090 0xc001000e

离线

楼主 #2 2021-08-21 21:58:07

Sonder
会员
注册时间: 2021-01-22
已发帖子: 5
积分: 2.5

Re: 潜水很久了,小白来问大家一个问题,内核启动失败

A33板子内存512M,EMMC是8G的没有没内存卡

离线

楼主 #3 2021-08-21 21:59:15

Sonder
会员
注册时间: 2021-01-22
已发帖子: 5
积分: 2.5

Re: 潜水很久了,小白来问大家一个问题,内核启动失败

群里有大神说是mmc启动除了问题,我翻看了linux 编译的.config文件不知道在哪里能设置呢

离线

楼主 #6 2021-08-27 17:34:17

Sonder
会员
注册时间: 2021-01-22
已发帖子: 5
积分: 2.5

Re: 潜水很久了,小白来问大家一个问题,内核启动失败

shaoxi2010 说:

看起来不像内核配置问题,uboot识别很正常呢,不过有点奇怪A33的emmc应该是8线的但是你的只有四线模式,
你把内核的sys_config也改为4线试下吧。

好的我尝试下,谢谢

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn