主题 : 摆脱DNW蓝屏死机 - 在LINUX环境下使用USB + vivi 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 944
精华: 3
发帖: 71
金钱: 22760 两
威望: 4838 点
贡献值: 20 点
综合积分: 202 分
注册时间: 2008-06-27
最后登录: 2017-07-16
10楼  发表于: 2008-11-09 10:46
我写的在linux下配合supervivi用usb下载内核和文件系统的工具差不多完成了,就是仿造windows下的dnw了,目前只是能用而已,还有许多要改进的地方,dnw.c是用户工具,secbulk.c是usb驱动。(附件总是传不上来,需要的留个邮箱吧)
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
11楼  发表于: 2008-11-09 11:07
请把dnw.c和secbulk.c发到我的邮箱ling_kasim@yahoo.cn吧,谢谢了!我帮你把它们放到下载区去
"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: 3260
精华: 0
发帖: 1
金钱: 10 两
威望: 10 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2009-01-02
最后登录: 2009-02-03
12楼  发表于: 2009-01-03 23:55
多谢总版主!按照你的方法已经在linux-2.6.22.6系统下成功使用dnw!
向你学习!
级别: 新手上路
UID: 2994
精华: 0
发帖: 9
金钱: 90 两
威望: 90 点
贡献值: 0 点
综合积分: 18 分
注册时间: 2008-12-21
最后登录: 2010-05-17
13楼  发表于: 2009-01-07 19:08
我试了下,怎么出现校验错误啊
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
14楼  发表于: 2009-01-08 07:49
校验错误?指什么?
"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: 2991
精华: 0
发帖: 108
金钱: 620 两
威望: 212 点
贡献值: 0 点
综合积分: 216 分
注册时间: 2008-12-20
最后登录: 2015-08-26
15楼  发表于: 2009-01-09 16:31
可以在fedora9執行嗎?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
16楼  发表于: 2009-01-13 07:24
引用第15楼vnudavid于2009-01-09 16:31发表的 :
可以在fedora9執行嗎?

可以,但我没试过:)
"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: 2535
精华: 0
发帖: 73
金钱: 690 两
威望: 626 点
贡献值: 0 点
综合积分: 146 分
注册时间: 2008-11-23
最后登录: 2011-12-15
17楼  发表于: 2009-01-16 23:02

 回 1楼(kasim) 的帖子

我用这个命令 make -C /lib/modules/`uname -r`/build M=`pwd` modules
报这样测错误:
cc1: 错误: 无法识别的命令行选项“-mlittle-endian”
cc1: 错误: 无法识别的命令行选项“-mabi=apcs-gnu”
请问这是怎么回事啊?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
18楼  发表于: 2009-01-16 23:52
gcc的问题?用make -C /lib/modules/`uname -r`/build M=`pwd` modules V=1输出完整的命令行看看
"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: 2535
精华: 0
发帖: 73
金钱: 690 两
威望: 626 点
贡献值: 0 点
综合积分: 146 分
注册时间: 2008-11-23
最后登录: 2011-12-15
19楼  发表于: 2009-01-17 00:38

 回 18楼(kasim) 的帖子

这是信息:
make -C /lib/modules/`uname -r`/build M=`pwd` modules V=1
make:进入目录'/usr/src/linux-headers-2.6.24-19-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (        \
    echo;                                \
    echo "  ERROR: Kernel configuration is invalid.";        \
    echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";    \
    echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";    \
    echo;                                \
    /bin/false)
mkdir -p /home/maidisula/linux/wdwj/wdzl/linux_embedded/tool/dnw_linux/secbulk/.tmp_versions ; rm -f /home/maidisula/linux/wdwj/wdzl/linux_embedded/tool/dnw_linux/secbulk/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/maidisula/linux/wdwj/wdzl/linux_embedded/tool/dnw_linux/secbulk
  gcc -Wp,-MD,/home/maidisula/linux/wdwj/wdzl/linux_embedded/tool/dnw_linux/secbulk/.secbulk.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.4/include -D__KERNEL__  -Iinclude  -include include/linux/autoconf.h -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2  -mabi=apcs-gnu     -msoft-float -Uarm -fomit-frame-pointer -g       -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(secbulk)"  -D"KBUILD_MODNAME=KBUILD_STR(secbulk)" -c -o /home/maidisula/linux/wdwj/wdzl/linux_embedded/tool/dnw_linux/secbulk/.tmp_secbulk.o /home/maidisula/linux/wdwj/wdzl/linux_embedded/tool/dnw_linux/secbulk/secbulk.c
cc1: 错误: 无法识别的命令行选项“-mlittle-endian”
cc1: 错误: 无法识别的命令行选项“-mabi=apcs-gnu”
make[1]: *** [/home/maidisula/linux/wdwj/wdzl/linux_embedded/tool/dnw_linux/secbulk/secbulk.o] 错误 1
make: *** [_module_/home/maidisula/linux/wdwj/wdzl/linux_embedded/tool/dnw_linux/secbulk] 错误 2
make:离开目录“/usr/src/linux-headers-2.6.24-19-generic”
是哪里出了毛病了呢?好像是内核出了毛病,我的内核不自动更新了,现在还是-19版本的,以前安装软件就会报什么内核错误,有人说是boot分区满了,把不用的内核删了,当时有-16,-19,-21,-23,我只留了当时用的-19,其他的都删了,是不是这的毛病呢?