11 2020 档案
摘要:中断是所有驱动的基石 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
阅读全文
摘要:// Documenation/devicetree/binding/arm/gic.txt #interrput-cells 为3 1:interrupts=<0 168 4 >,<0 169 4>; 2:0 spi interrupts,1 for PPI interrupts; spi 0-9
阅读全文
摘要:The Yocto Project: (1)前提 环境准备 硬件配置和软件环境 sudoapt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsd
阅读全文
摘要:IMAGE_FSTYPES=“ext3tar.bz2” IMAGE_ROOTFS_SIZE IMAGE_ROOTFS_ALIGNMENT _get_rootfs_size():ROOTFS_SIZE=`du-ks${IMAGE_ROOTFS}`BASE_SIZE=ROOTFS_SIZE*IMAGE_
阅读全文
摘要:Hob: Hob is a GUI for BitBake //build environment or package selection and image configuration OpenEmbedded Core : OE Core. 实用sripts 和classes 和 BitBak
阅读全文
摘要:oe:openEmbedded metadata:描述符 recipes:食谱 software components:软件组件 yocto:build system 是完全被Python写的,懂python有优势 jumpstarting:快速启动 linux os stack:layer sta
阅读全文
摘要:#deb cdrom:[Ubuntu 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main restricted # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb http:/
阅读全文
摘要:添加环境变量: (1)找到编译链包,get xxx/bin/路径 (2)临时测试: export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabihf- export PATH=$PATH:xxx/bin/路径 source ~/.bashrc arm-
阅读全文
摘要:ubuntu 上网 静态ip地址 // 注意虚拟机分配合适的大小(1)https://www.cnblogs.com/IcarusYu/p/10967537.html(2)get ip地址,相关管理员(3)安装samba和配置samba目录(4)ssh工具登录.(5)\\xxx.xxx.xxx.xx
阅读全文
摘要:// V4L2 clocks // subdevices: 子设备 camera sensors,TV decoders and encoders // need a clocksignal to be supplied by the system. Often this clock is supp
阅读全文
摘要:https://linuxtv.org/downloads/v4l-dvb-apis/driver-api/mc-core.html#pads
阅读全文
摘要:(1) typeof 不是 typedef (2) #include <stdio.h>#include <stdint.h>#include <stdbool.h> #define clamp(val,min,max) ( { \ typeof(val) __val = (val); \ type
阅读全文

浙公网安备 33010602011771号