上一页 1 ··· 114 115 116 117 118 119 120 121 122 ··· 138 下一页
摘要: Pulse Width Modulation -- 脉宽调制 /脉冲宽度调制 脉冲宽度调制(PWM)是利用微处理器的数字输出来对模拟电路进行控制的一种非常有效的技术,广泛应用在从测量、通信到功率控制与变换的许多领域中。脉宽调制是开关型稳压电源中的术语。这是按稳压的控制方式分类的,除了PWM型,还有PFM型和PWM、PFM混合型。脉宽调制式开关型稳压电路是在控制电路输出频率不变的情况下,通过电压反馈... 阅读全文
posted @ 2011-06-10 14:37 katago 阅读(818) 评论(0) 推荐(0)
摘要: 你的文件分隔符恐怕不止一个空格(一定的who生成的): 用awk: awk '{print $2}' file 一定要用cut的话: cat file|tr -s ' '|cut -d' ' -f2 阅读全文
posted @ 2011-06-09 15:23 katago 阅读(2035) 评论(0) 推荐(0)
摘要: please input the mac : 00:1A:A9:AA:BB:CC new mac for decrease is :00:1A:A9:AA:BB:CB new mac for increase is :00:1A:A9:AA:BB:CD #define BOOL int #define FALSE 0 #define TRUE 1 #include <stdio.h> #incl... 阅读全文
posted @ 2011-06-09 14:31 katago 阅读(3642) 评论(0) 推荐(0)
摘要: init –q int init_main(int argc UNUSED_PARAM, char **argv) { //init -q使init进程立即重新读取并处理文件inittab if (argv[1] && strcmp(argv[1], "-q") == 0) { return kill(1, SIGHUP); } 阅读全文
posted @ 2011-06-08 16:16 katago 阅读(247) 评论(0) 推荐(0)
摘要: http://busybox.net/FAQ.html#job_control Job control will be turned off since your shell can not obtain a controlling terminal. This typically happens when you run your shell on /dev/console. The kerne... 阅读全文
posted @ 2011-06-08 14:36 katago 阅读(1318) 评论(0) 推荐(0)
摘要: http://blog.richliu.com/2010/01/20/843/ 以前都習慣用 printk 和 /proc 做輸入輸出的動作, 不過 debugfs 看起來是 User space 和 kernel space 交流更好的選擇. 先確認 Enable Kernel debugfs Function Kernel hacking —> -*- Debug Filesystem 先來個... 阅读全文
posted @ 2011-06-03 17:27 katago 阅读(871) 评论(0) 推荐(0)
摘要: General informations The Linux kernel configuration item CONFIG_MTD_CMDLINE_PARTS has multiple definitions: drivers/mtd/Kconfig The configuration item CONFIG_MTD_CMDLINE_PARTS: prompt: Command line pa... 阅读全文
posted @ 2011-06-03 16:43 katago 阅读(2537) 评论(0) 推荐(0)
摘要: 一、时区 1. 查看当前时区 date –R 2. 修改设置时区 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpd -p 192.168.74.36 -qNn hwclock –w 3.启动时从hwclock同步到sys 启动脚本加: hwclock –s marvell不加也可以,自动同步。。 阅读全文
posted @ 2011-06-03 15:14 katago 阅读(5076) 评论(0) 推荐(0)
摘要: system就可以 阅读全文
posted @ 2011-06-02 15:32 katago 阅读(207) 评论(0) 推荐(0)
摘要: DS28E01-100有四个存储区:数据存储器(EEPROM)(共分4页,每页32个字节)、密钥存储器(secret)(8字节)、含有特定功能和用户字节的寄存器页(register page)和易失性暂存器(scratchpad)(8字节)。 向数据存储器写数据、载入初始密钥或者向寄存器页写数据时,暂存器作为缓存使用。 The DS28E01-100 has four memory areas... 阅读全文
posted @ 2011-06-01 17:17 katago 阅读(4491) 评论(0) 推荐(0)
上一页 1 ··· 114 115 116 117 118 119 120 121 122 ··· 138 下一页