Home
little Joy Personal
Cancel

PCIe RC设备树

在嵌入式SOC中,PCIe的RC一般是厂商各自的,RC代码位于 drivers/pci/controller/ 下, 在嵌入式环境下,一般就会使用设备树,这个和x86环境不同。 记录一个关于PCIe RC设备树节点属性ranges example: amba_pl: amba_pl@0 { #address-cells = <2>; ...

Git with ssh key

使用ssh key 提交code 到github 在git push 时,会用到该功能。window环境,使用git bash 命令行,linux使用ssh和git命令行工具。 生成非对称密钥 $ ssh-keygen -t ed25519 -C "your_email@example.com" # or $ ssh-keygen -t rsa -b 4096 -C "your_ema...

BIOS and UEFI boot

通常BIOS配合MBR分区使用,UEFI配合GPT分区使用。 BIOS 固件(Legacy Mode) 一系列硬编码的小程序的集合,存放在PC的motherborad上的rom chip中(通常是flash存储器或EEPROM)。 没有BIOS,计算机将无法启动。BIOS就像“基本的操作系统”,它连接计算机的基本组件,并允许它启动。即使加载了主操作系统,它仍然可能使用BIOS与主要组件...

syslinux and extlinux

syslinux and extlinux what is syslinux : https://www.makeuseof.com/syslinux-bootloader-file-structure/ about syslinux on wiki : https://en.wikipedia.org/wiki/SYSLINUX Syslinux has two meanings. ...

XRT Linux Sys FileSystem Nodes

xocl and xclmgmt drivers expose several sysfs nodes under the pci device root node. The sysfs nodes are populated by platform drivers present in the respective drivers. xocl The xocl driver expos...

XRT Native APIs

在2020.2后,XRT提供了一套新的API接口,包括C/C++和python语言。 要使用XRT的原生API接口,主机程序编译时要链接 xrt_coreutil 库,并且,使用C++编译时要求C++标准 -std=c++17 (或者更高),example: g++ -g -std=c++17 -I$XILINX_XRT/include -L$XILINX_XRT/lib -o host....

XRT Features

P2P PCIe peer-to-peer communication (P2P) is a PCIe feature which enables two PCIe devices to directly transfer data between each other without using host RAM as a temporary storage. The latest ...

XRT Controlled Kernel Execution Models

XRT manages a few well-defined kernel execution models by hiding the implementation details from the user. The user executes the kernel by OpenCL or native XRT APIs, such as clEnququeTask API or xr...

XRT Execution Model

Memory Management Both PCIe based and embedded platforms use a unified multi-thread/process capable memory management API defined in XRT Core Library document. For both class of platforms, memor...

XRT Build and Install

编译和打包 源码编译 通常不需要,也不推荐,可以使用xilinx编译好的release版本,除非需要自己修改。 可以由Git仓库clone代码,check tag,并进行构建,生成deb/rpm 包,随后安装。 $ git clone https://github.com/Xilinx/XRT.git $ cd XRT $ git tag # 查看可用的tag $ git chec...