05 2017 档案
摘要:简介 CIFS (Common Internet File System) 通用Internet文件系统 在windows主机之间进行网络文件共享是通过使用微软公司自己的CIFS服务实现的。功能 CIFS 可以使您达到以下功能: 1.访问服务器本地文件并读写这些文件 2.与其它用户一起共享一些文件块
阅读全文
摘要:一、系统已经运行时间: cat /proc/uptime| awk -F. '{run_days=$1 / 86400;run_hour=($1 % 86400)/3600;run_minute=($1 % 3600)/60;run_second=$1 % 60;printf("系统已运行:%d天%
阅读全文
摘要:硬件环境:hi3516d GPIO编号与实际GPIO对照关系原因: gpiolib.c /sys/class/gpio/gpioxxx/ GPIO编号与实际GPIO对照表 举例: GPIO13_0 对应编号 104
阅读全文
摘要:一、uboot存储方式: uboot源码:二进制的uboot程序 0xffffffff:uboot分区没有用的空闲空间 uboot环境变量:bootdelay、bootcmd、bootargs等参数,键与值用0x3d,即“=”隔开,两参数之间用0x00,即\0隔开 0x00000000:uboot参
阅读全文
摘要:A问题: WARNING: drivers/spi/hi_spi.o(.data+0x0): Section mismatch in reference from the variable hi_spi_platform_driver to the function .init.text:hi_sp
阅读全文
摘要:一、基于linux-3.18.20、mac驱动 二、启动时机: 所谓的"probe”,是指在Linux内核中,如果存在相同名称的device和device_driver,内核就会执行device_driver中的probe回调函数,而该函数就是所有driver的入口,可以执行诸如硬件设备初始化、字符
阅读全文
摘要:一、内核支持配置: [*] Networking support > Networking options > <*> The IPv6 protocol > [*] IPv6: Router Preference (RFC 4191) support //在多路由的网络中,允许系统能够更有效地计算
阅读全文
摘要:一、配置菜单 Device Drivers [*] Network device support > 网络设备驱动、网卡驱动 < > Bonding driver support 功能:多网卡绑定 具体操作为:将多个以太网通道绑定为一个,也就是两块网卡具有相同的IP地址并且聚合成一个逻辑链路工作,可
阅读全文
摘要:一、注册平台设备 platform_device_register(&usr_mci_device); 二、填写平台设备结构体 static struct platform_device usr_mci_device= { .name = "xxx", .id = 0, .dev = { .rele
阅读全文
摘要:A问题: SVN无法上传软链接文件问题 A解决: 进入软链接所在文件夹再次使用SVN命令提交,例如svn add * B问题: local file edit, incoming file delete upon update B解决: 执行svn revert file
阅读全文