• «
  • 1
  • 2
  • 3
  • »
  • Pages: 2/3     Go
主题 : 2.6.34移植后挂载文件系统无法启动linuxrc原因估计 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 9683
精华: 0
发帖: 56
金钱: 325 两
威望: 92 点
综合积分: 112 分
注册时间: 2009-10-10
最后登录: 2017-09-13
10楼  发表于: 2010-06-13 11:23
好..我现在在公司无法测试..
只能晚上回家才能试了.
麻烦版主明天继续关注下此贴.
谢谢了.
未设置
级别: 侠客
UID: 19393
精华: 0
发帖: 55
金钱: 275 两
威望: 55 点
综合积分: 110 分
注册时间: 2010-04-19
最后登录: 2011-10-09
11楼  发表于: 2010-06-13 12:55
kasim太厉害了。我什么时候能达到啊。
级别: 侠客
UID: 9683
精华: 0
发帖: 56
金钱: 325 两
威望: 92 点
综合积分: 112 分
注册时间: 2009-10-10
最后登录: 2017-09-13
12楼  发表于: 2010-06-13 17:17
版主..经过测试..hell无法执行.
错误提示与之前一样.
确认问题为
1) 你用的编译器ABI类型是正确的;
2) 文件系统的确已经成功挂载
这两个其中一个..
换一个内核则成功.
不过我使用的gcc为友善的4.3.2
arm-linux-gcc -v
复制代码
  1. Using built-in specs.
  2. Target: arm-none-linux-gnueabi
  3. Configured with: /scratch/julian/lite-respin/linux/src/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2008q3-72' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin
  4. Thread model: posix
  5. gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)


照理说abi应该不会有错.
级别: 侠客
UID: 9683
精华: 0
发帖: 56
金钱: 325 两
威望: 92 点
综合积分: 112 分
注册时间: 2009-10-10
最后登录: 2017-09-13
13楼  发表于: 2010-06-13 17:19
附上我内核的.config..
估计内核编译是不是出了什么问题...
附件: config.zip (12 K) 下载次数:3
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
14楼  发表于: 2010-06-13 17:29

 回 13楼(yayi) 的帖子

你的配置里

#
# Processor Features
#
# CONFIG_ARM_THUMB is not set

这个看起来需要enable
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 9683
精华: 0
发帖: 56
金钱: 325 两
威望: 92 点
综合积分: 112 分
注册时间: 2009-10-10
最后登录: 2017-09-13
15楼  发表于: 2010-06-13 18:13
不行额.
我已经加进去了..
但是错误依旧..
在编译内核的时候提示错误如下.
复制代码
  1. arch/arm/mm/init.c: In function 'mem_init':
  2. arch/arm/mm/init.c:678: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int'
  3. fs/yaffs2/yaffs_guts.c:1714: warning: 'yaffs_DeleteWorker' defined but not used
  4. fs/yaffs2/yaffs_guts.c:614: warning: 'yaffs_VerifyTnodeWorker' defined but not used
  5. WARNING: modpost: Found 2 section mismatch(es).
  6. To see full details build your kernel with:
  7. 'make CONFIG_DEBUG_SECTION_MISMATCH=y'

这些错误重要吗?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
16楼  发表于: 2010-06-14 10:27

 回 15楼(yayi) 的帖子

这些错误信息应该不是致命的;
把完整的启动信息和编译出来的helloworld打包传上来吧
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 9683
精华: 0
发帖: 56
金钱: 325 两
威望: 92 点
综合积分: 112 分
注册时间: 2009-10-10
最后登录: 2017-09-13
17楼  发表于: 2010-06-14 17:29
这是之前没有修改分区时的错误信息..
与修改后错误信息一致.
只是mtd分区有所不同而已.
helloword也是按版主说的那样写的.
而且我再2.6.33就可以启动helloword和linuxrc
友善自带的也可以..就是2.6.34不行..
附件: 错误及helloword.zip (10 K) 下载次数:18
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
18楼  发表于: 2010-06-15 16:30
这是之前没有修改分区时的错误信息..
与修改后错误信息一致.

没修改分区时,文件系统不可能挂载成功,这和修改过后的错误信息不可能一致。
如果成功挂载了,你不会看到
Warning: unable to open an initial console.

这样的东西
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 9683
精华: 0
发帖: 56
金钱: 325 两
威望: 92 点
综合积分: 112 分
注册时间: 2009-10-10
最后登录: 2017-09-13
19楼  发表于: 2010-06-15 19:58
Warning: unable to open an initial console.
之前没修改分区时.我的vivi param与内核保持一致.
我给你的内核配置文件是第二次再修改分区信息的..
  • «
  • 1
  • 2
  • 3
  • »
  • Pages: 2/3     Go