上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 一、背景: CIFS - Common Internet File System,通用internet文件系统。 CIFS 是微软提出的协议,它使程序可以访问远程Internet计算机上的文件并要求此计算机的服务。 CIFS 使用客户/服务器模式。客户程序请求远在服务器上的服务器程序为它提供服务。服 阅读全文
posted @ 2017-06-20 10:47 扑克face 阅读(1621) 评论(0) 推荐(0) 编辑
摘要: 一、内核环境: linux-3.4.35 -*- Networking support > Networking options > [*] Network packet filtering framework (Netfilter) > IP: Netfilter Configuration > 阅读全文
posted @ 2017-06-17 17:15 扑克face 阅读(1930) 评论(0) 推荐(0) 编辑
摘要: 一、内核环境: linux-3.4.35 -*- Networking support > Networking options > [*] Network packet filtering framework (Netfilter) > IP: Netfilter Configuration > 阅读全文
posted @ 2017-06-17 17:15 扑克face 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 应用层:(使用mtd ioctl) 0.获取mtd基本信息 struct mtd_info_user { unsigned char type; //flash类型 unsigned int flags; unsigned int size; //分区大小 unsigned int erasesiz 阅读全文
posted @ 2017-06-01 09:45 扑克face 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 简介 CIFS (Common Internet File System) 通用Internet文件系统 在windows主机之间进行网络文件共享是通过使用微软公司自己的CIFS服务实现的。功能 CIFS 可以使您达到以下功能: 1.访问服务器本地文件并读写这些文件 2.与其它用户一起共享一些文件块 阅读全文
posted @ 2017-05-27 19:41 扑克face 阅读(807) 评论(0) 推荐(0) 编辑
摘要: 一、系统已经运行时间: 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天% 阅读全文
posted @ 2017-05-26 19:23 扑克face 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 硬件环境:hi3516d GPIO编号与实际GPIO对照关系原因: gpiolib.c /sys/class/gpio/gpioxxx/ GPIO编号与实际GPIO对照表 举例: GPIO13_0 对应编号 104 阅读全文
posted @ 2017-05-23 21:26 扑克face 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 一、uboot存储方式: uboot源码:二进制的uboot程序 0xffffffff:uboot分区没有用的空闲空间 uboot环境变量:bootdelay、bootcmd、bootargs等参数,键与值用0x3d,即“=”隔开,两参数之间用0x00,即\0隔开 0x00000000:uboot参 阅读全文
posted @ 2017-05-15 17:40 扑克face 阅读(913) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-05-13 17:51 扑克face 阅读(1099) 评论(0) 推荐(0) 编辑
摘要: 一、基于linux-3.18.20、mac驱动 二、启动时机: 所谓的"probe”,是指在Linux内核中,如果存在相同名称的device和device_driver,内核就会执行device_driver中的probe回调函数,而该函数就是所有driver的入口,可以执行诸如硬件设备初始化、字符 阅读全文
posted @ 2017-05-10 09:38 扑克face 阅读(1177) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页