自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 资源 (18)
  • 收藏
  • 关注

原创 文件中的特殊字符删除^@ ^M

主要是体现在vim编辑Windows文档时出现特殊字符的处理

2022-03-31 10:58:29 1619

原创 在ZYNQ的PL侧添加串口IP16550

环境软件:vivado2017.4硬件:黑金7017的开发板步骤:1、使用黑金例程中的ps_axi_led例程中进行添加pl侧的16550IP核2、添加16550IP核、Constant IP核链接如下:Contant连接的freeze输出默认0Contant连接的rin和ctsn输出默认1将16550的sin和sout引出添加管脚约束...

2022-02-10 11:55:35 1812

原创 Design Runs中没有显示对应IP问题

在生成bit时,发现没有显示Block design中的IP核,如下图这个问题需要在“Generate Output Products”中设置,如下图需要选择“Out of context per IP”不要选择“Global”。选了“Global”之后便不会出现其他ip核...

2022-01-27 16:46:17 1665

原创 fatal error: stdio.h: No such file or directory

在windows应用商店安装完Ubuntu之后编译个hello world程序后报错root@Mack:/home/mack/test#root@Mack:/home/mack/test# gcc test.ctest.c:1:10: fatal error: stdio.h: No such file or directory #include <stdio.h> ^~~~~~~~~compilation terminated.解决方法如下:1、更新源

2021-05-11 11:28:01 13060

原创 vsipl库介绍(一)

本文以example11中的接口进行介绍1、Creates a block object and a vector view (object) of the block.FunctionalityCreates a block object with an N element VSIPL data array, it creates a unit stride vector view object and then binds the block object to it.The funct

2021-04-19 16:30:40 4291 12

原创 Vivado创建自己第一个ps工程

操作步骤按照下图进行设置 接下来next,到选择zynq的页面,根据原理图选择对应的zynq芯片 点击finish

2021-03-24 11:36:22 709

原创 驱动中出现data abort的错误,例程验证32位与64位的转化问题

返回指针无法访问的问题主要是进行了非法地址的访问,这里主要说一种不常见的错误,在32位程序移植到64位系统时候出现的返回值无法访问的问题。问题现象:出现 data abort的错误实质是程序访问了非法地址,嵌入式中出现data abort一般考虑是内存mmu配置中的地址映射出现问题,但是如果是程序移植需要考虑编译器的一个特性。请看下面的代码1、test.c文件#include <stdio.h>#include <stdlib.h>void main(){

2020-11-05 14:38:25 1280

原创 UBOOT NVME驱动(一路io队列和一路admin队列的例程分析)(未完成)

图片较大,建议保存本地查看,或者双击放大

2020-09-01 16:02:02 946

原创 UBOOT中链表操作例子(仿照uboot中的例子)

struct tmp{ u8* name; u8* lenth; u8* age; struct tmp *tp;};//struct tmp *tmp;#define __aligned(x) __attribute__((aligned(x)))#define start_entry(_type, _list) \ _type _u_boot_list_1_##_list __aligned(4) \ ...

2020-09-01 15:24:12 455

原创 基于ZYNQ PCIe SDK的代码实现PCIe的ep配置---初步设计

2020-06-29 14:37:28 1531

原创 在函数‘_start’中: (.text+0x20):对‘main’未定义的引用

本人在最近研究u-boot的代码,链表操作时候写了如下代码:#include <stdio.h>typedef unsigned char u8;struct tmp{ u8* name; u8* lenth; u8* age;};struct tmp *tmp;#define __aligned(x) __attribute__((aligned(x)))#define ll_entry_declare(_type, _name, _list)

2020-06-28 18:35:20 6066

原创 云服务器卡

背景:去年申请了腾讯的云服务器,为了别人方便创建了一个简单密码的用户tmp,去年腾讯一直给我报警,说受到攻击,每天好几次,就关机了,今年登录之后发现,格外的卡具体操作:用top命令查看的结果如下:前两个占了将近100%,百度之后发现kswapd是用作swap的,但是第二个就纳闷了,而且我这服务器什么也没有跑,用ps -ef查看居然只有tmp用户,而且再加上后面的运行命令,一下就清楚了,这个不是我设置的那就是被黑了。直接删除用户,立竿见影,不卡了。在看一下服务器的日志信息:

2020-06-18 14:00:50 223

原创 IMX6-使用mfgtool只烧写内核

目的:其余文件不动,只烧写内核在mfgtools根目录下,打开cfg.ini文件,看到name后的名字,当前为“eMMC-linux”;打开“Profiles\Linux\OS Firmware\ucl2.xml文件,找到“eMMC-linux”,如下<LIST name="eMMC-linux" desc="Choose eMMC as media"> <CMD state="BootStrap" type="boot" body="BootStrap" file =

2020-06-10 09:17:36 928

原创 UBOOT-在uboot中确定网络连接问题

zynq-uboot> mdiomdio - MDIO utility commandsUsage:mdio list - List MDIO busesmdio read <phydev> [<devad>.]<reg> - read PHY's register at <devad>.<reg>mdio write <phydev> [<devad>.]<reg> &lt.

2020-06-09 18:25:44 3218 3

原创 could not locate script engine for language 'python'

在运行SecureCRT的Python脚本时候报错could not locate script engine for language 'python',根据查找明确问题主要是因为没有安装ActivePython,自己可以根据自己的版本安装ActivePython,安装完成后,运行脚本没有问题!...

2020-04-09 10:37:16 2009 4

原创 iMX6设置MTU大于1500

修改fec.c文件,修改内容具体如下:1、将以下代码:#define PKT_MAXBUF_SIZE 1518#define PKT_MINBUF_SIZE 64#define PKT_MAXBLR_SIZE 1520修改为#define PKT_MAXBUF_SIZE 2016#define PKT_MINBUF_SIZE 64#define PKT_MAX...

2020-03-11 18:53:33 579

原创 imx6平台qt程序中dynamic_cast导致的内存增加

问题背景:imx6dl的主板,3.0的内核,busybox的文件系统问题描述:如下程序运行中,未定义MEMTEST会出现计数300+时内存增加现象(无论是delete还是使用deletelater方法);在定义MEMTEST后的程序不会出现此问题,一切正常mainwindow.cpp:#include "mainwindow.h"#include "ui_mainwindow.h"...

2020-03-03 14:52:24 368

原创 内核编译常见问题(一)

问题1:/opt/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../libexec/gcc/arm-fsl-linux-gnueabi/4.6.2/cc1: error while loading shared librari/home/mack/kernel/linux-3.0.35/./Kbui...

2020-02-19 08:20:02 1576

原创 色彩概念

真彩色(true color)真彩色是指在组成一幅彩色图像的每个像素值中,有R,G,B三个基色分量,每个基色分量直接决定显示设备的基色强度,这样产生的彩色称为真彩色。例如用RGB5∶5∶5表示的彩色图像,R,G,B各用5位,用R,G,B分量大小的值直接确定三个基色的强度,这样得到的彩色是真实的原图彩色。如果用RGB8:8:8方式表示一幅彩色图像,就是R,G,B都用8位来表示,每个基色分量占一个字...

2020-01-17 15:17:33 591

原创 求质(素)数中的筛选思想

在网上无意看见一片关于求解质数文章,在这总结一下这种筛选的思想:1、最常见的筛选质数的方法,也是一开始能便能想的到的,便是质数的定义,质数不能被除了自己和1以外的数整除。将n依次整除2到n-1的数看是否有余数,这种方法简单,但是耗时2、将第一种方法改进,将n依次整除2到(n+1)/2的数,理论上时间缩减了一半3、继续改进,任何数可以写成n*(2*3)+m(m为0-5)也就是6n

2013-10-10 10:55:45 643

原创 How to Install Eclipse ADT, Android SDK, and setup AVD Emulator

Steps:1. Get Eclipse (I use Eclipse 3.7 – Indigo), download from:Eclipse.org or EclipseSource (cloud download – a lot faster!!!  )2. Get Android SDK, run the installation:After the

2013-07-22 16:34:41 1144

原创 Linux_problem 1: ntfs-3g

When your USB harddisk(HDD)' file system is NTFS, Linux can't mount your harddisk,  because Linux doesn't know what the NTFS is. The solution of this problem as follows:1.Download ntfs-3g 2.inst

2013-07-16 16:12:47 959

System Control and Management Interface V3.1

本文档描述了一个基于ARM架构可扩展的与操作系统无关的软件接口,用于执行各种系统控制和管理任务,包括电源和性能管理。

2022-07-29

vsipl 1.3和1.4的部分资源手册

This document contains minimum requirements for a VSIPL compliant library meeting a profile called VSIPL Core, or just Core. This is a companion requirements document to the VSIPL specification. All functions and data types in the Core profile must meet all requirements for functions and data types as defined in the VSIPL specification. 1 This document specifies requirements for implementations of the VSIPL++ Library.

2022-06-04

ARMv8-A_Architecture_Reference_Manual_(Issue_A.a).pdf

The ARM architecture-described in this Architecture Reference Manual-defines the behavior of an abstract machine, referred to as a Processing Element, often abbreviated to PE. Implementations compliant with the ARM architecture must conform to the described behavior of the Processing Element.

2020-11-23

arm架构的寄存器手册(armv8包含32bit和64bit)

This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications.

2020-11-23

intel82574网卡手册

intel82574的网卡手册,包含寄存器手册和操作流程,中断说明,bar空间映射等等 The 82574 family (82574L and 82574IT) are single, compact, low power components that offer a fully-integrated Gigabit Ethernet Media Access Control (MAC) and Physical Layer (PHY) port.

2020-11-23

GIC_V3的相关文档(最新版英文)

This document provides a software focused overview of the features of GICv3, and describes the operation of a GICv3 compliant interrupt controller. It is also a primer on how to configure a GICv3 interrupt controller for use in a bare metal environment. This document compliments the ARM® Generic

2020-10-15

ActivePython-v2.7.10.zip

当前上传输是为了解决SecureCRT不识别Python脚本问题,版本为ActivePython 2.7,

2020-04-09

ActivePython-v2.7.10.zip

当前上传输是为了解决SecureCRT不识别Python脚本问题,版本为ActivePython 2.7,

2020-04-09

ls1043a/1023a的checklist

This document provides recommendations for new designs based on the LS1043A/LS1023A, which is a cost-effective, power-efficient, and highly integrated system-on-chip (SoC) design that extends the reach of the Freescale Value Performance line of QorIQ communications processors. This document can also be used to debug newly-designed systems by highlighting those aspects of a design that merit special attention during initial system start-up.

2019-03-22

MT41K1G8手册

DDR3L (1.35V) SDRAM is a low voltage version of the DDR3 (1.5V) SDRAM. Refer to the DDR3 (1.5V) SDRAM data sheet specifications when running in 1.5V compatible mode.

2018-12-15

nxp的lsdk使用说明文档

LSDK is a complete Linux kit for NXP QorIQ ARM-based SoC's and the reference and evaluation boards that are available for them. It is a hybrid form of a Linux distribution because it combines the following major components to form a complete Linux system. • NXP firmware components including: • PPA, a resident EL3 privilege secure firmware for ARMv8A. • NXP peripheral firmware components for DPAA1, DPAA2, and PPFE. • NXP boot loaders. Two are offered: • U-Boot, based on denx.de plus patches. • UEFI, based on TianoCore. • NXP Linux kernel, based on kernel.org upstream plus patches. • NXP added user space components. • Ubuntu standard user space file set (user land), including compilers and cross compiler. The use of Ubuntu user land is what makes LSDK a hybrid. It is not entirely an Ubuntu distribution because it uses an NXP kernel, but it still uses Ubuntu user space files. This hybrid is possible because NXP ARM SoC's are standards-based so programs like bash and thousands of others run without being recompiled.

2018-12-15

ls1043的技术手册

LS1043A is a cost-effective, power-efficient, and highly integrated system-on-chip (SoC) design that extends the reach of the NXP value-performance line of QorIQ communications processors. Featuring extremely power-efficient 64-bit Arm® Cortex®-A53 cores with ECC-protected L1 and L2 cache memories for high reliability, running up to 1.6 GHz.

2018-12-15

qtquick1-opensource

qtquick1-opensource 的源代码,官方发布,编译直接可用

2018-12-15

xapp1052.pdf

一个xilinx官方出品的demo:xapp1052。全称是Bus Master DMA Performance Demonstration Reference Design for the Xilinx Endpoint PCI Express® Solutions。

2015-08-21

在Linux上配置RAID0

本文档主要讲述的是在Linux86_64上面进行RAID0的配置,步骤还有linux分区方法

2015-04-01

linux学习的初步文档

这个是整理出来的linux初学者的文档,主要是针对每部分初略的讲解。

2012-11-03

shell编程学习文档

对于linux上的shell脚本学习者特别适用,简单到难。。。逐步学习

2012-10-17

红外接收原理

红外遥控已经运用到家庭的很多方面,现在也是很好的远程控制的方法。

2012-07-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除