I swear if I need to `petalinux-build -c rootfs` one more time…

How’s your Friday going?

#petalinux

Very useful guide by #WhitneyKnitter on @hackster_io

👉 https://www.hackster.io/news/an-fpga-take-on-the-raspberry-pi-petalinux-on-the-zynqberry-67dd421d25aa

A few updates though:

  • Apparently, you don’t export an hdf-file anymore, it’s an .xsa file; so for --get-hw-description simply use the directory into which Vivado spat your .xsa file upon hardware export.
  • A couple of petalinux config options have changed. E.g. you can now select an ext4 fs explicitly.

Oh, and a general hint: upon installing #petalinux, the docs state, that --dir sets the installation directory. Yeah, but only if said directory exists. Otherwise it’s silently ignored and installation goes to current working directory. Because, duh, I guess -.-

An FPGA Take on the Raspberry Pi: PetaLinux on the ZynqBerry

A crash course in Xilinx’s PetaLinux toolset and a look into the design process of an FPGA engineer.

Hackster.io

@sovtechfund @yoctoproject

As the occasional #petalinux -user (which sits on top of yocto if I see this correctly) I’m happy to hear about the funding!

It's amazing how much of Computer Science is actually about learning yet another package management system.

For me (in that order): #FreeBSD ports, libtool user-land madness, #Debian packages, and now #Petalinux recipes.

Never getting boring...

The #XKCD comic "Compiling ⚔" was probably inspired by development with #petalinux.
🌗 MicroZed編年史:UIO第一部分 - 簡介和設置
➤ 在PetaLinux中使用UIO創建用戶空間驅動程序
https://www.adiuvoengineering.com/post/microzed-chronicles-uio-part-one-introduction-and-set-up
本文介紹瞭如何使用PetaLinux中的UIO創建用戶空間驅動程序,以實現對設備內存和中斷的安全訪問。此外,還介紹瞭如何在Vivado設計中添加GPIO塊,並使用devmem驗證GPIO行為和中斷功能。
+ 很好的技術文章,非常詳細地介紹瞭如何使用UIO創建用戶空間驅動程序。
+ 這篇文章對於想要學習如何在PetaLinux中使用UIO的人來說非常有用。
#嵌入式系統 #PetaLinux #UIO #GPIO
MicroZed Chronicles: UIO Part One - Introduction and Set Up

Last week we looked at how we could use spidev and I2Cdev to work with devices which use SPI or I2C interfaces. These are commonly used interfaces for a range of devices (e.g., ADCs, DACs, and sensors). Of course, one of the things we want to do with PetaLinux is work with the custom logic functions in the PL. There are two ways we could create a driver for our custom PL module. We can do this be either creating a kernel module and running from kernel space or creating a driver in the user space

Adiuvo Engineering
🌘 MicroZed編年史:IOCTL SPI、I2C和PetaLinux
➤ 使用PetaLinux開發嵌入式Linux解決方案,探討IOCTL SPI和I2C接口的使用方法
https://www.adiuvoengineering.com/post/microzed-chronicles-ioctl-spi-i2c-and-petalinux
本文介紹了使用PetaLinux開發嵌入式Linux解決方案的過程,並探討了使用I2C和SPI接口的方法。作者使用ZUBoard作為示例,展示瞭如何在Vivado中配置相應的硬件模塊,並在PetaLinux中進行相應的配置和編譯,最終實現了對溫度和壓力傳感器的讀取和控制。
+ 這篇文章很有用,對於開發嵌入式Linux解決方案的人來說是一個很好的參考資料。
+ 這篇文章詳細介紹了使用PetaLinux和Vivado進行嵌入式開發的過程,對於初學者來說很有幫助。
#嵌入式Linux #傳感器接口 #Vivado #Vitis #PetaLinux

Any #uboot (the #bootloader) experts here? I’m trying to boot a #PetaLinux image, but I get

Verifying Hash Integrity ... sha256 error!
Bad hash value for 'hash-1' hash node in 'ramdisk-1' image node
Bad Data Hash
Ramdisk image is corrupt or invalid
Booting using Fit image failed

even though when I extract the image (no matter whether with dd or dumpimage), the resulting SHA256 _does_ match the checksum listed in the #FIT. What’s going on?

#Yocto #DasUBoot #askFedi #embedded #Xilinx