minicom usage
2017-9-8
minicom是linux上的串口工具。安装:sudo apt-get install minicom配置:ubuntu已经安装了USB转串口驱动。插入上USB串口后,会创建tty设备。使用下述命令查看:12345678910111213herbert@herbert-pc:/work/s3c244
minicom时间戳
2018-1-23
minicom有4种时间戳:关闭的,简单的,扩展的,每秒的。执行CTRL+A N,顺序切换,扩展的可以显示毫秒。
rmmod失败定位过程
2019-4-20
想要卸载ath9k,但是失败,发现其refcnt为1,但是没有内核模块引用它。root@OpenWrt:/# lsmodath 18771 4 ath9k,ath9k_common,ath9k_hw,ath10k_coreath10k_core
initramfs
2020-1-13
initramfs是内存文件系统。但是和initrd。initrd(init ramdisk)是用内存模拟一块磁盘。在模拟的磁盘上建立一种真实的文件系统(如ext3),initrd需要文件系统的驱动模块。但是initramfs不需要文件系统驱动,是一种tmpfs。initramfs的启动路径存储在r
boa学习
2020-2-28
boa是小巧、高效的web服务器,非常适合嵌入式系统。命令行参数-c server_root,用来改变working directory,默认是/etc/boa, 默认配置文件是boa.conf,所以修改working directory,会影响默认配置
phy registers
2020-3-23
Phy寄存器及其每一位的宏,定义在内核的include/uapi/linux/mii.h,下面介绍一些重要的寄存器位。0 Basic mode control register (MII_BMCR)15位,RESET位,写1开始复位,复位完成后,自动变成0。12位,自动协商开启位,设置1,开启自动协
ethernet phy
2022-1-26
Ethernet MAC Block DiagramMAC Controller aka Ethernet ControllerAn Ethernet controller or Ethernet Media Access Controller is hardware responsible for
PHY layer and MMD register
2022-2-7
1 MAC和PHY体系结构在嵌入式网络设备中,MAC和PHY是两个层级的底层的网络设备。MAC对应了MAC controller或者叫做Ethernet controller,软件驱动为以太驱动。它创建netdevice,如eth0,负责收发包。MAC层对外的接口为各种类型的GMII,可以连接phy
ubi & ubifs power cut 场景下数据一致性
2022-4-24
附件中的文档,可以完整的学习ubi和ubifs。但本文重点关注文档中关于 ubi 和 ubifs 的 unclean reboot 和 power cut 场景下的数据一致性。UBI Power-cuts toleranceBoth UBI and UBIFS are designed with t
内核编译zImage过大问题
2022-5-12
发现是开启了gzip压缩,没有开启xz压缩导致。gzip压缩,zImage是5M多。开启xz, zImage是3M多。在另外一个机型上,zImage是2兆多。将两个机型都打开debug info。这样好比较.o的大小Compile the kernel with debug infoconfigna
Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.