Linux内核启动卡在“Uncompressing Linux... done, booting the kernel.”

在移植Linux 3.4.2内核到Mini2440平台时遇到启动卡在'Uncompressing Linux...'。问题涉及u-boot参数传递、时钟设置、Machine ID匹配、根文件系统支持等。解决方法包括调整bootargs,如设置波特率,添加root选项,并确保支持的根文件系统类型。在制作jffs2根文件系统时,需要注意inittab脚本、设备初始化和mdev创建。正确的uboot bootargs配置,如rootfstype=jffs2,是成功启动的关键。
摘要由CSDN通过智能技术生成

移植平台:Linux 3.4.2 Mini2440  U-Boot 2012.04.01

1.移植内核过程中出现界面卡在"Uncompressing Linux... done, booting the kernel."

在Linux内核中搜素"Uncompressing Linux... ", 找到如下

Misc.c (arch\arm\boot\compressed):    putstr("Uncompressing Linux...");
Serial.txt (documentation\ia64):    No kernel output after elilo prints "Uncompressing Linux... done":
Serial.txt (documentation\ia64):    Long pause (60+ seconds) between "Uncompressing Linux... done" and
先看代码出错处
	putstr("Uncompressing Linux...");
	ret = do_decompress(input_data, input_data_end - input_data,
			    output_data, error);
	if (ret)
		error("decompressor returned an error");
	else
		putstr(" done, booting the kernel.\n");

这里可以看到解压缩是正确的,那为什么不能正常启动呢?再看搜索到的文档

    No kernel output after elilo prints "Uncompressing Linux... done":
    - You specified "console=tty
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值