1. 基本功 《深入理解计算机系统》配套学习网站:https://fengmuzi2003.gitbook.io/csapp3e/linux 命令网站: https://man.linuxde.net/《Linux指令从初学到精通》 https://book.51cto.com/art/201107 Read More
posted @ 2019-03-21 14:30 靖意风 Views(209) Comments(0) Diggs(0)
VMware虚拟机中安装Ubuntu18.04(linux发行版)【超详细图文教程】_vmware安装ubuntu18.04-CSDN博客 Read More
posted @ 2025-10-25 21:29 靖意风 Views(6) Comments(0) Diggs(0)
1. 关于串口电平和 RS232 、RS485、RS422 的引脚接线 串口常用的电平标准有如下三种: TTL电平:+5V表示1,0V表示0 RS232电平:-3~-15V表示1,+3~+15V表示0 RS485电平:两线压差+2~+6V表示1,-2~-6V表示0(差分信号) 引脚定义: 串口RS2 Read More
posted @ 2025-10-18 23:01 靖意风 Views(11) Comments(0) Diggs(0)
(1) 基本数据类型的对齐每个类型的起始地址必须是自身大小的整数倍: char(1字节) → 任意地址。short(2字节) → 地址是2的倍数(如0x1002, 0x1004)。int(4字节) → 地址是4的倍数(如0x1004, 0x1008)。double(8字节) → 地址是8的倍数(如0 Read More
posted @ 2025-07-16 16:20 靖意风 Views(13) Comments(0) Diggs(0)
$ sudo apt-get install build-essential module-assistant $ sudo apt-get install gcc-multilib g++-multilib $ gcc -m32 test.c $ file a.out a.out: ELF 32- Read More
posted @ 2025-07-16 15:06 靖意风 Views(9) Comments(0) Diggs(0)
一、让uboot的 log 通过串口1 输出。目前,uboot 的打印信息是通过uart0 输出的。 修改上述宏设置,发现uboot 的log在uart0下确实不输出了,但是在uart1 也没有输出。 另外,查看对应的串口设置代码,没有发现可疑之处:arch/arm/cpu/slsiap/devic Read More
posted @ 2025-06-15 20:53 靖意风 Views(17) Comments(0) Diggs(0)
1. 概述 硬件上修改gpio端口后,为了让linux driver 代码修改尽量少,可以使用linux driver 的platform框架。 该框架让硬件dev和软件driver 分离开,尽量保证driver编写完成后,不需要再修改。 如果采用platform机制实现驱动程序, 驱动工程师只需维 Read More
posted @ 2025-06-11 23:02 靖意风 Views(24) Comments(0) Diggs(0)
1. 安装 wine apt-get install wine32安装之后,提示没有win32,就按照如下步骤进行安装 dpkg --add-architecture i386#这是让Linux安装32位架构,好兼容32位的程序 apt-get install wine32 执行完毕之后再次执行ap Read More
posted @ 2025-06-03 23:22 靖意风 Views(167) Comments(0) Diggs(0)
9_2$cat /etc/apt/sources.list# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricteddeb-src http://archive. Read More
posted @ 2025-06-02 22:32 靖意风 Views(10) Comments(0) Diggs(0)
vmware虚拟机三种网卡_虚拟机网卡-CSDN博客 Read More
posted @ 2025-06-02 21:17 靖意风 Views(8) Comments(0) Diggs(0)
VMware虚拟机安装Ubuntu24.04教程(中文)_ubuntu24.04下载-CSDN博客 Read More
posted @ 2025-06-02 21:17 靖意风 Views(154) Comments(0) Diggs(0)