易截截图软件、单文件、免安装、纯绿色、仅160KB

dnw linux version

dnw in linux
Use xterm as a serial terminal. In Fedora 9
use "yum install screen" to install screen package.
Plug the USB-UART cable, see if there is a ttyUSB0 in /dev
Enter "screen /dev/ttyUSB0 115200,cs8,-ixon,-ixon,istrip" to connect to USB-UART.
Screen as Serial Terminal
Download the driver and dnw application from dwn_linux.rar
Unzip the rar, you will get 2 folder.
dnw - dnw application for download image to device
secbulk - Sumsung SMDK driver.
Build dnw application.
#cd dnw
#gcc -o dnw dnw.c
Build driver.
#cd secbulk
#make -C /lib/modules/`uname -r`/build M=`pwd` modules
dnw in linux
Fix for your product 
Our product ID is different with origin release, change the product ID in secbulk.c
// { USB_DEVICE(0x5345, 0x1234)},
{ USB_DEVICE(0x4E8, 0x1234)},
Change the RAM address from 0x32000000 to 0xC0000000 in dnw.c
// *((unsigned long*)file_buffer) = 0x32000000; //load address
*((unsigned long*)file_buffer) = 0xC0000000; //load address
Add checksum after for loop in dwn.c
*((unsigned short*)(file_buffer + file_stat.st_size + 8)) = sum;
Change the block size to 512, because the block size is define to 512 in secbulk.c. If you don't change the size, small image download is ok, but large image like kernel, file system will not success.
// size_t block_size = remain_size / 100;
size_t block_size = 512;
Start to download
Insert the USB-UART cable, and see if you get the ttyUSB0
#cd /dev
#ls
Set the xterm to serial console,
#screen /dev/ttyUSB0 115200,cs8,-ixon,-ixon,istrip
Power on the MB
Load the driver,
#cd secbullk
#insmod secbulk.ko
Use dmesg to see if our driver can find the MB
#dmesg
You need to see the "endpoint found!", if you can't see this , change your product id and do it again.
#secbulk:bulk out endpoint found!
Hit key to enter the uboot mode, and enter dnw to wait image transfer
#dnw
Enter the dnw folder, and use dnw application to transfer image
#cd dnw
#./dnw your_image_path
Re


相关文档:

LInux 下如何安装ffmpeg

LInux

如何安装ffmpeg
关键字: linux
ffmpeg


终于装上了,把过程记录一下
首先要安装各种解码器
1、lame
lame-3.97.tar.gz
Url:http://sourceforge.net/project/showfiles.php?group_id=290&package_id=309

安装方法如下:
Java代码 < type="application/x-shockw ......

Linux常用命令

一.Linux进入与退出系统
进入Linux系统:
必须要输入用户的账号,在系统安装过程中可以创建以下两种帐号:
  1.root–超级用户帐号(系统管理员),使用这个帐号可以在系统中做任何事情。
  2.普通用户–这个帐号供普通用户使用,可以进行有限的操作。
  一般的Linux使用者均为普通用户,而系统管理 ......

linux共享内存的命令

简单解释一下ipcs命令和ipcrm命令。
取得ipc信息:
ipcs [-m|-q|-s]
-m      输出有关共享内存(shared memory)的信息
-q      输出有关信息队列(message queue)的信息
-s      输出有关“遮断器&rdqu ......

linux压缩命令

压缩文件
压缩单个文件
  tar zvfc  a.tar.gz  a.txt
压缩文件夹
 tar zvfc  a.tar.gz 文件夹路劲
解压缩
tar xvf FileName.tar
如果是 .tar.gz文件首先需要
解压1:gunzip FileName.gz
解压2:gzip -d FileName.gz
在tar 一下 就行了
其他转载
.tar
解包: tar xvf FileName.tar ......

linux下挂载硬盘

linux下挂载硬盘
用dmesg找出新硬盘的设备名,像/dev/sda等,然后用fdisk分区,创建挂载点,用mkfs创建文件系统,最后挂载 ....
下面是我以前写的,呵呵,希望有帮助
1.        将sici硬盘放入服务器(因为是热插拔,因此不用重启服务器)
2.        ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号