Chinaunix
标题:
请教,Uncompressing Linux ……. Done, booting the Kernel.后无输出??
[打印本页]
作者:
fishrei
时间:
2009-03-16 15:14
标题:
请教,Uncompressing Linux ……. Done, booting the Kernel.后无输出??
症状如标题所示
S3c6400
Linux-2.6.24
有可以使用的linux-2.6.21作为参考
Google了一下,说可能是三个问题:命令行、nand分区和串口驱动
命令行按照网上说的,注释掉setup.c文件里的strcpy,没有得到改善
nand分区应该也无问题,与我手头的那个可用版本一致
串口驱动的话,暂时无法测试,但是在kernel调用初始化串口之前,串口的设置应该还是u-boot设定的,就算不初始化串口,应该也能用,但是添加调试信息,串口无输出
使用点灯,程序跑到arch/arm/kernel/head.s的__turn_mmu_on之前,灯是有反应的
目前基本可以确认的是,程序好像没有跑到start_kernel()函数。
哪位大侠给指点一下啊……
作者:
zhj1011
时间:
2009-03-16 15:24
标题:
回复 #1 fishrei 的帖子
请附上全部的启动打印信息 楼上
作者:
fishrei
时间:
2009-03-16 15:40
SMDK6400 # tftp c0008000 zImage
TFTP from server 192.168.0.65; our IP address is 192.168.0.62
Filename 'zImage'.
Load address: 0xc0008000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################
done
Bytes transferred = 1749092 (1ab064 hex)
SMDK6400 # bootm
Boot with zImage
Starting kernel ...
Uncompressing Linux................................................................................................................ done, booting the kernel.
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2