天嵌 ARM开发社区

 找回密码
 注册
楼主: 亚瑟王

统计Linux移植不成功的症状(以4.0版本的移植手册为基准)

[复制链接]
hps311 发表于 2010-10-5 01:19:25 | 显示全部楼层
不错.内核我正常移植之中,先了解一下.谢谢
回复

使用道具 举报

kingvenlee 发表于 2010-10-7 23:14:48 | 显示全部楼层
哇都看不懂啊
回复

使用道具 举报

erteron 发表于 2010-10-12 13:50:58 | 显示全部楼层
45# panch


那个你把文件系统中的/etc/inittab中的tq2440_serial0::askfirst:-/bin/sh改成tq2440_serial::askfirst:-/bin/sh应该就可以了~~~
回复

使用道具 举报

yuanyucheng555 发表于 2010-10-16 09:36:35 | 显示全部楼层
dddddddddddd
回复

使用道具 举报

lx773533 发表于 2010-10-16 09:52:32 | 显示全部楼层
30# tamb


先安装交叉编译工具,如果安装了的话就直接source /etc/profile,然后再编译。。。
回复

使用道具 举报

1379220153 发表于 2010-10-17 15:01:09 | 显示全部楼层
学习
威望啊  
何时才够用?
回复

使用道具 举报

moguanghe 发表于 2010-10-29 23:30:10 | 显示全部楼层
楼主,你好!我在使用viewer.exe时,总是不能在windows上显示usb camera的图像。弹出的对话框是:Error on connect: connection refused.               请问是怎么回事呢?谢谢!!
回复

使用道具 举报

moguanghe 发表于 2010-11-1 21:16:43 | 显示全部楼层
楼主,你好!我在使用viewer.exe时,总是不能在windows上显示usb camera的图像。弹出的对话框是:Error on connect: connection refused.               请问是怎么回事呢?谢谢!!
回复

使用道具 举报

ztm521314 发表于 2010-11-12 11:08:04 | 显示全部楼层
........
.........

yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 180K
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
Backtrace:
[<c0039fd4>] (dump_backtrace+0x0/0x10c) from [<c02b17f8>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c03bdf40 r5:c03bd900 r4:c0396248
[<c02b17e0>] (dump_stack+0x0/0x1c) from [<c02b1848>] (panic+0x4c/0x124)
[<c02b17fc>] (panic+0x0/0x124) from [<c00354f0>] (init_post+0xec/0x178)
r3:00000000 r2:c387ae00 r1:c03f1000 r0:c033f2dc
[<c0035404>] (init_post+0x0/0x178) from [<c000847c>] (kernel_init+0xcc/0xf4)
r5:c001d670 r4:c001d9d4
[<c00083b0>] (kernel_init+0x0/0xf4) from [<c004af30>] (do_exit+0x0/0x620)
r7:00000000 r6:00000000 r5:00000000 r4:00000000
。。。。。

还有,差不多1分钟板子自己重启,并且第一条性息是:
*** Warning - bad CRC or NAND, using default environment

怎么回事???
回复

使用道具 举报

lq6368560lq 发表于 2010-11-14 13:35:07 | 显示全部楼层
不错继续努力
回复

使用道具 举报

zzcc209 发表于 2010-11-15 22:20:20 | 显示全部楼层
我的问题最奇怪,用天嵌提供的制作YAFFS的工具mkyaffsimage_2 制作yaffs文件系统,系统是linux 2.6.30.4,制作好的文件系统可以挂载,但就是唯一缺少/lib文件夹(我的文件系统中是有/lib文件的,而且里面有我拷贝的库文件),很是郁闷,没有库文件,hello程序都运行不了!
回复

使用道具 举报

wqqs0801 发表于 2010-11-24 10:48:50 | 显示全部楼层
我的按照手册step by step 到第三步就不能了,不能使用make menuconfig了,说/bin/sh: line 1:gcc: command not found,哎
回复

使用道具 举报

itspy 发表于 2010-12-3 17:07:58 | 显示全部楼层
我的是V3.1,建立不成功。。。郁闷
回复

使用道具 举报

vip2009 发表于 2011-2-14 11:46:07 | 显示全部楼层
10# kachiwen


你好,我也遇到了同样的问题,我的内核是linux-2.6.30。这个问题解决了吗?是怎么解决的?
回复

使用道具 举报

vip2009 发表于 2011-2-14 20:51:29 | 显示全部楼层
版主帮帮忙啊!快崩溃了!
这里应该有两个错误:
一个是:end_request: I/O error, dev mtdblock2, sector 2   
另一个是:Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)

下面是启动里的打印:
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-b)
Scanning device for bad blocks                                                  
Bad eraseblock 704 at 0x000005800000                                            
Bad eraseblock 705 at 0x000005820000                                            
Bad eraseblock 1200 at 0x000009600000                                          
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":                          
0x000000000000-0x000000040000 : "uboot"                                         
0x000000200000-0x000000400000 : "kernel"                                       
0x000000400000-0x000010200000 : "yaffs2"                                       
mtd: partition "yaffs2" extends beyond the end of device "NAND 256MiB 3,3V 8-bi0
mice: PS/2 mouse device common for all mice                                    
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics                             
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled         
end_request: I/O error, dev mtdblock2, sector 2                                 
EXT4-fs: unable to read superblock                                             
end_request: I/O error, dev mtdblock2, sector 0                                 
Buffer I/O error on device mtdblock2, logical block 0                           
end_request: I/O error, dev mtdblock2, sector 0                                 
Buffer I/O error on device mtdblock2, logical block 0                           
end_request: I/O error, dev mtdblock2, sector 8                                 
Buffer I/O error on device mtdblock2, logical block 1                           
end_request: I/O error, dev mtdblock2, sector 8                                 
Buffer I/O error on device mtdblock2, logical block 1                           
end_request: I/O error, dev mtdblock2, sector 16                                
Buffer I/O error on device mtdblock2, logical block 2                           
end_request: I/O error, dev mtdblock2, sector 16                                
Buffer I/O error on device mtdblock2, logical block 2                           
end_request: I/O error, dev mtdblock2, sector 24                                
Buffer I/O error on device mtdblock2, logical block 3                           
end_request: I/O error, dev mtdblock2, sector 24                                
Buffer I/O error on device mtdblock2, logical block 3                           
end_request: I/O error, dev mtdblock2, sector 0                                 
FAT: unable to read boot sector                                                
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)                 
Please append a correct "root=" boot option; here are the available partitions:
1f00             256 mtdblock0 (driver?)                                       
1f01            2048 mtdblock1 (driver?)                                       
1f02          258048 mtdblock2 (driver?)                                       
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[<c0025700>] (unwind_backtrace+0x0/0xdc) from [<c01cd8f0>] (panic+0x40/0x110)   
[<c01cd8f0>] (panic+0x40/0x110) from [<c0008fa8>] (mount_block_root+0x25c/0x2ac)
[<c0008fa8>] (mount_block_root+0x25c/0x2ac) from [<c00091c0>] (prepare_namespac)
[<c00091c0>] (prepare_namespace+0x164/0x1bc) from [<c0008598>] (kernel_init+0xb)
[<c0008598>] (kernel_init+0xb4/0xe0) from [<c00410f8>] (do_exit+0x0/0x578)      
[<c00410f8>] (do_exit+0x0/0x578) from [<00000001>] (0x1)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-20 12:51 , Processed in 2.059557 second(s), 18 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表