Kernel paic -not syncing: Attempted to kill init!---- linux2.6.32.移植到TQ2440
来源:互联网 发布:大数据咨询公司起步 编辑:程序博客网 时间:2024/05/02 19:00
这篇文章重点在于探讨移植linux2.6.32和busybox到TQ2440开发板上可能出现的问题分析
对于移植过程,请按照指导书上的内容按部就班操作
问题1. 卡死
描述 文件系统不能加载
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux................................................................................................................................. done, booting the kernel.,
然后,在此处卡死了
可能的解决方案:
查看Uboot传递的参数,可能是bootargs参数错误,比如root=/dev/mtdblockx x的值不对,比如文件系统rootfstype=yaffs2 内容书写错误
问题2: Kernel panic
描述:文件系统加载成功后
Free init memory :140k
Kernel paic -not syncing: Attempted to kill init!,然后卡死
可能的解决方法:
1. 在内核编译时候,注意打开对EABI,OABI的支持,2440的指导文档上着重提到了这一点
2. 查看busybox的属性
your rootfs #readelf /bin/busybox -A
Tag_CPU_name: "4T"
Tag_CPU_arch: v4T
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-1
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align8_needed: Yes
Tag_ABI_enum_size: int
看支持的CPU架构Tag_CPU_arch是否为V4T,因为S3C2440是V4T的,一些编译器版本比如codesourrce出品的arm-2009q1是默认支持armv5t的
如果显示的 CPU架构是Tag_CPU_arch: xxx xxx不为V4T
请修改busybox的Makefile
#vi Makefile
设置工具链
修改
CC=$(CROSS_COPILE)gcc
为
CC=$(CROSS_COPILE)gcc -march=armv4t
问题3: 不能进控制台
描述
一直打印
cant'open /dev/s3c2410_serial: No such file or director
可能的解决方案
修改 etc/inittab
#vi /etc/inittab
s3c2410_serial::askfirst:/bin/sh修改为
console::askfirst:/bin/sh
- Kernel paic -not syncing: Attempted to kill init!---- linux2.6.32.移植到TQ2440
- Kernel paic -not syncing: Attempted to kill init!---- linux2.6.32.移植到TQ2440
- Kernel panic - not syncing: Attempted to kill init!(移植linux2.6.29.4进友善mini2440开发板时遇到)
- Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init!问题解决办法
- Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init
- Kernel painic-not syncing:Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init!
- yaffs2 文件系统:Kernel panic - not syncing: Attempted to kill init!
- Kernel Panic -- not syncing: attempted to kill init的解决
- Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init
- Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Attempted to kill init!
- 组件映射
- 用户控件说明和添加事件
- Java md5加密 控制台传入与web传入参数 结果不匹配 || 相同字符串加密结果不同
- linux时常用到的命令汇总(上)
- 著名画家吕顺先生 《空中的花朵》
- Kernel paic -not syncing: Attempted to kill init!---- linux2.6.32.移植到TQ2440
- 口腔X线检查的危害
- 关于postgreSQL版本的一个简单测试
- List、Set集合遍历方式
- 如何在Linux中查看所有正在运行的进程
- Linux系统下文件权限查看及修改方法(上)
- Kinect简介
- linux5--系统引导流程
- oracle删除表空间后 再创建同名表空间报错