kernel panic - not syncing: no init found
2012-09-28 17:34
387 查看
1、uboot参数
setenv bootargs mem=64M console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=jffs2 mtdparts=physmap-flash.0:1M(boot),2M(kernel),6M(slave),6M(rootfs),1M(mtd)
此参数的意思是为内核分配64m内存空间,使用串口,根文件系统在flash第3个分区,(此参数设置参考rootfs烧录在flash的哪个区,在此处是第3个分区,从0开始计算)文件系统类型为jffs2,flash分5区,分别为1、2、6、6、1m的空间。
http://clbyx.blog.163.com/blog/static/14530135420111182450288/
http://z8z88.blog.163.com/blog/static/11268008820094219176703/
http://www.myexception.cn/h/545347.html
2、关于norflash
扇区通俗一点来讲,是基于物理存储大小定义的一个名称,就是说,按照存储
介质的物理设计结构,我们把一定大小的物理存储空间叫做一个扇区,就像
PC的硬盘,在Nor Flash中,这个扇区的大小是根据厂家的设计来的,可以把
64KB作为一个sector,也可以把128KB作为一个sector,但你使用空间大小的
时候不是以KB或者B为单位,而是以一个sector为一个单位的;Block是比扇区
大一个等级的存储单位,我们称之为块,一个块可以包括8个sector。
由此可得出计算flash扇区大小的方法:在uboot里面擦出一定大小的flash,擦除成功后,会显示擦掉了几个扇区,然后用大小除以扇区数量,就可以得出扇区的大小!
setenv bootargs mem=64M console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=jffs2 mtdparts=physmap-flash.0:1M(boot),2M(kernel),6M(slave),6M(rootfs),1M(mtd)
此参数的意思是为内核分配64m内存空间,使用串口,根文件系统在flash第3个分区,(此参数设置参考rootfs烧录在flash的哪个区,在此处是第3个分区,从0开始计算)文件系统类型为jffs2,flash分5区,分别为1、2、6、6、1m的空间。
http://clbyx.blog.163.com/blog/static/14530135420111182450288/
http://z8z88.blog.163.com/blog/static/11268008820094219176703/
http://www.myexception.cn/h/545347.html
2、关于norflash
扇区通俗一点来讲,是基于物理存储大小定义的一个名称,就是说,按照存储
介质的物理设计结构,我们把一定大小的物理存储空间叫做一个扇区,就像
PC的硬盘,在Nor Flash中,这个扇区的大小是根据厂家的设计来的,可以把
64KB作为一个sector,也可以把128KB作为一个sector,但你使用空间大小的
时候不是以KB或者B为单位,而是以一个sector为一个单位的;Block是比扇区
大一个等级的存储单位,我们称之为块,一个块可以包括8个sector。
由此可得出计算flash扇区大小的方法:在uboot里面擦出一定大小的flash,擦除成功后,会显示擦掉了几个扇区,然后用大小除以扇区数量,就可以得出扇区的大小!
相关文章推荐
- Kernel panic - not syncing: No init found. yaffs2文件系统挂上找不到init
- 用Nand flash出现:Kernel panic - not syncing: No init found. Try passing init= option to kerne
- 对于Kernel panic - not syncing: No init found出错的解决办法
- Failed to execute /linuxrc;Kernel panic - not syncing: No init found
- 对于Kernel panic - not syncing: No init found. Try passing init= option to kernel.出错的一点总结!
- Kernel panic - not syncing: No init found. Try passing init= option to kernel
- Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux ...
- 对Kernel panic-not syncing:No init found...init=option to kernel错误总结!
- 对Kernel panic-not syncing:No init found...init=option to kernel错误总结!
- Enforcing mode requested but no policy loaded. Halting now!kernel panic - not syncing: Attenpted to kill init问题
- ubuntu not syncing: no working init found.
- Kernel panic (No init found)的一个原因
- 【VMware+CentOS7】【安装OS报错】【Failed to execute /init Kernel panic - not syncing: No init found】
- kernel panic - not syncing:Attempt to kill init!
- RHEL启动错误:Kernel panic - not syncing:Attempted to kill init!解决方案
- INIT: No Inittab file found
- 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!