CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5896|回复: 1

kernel启动正常但无打印信息

[复制链接]
发表于 2014-3-25 11:56:35 | 显示全部楼层 |阅读模式
dram size =512
0xe1a0b006,0xeaefffe6
super_standby_flag = 0
HELLO! BOOT0 is starting!
boot0 version : 1.6.0
Succeed in opening nand flash.
Succeed in reading Boot1 file head.
The size of Boot1 is 0x00064000.
The file stored in 0X00000000 of block 2 is perfect.
Check is correct.
Ready to disable icache.
Succeed in loading Boot1.
Jump to Boot1.
[       0.151] boot1 version : 1.7.0
[       0.151] pmu type = 3
[       0.152] bat vol = 239
[       0.185] axi:ahb:apb=3:2:2
[       0.185] set dcdc2=1400, clock=1008 successed
[       0.187] key
[       0.199] no key found
[       0.199] flash init start
[       2.018] flash init finish
[       2.019] fs init ok
[       2.019] fattype FAT16
[       2.021] fs mount ok
[       2.025] script finish
[       2.027] power finish
[       2.028] storage_type=0
[       2.039] BootMain start
[       2.039] 0
[       2.055] init to usb pc
[       2.077] power_start=0x00000002
[       2.078] pre sys mode
[       2.078] startup status = -1
[       2.081] key value = 1
[       2.084] recovery key high 6, low 4
[       2.088] unable to find fastboot_key key_max value
[       2.094] test for multi os boot with display
[       2.717] show pic finish
[       2.717] load kernel start
[       2.736] load kernel successed
[       2.736] star

U-Boot 2011.09-rc1 (Mar 24 2014 - 17:21:16) Allwinner Technology

CPU:   SUNXI Family
Board: A1X-EVB
DRAM:  512 MiB
NAND:  3776 MiB
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:10-
-name-        -start-       -size-      
bootloader  : 1000000       1000000     
env         : 2000000       1000000     
boot        : 3000000       2000000     
system      : 5000000       20000000   
data        : 25000000      20000000   
misc        : 45000000      1000000     
recovery    : 46000000      2000000     
cache       : 48000000      14000000   
databk      : 5c000000      10000000   
UDISK       : 6c000000      80000000   
-----------------------------------
bootcmd set setargs_nand
Hit any key to stop autoboot:  0
read boot or recovery all
sunxi flash read ffset 3000000, 11241364 bytes OK

Starting kernel ...


到这里就结束了,但是可以正常进入系统,就是没有打印信息,在网上搜索了一下说了很多原因,我是初学者,不是很懂,有没有人能帮我详细分析一下?谢谢~
回复

使用道具 举报

发表于 2014-5-23 17:55:10 | 显示全部楼层
内核的打印是通过printk来的,
这儿没有打印是因为printk的级别设为了4,即只有 KERN_EMERG  KERN_ALERT  KERN_CRIT  KERN_ERR才可以打印出来.
想让内核启动时打印所有的信息到串口,需要修改一下u-boot传给内核的参数loglevel 默认是4,改为7就可以了.

回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-4-26 10:34 , Processed in 0.020517 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部