- 博客(4)
- 资源 (8)
- 收藏
- 关注
原创 工作队列 小任务机制
1.系统分配工作者线程:声明结构体:struct work_struct detect_i2c_work;初始化任务//延迟指定滴答 工作队列的初始化INIT_DELAYED_WORK(&detect_i2c_work, detect_i2c_work_func);//不延迟INIT_WORK(delayed_work, delayed_work_handler, data);调度//延迟指定滴答 调度schedule_delayed_work(&detect_i
2021-01-26 17:36:02 98
原创 uboot 校验
#include <stdio.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <errno.h>#include <string.h>#define BUFSIZE 1024#define IH_NMLEN 32 /* Image Name Length */#
2021-01-14 14:02:23 299
原创 logo 延续
核心思想:bootstrap从nand flash 引导logo,进入内核LCD驱动,首先把logo的物理地址映射成虚拟地址,nuc970fb_activate_var函数中第一次初始化fb时,设置LCD显存物理地址,第二次不设置。这样进入应用程序,对LCD的初始化清屏等操作就不会显示在LCD上,实现logo延续#include <linux/module.h>#include <linux/kernel.h>#include <linux/err.h>#in
2021-01-09 16:05:08 164
原创 bootstrap 跳过 uboot 引导内核
/* * (C) Copyright 2006-2008 * Stefan Roese, DENX Software Engineering, sr@denx.de. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software...
2021-01-09 15:22:59 340
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人