Giter Club home page Giter Club logo

zynqmp-fpga-ubuntu22.04-desktop's Introduction

ZynqMP-FPGA-Ubuntu22.04-Desktop

Overview

Introduction

This Repository provides a Ubuntu22.04-Desktop(use GUI) for Zynq MPSoC.

Note

The Linux Kernel Image and Ubuntu22.04 RootFS provided in this repository is not official.

I modified it to my liking. Please handle with care.

Features

  • Hardware
    • Ultra96 : Xilinx Zynq UltraScale+ MPSoC development board based on the Linaro 96Boards specification.
    • Ultra96-V2 : updates and refreshes the Ultra96 product that was released in 2018.
    • KV260 : Kria KV260 Vision AI Startar Kit.
    • KR260 : Kria KR260 Robotics Startar Kit.
  • Boot Loader
    • FSBL(First Stage Boot Loader for ZynqMP)
    • PMU Firmware(Platform Management Unit Firmware)
    • BL31(ARM Trusted Firmware Boot Loader stage 3-1)
    • U-Boot xilinx-v2019.2 (customized)
  • Linux Kernel Version 6.1.70-zynqmp-fpga-trial
    • linux-stable 6.1.70
    • Patched equivalent to linux-xlnx v2023.1
    • Enable Device Tree Overlay with Configuration File System
    • Enable FPGA Manager
    • Enable FPGA Bridge
    • Enable FPGA Reagion
    • Enable ATWILC3000 Linux Driver for Ultra96-V2
    • Enable Lima(Open Source Mali-400 Device Driver)
      • Patch to lima for multiple clocks
      • Patch to lima for multiple interrupt names
      • Patch to lima for alternative device tree ID
      • Patch to xlnx_drm for default alignment size
      • Patch to xlnx_drm for enable data cache
  • Ubuntu22.04.x(jammy) Desktop(use GUI) Root File System
    • Installed build-essential
    • Installed ubuntu-desktop
    • Installed lightdm
    • Installed ddx xlnx (xserver-xorg-video-armsoc-xilinx)
    • Installed dri xlnx (libgl1-mesa-xlnx-dri)
    • Installed ruby python python3
    • Installed Other package list -> files/ubuntu22.04-desktop-dpkg-list.txt

Release

The main branch contains only Readme.md.
For Linux Kernel and Ubuntu22.04 RootFS, please refer to the respective release tag listed below.

Release Released Ubuntu Version Linux Kernel Version Release Tag
v3.0.0 2024-1-14 Ubuntu 22.04.3 6.1.70-zynqmp-fpga-trial-2 v3.0.0
v1.2.0 2023-8-2 Ubuntu 22.04.2 6.1.42-zynqmp-fpga-trial-1 v1.2.0
v1.1.2 2023-5-10 Ubuntu 22.04.2 5.15.108-zynqmp-fpga-trial-2 v1.1.2
v1.0.0 2022-9-30 Ubuntu 22.04.1 5.10.120-zynqmp-fpga-trial-16 v1.0.0

Install

Install to SD-Card

Setup Ultra96/Ultra96-V2/KV260/KR260 borad

  • Put the SD-Card in the slot on Ultra96/Ultra96-V2/Kv260/Kr260.
  • Plug in your Display Port monitor into the Ultra96/Ultra96-V2/Kv260/Kr260.
  • Plug in a USB mouse and USB keyboard into the USB ports of the Ultra96/Ultra96-V2/Kv260/Kr260.

Starting Ultra96/Ultra96-V2/KV260/KR260 board

  • Turn on the Ultra96/Ultra96-V2/KV260/KR260.
  • After a few seconds, the Ubuntu login screen will appear on the display.
  • Your username is "fpga". Password is set to "fpga". Please login.
  • The username and password for administrator rights is "admin".

FAQ

Build

zynqmp-fpga-ubuntu22.04-desktop's People

Contributors

ikwzm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zynqmp-fpga-ubuntu22.04-desktop's Issues

Stuck at boot

Hello,

I've been playing with your image and have trouble running it on my KR260 devkit.
The boot always hangs, the last kernel messages are:

[    3.836592] macb ff0b0000.ethernet: Not enabling partial store and forward
[    3.838795] of_cfs_init: OK
[    3.845701] macb ff0b0000.ethernet: invalid hw address, using random
[    3.848508] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.855352] macb ff0b0000.ethernet eth0: Defer probe as mdio producer ff0c0000.ethernet is not probed
[    3.863854] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.878297] clk: Not disabling unused clocks
[    3.882817] ALSA device list:
[    3.885775]   #0: DP mon
[    3.888982] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.897603] cfg80211: failed to load regulatory.db
[    3.927760] macb ff0c0000.ethernet: Not enabling partial store and forward
[    3.934673] macb ff0c0000.ethernet: invalid hw address, using random
[    3.999594] Waiting for root device /dev/sda2...
[    3.999771] macb ff0b0000.ethernet: Not enabling partial store and forward
[    4.011104] macb ff0b0000.ethernet: invalid hw address, using random
[    4.017955] macb ff0b0000.ethernet eth0: Defer probe as mdio producer ff0c0000.ethernet is not probed
[    4.043550] macb ff0c0000.ethernet: Not enabling partial store and forward
[    4.050447] macb ff0c0000.ethernet: invalid hw address, using random
[    4.409729] zynqmp-display fd4a0000.display: [drm] Cannot find any crtc or sizes
[   14.046087] macb ff0b0000.ethernet: Not enabling partial store and forward
[   14.052996] macb ff0b0000.ethernet: invalid hw address, using random
[   14.059897] macb ff0b0000.ethernet eth0: Defer probe as mdio producer ff0c0000.ethernet is not probed
[   14.083611] macb ff0c0000.ethernet: Not enabling partial store and forward
[   14.090510] macb ff0c0000.ethernet: invalid hw address, using random
[   14.127895] platform ff0b0000.ethernet: deferred probe pending
[   14.133739] platform ff0c0000.ethernet: deferred probe pending
[   14.139564] platform ff9d0000.usb: deferred probe pending
[   14.144954] platform ff9e0000.usb: deferred probe pending
[   14.150344] platform pwm-fan: deferred probe pending

I think the main problem is hinted by waiting for root device /dev/sda2.
For a reference, official Ubuntu image works fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.