摘要: Windows 11安装Android App 安装 Windows Subsystem for Android 1 win11设置 → 时间和语言 → 语言 & 区域 → 国家或地区 → 切换到美国; 2 控制面板->程序和功能->启用或关闭windows功能, 启用: Hyper-V Windw 阅读全文
posted @ 2022-05-21 23:50 王阳开 阅读(913) 评论(0) 推荐(0)
摘要: linux v4l2 reference: https://www.cnblogs.com/LoyenWang/p/15456230.html https://work-blog.readthedocs.io/en/latest/index.html https://blog.csdn.net/ht 阅读全文
posted @ 2022-05-17 19:48 王阳开 阅读(74) 评论(0) 推荐(0)
摘要: linux i2c-tool i2c-detect -y -r 5 root@os:~# root@os:~# i2cdetect -l i2c-3 i2c i2c3 I2C adapter i2c-1 i2c i2c1 I2C adapter i2c-2 i2c i2c2 I2C adapter 阅读全文
posted @ 2022-05-16 19:13 王阳开 阅读(93) 评论(0) 推荐(0)
摘要: vscode terminal ssh login remote server 1 ssh login vscode →终端->新建终端 登录命令: ssh -p 22 wyk@192.168.0.250 or ssh wyk@192.168.0.250 免密码登录: 用ssh-keygen命令生成 阅读全文
posted @ 2022-04-27 19:33 王阳开 阅读(511) 评论(0) 推荐(0)
摘要: linux sysfs reference: https://blog.csdn.net/chenying126/article/details/78079942 阅读全文
posted @ 2022-04-27 10:21 王阳开 阅读(23) 评论(0) 推荐(0)
摘要: MCP2515 reference: http://ww1.microchip.com/downloads/cn/DeviceDoc/21801D_CN.pdf https://blog.csdn.net/leesheen/article/details/8768557 https://www.cn 阅读全文
posted @ 2022-04-24 16:13 王阳开 阅读(46) 评论(0) 推荐(0)
摘要: linux kernel coding style wyk@ubuntu:~/git/linux/Documentation$ cat CodingStyle This file has moved to process/coding-style.rst wyk@ubuntu:~/git/linux 阅读全文
posted @ 2022-04-20 10:44 王阳开 阅读(62) 评论(0) 推荐(0)
摘要: reference: 液晶显示器HSYNC、VSYNC、DE、CLK关系 https://blog.csdn.net/messi_cyc/article/details/121577551 LCD屏时序 https://blog.csdn.net/KjfureOne/article/details/ 阅读全文
posted @ 2022-04-06 14:25 王阳开 阅读(83) 评论(0) 推荐(0)
摘要: vim 如果~/.vimrc 没有,cp /etc/vim/vimrc ~/.vimrc 显示行号 set nu 高亮第80列 set cc=80 字符串替换 将整个文件的字符串123替换成abc :%s/123/abc/g 在另外一个窗口打开另外一个文件 :vsp file_path 切换文件窗口 阅读全文
posted @ 2022-03-23 16:44 王阳开 阅读(36) 评论(0) 推荐(0)
摘要: 内核代码下载 linux kernel code download linux code download reference https://mirror.bjtu.edu.cn/kernel/linux/kernel/ 阅读全文
posted @ 2022-03-19 23:46 王阳开 阅读(191) 评论(0) 推荐(0)
摘要: dtb 反编译 cat /sys/firmware/fdt > source.dtb dtc -I dtb -O dts source.dtb -o xx.dts 阅读全文
posted @ 2022-03-01 19:31 王阳开 阅读(525) 评论(0) 推荐(0)
摘要: vscode C/C++ GNU Global插件使用 1. vscode安装 C/C++ GNU Global插件使用 实现函数跳转功能; 实现Find all references ctrl+p,搜索文件 2.下载gnuGlobal (如果是windows OS) https://www.gnu 阅读全文
posted @ 2022-03-01 15:37 王阳开 阅读(6789) 评论(0) 推荐(0)
摘要: lmbench reference: http://www.bitmover.com/lmbench/ https://www.cnblogs.com/sunshine-blog/p/11905597.html https://winddoing.github.io/post/54953.html 阅读全文
posted @ 2022-02-18 16:38 王阳开 阅读(103) 评论(0) 推荐(0)
摘要: Google benchmark 1.测量开发的某一段代码的性能; 2.开发性能测试程序 reference: https://github.com/google/benchmark.git https://blog.csdn.net/Tornado1102/article/details/7797 阅读全文
posted @ 2022-02-18 14:41 王阳开 阅读(871) 评论(0) 推荐(0)
摘要: sysbench reference: https://www.cnblogs.com/sunshine-blog/p/11905672.html good; https://blog.51cto.com/cyent/2350925 阅读全文
posted @ 2022-02-18 14:38 王阳开 阅读(864) 评论(0) 推荐(0)
摘要: dhrystone reference: https://en.wikipedia.org/wiki/Dhrystone https://wiki.cdot.senecacollege.ca/wiki/Dhrystone_howto https://www.embedded.com/benchmar 阅读全文
posted @ 2022-02-18 11:45 王阳开 阅读(1345) 评论(0) 推荐(0)
摘要: linux arm ASID reference: http://www.wowotech.net/process_management/context-switch-tlb.html 阅读全文
posted @ 2022-02-11 20:45 王阳开 阅读(922) 评论(0) 推荐(0)
摘要: ARM LDXR/STXR reference: https://blog.csdn.net/juS3Ve/article/details/81784688 阅读全文
posted @ 2022-02-11 20:43 王阳开 阅读(1255) 评论(0) 推荐(0)
摘要: ARM64 cache arm64 soc的cache操作指令 ARM64 提供了一组精细的指令来管理 Cache 和 TLB (Translation Lookaside Buffer)。这些指令通常在内核态(EL1/EL2/EL3)使用。 核心概念 操作对象: 数据 Cache (DC):缓存数 阅读全文
posted @ 2022-02-11 20:41 王阳开 阅读(859) 评论(0) 推荐(0)
摘要: mount sdcard device mount [options] <source> <directory> mount /dev/mmcblk1p1 /opt/sdcard root@soc# mount --help Usage: mount [-lhV] mount -a [options 阅读全文
posted @ 2022-01-19 10:39 王阳开 阅读(880) 评论(0) 推荐(0)
摘要: git 创建一个空分支 git checkout --orphan new_branch_name git rm -rf . git add file git commit -m 'log' reference: https://www.cnblogs.com/wangyingblock/p/104 阅读全文
posted @ 2022-01-17 10:47 王阳开 阅读(399) 评论(0) 推荐(0)
摘要: install google chrome browse on ubuntu wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo dpkg -i google-chrome-stabl 阅读全文
posted @ 2021-12-29 20:21 王阳开 阅读(1469) 评论(0) 推荐(0)
摘要: linux mount debugfs mount -t debugfs none /sys/kernel/debug 阅读全文
posted @ 2021-12-28 17:06 王阳开 阅读(1648) 评论(0) 推荐(0)
摘要: shell 开发笔记 Author: Yangkai Wang wang_yangkai@163.com 转载请注明author,出处. while 循环 #!/bin/sh while true; do echo "haha" sleep 1 done for 循环 #!/bin/sh for i 阅读全文
posted @ 2021-12-24 11:11 王阳开 阅读(1962) 评论(0) 推荐(0)
摘要: YUV420 YUV420: YUV420P: I420: YYYYYYYY UU VV YV12: YYYYYYYY VV UU YUV420SP: NV12: YYYYYYYY UVUV NV21: YYYYYYYY VUVU reference: yuv422,yuv420,yuv444的区别 阅读全文
posted @ 2021-11-28 14:50 王阳开 阅读(1952) 评论(0) 推荐(0)
摘要: # can bus reference: CAN总线报文浅析: [CANFD每秒最多可以发送多少帧报文?](https://www.elecfans.com/d/v29047.html) [更加快速可靠的通信协议(上):带你走近CAN FD](https://zhuanlan.zhihu.com/p 阅读全文
posted @ 2021-11-22 11:47 王阳开 阅读(454) 评论(0) 推荐(0)
摘要: git command git使用笔记 git global setup git config --global user.name "user name" git config --global user.email "user@main.com" git config --list create 阅读全文
posted @ 2021-11-07 20:07 王阳开 阅读(1990) 评论(0) 推荐(0)
摘要: ubuntu ssh login command ssh <-p port> [user@ip] example: ssh wyk@192.168.0.250 ssh -p 22 wyk@192.168.0.250 sudo sshpass -p "password" ssh root@192.16 阅读全文
posted @ 2021-11-07 19:31 王阳开 阅读(2011) 评论(0) 推荐(0)
摘要: linux dma-buf reference: https://blog.csdn.net/hexiaolong2009/article/details/102596744 阅读全文
posted @ 2021-11-07 19:17 王阳开 阅读(537) 评论(0) 推荐(0)
摘要: show library compiler version wyk@ubuntu:~/code/$ arm-none-linux-gnueabi-objdump -s --section=.comment out/lib/libXxx.so ./out/lib/libXxx.so: file for 阅读全文
posted @ 2021-08-13 11:09 王阳开 阅读(1974) 评论(0) 推荐(0)
摘要: Create patch file diff -uN linux-3.4/init/main.c.orig linux-3.4/init/main.c > init-main.c.patch 打补丁 patch -p1 < debug_code.patch -p 参数剥离层级 refernece: 阅读全文
posted @ 2021-07-26 11:07 王阳开 阅读(1959) 评论(0) 推荐(0)
摘要: binder reference: https://blog.csdn.net/qq_34738528/article/details/103055998 阅读全文
posted @ 2021-07-06 16:29 王阳开 阅读(2004) 评论(0) 推荐(0)
摘要: valgrind build: #!/bin/sh TOOLCHAIN=/opt/arm-gnu-toolchain-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu ./configure CC=$TOOLCHAIN-gcc CXX= 阅读全文
posted @ 2021-06-28 14:35 王阳开 阅读(422) 评论(0) 推荐(0)
摘要: # alsa-utils examples: # ./aplay -Dhw:3,0 file.wav # ./aplay -Dhw:1 file.wav # ./arecord -Dhw:3 -d 6 -f cd -t wav record.wav # amixer cset name="SPKL 阅读全文
posted @ 2021-06-28 14:12 王阳开 阅读(1989) 评论(0) 推荐(0)
摘要: 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 王阳开 阅读(2095) 评论(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 王阳开 阅读(1370) 评论(0) 推荐(0)
摘要: http://sources.openwrt.org/ 阅读全文
posted @ 2021-06-22 15:06 王阳开 阅读(1986) 评论(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 王阳开 阅读(2038) 评论(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 王阳开 阅读(2196) 评论(0) 推荐(0)
摘要: #linux kernel design and implementation(note) reference: https://www.cnblogs.com/wang_yb/p/3514730.html 阅读全文
posted @ 2021-06-18 10:38 王阳开 阅读(1943) 评论(0) 推荐(0)