tedyyan 发表于 2016-9-6 10:02:50

为什么编出来的内核可以运行,但是串口没有日志?

到了kernel,就停止了,但是系统起来了,能运行

#Boot ver: 2015-07-20#2.19
empty serial no.
checkKey
vbus = 1
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
no fuel gauge found
no fuel gauge found
read logo_on switch from dts
no fuel gauge found
checkKey
vbus = 1
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
Hit any key to stop autoboot:0
load fdt from resouce.
ERROR: : Cannot find logo_kernel.bmp!
Secure Boot state: 0
kernel   @ 0x02000000 (0x00693d98)
ramdisk@ 0x05bf0000 (0x00138fb4)
bootrk: do_bootm_linux...
   Loading Device Tree to 05600000, end 0561b5ad ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

tedyyan 发表于 2016-9-6 16:49:52

跑的是led的例子,可能sleep太多了,等待很长时间后,可以出现log了,去掉等待,很快就出了

lam007 发表于 2016-9-17 22:34:34

我的也是这样,为什么呢
页: [1]
查看完整版本: 为什么编出来的内核可以运行,但是串口没有日志?