摘要: linux usb driver reference: https://www.beyondlogic.org/usbnutshell/usb1.shtml Linux USB驱动开发 USB中文网 Linux USB 3.0驱动分析 USB枚举过程 USB原理:从零基础入门到放弃 《Linux驱动 阅读全文
posted @ 2023-02-03 15:50 王阳开 阅读(56) 评论(0) 推荐(0)
摘要: linux can reference: CAN核心帧收发流程 对Socket CAN的理解(3)——【Socket CAN发送数据流程】 对Socket CAN的理解(4)——【Socket CAN接收数据流程】 SLCAN 串口转CAN CAN错误及CAN busoff处理机制 阅读全文
posted @ 2023-01-16 17:24 王阳开 阅读(117) 评论(0) 推荐(0)
摘要: rpmsg reference: 嵌入式RPC RPMsg IPC通信 开源解决方式 RPMsg:协议简介 RPMSG双核通讯内核代码分析(一) linux 核间通讯rpmsg架构分析 Linux RPMsg framework overview Linux RPMsg框架--以及应用于iMX6 S 阅读全文
posted @ 2023-01-16 15:40 王阳开 阅读(509) 评论(0) 推荐(0)
摘要: linux 内核中的上下文判断 linux/include/linux/preempt.h ... /* * Are we doing bottom half or hardware interrupt processing? * * in_irq() - We're in (hard) IRQ c 阅读全文
posted @ 2023-01-11 10:45 王阳开 阅读(140) 评论(0) 推荐(0)
摘要: udev加载内核模块 reference: udev udev简述 udev设备节点创建过程 一文看懂[driver]linux内核动态加载模块【值得收藏】 Linux内核模块自动加载机制 从 systemd-udevd 运行 log 中研究其自动加载内核模块的过程 udev规则以及编写 udev 阅读全文
posted @ 2022-12-29 11:26 王阳开 阅读(344) 评论(0) 推荐(0)
摘要: ethernet phy 以太网扫盲(一)各种网络总线 mii总线,mdio总线介绍 【驱动】以太网扫盲(二)phy寄存器简介 以太网接口总线类型笔记 车载以太网PHY 以太网PHY寄存器分析【转】 rgmii、rgmii-id区别 rgmii、rgmii-id、rgmii-rxid、rgmii-t 阅读全文
posted @ 2022-12-28 20:42 王阳开 阅读(266) 评论(0) 推荐(0)
摘要: zstd压缩工具 https://github.com/facebook/zstd 压缩文件: zstd xxx.file 压缩文件夹: tar -cvf xxx.tar xxx/; zstd xxx.tar; 解压: zstd -d xxx.zst 阅读全文
posted @ 2022-12-12 16:36 王阳开 阅读(1920) 评论(0) 推荐(0)
摘要: kprobes kprobes Kretprobes是linux系统的一个动态调试机制, 使用它可以向内核添加探针(Probe),在代码执行前或执行后触发一个回调函数。 这个机制通常用于调试内核代码,跟踪应用程序执行或收集性能统计信息。 通过使用kprobe,开发人员可以在不影响系统运行逻辑的情况下 阅读全文
posted @ 2022-12-05 11:19 王阳开 阅读(124) 评论(0) 推荐(0)
摘要: arm64 esr register decoder arm esr decoder 阅读全文
posted @ 2022-11-24 20:13 王阳开 阅读(192) 评论(0) 推荐(0)
摘要: gpio模拟串口 /* 8n1 */ int uart_gpio_send_byte(unsigned char byte) { int bit_delay = 1; unsigneed char i; gpio_set_value(io, 0); /* start bit*/ uart_gpio_ 阅读全文
posted @ 2022-11-15 20:38 王阳开 阅读(281) 评论(0) 推荐(0)
摘要: # TDA4 SDK https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-J784S4 阅读全文
posted @ 2022-11-09 19:25 王阳开 阅读(149) 评论(0) 推荐(0)
摘要: RSA加密算法 5分钟了解RSA加解密算法:https://zhuanlan.zhihu.com/p/365330981 验证数据完整性:私钥签名-公钥验签; 消息加密:公钥加密-私钥解密; 生产私钥: openssl genrsa -out rsa_private_key.pem 4096 生成私 阅读全文
posted @ 2022-11-03 13:58 王阳开 阅读(74) 评论(0) 推荐(0)
摘要: uboot reference: https://docs.u-boot.org/en/latest/index.html https://github.com/zhaojh329/U-boot-1/blob/master/第2章-U-boot设备树.md 完全理解ARM启动流程:Uboot-Ker 阅读全文
posted @ 2022-11-03 13:01 王阳开 阅读(371) 评论(0) 推荐(0)
摘要: linux iowait linux iowait理解 iowait iowait = CPU 空闲,但进程在等待 I/O 完成的时间占比 通俗理解: 1 CPU 并没有在做计算 2 但因为某个进程在等磁盘/flash/网络 I/O 完成 3 内核认为 CPU 是 “idle(空闲)但处于 I/O 阅读全文
posted @ 2022-10-26 10:30 王阳开 阅读(29) 评论(0) 推荐(0)
摘要: ARM Cortex-A SOC算力对比 ARM CORE算力 reference: wiki List_of_ARM_processors:https://en.wikipedia.org/wiki/List_of_ARM_processors ARM processors DMIPS/MHz c 阅读全文
posted @ 2022-10-17 15:12 王阳开 阅读(1290) 评论(0) 推荐(0)
摘要: perf https://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html https://man7.org/linux/man-pages/man1/perf.1.html wiki:https://perf.wiki.kernel.org/ 阅读全文
posted @ 2022-10-09 19:59 王阳开 阅读(247) 评论(0) 推荐(0)
摘要: linux strace reference: man strace https://strace.io/ https://man7.org/linux/man-pages/man1/strace.1.html 揭开 strace 命令捕获系统调用的神秘面纱https://mp.weixin.qq. 阅读全文
posted @ 2022-10-09 15:30 王阳开 阅读(88) 评论(0) 推荐(0)
摘要: ARMV8启动 reference: 聊聊SOC启动 armv8:https://zhuanlan.zhihu.com/p/519995589 BL1 (ROM code) | BL2 (SPL running use sam,initialize DDR) | BL31 (secure monit 阅读全文
posted @ 2022-09-26 17:36 王阳开 阅读(93) 评论(0) 推荐(0)
摘要: How To determine Linux Kernel Timer Interrupt Frequency https://www.advenage.com/topics/linux-timer-interrupt-frequency 阅读全文
posted @ 2022-09-19 14:52 王阳开 阅读(44) 评论(0) 推荐(0)
摘要: linux 计算CPU负载 reference: linux/Documentation/filesystems/proc.txt linux下/proc/stat 计算CPU利用率:https://blog.csdn.net/stormbjm/article/details/19088983 li 阅读全文
posted @ 2022-09-13 16:27 王阳开 阅读(88) 评论(0) 推荐(0)
摘要: linux 启动时间优化 测量到耗时热点 优化; reference: Linux 启动时间优化实战:https://mp.weixin.qq.com/s/PeYpdtFH5u9MTWPkusT-Lw 嵌入式linux启动时间优化:http://www.pedestrian.com.cn/embed 阅读全文
posted @ 2022-09-07 10:09 王阳开 阅读(76) 评论(0) 推荐(0)
摘要: c语言指定范围内代码设置优化等级 #if defined(__GNUC__) #pragma GCC push_options #pragma GCC optimize ("O0") #endif /* code */ #if defined(__GNUC__) #pragma GCC pop_op 阅读全文
posted @ 2022-09-05 15:41 王阳开 阅读(164) 评论(0) 推荐(0)
摘要: kdump reference: linux/Documentation/admin-guide/kdump/kdump.rst https://medium.com/@christina.jacob.koikara/kexec-and-kdump-on-arm64-e456132d410f htt 阅读全文
posted @ 2022-08-25 17:42 王阳开 阅读(115) 评论(0) 推荐(0)
摘要: ftrace reference: https://www.cnblogs.com/arnoldlu/p/7211249.html ftrace(三)trace-cmd和kernelshark 使用stacktrace查看函数调用栈 阅读全文
posted @ 2022-08-23 20:33 王阳开 阅读(39) 评论(0) 推荐(0)
摘要: linux pinctrl reference: https://blog.csdn.net/tanli20090506/article/details/77165538 https://blog.csdn.net/m0_46525308/article/details/114666583 http 阅读全文
posted @ 2022-08-17 17:15 王阳开 阅读(34) 评论(0) 推荐(0)
摘要: 存储读写速度测试 SD card读写速度测试 write: time dd if=/dev/zero of=./tempfile bs=128M count=8 oflag=direct read: time dd if=./tempfile of=/dev/null bs=128M count=8 阅读全文
posted @ 2022-07-13 11:13 王阳开 阅读(190) 评论(0) 推荐(0)
摘要: linux coredump reference: https://blog.csdn.net/Rong_Toa/article/details/120048269 https://blog.csdn.net/u013010310/article/details/50578691 http://bl 阅读全文
posted @ 2022-07-07 14:45 王阳开 阅读(27) 评论(0) 推荐(0)
摘要: linux dts reference https://www.cnblogs.com/schips/p/linux_driver_device_dts.html debug dts node dts_file { compatible = "dts_file"; file = __FILE__, 阅读全文
posted @ 2022-07-01 11:49 王阳开 阅读(53) 评论(0) 推荐(0)
摘要: klogd reference: https://www.likecs.com/show-205100852.html 阅读全文
posted @ 2022-07-01 11:38 王阳开 阅读(47) 评论(0) 推荐(0)
摘要: vscode translation plugin code translate comment translate comment translate 更改翻译源: ctrl+p:> comment translate 更改翻译源, 更多, 安装有道翻译插件 翻译源更改为有道翻译 阅读全文
posted @ 2022-06-24 15:26 王阳开 阅读(186) 评论(0) 推荐(0)
摘要: linux debug reference http://www.embeddedlinux.org.cn/emb-linux/kernel-driver/201704/11-6525.html 阅读全文
posted @ 2022-06-24 15:23 王阳开 阅读(58) 评论(0) 推荐(0)
摘要: linux sd card driver reference: https://blog.csdn.net/weixin_40330341?type=blog https://blog.csdn.net/zqixiao_09/category_6163492.html https://blog.cs 阅读全文
posted @ 2022-06-24 15:22 王阳开 阅读(51) 评论(0) 推荐(0)
摘要: iperf TCP bandwidth test, boared to server: server point:iper3f -s board point: TCP: iperf3 -c 192.168.100.100 -t 86400 -i 1 --get-server-output UPD: 阅读全文
posted @ 2022-06-13 10:46 王阳开 阅读(126) 评论(0) 推荐(0)
摘要: ubuntu配置定时重启 vi /etc/crontab add 1 18 * * * root /sbin/reboot root@vm239962:~# cat /etc/cr cracklib/ cron.d/ cron.daily/ cron.hourly/ cron.monthly/ cr 阅读全文
posted @ 2022-06-07 23:27 王阳开 阅读(702) 评论(0) 推荐(0)
摘要: The kernel’s command-line parameters Documentation/admin-guide/kernel-parameters.rst https://www.kernel.org/doc/html/v4.17/admin-guide/kernel-paramete 阅读全文
posted @ 2022-06-02 11:45 王阳开 阅读(52) 评论(0) 推荐(0)
摘要: linux kernel documentation https://kernel.org/ https://www.kernel.org/doc/html/ https://www.kernel.org/doc/html/latest/ https://www.kernel.org/doc/Doc 阅读全文
posted @ 2022-06-02 10:23 王阳开 阅读(74) 评论(0) 推荐(0)
摘要: ubuntu DNS 配置 DNS Google Public DNS:8.8.8.8、8.8.4.4 114公共DNS:114.114.114.114 AliDNS:223.5.5.5、223.6.6.6 Baidu DNS:180.76.76.76 Tencent DNS:119.29.29.2 阅读全文
posted @ 2022-06-01 22:59 王阳开 阅读(643) 评论(0) 推荐(0)
摘要: VmWare ubuntu 虚拟机网络设置 虚拟机配置,网卡一NAT模式,网卡二桥接模式; 编辑 → 虚拟网络编辑器 查看NAT模式 网关为192.168.100.2; 编辑 → 虚拟网络编辑器 配置桥接模式网卡,桥接到 无线网卡; wyk@ubuntu:~$ ifconfig ens33: fla 阅读全文
posted @ 2022-05-24 23:13 王阳开 阅读(196) 评论(0) 推荐(0)
摘要: ubuntu 软件源 reference: https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ 阅读全文
posted @ 2022-05-24 01:46 王阳开 阅读(41) 评论(0) 推荐(0)
摘要: linux 实时查看网速工具 ## nload 阅读全文
posted @ 2022-05-23 20:16 王阳开 阅读(92) 评论(0) 推荐(0)