当前位置: 技术问答>linux和unix
内核启动时 无法解压
来源: 互联网 发布时间:2016-01-17
本文导语: 请教各位: 我在s3c2410开发板上移植2.4.18的内核 .内核编译的时候通过了,但是下载到开发板上后,系统启动却一直停在了Now ,booting linux ........上了,没有出现uncompressing.............linux的字样. 以下是启动信息: ---------------...
请教各位:
我在s3c2410开发板上移植2.4.18的内核 .内核编译的时候通过了,但是下载到开发板上后,系统启动却一直停在了Now ,booting linux ........上了,没有出现uncompressing.............linux的字样.
以下是启动信息:
------------------------------------------------------------------------------------------------------
VIVI version 0.1.4 (root@localhost.localdomain) (gcc version 2.95.3 20010315 (release)) #0.1.4 Sun Jul 2 14:14:48 EDT 2006
MMU table base address = 0x31FBC000
Succeed memory mapping.
+---------------------------------------------+
| S3C2410X USB Downloader ver R1.11 SEP/03/02 |
+---------------------------------------------+
FCLK=200MHz,DMA mode
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: +++
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Could not found stored vivi parameters. Use default vivi parameters.
Press Return to start the LINUX/Wince now, any other key for vivi
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00100000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock/0 init=/linuxrc console=ttyS0"
MACH_TYPE = 193
NOW, Booting Linux......
然后就停在这里了
移植的时候我修改了两个地方
arch/arm/Makefile : ifeq($CONFIG_ARCH_S3C2410),y)
TEXTADDR =0xc0008000
MACHINE =s3c2410
endif
arch/arm/boot/Makefile: ifeq($CONFIG_ARCH_S3C2410),y)
ZTEXTADDR =0xc0008000
ZRELADDR =0x30008000
endif
问题出在哪里啊?
谢谢
我在s3c2410开发板上移植2.4.18的内核 .内核编译的时候通过了,但是下载到开发板上后,系统启动却一直停在了Now ,booting linux ........上了,没有出现uncompressing.............linux的字样.
以下是启动信息:
------------------------------------------------------------------------------------------------------
VIVI version 0.1.4 (root@localhost.localdomain) (gcc version 2.95.3 20010315 (release)) #0.1.4 Sun Jul 2 14:14:48 EDT 2006
MMU table base address = 0x31FBC000
Succeed memory mapping.
+---------------------------------------------+
| S3C2410X USB Downloader ver R1.11 SEP/03/02 |
+---------------------------------------------+
FCLK=200MHz,DMA mode
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: +++
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Could not found stored vivi parameters. Use default vivi parameters.
Press Return to start the LINUX/Wince now, any other key for vivi
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00100000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock/0 init=/linuxrc console=ttyS0"
MACH_TYPE = 193
NOW, Booting Linux......
然后就停在这里了
移植的时候我修改了两个地方
arch/arm/Makefile : ifeq($CONFIG_ARCH_S3C2410),y)
TEXTADDR =0xc0008000
MACHINE =s3c2410
endif
arch/arm/boot/Makefile: ifeq($CONFIG_ARCH_S3C2410),y)
ZTEXTADDR =0xc0008000
ZRELADDR =0x30008000
endif
问题出在哪里啊?
谢谢
|
是用uart调试的吧?根据我的经验,console=ttySAC0(研究了一个月才发现这个问题,汗……)