linux内核在Uncompressing Linux... done, booting the kernel中卡住的原因
来源:互联网 发布:淘宝卖家拍照软件 编辑:程序博客网 时间:2024/05/16 15:11
今天用移植Linux2.6.22.2内核到MINI2440上,因为有相同类型的板子的支持,所以移植的起来很简单,但是在移植的时候还是出现了一个问题:
U-Boot 1.1.6-g63d519de-dirty (Sep 9 2013 - 23:25:22)
DRAM: 64 MB
Flash: 2 MB
NAND: 128 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
MY2440 # tftp 0x30007fc0 uImage
dm9000 i/o: 0x20000000, id: 0x90000a46
MAC: 08:00:3e:26:0a:5b
TFTP from server 192.168.1.200; our IP address is 192.168.1.201
Filename 'uImage'.
Load address: 0x30007fc0
Loading: T #################################################################
#################################################################
#################################################################
#################################################################
#############################
done
Bytes transferred = 1476164 (168644 hex)
MY2440 # bootm 0x30007fc0
## Booting image at 30007fc0 ...
Image Name: Linux-2.6.22.6-g9d3e98a0-dirty
Created: 2013-09-15 13:49:55 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1476100 Bytes = 1.4 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................................................. done, booting the kernel.
在这里内核停住不动了~~~~
该部分审查.config文件后发现串口也配置编入了内核,排除。
3、内核启动参数设置错误
在uboot中打印了启动参数后发现
MY2440 # printenv
bootargs=noinitrd root=/dev/mtdblock 2 init=/linuxrcconsole=ttySAC0
bootcmd=nboot 0x32000000 0 0;bootm 0x32000000
bootdelay=5
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
ipaddr=192.168.1.201
serverip=192.168.1.200
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
这里bootargs的启动参数设置错误,没有给linux传入使用哪个控制台,因此串口中无输出。问题找到
- linux内核在Uncompressing Linux... done, booting the kernel中卡住的原因
- linux内核在Uncompressing Linux... done, booting the kernel中卡住的原因
- 内核启动卡在Uncompressing Linux..... done, booting the kernel
- 移植内核过程中出现界面卡在"Uncompressing Linux... done, booting the kernel."
- 内核移植错误:Uncompressing Linux............................... done, booting the kernel
- Linux卡在Uncompressing Linux..... done, booting the kernel.
- Linux启动卡在,Uncompressing Linux...done, booting the kernel.
- Uncompressing Linux...done, booting the kernel解决办法
- Uncompressing Linux..... done, booting the kernel.
- Uncompressing Linux... done, booting the kernel
- Uncompressing Linux... done, booting the kernel
- Uncompressing Linux..... done, booting the kernel.
- Uncompressing Linux..... done, booting the kernel.
- Uncompressing Linux..... done, booting the kernel.
- Uncompressing Linux... done, booting the kernel
- Uncompressing Linux..... done, booting the kernel.
- Uncompressing Linux..... done, booting the kernel.
- Uncompressing Linux... done, booting the kernel.
- LR关于对参数进行截取操作的实践
- C/C++返回内部静态成员的陷阱
- 巧用Event.RENDER优化Flash渲染效率
- 各种浏览器内核的区别
- ISCSI
- linux内核在Uncompressing Linux... done, booting the kernel中卡住的原因
- 將遠程數據庫備份到本地
- 从语句 char* p="test" 说起
- SWT、Swing 或 AWT区别 比较
- 黑马程序员 — 面向对象(上)
- 我把此事当作对自己的惩罚
- 基于LinkedHashMap实现LRU缓存调度算法原理及应用
- 科技的发展让公司“死”得越来越快
- CL邀请码