2014年3月2日

android第一天

摘要: package com.example.button;import android.os.Bundle;import android.app.Activity;import android.app.SearchManager.OnCancelListener;import android.content.DialogInterface;import android.content.DialogInterface.OnClickListener;import android.view.Menu;import android.view.View;import android.widget.Butt 阅读全文

posted @ 2014-03-02 20:04 周辉~ 阅读(106) 评论(0) 推荐(0)

2014年2月25日

安装tftp服务器

摘要: 在嵌入式开发中我们经常需要把编译好的镜像文件下载到开发板中,我接触过的主要有串口、usb和tftp下载这三种方式。 用tftp下载就需要要我们的主机上先安装tftp服务器。 1、安装软件包 sudo apt-get install tftpd tftp xinetd 2、建立配置文件 在/etc/xinetd.d/下建立一个配置文件tftp sudo vi /etc/xinetd.d/tftp 增加如下内容service tftp{ socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.t 阅读全文

posted @ 2014-02-25 11:12 周辉~ 阅读(238) 评论(0) 推荐(0)

2014年2月19日

vim 设置

摘要: vim默认的配置使用起来还不能让人满意,还需要自己配置默认配置文件是:/etc/vim/vimrc我们可以在家目录下建立自己的配置文件切换到家目录 #cd ~touch一个名为.vimrc的文件(以.开头的为隐藏文件)#vi .vimrc输入以下配置:set nocompatible 不使用vi默认键盘布局 set number 显示行号set autoindent 自动对齐set smartindent 智能对齐set showmatch 括号匹配模式set ruler ... 阅读全文

posted @ 2014-02-19 15:00 周辉~ 阅读(151) 评论(0) 推荐(0)

2014年2月18日

解决 wifi共享精灵打开后inode掉线的问题

摘要: 不知道从什么时候起,wifi共享精灵不能使用了,具体情况是,打开wifi共享精灵后inode提示ip检查方式不通过,连接断开;通过研究,发现搞怪的两个文件是wlantest.exe inodemon.exe 将这两个文件删除后在新建一两个同名文件 就可以瞒天遮海了 阅读全文

posted @ 2014-02-18 18:34 周辉~ 阅读(559) 评论(0) 推荐(0)

解决内核编译时产生 "mkimage" command not found - U-Boot images will not be built 错误

摘要: "mkimage" command not found - U-Boot images will not be built Image arch/arm/boot/uImage is readycp: 无法获取"arch/arm/boot/uImage" 的文件状态(stat): 没有那个文件或目录使用make uImage编译生成的内核能由uboot引导,编译时会用到mkimage工具,出现这种错误是因为编译器无法找到mkimage工具,该工具在uboot/tools目录下,以下两种方法可以解决问题:方法一:在/etc/bashrc的末行加入以下语句: 阅读全文

posted @ 2014-02-18 14:34 周辉~ 阅读(1603) 评论(0) 推荐(0)

解决 内核编译 Install ncurses (ncurses-devel) and try again 错误

摘要: 因为工作需要,打算着手编译嵌入式Linux内核。刚刚着手就遇到一个问题:Install ncurses(ncurses-devel) and try again。做一个简单的铺垫,ncurses是字符终端下屏幕控制的基本库。可能很多新开发的程序已经不再使用。假如要编译一些老的程序,还是会经常碰到。解决这个问题可以通过下面的解决方法来搞定。打开一个终端输入下面这条语句按回车进行安装即可。apt-get install libncurses5-dev 阅读全文

posted @ 2014-02-18 13:39 周辉~ 阅读(325) 评论(0) 推荐(0)

导航