随笔分类 -  application

摘要: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 王阳开 阅读(1470) 评论(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)
摘要: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)
摘要: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 王阳开 阅读(1960) 评论(0) 推荐(0)
摘要:binder reference: https://blog.csdn.net/qq_34738528/article/details/103055998 阅读全文
posted @ 2021-07-06 16:29 王阳开 阅读(2005) 评论(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 王阳开 阅读(423) 评论(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 王阳开 阅读(2096) 评论(0) 推荐(0)
摘要:http://sources.openwrt.org/ 阅读全文
posted @ 2021-06-22 15:06 王阳开 阅读(1986) 评论(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)
摘要: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)
摘要: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)
摘要:当前文件下,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)
摘要:#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 王阳开 阅读(2221) 评论(0) 推荐(0)