02 2017 档案

OpenWrt netifd
摘要:https://wiki.openwrt.org/doc/techref/netifd <!-- wikipage start --> <!-- TOC START --> Table of Contents What is netifd? Help with the development of 阅读全文

posted @ 2017-02-28 20:07 merlindu 阅读(2141) 评论(0) 推荐(0)

OpenWRT Init (User space boot) reference for Chaos Calmer: procd
摘要:Init (User space boot) reference for Chaos Calmer: procd https://wiki.openwrt.org/doc/techref/init.detail.cc <!-- wikipage start --> <!-- TOC START -- 阅读全文

posted @ 2017-02-28 11:53 merlindu 阅读(666) 评论(0) 推荐(0)

怎样写一个基于procd的init脚本
摘要:怎样写一个基于procd的init脚本? https://wiki.openwrt.org/zh-cn/inbox/procd-init-scripts English <!-- wikipage start --> <!-- TOC START --> Table of Contents Proc 阅读全文

posted @ 2017-02-28 10:56 merlindu 阅读(4541) 评论(0) 推荐(0)

How to write a procd init script
摘要:How to write a procd init script? https://wiki.openwrt.org/inbox/procd-init-scripts 中文版 inbox:procd-init-scripts <!-- wikipage start --> <!-- TOC STAR 阅读全文

posted @ 2017-02-28 10:48 merlindu 阅读(3564) 评论(0) 推荐(0)

OpenWRT procd
摘要:What is procd https://wiki.openwrt.org/doc/techref/procd Table of Contents What is procd? Help with the development of procd Buttons with procd Init s 阅读全文

posted @ 2017-02-28 10:39 merlindu 阅读(2046) 评论(0) 推荐(0)

#!/bin/sh /etc/rc.comon
摘要:OpenWRT中的procd脚本中使用了#!/bin/sh /etc/rc.comon这样的语句,总结了一下它的一些机制。 http://www.cnblogs.com/merlindu/p/6475305.html merlin@mdoa10 ~ $ head -n 13 etc/init.d/n 阅读全文

posted @ 2017-02-27 17:14 merlindu 阅读(2042) 评论(0) 推荐(0)

openwrt 限速 Qos
摘要:Quality of Service (qos-scripts) configuration https://wiki.openwrt.org/doc/uci/qos Table of Contents Sections Interface Rules Classgroup Classes Clas 阅读全文

posted @ 2017-02-27 15:03 merlindu 阅读(8543) 评论(0) 推荐(0)

文件读写位置的移动 / lseek
摘要:NAME lseek - reposition read/write file offsetSYNOPSIS #include <sys/types.h> #include <unistd.h> off_t lseek(int fd, off_t offset, int whence); fd:文件 阅读全文

posted @ 2017-02-27 11:08 merlindu 阅读(4997) 评论(0) 推荐(0)

OpenWRT 编译流程(log)
摘要:$ make Checking 'working-make'... ok. Checking 'case-sensitive-fs'... ok. Checking 'gcc'... ok. Checking 'working-gcc'... ok. Checking 'g++'... ok. Checking 'working-g++'...... 阅读全文

posted @ 2017-02-24 16:47 merlindu 阅读(1841) 评论(0) 推荐(0)

GPIO: Raspberry Pi Models A and B
摘要:GPIO: Raspberry Pi Models A and B https://www.raspberrypi.org/documentation/usage/gpio/README.md An introduction to GPIO and physical computing on the 阅读全文

posted @ 2017-02-24 10:05 merlindu 阅读(283) 评论(0) 推荐(0)

Raspberry Pi Hardware
摘要:The hardware in the Raspberry Pi Raspberry Pi Camera Module Compute Module Sense HAT Display Schematics Schematics for the Raspberry Pi Schematics for 阅读全文

posted @ 2017-02-24 09:49 merlindu 阅读(182) 评论(0) 推荐(0)

LEDE Project
摘要:https://lede-project.org/ The LEDE Project (“Linux Embedded Development Environment”) is a Linux operating system based on OpenWrt. It is a complete r 阅读全文

posted @ 2017-02-23 20:15 merlindu 阅读(569) 评论(0) 推荐(0)

Raspberry Pi 3 with Openwrt
摘要:https://wiki.openwrt.org/toh/raspberry_pi_foundation/raspberry_pi#boot_log_raspberry_pi_3 <!-- BREADCRUMBS --> Table of Contents Supported Versions Ha 阅读全文

posted @ 2017-02-23 20:02 merlindu 阅读(2657) 评论(0) 推荐(0)

OpenWrt's build system
摘要:https://wiki.openwrt.org/about/toolchain <!-- wikipage start --> <!-- TOC START --> Table of Contents OpenWrt build system – Features OpenWrt build sy 阅读全文

posted @ 2017-02-21 23:31 merlindu 阅读(733) 评论(0) 推荐(0)

Creating packages
摘要:https://wiki.openwrt.org/doc/devel/packages 中文版本 BuildPackage variables PKG_FIXUP Tips Package Sourcecode Use packed source code archive Use repositor 阅读全文

posted @ 2017-02-21 17:15 merlindu 阅读(620) 评论(0) 推荐(0)

创建软件包
摘要:https://wiki.openwrt.org/zh-cn/doc/devel/packages English 软件包变量 BuildPackage相关的宏 创建内核模块软件包 <!-- TOC END --> 创建软件包 我们已经尝试做的一件事情,是让移植软件到OpenWrt的操作变得非常容易 阅读全文

posted @ 2017-02-21 17:01 merlindu 阅读(1093) 评论(0) 推荐(0)

C语言隐含类型转换
摘要:在C语言的表达式中,如果一个运算符的各个操作数的类型不同,那么编译器就必须进行隐含的数据类型转换。 C语言按照一定的规则(通常被称为正常算术转换,即Usual Arithmetic Conversion)来进行类型转换。转换顺序是(由右往左转换): double <-- float <-- unsi 阅读全文

posted @ 2017-02-20 15:17 merlindu 阅读(823) 评论(0) 推荐(0)

C语言union(联合体、共用体)及应用
摘要:C语言union(联合体、共用体)及应用 在结构体(变量)中,结构的各成员顺序排列存储,每个成员都有自己独立的存储位置。联合(union)变量的所有成员共享同片存储区/内存。因此联合变量每个时刻里只能保存它的某一个成员的值。 联合变量也可以在定义时直接初始化,但这个初始化只能对第一个成员进行。例如下 阅读全文

posted @ 2017-02-20 00:22 merlindu 阅读(28846) 评论(0) 推荐(3)

git manual
摘要:NAME git - the stupid content tracker git - the stupid content tracker git - the stupid content tracker SYNOPSIS git [--version] [--help] [-C <path>] 阅读全文

posted @ 2017-02-19 22:44 merlindu 阅读(317) 评论(0) 推荐(0)

git-rebase(1)
摘要:https://www.kernel.org/pub/software/scm/git/docs/git-rebase.html git-rebase(1) Manual Page NAME git-rebase - Reapply commits on top of another base ti 阅读全文

posted @ 2017-02-19 22:43 merlindu 阅读(523) 评论(0) 推荐(0)

C语言基础--结构体
摘要:位域: 注:C语言中unsigned即表示unsigned int. 但是, 一个位域必须存储在同一个字节中,不能跨2个字节,当1个字节所剩空间不够存放另一个位域时,应从下一单元存入该位域。也可以有意使某位域从下一单元开始。例如: 结构体内部成员的对齐 在计算结构体长度,尤其是用sizeof运算符时 阅读全文

posted @ 2017-02-19 21:58 merlindu 阅读(182) 评论(0) 推荐(0)

git-svn Manual Page
摘要:https://www.kernel.org/pub/software/scm/git/docs/git-svn.html fetch git svn find-rev r318 find-rev git-svn(1) Manual Page NAME git-svn - Bidirectional 阅读全文

posted @ 2017-02-16 15:41 merlindu 阅读(248) 评论(0) 推荐(0)

收藏夹
摘要:http://www.boa.org/ boa参考 vlc plugin https://wiki.videolan.org/Documentation:WebPlugin http://bbs.21ic.com/forum.php?mod=viewthread&tid=1180900 Live 5 阅读全文

posted @ 2017-02-16 15:07 merlindu 阅读(168) 评论(0) 推荐(0)

C语言 #、##、#@在#define中的用法
摘要:#、##、#@在#define中的用法 有如下C++代码: 运行结果如下: 展开的时候,#exp被扩展成字符串,##exp被扩展成子串,#@exp被扩展成字符。 注意:#@只实用于windows系统,MSDN如下说明 可用作自定义ASSERT: 结果如下: 此段代码只能在VS下编译,GCC下不能编译 阅读全文

posted @ 2017-02-15 14:39 merlindu 阅读(458) 评论(0) 推荐(0)

ubuntu 编译安装自己的git-svn
摘要:python scons https://nchc.dl.sourceforge.net/project/scons/scons/2.5.1/scons-2.5.1.tar.gz sqlite 下载位置 http://www.sqlite.org/sqlite-amalgamation-307150 阅读全文

posted @ 2017-02-13 15:44 merlindu 阅读(325) 评论(0) 推荐(0)

ALSA参考文档
摘要:ALSA应用程序 ALSA音频编程 Linux之V4L2基础编程 ALSA驱动程序 Linux ALSA声卡驱动之一:ALSA架构简介 Linux ALSA声卡驱动之二:声卡的创建 Linux ALSA声卡驱动之三:PCM设备的创建 Linux ALSA声卡驱动之四:Control设备的创建 Lin 阅读全文

posted @ 2017-02-09 09:55 merlindu 阅读(275) 评论(0) 推荐(0)

mDNS原理的简单理解
摘要:http://www.binkery.com/archives/318.html mDNS : multicast DNS ,规范文档地址: http://www.ietf.org/rfc/rfc6762.txt。转载请注明来自:http://www.binkery.com/ 在局域网内,你要通过一 阅读全文

posted @ 2017-02-09 09:46 merlindu 阅读(307) 评论(0) 推荐(0)

linux signal函数理解
摘要:#include <signal.h>typedef void ( *sighandler_t )(int);sighandler_t signal( int signum, sighandler_t handler ); void ( *signal(int signum, void (*hand 阅读全文

posted @ 2017-02-07 20:13 merlindu 阅读(1397) 评论(0) 推荐(0)

pthread_cancel使用不当引起的SIGSEGV(Segmentation fault)
摘要:http://blog.chinaunix.net/uid-25909722-id-3011815.html 在用pthread函数库实现一个线程池的过程中,遇到了几个小小的问题: (2)pthread_cancel使用不当引起的SIGSEGV/Segmentation fault 具体的情况为: 阅读全文

posted @ 2017-02-07 19:47 merlindu 阅读(3369) 评论(0) 推荐(0)

几种C库比较(musl uClibc dietlibc glibc)
摘要:refered to: http://www.etalabs.net/compare_libcs.html 阅读全文

posted @ 2017-02-06 16:26 merlindu 阅读(6748) 评论(0) 推荐(0)

Linux下open与fopen的区别
摘要:#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int open(const char *pathname, int flags); int open(const char *pathname, int flags, m 阅读全文

posted @ 2017-02-05 20:56 merlindu 阅读(504) 评论(0) 推荐(0)

导航