- 博客(6)
- 收藏
- 关注
原创 pin control & dts详解,含实际代码
1.接口(此部分摘自http://www.wowotech.net/gpio_subsystem/pin-control-subsystem.html)(1)devm_pinctrl_get和pinctrl_get。devm_pinctrl_get是Resource managed版本的pinctrl_get,核心还是pinctrl_get函数。这两个接口都是获取设备(设备模型中的struct
2016-08-25 15:22:17
9157
翻译 dts中会用到的MODULE_DEVICE_TABLE
6. MODULE_DEVICE_TABLE(spi, efp_id);// 自动 insmod try if the device is able to hot-plug 1.Each driver in the code exposes its vendor/device id using: M
2016-08-24 15:44:44
2267
原创 Linux设备树详解Device Tree dts
/ { //-->0 根节点 compatible = "acme,coyotes-revenge"; //-->0 compatible = ",",",";其后的字符串表征可兼容的其他设备 #address-cells = ; //-->1.1 root结点的#address-cells = ;和#size-cells = ;决定了serial、gpio、spi等结点(没有指定则使用根节点设置
2016-08-24 15:28:04
894
原创 解决virtualbox不能上网
网卡1为host-only用于Samba设置网卡2为bridged选择有线网卡(主机电脑用要选择有线上网)选择混杂模式为拒绝勾选接入网线
2016-08-23 17:12:05
3944
原创 解决virtualbox不能使用共享粘贴板
/media/VBOXADDITIONS_5.0.14_105127sudo ./VBoxLinuxAdditions.runInstalling the Window System driversInstalling X.Org Server 1.11 modules ...done.Setting up the Window System to use the Gu
2016-08-23 17:07:03
13190
原创 install Ubuntu & Android Studio
安装ubuntu--> 选择/boot 200m;/ 25G; /home 随意;/swap 1G.重要:选择/boot为引导区在windows用easyBCD add entry********************************************//echo "blacklist intel_powerclamp" | sudo tee /etc/modpro
2016-08-04 21:14:23
881
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人