![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
韦东山嵌入式学习笔记
Z文的博客
这个作者很懒,什么都没留下…
展开
-
中断触发的按键驱动
外部中断号查找,看原理图驱动代码:导图框架测试:验证中断:当执行open驱动的时候就会执行 request_irqexec 命令执行打开驱动-sh 对应的是当前的进程PID 为 769关闭...原创 2020-04-12 23:02:31 · 274 阅读 · 0 评论 -
linux 挂载nfs 网络文件系统
之前在家中能挂载NFS 网络文件系统,网络文件系统构建在PC 的vmware 中的虚拟机网段为 192.168.0.106板子能执行挂载命令mount -t nfs -o nolock 192.168.0.106:/work/nfs_root/first_fs /mnt板子中执行 ls /mnt 后也能看到里面的文件是和虚拟机中的文件目录是同步的但是执行insmod ...原创 2020-04-07 22:34:41 · 196 阅读 · 0 评论 -
字符设备驱动笔记 001
# cat /proc/devicesCharacter devices: 1 mem 2 pty 3 ttyp 4 /dev/vc/0 4 tty 4 ttyS 5 /dev/tty 5 /dev/console 5 /dev/ptmx 6 lp 7 vcs 10 misc 13 input 14 sound 29 fb 90 mtd ...原创 2020-04-06 15:10:14 · 281 阅读 · 0 评论 -
Linux内核编译配置教程
解压缩打补丁 tar xjf linux-2.6.22.6.tar.bz2 cd linux-2.6.22.6 patch -p1 < ../linux-2.6.22.6_jz2440.patch编译make uImage报错:ook@www.100ask.org:/work/system/linux-2.6.22.6$ cp config_ok...原创 2020-04-06 18:40:05 · 230 阅读 · 0 评论 -
make命令报错missing separator ||韦东山jz2440 嵌入式开发遇到的错
错误:执行make命令报错:book@www.100ask.org:/work/drivers_and_test/first_drv$ makeMakefile:4: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.原因:原因是我直接复制的自己博客记录里的代码里面是有报错的:...原创 2020-04-06 17:53:26 · 612 阅读 · 0 评论 -
version magic '2.6.22.6 mod_unload ARMv5 ' should be '2.6.22.6 mod_unload ARMv4 字符设备驱动遇到的内核版本不匹问题
我一开始的内核编译是有错误的1.我使用的不是linux-2.6.22.6_jz2440.patch 补丁 而是 linux-2.6.22.6_jz2440_v2v3.patch2.忘记了一个步骤 那就是生成 .config配置文件可以有两种方法生成 .config文件1.make xxxx_deconfig2.cp config_ok .config ...原创 2020-04-06 11:33:58 · 642 阅读 · 0 评论 -
S3C2400 第一个字符设备驱动开发日志
字符设备驱动开发:first_drv.c#include <linux/module.h>#include <linux/kernel.h>#include <linux/fs.h>#include <linux/init.h>#include <linux/delay.h>#include <asm/uacce...原创 2020-04-05 21:01:34 · 387 阅读 · 0 评论 -
NFS 系统
# /etc/exports: the access control list for filesystems which may be exported# to NFS clients. See exports(5).## Example for NFSv2 and NFSv3:# /srv/homes hostname1(rw,sync,no...原创 2020-04-05 18:20:31 · 255 阅读 · 0 评论 -
ARM裸机1期加强版课程遇到的make menuconfig 问题
https://www.cnblogs.com/weidongshan/p/8036182.html 也许很多人都知道,ARM裸机1期加强版课程用的是ubuntu 16.04,当用这个ubuntu编译内核和制作文件系统的时候会出现一些问题,售后团队用了一天时间找到了如下解决方法。 更多干货关注威信订阅号baiwenkeji 1.编译busybox...转载 2020-03-29 00:13:05 · 283 阅读 · 0 评论