摘要: Linux BSP 开发的基础就是和GPIO打交道, 下面总结下这几天对某家开发板的GPIO控制的知识。 公司的开发板用的是 DTB 模式 ,首先,进入 dts,dtsi文件查看关于GPIO 的模块。 可以看到 GPIO 节点 挂在 SOC node 下 ,手上这块开发板 把GPIO分成了8个 ba 阅读全文
posted @ 2017-11-03 19:40 hutian 阅读(19572) 评论(2) 推荐(0) 编辑
摘要: Linux kernel images are being built with "-dirty" on the end of the version string: 1. add .scmversion file content is the version name 2. compile app 阅读全文
posted @ 2021-02-05 13:37 hutian 阅读(257) 评论(0) 推荐(0) 编辑
摘要: [FAILED] Failed to start Login Service. [FAILED] Failed to start Network Name Resolutio systemd-logind.service: Start request repeated too quickly. /v 阅读全文
posted @ 2020-11-19 16:57 hutian 阅读(797) 评论(0) 推荐(0) 编辑
摘要: 目前开发遇到了某些SD卡和TI的SOC芯片的驱动不协调的地方,具体表现为: uboot 阶段初始化mmc dev 1 没有任何串口信息输出,无法读写mmc Kernel阶段报错”SD卡初始化失败 error -110 whilst initialising SD card“ 具体的原因是SD的某些C 阅读全文
posted @ 2020-02-28 15:49 hutian 阅读(4269) 评论(0) 推荐(0) 编辑
摘要: 在Windows下一般使用WireShark 抓包软件,tcpdump 是 Linux 系统的抓包软件。它可以抓取 TCP/IP 协议族的数据包,支持针对网络层、协议、主机、端口的过滤,并提供 and、or、not 等逻辑语句来过滤无用的信息。 常用的命令列表: 1.查看当前可用的的网口列表 tcp 阅读全文
posted @ 2019-12-06 10:22 hutian 阅读(1080) 评论(0) 推荐(0) 编辑
摘要: source /opt/poky/environment... 创建交叉编译环境。 更改u-boot/tools/env/Make 添加CC 9 CC=aarch64-poky-linux-gcc -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysro 阅读全文
posted @ 2019-09-02 17:05 hutian 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: xxxx.cpio.gz.u-boot 为 Ramdisk 文件。 是使用u-boot源码下 tools/mkimage 工具生成的。 .u-boot = 64字节的头部信息 + Filesystem 包 解包方法: 通过:dd if=xxxx.cpio.gz.u-boot of=xxxx.cpio 阅读全文
posted @ 2019-08-29 18:16 hutian 阅读(1110) 评论(0) 推荐(0) 编辑
摘要: As we know, the bootloader stores its configuration into an area of the flash called the environment. The environment is basically stored as a sequenc 阅读全文
posted @ 2019-08-29 17:55 hutian 阅读(1304) 评论(0) 推荐(0) 编辑
摘要: 首先在Ubuntu里面制作图片, ######################################################################## 1920x1080为linux的分辨率 可以通过 #fbset 得到分辨率 设置分辨率如下 # fbset -fb /d 阅读全文
posted @ 2019-08-29 16:44 hutian 阅读(3554) 评论(0) 推荐(0) 编辑
摘要: 嵌入式领域里面,不同的SOC芯片往往喜欢采用不同的GPU,目前为止有4家公司提供移动端的GPU芯片:ARM、Imagination Technologies、Vivante和Nvidia (高通Adreno和Broadcom VideoCore不在名单)。 下面的这个列表是比较老的系列芯片,最新的产 阅读全文
posted @ 2019-07-26 10:42 hutian 阅读(2511) 评论(0) 推荐(0) 编辑
摘要: A monitor draws an image on the screen by using an electron beam (3 electron beams for color models, 1 electron beam for monochrome monitors). The fro 阅读全文
posted @ 2019-04-08 14:02 hutian 阅读(459) 评论(0) 推荐(0) 编辑