随笔分类 - 传统的linux驱动和通信协议
摘要:ubootspl.bin 16K 加载片内SRam 96KB uboot.bin 210K 加载SDRAM 先从IROM--> SRAM(BL1) > SDRAM(uboot.bin)
阅读全文
摘要:cat /proc/sys/kernel/printk 修改 echo "8 4 1 7" > /proc/sys/kernel/printk 之后都可以打印出来
阅读全文
摘要: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
阅读全文
摘要:中断是所有驱动的基石 platform_get_resource gpiod_to_irq pinctrl作用:配置pin脚为什么功能 22222222222222 of_gpio_count 和cell有关 5、内核的使用流程 a、清除命令 一般在第一次编译时使用 make mrproper b、
阅读全文
摘要:make modules结束后使用命令安装内核中可加载模块文件到一个指定目录下.make modules_install INSTALL_MOD_PATH=/home/usr/modules
阅读全文
摘要:硬件发生中断过程和软件识别中断过程是相反的 cpu读取中断控制器是那个模块发生了中断. #if 0 /* Interrupt number assignments within Linux */#define WM831X_IRQ_TEMP_THW 0#define WM831X_IRQ_GPIO_
阅读全文
摘要:// 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
阅读全文
摘要:@jiffy:中断处理分成两个层次: 1、CPU层次的中断处理 2、各个IRQ层面的处理 由于中文习惯通常中断,因此工程师很容易混淆这两个概念。 T64时刻 3个clock之后,由于CPU已经ack了中断,因此GIC中CPU interface模块 deassert nFIQCPU信号线 @tuya
阅读全文