Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1671718
  • 博文数量: 511
  • 博客积分: 967
  • 博客等级: 准尉
  • 技术积分: 2560
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-06 14:19
文章分类

全部博文(511)

文章存档

2016年(11)

2015年(61)

2014年(257)

2013年(63)

2012年(119)

发布时间:2013-02-22 12:42:53

U-Boot的命令为用户提供了交互功能,并且已经实现了几十个常用的命令。如果开发板需要很特殊的操作,可以添加新的U-Boot命令。U-Boot的每一个命令都是通过U_Boot_CMD宏定义的。这个宏在include/command.h头文件中定义,每一个命令定义一个cmd_tbl_t结构体。#define U_BOOT_CMD(name,maxargs,rep,cmd,usage,he.........【阅读全文】

阅读(1395) | 评论(0) | 转发(0)

发布时间:2013-02-20 22:22:26

......【阅读全文】

阅读(2064) | 评论(0) | 转发(0)

发布时间:2013-02-20 22:21:33

......【阅读全文】

阅读(1493) | 评论(0) | 转发(0)

发布时间:2013-02-17 16:01:33

I2c 分析---基于linux 3.08m6tv-bsp:I2C 的makefile 会告诉我们只需要关注里面的那些文件就OK了obj-$(CONFIG_I2C_BOARDINFO)+= i2c-boardinfo.oobj-$(CONFIG_I2C)+= i2c-core.oobj-$(CONFIG_I2C_SMBUS)+= i2c-smbus.oobj-$(CONFIG_I2C_CHARDEV)+= i2c-dev.oobj-$(CONFIG_I2C_MUX)+= i2c-mux.oobj-y+= a.........【阅读全文】

阅读(2211) | 评论(0) | 转发(0)

发布时间:2013-02-17 12:59:48

/* Keep track of adapters which will be added or removed later */res = bus_register_notifier(&i2c_bus_type, &i2cdev_notifier);int bus_register_notifier(struct bus_type *bus, struct notifier_block *nb)    {    return blocking_n.........【阅读全文】

阅读(2384) | 评论(1) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册