发布时间:2013-05-27 22:20:07
来自:http://blog.csdn.net/woshixingaaa/article/details/6574224这篇文档主要介绍spi数据传输过程。当应用层要向设备传输数据的时候,会通过ioctl向设备驱动发送传输数据的命令。如图,向SPI从设备发送读写命令,实际的读写操作还是调用了主机控制器驱动的数据传输函数。transfer函数用于spi的IO传输。.........【阅读全文】
发布时间:2013-05-27 16:06:57
使用下面的 route 命令可以查看 Linux 内核路由表。# routeDestination Gateway Genmask Flags Metric Ref Use Iface192.168.0.0 * 255.255.255.0 U 0 0 0 eth0169.254.0.0 * 255.255.0.0 U 0 0 0.........【阅读全文】
发布时间:2013-05-25 23:04:48
颜色支持256色Once you've got your terminal happily using 256 colours, the magic invocation is setting your terminal type to "xterm-256color" before you invoke emacs, e.g.: env TERM=xterm-256color emacs -nw Or, you can set TERM in your .bashrc file: export TERM=xterm-256.........【阅读全文】
发布时间:2013-05-23 14:42:49
用arm-none-linux-gnueabi-gcc 编译uboot是抱怨 add __aeabi_unwind_cpp_pr0() 解决补丁,以前一直认为是编译器不匹配针对u-boot-2009.08diff --git a/lib_arm/eabi_compat.c b/lib_arm/eabi_compat.cindex 86eacf1..eb3e26d 100755--- a/lib_arm/eabi_compat.c+++ b/lib_arm/eabi_compat.c@@ -16,3 +16,8 @@ int .........【阅读全文】
发布时间:2013-05-21 22:05:53
1 IntroductionBuildroot is a set of scripts and patches for the creation of a cross-compilation toolchain as well as the creation of a complete root file system. Buildroot provides:support for prebuilt or external toolchainsconfiguration through menuconfig, gconfig and xconfig .........【阅读全文】