![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
经验
零一之间的M
这个作者很懒,什么都没留下…
展开
-
linux kbuild and kconfig
linux构建系统介绍原创 2022-10-19 20:18:09 · 401 阅读 · 1 评论 -
RTC UTC and Local Time
linux UTC RTC CST Local Time原创 2022-06-26 21:51:35 · 756 阅读 · 0 评论 -
Linux net cmd
arp -a ping traceroute route firewalld ufw host dig nslookup ifconfig ip ifup/ifdown nmcli netstat ss tcpdump nc nmap原创 2022-01-06 19:05:01 · 627 阅读 · 0 评论 -
ARM A-profile v7 v8 v9
Key features of the Cortex-A family of devices:Scalable clusters supporting single and multi-core configurations RISC cores with support for Armv7-A and Armv8-A architecture Full backward compatibility with code from previous Arm processors VFP and Ne原创 2021-04-17 23:18:05 · 878 阅读 · 0 评论 -
Unicode 输入
工具:gucharmap编码 <---> \u7f16\u7801输入方法1、vim中Ctrl + v u 7 f 1 6Ctrl + v u 7 8 0 12、终端中Ctrl + Shift + U 7 f 1 6Ctrl + Shift + U 7 8 0 1参考链接https://home.unicode.org/http://www.unicode.org/charts/nameslist/https://tool.chinaz.c..原创 2021-03-03 23:43:07 · 866 阅读 · 1 评论 -
C代码行统计
统计当前文件夹下.c和.h文件的代码行数:find -name "*.[ch]" | xargs cat | grep -v ^$ | wc -l原创 2021-02-28 12:24:20 · 130 阅读 · 0 评论 -
putty
Installsudo apt-get install puttysudo aptitude install putty-toolsUsagedmesg | grep ttyS*cat /proc/tty/driver/serial ## drivers/tty/serial/serial_core.cttystty -a -F /dev/ttySAC2l...原创 2019-05-06 11:27:13 · 152 阅读 · 0 评论 -
sed cut awk
# remove all annotation in the filesed -i '/^\/\*\|^\*\|\/\/d;s/\/\/.*$\|\/\*.*$//;s/\s*$//' description.csystemctl show -p FragmentPath docker.service | cut -d "=" -f 2原创 2019-04-29 21:05:48 · 169 阅读 · 0 评论 -
更新时区并同步时间
NTPsudo timedatectl set-timezone "Asia/Shanghai"sudo apt install ntpdatesudo ntpdate time.windows.comsudo hwclock --localtime --systohc原创 2019-05-05 11:04:03 · 817 阅读 · 0 评论 -
gerrit安装笔记
一、gerrit简介开源的代码审查软件,因Andriod而生,官网:https://www.gerritcodereview.com/二、工作原理gerrit的框架原理大致如上图所示,其中反向代理用于网页认证;MTA发送邮件。三、安装步骤1、mysqlsudo apt-get install mysql-servermysql -u root -pcreate database reviewdb;...原创 2018-03-12 22:38:35 · 387 阅读 · 0 评论 -
Linux下的misc类型设备驱动学习笔记
一、Linux下的设备分类Linux根据IO端口的特点和数据的处理方式将外围设备分为三类:1、字符设备:以字节流的形式处理的低速设备,单位byte;2、块设备:以区块的形式处理存储设备,单位K;3、网络设备:以分散、聚合形式处理的高速网卡设备,单位M;二、Linux下的设备管理方法1、内核态:采用主设备号和次设备号标识单个独立的设备,注册编写设备驱动时需要提供主、次设备号;...原创 2018-04-07 12:13:07 · 761 阅读 · 0 评论 -
git入门手册
安装->配置->帮助安装:sudo apt install git-all配置:git config1、用户名和邮箱git config --global git config --global user.name "Leo Musk"git config --global user.email mydichoto@gmail.com2、编辑器git config --global c...原创 2018-04-18 23:44:28 · 203 阅读 · 0 评论 -
GPIO子系统
1、代码结构源码位于$SRC/drivers/gpio目录下,主要文件有:devres.c ## 管理gpio资源 ==> devresgpiolib.c ## GPIO驱动的库函数封装实现gpiolib-of.c ## 属性获取gpiolib-sysfs.c ## 接口实现2、设备描述:struct gpio_ch...原创 2018-05-31 23:04:37 · 324 阅读 · 0 评论 -
i2c子系统
i2c子系统描述代码结构实例描述硬件关系i2cCPUadapterclient软件分层/dev/i2c-*bindbindmaster_xferappclientcoreadapteralgohardware代码结构coredrivers/i2c/i2c-dev.cdrivers/i2c/i2c-core.cadapterdrivers/i2c/buss...原创 2019-02-23 11:58:36 · 155 阅读 · 0 评论 -
GPU
Graphics Processing Unit (GPU)The Graphics Processing Unit is controlled by the CPU through a direct interface of memory-mapped IO registers, and indirectly by parsing commands that the CPU has pla...原创 2019-06-22 09:08:02 · 223 阅读 · 0 评论 -
(C语言)代码的阅读与写作效率提升方法
mind+tools=make原创 2018-02-01 23:19:09 · 386 阅读 · 0 评论