摘要: stty set uart stty -F /dev/ttyS1 ospeed 115200 stty -F /dev/ttyS1 ispeed 115200 ospeed 115200 cs8 -parenb -cstopb 阅读全文
posted @ 2024-04-09 19:21 王阳开 阅读(23) 评论(0) 推荐(0)
摘要: spinlock、mutex lock 应用场景 linux内核同步机制spinlock、mutex lock,分别用在什么场景 mutex lock 是睡眠锁,在等待锁时进程进入睡眠状态,在锁被释放后,内核唤醒等待的进程运行; spinlock 是不睡眠,一直轮询等待; 使用spinlock,临界 阅读全文
posted @ 2024-04-09 19:18 王阳开 阅读(178) 评论(0) 推荐(0)
摘要: FR232R win11驱动 https://www.usb-drivers.org/ft232r-usb-uart-driver.html 阅读全文
posted @ 2024-04-09 19:14 王阳开 阅读(551) 评论(0) 推荐(0)
摘要: kset/kobj reference: linux设备模型之kset/kobj/ktype分析 阅读全文
posted @ 2024-04-09 19:10 王阳开 阅读(19) 评论(0) 推荐(0)
摘要: linux查看网络报文频率 sar -n DEV 1 -n DEV 表示显示网络收发的信息,间隔 1 秒输出一次数据信息 阅读全文
posted @ 2024-03-28 14:23 王阳开 阅读(37) 评论(0) 推荐(0)
摘要: execsnoop linux execsnoop tool execsnoop 的主要功能包括: 跟踪系统中的 execve 调用。 打印新执行的进程的详细信息,包括进程 ID、父进程 ID、用户 ID、命令行参数等。 过滤特定的进程或用户。 显示进程执行的时间戳。 如其名字,snoop exec 阅读全文
posted @ 2024-03-27 14:51 王阳开 阅读(146) 评论(0) 推荐(0)
摘要: aurix tc3xx memory tc37x ecc error Procedure of ECC error Injection to TC3x SRAM https://community.infineon.com/t5/Knowledge-Base-Articles/Procedure-o 阅读全文
posted @ 2024-03-26 14:40 王阳开 阅读(368) 评论(0) 推荐(0)
摘要: cpu性能比较 cpu-monkey https://www.cpu-monkey.com/zh-cn/ Laptop Processors Ranking: https://nanoreview.net/en/cpu-list/laptop-chips-rating/ Desktop CPU Pe 阅读全文
posted @ 2024-02-29 17:46 王阳开 阅读(201) 评论(0) 推荐(0)
摘要: linux kernel modify printk buf size linux内核配置log缓存大小 configure CONFIG_LOG_BUF_SHIFT modify code: wyk@ubuntu:~/soc/linux$ git diff kernel/printk/printk 阅读全文
posted @ 2023-12-14 18:09 王阳开 阅读(58) 评论(0) 推荐(0)
摘要: linux /proc/meminfo reference: https://blog.csdn.net/JustDoIt_201603/article/details/106629059 阅读全文
posted @ 2023-11-28 15:24 王阳开 阅读(15) 评论(0) 推荐(0)
摘要: linux print_hex_dump() linux/lib/hexdump.c /** * print_hex_dump - print a text hex dump to syslog for a binary blob of data * @level: kernel log level 阅读全文
posted @ 2023-11-07 21:04 王阳开 阅读(292) 评论(0) 推荐(0)
摘要: Arm GNU Toolchain Downloads Arm GNU Toolchain Downloads https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads 阅读全文
posted @ 2023-10-31 14:38 王阳开 阅读(229) 评论(0) 推荐(0)
摘要: PTP时间同步 PTP技术介绍 https://www.h3c.com/cn/d_201008/686476_30003_0.htm LinuxPTP没那么简单https://blog.csdn.net/yaojiawan/article/details/124601694 linux ptp时钟同 阅读全文
posted @ 2023-10-26 20:49 王阳开 阅读(88) 评论(0) 推荐(0)
摘要: 终端工具WindTerm设置 安装 https://github.com/kingToolbox/WindTerm/releases 会话->首选项 外观 主题:dige-black 安全: 锁屏超时:302400分钟 标签: 双击:重复标签 终端 右键单击:显示菜单 command histor: 阅读全文
posted @ 2023-10-26 20:32 王阳开 阅读(1682) 评论(0) 推荐(0)
摘要: SecureCRT 终端工具配置 使用SecureCRT_8.7.2.2214汉化64位 版本; 全局选项 终端 鼠标:复制选中内存;粘贴用中间键; -->>外观 显示水平、垂直滚动条; ANSI颜色: 普通文件白色;可执行文件墨绿色;文件夹显示蓝色;链接文件浅蓝色; >>> 高级:配色方案:whi 阅读全文
posted @ 2023-10-26 20:07 王阳开 阅读(153) 评论(0) 推荐(0)
摘要: 终端工具tabby Tabby官网:https://tabby.sh/ Tabby source地址:https://github.com/Eugeny/tabby Tabby版本发布下载地址:https://github.com/Eugeny/tabby/releases 软件下载地址 https 阅读全文
posted @ 2023-10-17 14:33 王阳开 阅读(482) 评论(0) 推荐(0)
摘要: linux spi spi_sync()执行流程? spi_async()执行流程? spi peripheral driver中,调用spi_sync() 为什么会看到spi* 内核线程会有负载? int spi_sync(struct spi_device *spi, struct spi_me 阅读全文
posted @ 2023-10-13 20:31 王阳开 阅读(274) 评论(0) 推荐(0)
摘要: linux CMA CMA(Contiguous Memory Allocator)是Linux内核中的一种内存分配器,它的作用是为设备驱动程序和其他需要大块连续内存的组件提供内存分配支持。 reference: linux/Documentation/devicetree/bindings/res 阅读全文
posted @ 2023-10-09 14:33 王阳开 阅读(347) 评论(0) 推荐(0)
摘要: linux ufs UFS SCSI 蛋蛋读UFS https://blog.csdn.net/bonwe128/category_12184324.html ufs2.2协议扫盲 https://blog.csdn.net/haoyun1990/category_11272525.html?spm 阅读全文
posted @ 2023-09-14 11:36 王阳开 阅读(362) 评论(0) 推荐(0)
摘要: usb hardware USB 连接检测 USB 断开检测 阅读全文
posted @ 2023-09-14 11:05 王阳开 阅读(34) 评论(0) 推荐(0)
摘要: ethernet phy mdio c22 c45 linux系统读写PHY寄存器工具mdio 了解与MDIO MDC接口相关的clause22、clause45 了解与MDIO MDC接口相关的22号、45号条款 https://www.ieee802.org/3/efm/public/nov02 阅读全文
posted @ 2023-08-30 11:47 王阳开 阅读(907) 评论(0) 推荐(0)
摘要: # linux gpio regulator reference: linux/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml ``` module_vdd: regulator-vdd { compatible = 阅读全文
posted @ 2023-08-25 11:23 王阳开 阅读(79) 评论(0) 推荐(0)
摘要: # linux应用进程优先级配置 example: ``` #include int set_process_priority(void) { int pri; struct sched_param param; pri = sched_get_priority_min(SCHED_RR); if 阅读全文
posted @ 2023-08-08 10:18 王阳开 阅读(82) 评论(0) 推荐(0)
摘要: # mcan 报文过滤配置 reference: ![](https://img2023.cnblogs.com/blog/2206318/202307/2206318-20230725173327812-1665704679.png) ![](https://img2023.cnblogs.com 阅读全文
posted @ 2023-07-25 17:34 王阳开 阅读(49) 评论(0) 推荐(0)
摘要: # vmware扩展ubuntu虚拟机磁盘空间 [VMware 扩展Ubuntu虚拟机的磁盘空间](https://blog.csdn.net/xiaopangcame/article/details/124580536?utm_medium=distribute.pc_relevant.none- 阅读全文
posted @ 2023-07-21 20:18 王阳开 阅读(18) 评论(0) 推荐(0)
摘要: ## win10开启FTP服务 reference: [Win10开启FTP与配置](https://blog.csdn.net/qq_34610293/article/details/79210539) 阅读全文
posted @ 2023-06-23 12:32 王阳开 阅读(72) 评论(0) 推荐(0)
摘要: linux time subsystem linux 时间子系统 reference: 从硬件到软件,Linux 时间子系统全栈解析 https://kernel.meizu.com/2023/12/13/Full-stack-resolution-of-the-Linux-time-subsyst 阅读全文
posted @ 2023-06-07 19:21 王阳开 阅读(36) 评论(0) 推荐(0)
摘要: # yocto [Yocto开发讲解系列 - 总目录](https://fulinux.blog.csdn.net/article/details/116208803) [Yocto 2:Yocto基本概念、编译流程、目录 ](https://www.cnblogs.com/arnoldlu/p/1 阅读全文
posted @ 2023-06-06 20:24 王阳开 阅读(53) 评论(0) 推荐(0)
摘要: pstore refernece Linux pstore 实现自动“抓捕”内核崩溃日志 【调试】pstore原理和使用方法总结 https://www.cnblogs.com/dongxb/p/18011157 阅读全文
posted @ 2023-06-06 19:54 王阳开 阅读(104) 评论(0) 推荐(0)
摘要: # arm linux新增加一个系统调用 reference: [在ARM Linux内核中增加一个新的系统调用](https://blog.csdn.net/21cnbao/article/details/51295955?spm=1001.2014.3001.5502) 阅读全文
posted @ 2023-06-02 17:43 王阳开 阅读(58) 评论(0) 推荐(0)
摘要: # linux tee linux tee命令可以读取标准输入或者一个输入文件,并将其输出到标准输出或者一个输出文件中,同时还可以把输出内容追加到一个文件中。 tee命令通常与管道符一起使用,用于同时输出结果到屏幕上,以及保存到文件中。 例如,命令"make linux | tee build_li 阅读全文
posted @ 2023-05-24 10:43 王阳开 阅读(192) 评论(0) 推荐(0)
摘要: ubuntu 18.04 增加新用户 reference: Ubuntu 18.04下用户的创建、修改权限及删除用户的方法 add a bsp user: sudo useradd -m bsp -d /home/bsp -s /bin/bash sudo passwd bsp sudo chmod 阅读全文
posted @ 2023-05-22 17:42 王阳开 阅读(32) 评论(0) 推荐(0)
摘要: repo example https://gerrit.googlesource.com/git-repo $ mkdir -p ~/.bin $ PATH="${HOME}/bin:${PATH}" $ curl https://storage.googleapis.com/git-repo-do 阅读全文
posted @ 2023-05-22 11:12 王阳开 阅读(73) 评论(0) 推荐(0)
摘要: # 修改ubuntu 18.04 的swap分区大小 reference: [增大Ubuntu 18 的swap分区大小](https://www.jianshu.com/p/3382220d654a) 阅读全文
posted @ 2023-05-17 20:33 王阳开 阅读(97) 评论(0) 推荐(0)
摘要: linux Kernel Build System https://www.kernel.org/doc/html/latest/kbuild/index.html reference: 内核编译相关 https://zhuanlan.zhihu.com/p/362640343 阅读全文
posted @ 2023-05-17 14:44 王阳开 阅读(16) 评论(0) 推荐(0)
摘要: linux eBPF reference: 《eBPF 核心技术与实战》 BPF内核调试开发坏境的搭建 BPF示例在64位ARM上的调试 Kernel调试追踪技术之 eBPF on ARM64 万字干货,eBPF 经典入门指南 Linux超能力BPF技术介绍及学习分享 eBPF学习 kernel c 阅读全文
posted @ 2023-05-16 16:57 王阳开 阅读(61) 评论(0) 推荐(0)
摘要: 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)
摘要: linux内核线程优先级配置 /* reference driver/spi/spi.c */ #include <linux/sched/rt.h> #include <uapi/linux/sched/types.h> static struct sched_param param = { .s 阅读全文
posted @ 2023-03-28 11:22 王阳开 阅读(61) 评论(0) 推荐(0)
摘要: ubuntu net card dhcp sudo udhcpc -i ens38 1 sudo udhcpc -i ens39 1>/dev/null 2>&1 & 阅读全文
posted @ 2023-03-08 14:20 王阳开 阅读(22) 评论(0) 推荐(0)
摘要: mailbox Linux Kernel编程 Mailbox驱动框架 阅读全文
posted @ 2023-02-15 17:50 王阳开 阅读(110) 评论(0) 推荐(0)