摘要: tinyalsa tinypcminfo # tinypcminfo Usage: tinypcminfo -D card -d device tinymix list controls tinymix [-D n] list one control: example # tinymix -D 0 阅读全文
posted @ 2021-06-25 17:12 王阳开 阅读(2120) 评论(0) 推荐(0)
摘要: trace open syscall $ git diff fs/open.c diff --git a/source/fs/open.c b/source/fs/open.c index 65fc76706..128426bfc 100644 a/source/fs/open.c +++ b/so 阅读全文
posted @ 2021-06-22 15:47 王阳开 阅读(1385) 评论(0) 推荐(0)
摘要: http://sources.openwrt.org/ 阅读全文
posted @ 2021-06-22 15:06 王阳开 阅读(1990) 评论(0) 推荐(0)
摘要: arm linux syscall reference: https://syscalls.w3challs.com/ https://github.com/torvalds/linux/blob/v4.17/include/uapi/asm-generic/unistd.h https://www 阅读全文
posted @ 2021-06-22 14:58 王阳开 阅读(2057) 评论(0) 推荐(0)
摘要: linux kernel debug printk #if 1 #undef pr_dbg(fmt, args...) #define pr_dbg(fmt, args...) \ printk(KERN_INFO "~~~ [module] %s() %d->"fmt, __FUNCTION__, 阅读全文
posted @ 2021-06-18 11:07 王阳开 阅读(2305) 评论(0) 推荐(0)
摘要: #linux kernel design and implementation(note) reference: https://www.cnblogs.com/wang_yb/p/3514730.html 阅读全文
posted @ 2021-06-18 10:38 王阳开 阅读(1954) 评论(0) 推荐(0)
摘要: runtime power management reference: https://www.cnblogs.com/hellokitty2/p/9974273.html 阅读全文
posted @ 2021-06-18 10:27 王阳开 阅读(2005) 评论(0) 推荐(0)
摘要: ARMv7 CP15 reference: https://wenku.baidu.com/view/8b576d65d0f34693daef5ef7ba0d4a7303766cd8.html?fr=search 阅读全文
posted @ 2021-06-17 18:19 王阳开 阅读(1978) 评论(0) 推荐(0)
摘要: i2c reference: http://wiki.csie.ncku.edu.tw/embedded/I2C 阅读全文
posted @ 2021-06-17 18:13 王阳开 阅读(2028) 评论(0) 推荐(0)
摘要: # ARMv8-A architecture reference: https://blog.csdn.net/forever_2015/article/details/50285865?spm=1001.2014.3001.5501 http://wiki.csie.ncku.edu.tw/emb 阅读全文
posted @ 2021-06-15 17:34 王阳开 阅读(2040) 评论(0) 推荐(0)
摘要: linux gpio_keys driver source: drivers/input/keyboard/gpio_keys.c documentation: Documentation/devicetree/bindings/input/gpio-keys.txt example,dts con 阅读全文
posted @ 2021-06-07 15:58 王阳开 阅读(2148) 评论(0) 推荐(0)
摘要: linux gpio-leds driver gpio-leds dts source: drivers/leds/ documentation: linux/Documentation/devicetree/bindings/leds/leds-gpio.txt dts: leds { compa 阅读全文
posted @ 2021-06-07 14:22 王阳开 阅读(2209) 评论(0) 推荐(0)
摘要: pinctrl subsystem reference: https://www.cnblogs.com/rongpmcu/tag/gpio%E5%AD%90%E7%B3%BB%E7%BB%9F/ 阅读全文
posted @ 2021-06-03 16:18 王阳开 阅读(1977) 评论(0) 推荐(0)
摘要: linux process management and scheduling reference: https://kernel.blog.csdn.net/article/details/51456569 阅读全文
posted @ 2021-05-26 15:19 王阳开 阅读(1971) 评论(0) 推荐(0)
摘要: linux memory management reference: https://kernel.blog.csdn.net/article/details/52384965 https://blog.csdn.net/Vince_/article/details/89055979?depth_1 阅读全文
posted @ 2021-05-26 15:16 王阳开 阅读(2042) 评论(0) 推荐(0)
摘要: objdump 反汇编 objdump --help Usage: /toolchain path/bin/arm-xx-objdump <option(s)> <file(s)> Display information from object <file(s)>. At least one of 阅读全文
posted @ 2021-05-25 18:15 王阳开 阅读(2064) 评论(0) 推荐(0)
摘要: ARM core registers (ARMv7) ARM v7-A and ARM v7-R Reference: ARM ® Architecture Reference Manual(ARM ® v7-A and ARM ® v7-R edition) Chapter B1 The Syst 阅读全文
posted @ 2021-05-17 17:57 王阳开 阅读(2128) 评论(0) 推荐(0)
摘要: ARM processor modes (ARMv7) ARM v7-A and ARM v7-R Reference: ARM ® Architecture Reference Manual(ARM ® v7-A and ARM ® v7-R edition) Chapter B1 The Sys 阅读全文
posted @ 2021-05-17 17:00 王阳开 阅读(2248) 评论(0) 推荐(0)
摘要: linux arm irq (4) 4 interrupt driver interface Author: Yangkai Wang wang_yangkai@163.com Coding in 2021/05/16 转载请注明author,出处. linux version 3.4.39 s5p 阅读全文
posted @ 2021-05-17 01:38 王阳开 阅读(2195) 评论(0) 推荐(0)
摘要: linux arm irq (3) 3 gpio interrupt Author: Yangkai Wang wang_yangkai@163.com Coding in 2021/05/16 转载请注明author,出处. linux version 3.4.39 s5p6818 soc Cor 阅读全文
posted @ 2021-05-17 01:32 王阳开 阅读(2737) 评论(0) 推荐(0)
摘要: linux arm irq (2) 2 interrupt handling Author: Yangkai Wang wang_yangkai@163.com Coding in 2021/05/10 转载请注明author,出处. linux version 3.4.39 s5p6818 soc 阅读全文
posted @ 2021-05-17 01:25 王阳开 阅读(2294) 评论(0) 推荐(0)
摘要: linux arm irq (1) 1 irq init Author: Yangkai Wang wang_yangkai@163.com Coding in 2021/05/10 转载请注明author,出处. linux version 3.4.39 s5p6818 soc Cortex-A5 阅读全文
posted @ 2021-05-17 01:01 王阳开 阅读(2761) 评论(0) 推荐(0)
摘要: linux app read kernel log int klogctl(int type, char *bufp, int len); man klogctl: SYSLOG(2) Linux Programmer's Manual SYSLOG(2) NAME syslog, klogctl 阅读全文
posted @ 2021-05-14 18:20 王阳开 阅读(2624) 评论(0) 推荐(0)
摘要: Format of the CPSR and SPSRs (ARMv7) ARM v7-A and ARM v7-R Reference: ARM ® Architecture Reference Manual(ARM ® v7-A and ARM ® v7-R edition) Chapter B 阅读全文
posted @ 2021-05-13 23:36 王阳开 阅读(2053) 评论(0) 推荐(0)
摘要: gpiolib linux version 3.4.39 drivers\gpio\gpiolib.c 1.提供int gpiochip_add(struct gpio_chip *chip)接口,给soc gpio controller driver,register a gpio_chip; s 阅读全文
posted @ 2021-05-07 14:45 王阳开 阅读(2135) 评论(0) 推荐(0)
摘要: #define container_of(ptr, type, member) /* include/linux/kernel.h */ /** * container_of - cast a member of a structure out to the containing structure 阅读全文
posted @ 2021-05-07 12:02 王阳开 阅读(2050) 评论(0) 推荐(0)
摘要: s5p6818 gpio controller reference datasheet and driver code; Features Programmable Pull-Up Control Edge/Level Detect Supports programmable Pull-Up res 阅读全文
posted @ 2021-05-07 11:35 王阳开 阅读(2216) 评论(0) 推荐(0)
摘要: s5p6818 gpio controller driver implementation analysis linux version 3.4.39 lable 1: GPIO platform_device_register(); /* arch/arm/mach-s5p6818/devices 阅读全文
posted @ 2021-05-07 11:17 王阳开 阅读(2203) 评论(0) 推荐(0)
摘要: linux kernel setup arm soc machine Linux version 3.4.39-s5p6818 NanoPi3 /* arch/arm/mach-s5p6818/cpu.c */ #include <mach/iomap.h> extern struct sys_ti 阅读全文
posted @ 2021-05-06 16:30 王阳开 阅读(2881) 评论(0) 推荐(0)
摘要: linux kernel driver_init() Linux version 3.4.39 /* init/main.c */ asmlinkage void __init start_kernel(void) | ... /* Do the rest non-__init'ed, we're 阅读全文
posted @ 2021-05-06 11:11 王阳开 阅读(2971) 评论(0) 推荐(0)
摘要: 当前文件下,GBK编码文件,编码格式改为UTF-8 convmv -f GBK -t UTF-8 --notest -r * 阅读全文
posted @ 2021-05-02 11:14 王阳开 阅读(2774) 评论(0) 推荐(0)
摘要: mount FTP fs: sudo curlftpfs -o codepage=gbk ftp://username:password@192.168.0.2 /mnt mount ftp, rc add sudo curlftpfs -o rw,allow_other -o codepage=g 阅读全文
posted @ 2021-05-02 10:51 王阳开 阅读(2808) 评论(0) 推荐(0)
摘要: code setup "console=", for debug kernel/printk/printk.c static char console_str[] = "ttyAMA1,115200"; static int __init console_setup(char *str) { ... 阅读全文
posted @ 2021-04-27 16:20 王阳开 阅读(2948) 评论(0) 推荐(0)
摘要: #use gtags install global sudo apt install global create source gtags wyk@ubuntu:~/home/global-6.6.4$ ls gtags/gtags gtags gtags.1 gtags.c gtags.o exa 阅读全文
posted @ 2021-03-24 11:33 王阳开 阅读(2260) 评论(0) 推荐(0)
摘要: camera reference: https://www.cnblogs.com/fjutacm/p/220631977df995512d136e4dbd411951.html 阅读全文
posted @ 2021-03-04 18:05 王阳开 阅读(2033) 评论(0) 推荐(0)
摘要: $ tree Command 'tree' not found, but can be installed with: snap install tree # version 1.8.0+pkg-3fd6, or apt install tree # version 1.8.0-1 See 'sna 阅读全文
posted @ 2021-03-04 15:32 王阳开 阅读(3131) 评论(0) 推荐(0)
摘要: Debug linux kernel slab memory leak problem 调试linux内核slab内存泄漏问题 reference: https://blog.csdn.net/thwack/article/details/79865758 configure kernel add 阅读全文
posted @ 2021-02-24 17:12 王阳开 阅读(1647) 评论(0) 推荐(0)
摘要: Hexo is a fast, simple and powerful blog framework. reference: https://hexo.io https://hexo.io/zh-cn https://kernel.blog.csdn.net/article/details/8231 阅读全文
posted @ 2021-02-24 16:44 王阳开 阅读(2738) 评论(0) 推荐(0)
摘要: install hexo on ubuntu 1. sudo apt-get install nodejs sudo apt-get install npm print the version: node -v npm -v 2. sudo npm install -g hexo-cli 3. up 阅读全文
posted @ 2021-02-21 16:50 王阳开 阅读(2780) 评论(0) 推荐(0)
摘要: Image Signal Processor reference: ISP 基本框架及算法介绍 https://blog.csdn.net/lz0499/article/details/71156291 https://zhuanlan.zhihu.com/p/36379267 https://bl 阅读全文
posted @ 2021-02-03 10:54 王阳开 阅读(2112) 评论(0) 推荐(0)