ok6410使用的网卡是DM9000,从启动信息来看uboot默认的网卡是CS8900。
修改驱动代码(board/Samsung/ok6410/ok6410.c):
int board_eth_init(bd_t *bis)
{
int rc = 0;
#ifdef CONFIG_CS8900
rc = cs8900_initialize(0,CONF...
分类:
其他好文 时间:
2015-07-07 16:58:59
阅读次数:
161
String zipFile = /D:/+ ".zip";StringOperator.zip(filePath, zipFile);InputStream is = null;OutputStream os = null;BufferedInputStream bis = null;Buffer...
分类:
其他好文 时间:
2015-06-15 14:21:54
阅读次数:
131
DataTable dtProcess = K2Commit.GetWorkListDataTable(userId, Ttpye);DataTable dt = SqlHelper.QueryDataTableProc(SqlHelper.DB_BIS, "SelectAPPCheck", par...
分类:
其他好文 时间:
2015-05-15 19:45:09
阅读次数:
559
1. 编译环境 visual studio 2013 cmkake 3.1.3(注意版本,为了支持vs2013) bison 2.4.1 MySQL 5.6.232.安装cmake、bison注意可能需要把cmake和bison的bin目录添加到Path环境变量中 注意:bis...
分类:
数据库 时间:
2015-04-14 14:25:33
阅读次数:
259
前天项目组遇到文件上传,对内存加大的问题。特意看了看相关知识,也对这个有一定的了解
try {
FileInputStream fis=new FileInputStream(new File("/home/saas/maven/maven.zip"));
BufferedInputStream bis=new BufferedInputStream(fis);
Fil...
分类:
其他好文 时间:
2015-04-13 10:58:27
阅读次数:
153
# nginx rewrite rule#Main menu rules.rewrite ^(.*?)/index.html$ $1/index.php?r=site/index break;rewrite ^(.*?)/bisai.html$ $1/index.php?r=site/bis...
分类:
其他好文 时间:
2015-04-11 11:36:11
阅读次数:
133
1.yum安装各个依赖包
[root@WebServer ~]# yum -y install gcc gcc-devel gcc-c++ gcc-c++-devel autoconf* automake* zlib* libxml* ncurses-devel ncurses libgcrypt* libtool* cmake openssl openssl-devel bison bis...
分类:
数据库 时间:
2014-12-11 15:59:43
阅读次数:
288
从20世纪70年代末到80年代末,Digital Equipment的VAX计算机是一种非常流行的机型。它没有布尔运算AND和OR指令,只有bis(位设置)和bic(位清除)这两种指令。两种指令的输入都是一个数据字x和一个掩码字m。它们生成一个结果z,z是由根据掩码m的位来修改x的位得到的。使用bi...
分类:
移动开发 时间:
2014-11-19 23:47:13
阅读次数:
418
BufferedInputStream 自带 8M 缓冲区,我们自己又定义 byte[] buf = new byte[1024*1024];那 bis.read(buf) 就会去, 8M 缓冲区取数据, 读到自己的 1M 缓冲区, 直到碰到 bos.write(buf,0,len) 把1M缓冲区的...
分类:
其他好文 时间:
2014-10-24 01:33:42
阅读次数:
212