跳转到主要内容
国际橡塑展报名
国际橡塑展报名
国际橡塑展报名

Petalinux

ZYNQ学习之路——PetaLinux开发环境搭建

judy 提交于

本文转载自:<span id="profileBt"><a href="https://blog.csdn.net/u010580016/article/details/114554633">亦梦云烟的博客</a>…;

<strong>简介</strong>
PetaLinux是一个嵌入式Linux系统开发工具,用于设计Xilinx基于FPGA的SOC片上系统。本节为第一节,旨在介绍如何使用PetaLinux工具。

软件环境: windows 10 64bit,VMware 12, ubuntu 16, Vivado2018.2

硬件环境: 米尔科技Zturn board

安装vmware后在其中安装ubuntu。

开发者分享 | 如何在 IP 的 kernel module 里设置并使用 IP interrupt

judy /

有时我们需要为官方 IP 或者自己创建的 IP 生成 kernel module,然后在 linux kernel space 里使用 kernel module 来控制这个 IP。如果要使用 IP 中断,我们需要在 kernel module 代码里获取设备中断并建立中断服务程序。

开发者分享 | 如何给 u-boot 的源码生成 patch 并在 Petalinux 中编译

judy /

在软件开发过程中我们经常遇到用 patch 来传递和更新代码的场景。今天赛灵思技术专家以一个端到端的例子来演示在 Petalinux 使用过程中,如何给 u-boot 的源码生成patch 并在 Petalinux 中进行编译。

【工程师分享】在Petalinux编译多个源文件的Linux内核模块,以及扩展Makefile功能

judy /

Petalinux可以帮助工程师简化内核模块的创建工作。在petalinux工程目录下,使用命令“petalinux-create -t modules --name --enable”,能创建Linux内核模块,包括c源代码文件、Makefile、Yocto的bb文件。相关文件放在目录“project-spec/meta-user/recipes-modules”,目录结构如下