随笔分类 -  传统的linux驱动和通信协议

摘要:ubootspl.bin 16K 加载片内SRam 96KB uboot.bin 210K 加载SDRAM 先从IROM--> SRAM(BL1) > SDRAM(uboot.bin) 阅读全文
posted @ 2021-04-05 12:37 卷哭你 阅读(217) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-03-27 11:14 卷哭你 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-03-14 20:59 卷哭你 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-03 17:27 卷哭你 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-02 21:13 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-01 16:02 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-01 12:41 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-01 12:29 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-01 11:49 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-01 11:26 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-01 11:17 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-12-26 22:32 卷哭你 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-12-26 22:31 卷哭你 阅读(1) 评论(0) 推荐(0) 编辑
摘要:cat /proc/sys/kernel/printk 修改 echo "8 4 1 7" > /proc/sys/kernel/printk 之后都可以打印出来 阅读全文
posted @ 2020-12-26 22:30 卷哭你 阅读(513) 评论(0) 推荐(0) 编辑
摘要:Requirements In order for this to work configfs must be available, so CONFIGFS_FS must be ‘y’ or ‘m’ in .config. As of this writing USB_LIBCOMPOSITE s 阅读全文
posted @ 2020-12-08 21:41 卷哭你 阅读(1022) 评论(0) 推荐(0) 编辑
摘要:中断是所有驱动的基石 platform_get_resource gpiod_to_irq pinctrl作用:配置pin脚为什么功能 22222222222222 of_gpio_count 和cell有关 5、内核的使用流程 a、清除命令 一般在第一次编译时使用 make mrproper b、 阅读全文
posted @ 2020-11-30 08:16 卷哭你 阅读(141) 评论(0) 推荐(0) 编辑
摘要:make modules结束后使用命令安装内核中可加载模块文件到一个指定目录下.make modules_install INSTALL_MOD_PATH=/home/usr/modules 阅读全文
posted @ 2020-11-29 19:55 卷哭你 阅读(279) 评论(0) 推荐(0) 编辑
摘要:硬件发生中断过程和软件识别中断过程是相反的 cpu读取中断控制器是那个模块发生了中断. #if 0 /* Interrupt number assignments within Linux */#define WM831X_IRQ_TEMP_THW 0#define WM831X_IRQ_GPIO_ 阅读全文
posted @ 2020-11-29 18:26 卷哭你 阅读(118) 评论(0) 推荐(0) 编辑
摘要:// Rountine to acknowledge ,diable and enable interupts static void gic_poke_irq(struct irq_data*d,u32 offset) { u32 mask = 1 << (gic_irq(%d)%32); wri 阅读全文
posted @ 2020-11-29 17:04 卷哭你 阅读(372) 评论(0) 推荐(0) 编辑
摘要:@jiffy:中断处理分成两个层次: 1、CPU层次的中断处理 2、各个IRQ层面的处理 由于中文习惯通常中断,因此工程师很容易混淆这两个概念。 T64时刻 3个clock之后,由于CPU已经ack了中断,因此GIC中CPU interface模块 deassert nFIQCPU信号线 @tuya 阅读全文
posted @ 2020-11-28 22:27 卷哭你 阅读(180) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示