摘要: linux kernel code git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git https://github.com/torvalds/linux https://kernel.org/ h 阅读全文
posted @ 2023-04-06 11:22 王阳开 阅读(58) 评论(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 王阳开 阅读(2003) 评论(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 王阳开 阅读(2251) 评论(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 王阳开 阅读(2718) 评论(0) 推荐(0)
摘要: GPU reference: Render Hell —— 史上最通俗易懂的GPU入门教程(一) https://blog.csdn.net/hexiaolong2009/article/details/104084445?spm=1001.2014.3001.5502 阅读全文
posted @ 2026-01-07 15:00 王阳开 阅读(2) 评论(0) 推荐(0)
摘要: linux DRM reference: 【项目原理】DRM驱动概念、组成、框架、源码分析 https://blog.csdn.net/qq_41709234/article/details/129472180 DRM(Direct Rendering Manager)学习简介 https://bl 阅读全文
posted @ 2026-01-06 10:28 王阳开 阅读(2) 评论(0) 推荐(0)
摘要: 时间戳转换工具 https://timetool.cn/timestamp/ 阅读全文
posted @ 2025-12-11 10:37 王阳开 阅读(4) 评论(0) 推荐(0)
摘要: ubunut查看cpu温度 sudo apt install s-tui 阅读全文
posted @ 2025-12-03 15:43 王阳开 阅读(7) 评论(0) 推荐(0)
摘要: PlantUML https://plantuml.com/zh/ https://app.timelessq.com/office/plantuml-editor 阅读全文
posted @ 2025-12-03 10:45 王阳开 阅读(6) 评论(0) 推荐(0)
摘要: ubuntu24.04安装python2 安装编译依赖 sudo apt install build-essential libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev lib 阅读全文
posted @ 2025-11-28 12:04 王阳开 阅读(80) 评论(0) 推荐(0)
摘要: linux ip扫描工具 apt install nmap nmap -sRn 10.42.0.* -oN out.txt reference: https://www.cnblogs.com/cangqinglang/p/12059353.html 阅读全文
posted @ 2025-11-20 10:51 王阳开 阅读(4) 评论(0) 推荐(0)
摘要: 网络测速 https://test.ustc.edu.cn/ 阅读全文
posted @ 2025-10-31 00:34 王阳开 阅读(29) 评论(0) 推荐(0)
摘要: cgroup cgroup v1使用流程: mount -t tmpfs cgroup_root /sys/fs/cgroup mkdir -p /sys/fs/cgroup/cpu mkdir -p /sys/fs/cgroup/memory mount -t cgroup -o cpu none 阅读全文
posted @ 2025-10-24 19:53 王阳开 阅读(10) 评论(0) 推荐(0)
摘要: 游戏串流 https://www.v2ex.com/t/755819 https://www.znds.com/tv-1213357-1-1.html steam link https://store.steampowered.com/app/353380/Steam_Link/ moonlight 阅读全文
posted @ 2025-10-09 20:49 王阳开 阅读(4) 评论(0) 推荐(0)
摘要: cache支持的软件操作 软件层面可以对现代处理器Cache的操作 1. Cache 行级别的操作(指令控制) 不同架构提供了专门的指令,可以直接操作某些 cache line: 失效(Invalidate) 让某个 cache line 失效(不再有效,下次访问会重新从内存加载)。 常用于 DMA 阅读全文
posted @ 2025-09-23 11:06 王阳开 阅读(26) 评论(0) 推荐(0)
摘要: linux增加网卡ip地址 example ip addr add 192.168.5.124/24 dev eth0 label eth0:5 ifconfig eth0:5 up ip addr del 192.168.1.100/24 dev eth0 example ip addr add 阅读全文
posted @ 2025-09-18 12:13 王阳开 阅读(33) 评论(0) 推荐(0)
摘要: 基于QEMU模拟器搭建Builtroot下的QT开发环境https://www.cnblogs.com/arnoldlu/p/17250728.html 阅读全文
posted @ 2025-09-18 12:12 王阳开 阅读(14) 评论(0) 推荐(0)
摘要: shell命令中循环执行操作的命令 reference: for i in $(seq 1 10000); do echo "Iteration $i" && echo "Iteration $i"; done for i in $(seq 1 10000); do cat /sys/class/n 阅读全文
posted @ 2025-09-18 12:10 王阳开 阅读(8) 评论(0) 推荐(0)
摘要: can bus off can bus off; linux系统发生can bus off后,恢复间隔时间是可以配置; can总线上,can报文发送或者接收出错,错误累计超过255次就会触发bus off; can报文出错具体指 can报在总线上的硬件电平信号不满足can协议时序; 发生bus of 阅读全文
posted @ 2025-09-18 12:09 王阳开 阅读(62) 评论(0) 推荐(0)
摘要: trace irqoff cat /sys/kernel/tracing/available_tracers echo irqsoff > /sys/kernel/tracing/current_tracer cat /sys/kernel/tracing/current_tracer echo 1 阅读全文
posted @ 2025-09-18 12:06 王阳开 阅读(21) 评论(0) 推荐(0)
摘要: windosw 配置arp绑定 配置静态arp绑定 netsh interface ipv4 add neighbors "以太网" "192.168.98.233" "aa-bb-cc-dd-ee-01" store=active 阅读全文
posted @ 2025-09-18 12:04 王阳开 阅读(9) 评论(0) 推荐(0)
摘要: vlan https://zhuanlan.zhihu.com/p/385949949 阅读全文
posted @ 2025-09-18 12:03 王阳开 阅读(6) 评论(0) 推荐(0)
摘要: linux proc fs node #include <linux/kernel.h> #include <linux/module.h> #include <linux/proc_fs.h> #include <linux/uaccess.h> #include <linux/seq_file. 阅读全文
posted @ 2025-09-18 12:02 王阳开 阅读(4) 评论(0) 推荐(0)
摘要: 内存屏障 现代CPU提供内存屏障指令的原因 现代 CPU 提供内存屏障(Memory Barrier / Memory Fence)指令,主要是因为 现代处理器的乱序执行、缓存层级和编译器优化 可能导致内存访问顺序和程序员写的源代码顺序不一致,从而引发多线程/多核程序中的一致性和同步问题。 乱序执行 阅读全文
posted @ 2025-09-02 19:57 王阳开 阅读(33) 评论(0) 推荐(0)
摘要: ARM64 linux页表项 reference https://www.kernel.org/doc/html/next/arm64/memory.html 页表项的通用格式 (Descriptor format) 每个表项是 64-bit 描述符。ARMv8 定义了两类: Table Descr 阅读全文
posted @ 2025-09-02 17:55 王阳开 阅读(38) 评论(0) 推荐(0)
摘要: ARM64 PSTATE ┌───────────────────────────────────────────────────────────────┐ │ Bit位置 名称 描述 │ ├────────────────────────────────────────────────────── 阅读全文
posted @ 2025-08-21 21:01 王阳开 阅读(18) 评论(0) 推荐(0)
摘要: VSCode添加到windows右键菜单中 新建一个txt文档,编辑文档,在文档中粘贴下面代码: 保存,关闭文档;然后把创建的txt文档的扩展名由.txt更改为.reg文件。 然后双击这个文件,会弹出对话框,点“确定”。 Windows Registry Editor Version 5.00 [H 阅读全文
posted @ 2025-08-12 16:53 王阳开 阅读(23) 评论(0) 推荐(0)
摘要: can utils 打印接收或者发送 candump -x can0 带时间戳dump candump -t A can0 cansend can0 213##3112233445566778899aabbccddeeffaa cansend can2 213##311223344556677889 阅读全文
posted @ 2025-08-05 10:37 王阳开 阅读(40) 评论(0) 推荐(0)
摘要: git am应用补丁 应用一个补丁文件: git am 使用通配符按序应用补丁: git am [./00*.patch] (按数字前缀排序) 若中途失败: 使用 git am --abort 退出并重置状态 冲突处理 方式一 git am 0001-xx.patch 提示有冲突, 手动修改代码, 阅读全文
posted @ 2025-07-24 11:57 王阳开 阅读(17) 评论(0) 推荐(0)
摘要: linux网卡带宽统计 sar -n DEV 1 or ifstat 阅读全文
posted @ 2025-07-22 19:30 王阳开 阅读(7) 评论(0) 推荐(0)
摘要: ASCII码对照表 reference: ASCII码对照表 https://tool.oschina.net/commons?type=4 阅读全文
posted @ 2025-07-13 10:17 王阳开 阅读(5) 评论(0) 推荐(0)
摘要: ARM SVC、HVC、SMC SVC (Supervisor Call) 目标环境: EL1 (操作系统内核)。 作用: 这是传统的系统调用(System Call)指令。当运行在EL0(用户态)的应用程序需要操作系统内核(运行在EL1)提供服务(如文件操作、进程创建、网络通信等)时,就会执行SV 阅读全文
posted @ 2025-07-08 16:33 王阳开 阅读(165) 评论(0) 推荐(0)
摘要: ubuntu "page up" and "page down" to search the history modify /etc/inputrc # alternate mappings for "page up" and "page down" to search the history "\ 阅读全文
posted @ 2025-05-30 16:16 王阳开 阅读(20) 评论(0) 推荐(0)
摘要: configure linux dynamic_debug prink example: echo "func func_xx +p" >/sys/kernel/debug/dynamic_debug/control echo "file ../wyk-drivers/mmc/* +p" > /sy 阅读全文
posted @ 2025-04-28 17:59 王阳开 阅读(13) 评论(0) 推荐(0)
摘要: linux kernel task id 关键差异: 字段/ID 作用范围 用户空间API 内核表示 多线程影响 pid 线程唯一标识 gettid() task_struct->pid 每个线程不同 tgid 进程(线程组) getpid() task_struct->tgid 同一进程所有线程相 阅读全文
posted @ 2025-04-22 17:54 王阳开 阅读(38) 评论(0) 推荐(0)
摘要: gnu libc source download https://lists.gnu.org/archive/html/info-gnu/ 阅读全文
posted @ 2025-04-14 19:28 王阳开 阅读(19) 评论(0) 推荐(0)
摘要: linux procrank reference Android内存分析之procrank命令 https://blog.csdn.net/qinhai1989/article/details/88112715 Linux学习:使用 procrank 测量系统内存使用情况 https://www.c 阅读全文
posted @ 2025-02-28 17:02 王阳开 阅读(58) 评论(0) 推荐(0)
摘要: SecureCRT保存日志加时间戳 日志文件每一行加时间戳; [%Y-%M-%D %h:%m:%s.%t] [%Y%M%D_%h%m%s.%t] 阅读全文
posted @ 2024-12-04 15:20 王阳开 阅读(497) 评论(0) 推荐(0)
摘要: emmc refernece: eMMC之分区管理、总线协议和工作模式: https://blog.csdn.net/u013686019/article/details/66472291 读取emmc csd寄存器 wyk@soc:/data# cat /sys/class/mmc_host/mm 阅读全文
posted @ 2024-11-29 20:34 王阳开 阅读(44) 评论(0) 推荐(0)
摘要: repo_status if repo status command report error, use repo_status script: #!/bin/bash # 遍历当前文件夹下所有包含 .git 的目录 for dir in $(find . -type d -name .git); 阅读全文
posted @ 2024-10-24 11:47 王阳开 阅读(62) 评论(0) 推荐(0)
摘要: struct alain #pragma pack(1) struct time_sync_value { uint64_t ref_time_sec; uint64_t ref_time_nsec; uint64_t rtc_time_sec; uint64_t rtc_time_nsec; ui 阅读全文
posted @ 2024-10-22 10:36 王阳开 阅读(16) 评论(0) 推荐(0)
摘要: linux mount net fs nfs ubuntu 安装nfs: sudo apt install nfs-kernel-server 编辑/etc/exports 文件,添加如下内容: /home/wyk/nfs *(rw,sync,no_root_squash,no_subtree_ch 阅读全文
posted @ 2024-08-29 17:58 王阳开 阅读(26) 评论(0) 推荐(0)
摘要: tftp使用 windows tftp app: tftp64 / # tftp --help BusyBox v1.20.2 (2023-10-09 14:59:14 CST) multi-call binary. Usage: tftp [OPTIONS] HOST [PORT] Transfe 阅读全文
posted @ 2024-08-29 17:49 王阳开 阅读(38) 评论(0) 推荐(0)
摘要: devmem root@soc:~# devmem -h BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) multi-call binary. Usage: devmem ADDRESS [WIDTH [VALUE]] Read/write from physical 阅读全文
posted @ 2024-07-08 15:10 王阳开 阅读(47) 评论(0) 推荐(0)