摘要: runtime power management reference: https://www.cnblogs.com/hellokitty2/p/9974273.html 阅读全文
posted @ 2021-06-18 10:27 王阳开 阅读(1991) 评论(0) 推荐(0)
摘要: ARMv7 CP15 reference: https://wenku.baidu.com/view/8b576d65d0f34693daef5ef7ba0d4a7303766cd8.html?fr=search 阅读全文
posted @ 2021-06-17 18:19 王阳开 阅读(1973) 评论(0) 推荐(0)
摘要: i2c reference: http://wiki.csie.ncku.edu.tw/embedded/I2C 阅读全文
posted @ 2021-06-17 18:13 王阳开 阅读(2025) 评论(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 王阳开 阅读(2005) 评论(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 王阳开 阅读(2131) 评论(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 王阳开 阅读(2190) 评论(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 王阳开 阅读(1968) 评论(0) 推荐(0)
摘要: linux process management and scheduling reference: https://kernel.blog.csdn.net/article/details/51456569 阅读全文
posted @ 2021-05-26 15:19 王阳开 阅读(1961) 评论(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 王阳开 阅读(2008) 评论(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 王阳开 阅读(2052) 评论(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 王阳开 阅读(2100) 评论(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 王阳开 阅读(2222) 评论(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 王阳开 阅读(2170) 评论(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 王阳开 阅读(2696) 评论(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 王阳开 阅读(2252) 评论(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 王阳开 阅读(2719) 评论(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 王阳开 阅读(2588) 评论(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 王阳开 阅读(2018) 评论(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 王阳开 阅读(2109) 评论(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 王阳开 阅读(2031) 评论(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 王阳开 阅读(2161) 评论(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 王阳开 阅读(2175) 评论(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 王阳开 阅读(2862) 评论(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 王阳开 阅读(2930) 评论(0) 推荐(0)
摘要: 当前文件下,GBK编码文件,编码格式改为UTF-8 convmv -f GBK -t UTF-8 --notest -r * 阅读全文
posted @ 2021-05-02 11:14 王阳开 阅读(2761) 评论(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 王阳开 阅读(2795) 评论(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 王阳开 阅读(2941) 评论(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 王阳开 阅读(2219) 评论(0) 推荐(0)
摘要: camera reference: https://www.cnblogs.com/fjutacm/p/220631977df995512d136e4dbd411951.html 阅读全文
posted @ 2021-03-04 18:05 王阳开 阅读(2022) 评论(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 王阳开 阅读(3109) 评论(0) 推荐(0)
摘要: #Debug linux kernel slab memory leak problem reference: https://blog.csdn.net/thwack/article/details/79865758 configure kernel add CONFIG_SLUB_DEBUG=y 阅读全文
posted @ 2021-02-24 17:12 王阳开 阅读(1603) 评论(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 王阳开 阅读(2722) 评论(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 王阳开 阅读(2762) 评论(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 王阳开 阅读(2103) 评论(0) 推荐(0)
摘要: Advanced Linux Sound Architecture reference: https://www.alsa-project.org/wiki/Main_Page https://blog.csdn.net/droidphone/category_1118446.html https: 阅读全文
posted @ 2021-02-01 14:02 王阳开 阅读(2077) 评论(0) 推荐(0)
摘要: set: git config --global http.proxy 'socks5://127.0.0.1:9595' git config --global https.proxy 'socks5://127.0.0.1:9595' git config --global http.proxy 阅读全文
posted @ 2021-01-21 09:58 王阳开 阅读(2123) 评论(0) 推荐(0)
摘要: $ sudo apt-get install open-vm-tools $ sudo vmware-toolbox-cmd disk shrink / 阅读全文
posted @ 2021-01-20 23:11 王阳开 阅读(2117) 评论(0) 推荐(0)
摘要: sudo apt-get install polipo sudo vim /etc/polipo/config Add: socksParentProxy = "127.0.0.1:1080" socksProxyType = socks5 proxyPort = 8123 sudo service 阅读全文
posted @ 2021-01-20 22:34 王阳开 阅读(2030) 评论(0) 推荐(0)
摘要: reference: https://crosstool-ng.github.io/archive/ https://crosstool-ng.github.io/docs/ http://crosstool-ng.org/download/crosstool-ng/ https://blog.cs 阅读全文
posted @ 2021-01-20 09:36 王阳开 阅读(1979) 评论(0) 推荐(0)
摘要: find and delete files command on ubuntu example: find ./directory -name ".git" | xargs rm -rf 阅读全文
posted @ 2021-01-09 10:50 王阳开 阅读(2014) 评论(0) 推荐(0)