...
Info |
---|
NOTE: The default Ubuntu display manager is |
Screen Sharing and VNC
You can share the desktop by enabling Screen Sharing in the GNOME desktop settings. You first need to install the vino Vino package. More details can be found at the following page:
https://linuxhint.com/enable-screen-sharing-ubuntu/
Understanding CMA Usage
Many of the Xilinx designs, particularly those that leverage the Xilinx Video Codec Unit (VCU), make extensive use If you’d rather run a more traditional VNC server with support for multiple virtual desktops instead of sharing the primary desktop, you can refer to the following guide:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04
Understanding CMA Usage
Many of the Xilinx designs, particularly those that leverage the Xilinx Video Codec Unit (VCU), make extensive use of Contiguous Memory Allocator (CMA) in the Linux kernel.
...
The core of the Certified Ubuntu for Xilinx Devices boot process on ZCU10x boards is the Image Selector tool. This utility performs the initial boot of the board, reads board-identifying information from the attached EEPROM, and then reboots into a customized set of boot collateral for the specific board it is running on. This is what For more detail on this process, see the Booting Certified Ubuntu 20.04 LTS for Xilinx Devices page.This is what allows the same Certified Ubuntu for Xilinx Devices SD card image to boot on multiple boards. Typically, there is no need to modify this code. If a user determines that they would like to modify the way that Image Selector operates, it can be rebuilt inside the Vitis environment. The source code of Image Selector is part of the Xilinx embeddedsw
repository on the Xilinx GitHub.
...
Code Block |
---|
proc generate_imgsel {} { set xsa [glob -nocomplain -directory [pwd] -type f *.xsa] puts "Using XSA: $xsa" setws vitis_workspace platform create -name [file tail [file rootname $xsa]]_platform_0 -hw $xsa domain create -name "app_domain" -os standalone -proc psu_cortexa53_0 configbsp -bsp "app_domain" stdin psu_uart_1 configbsp -bsp "app_domain" stdout psu_uart_1 regenbsp -bsp "app_domain" platform generate app create -name imgsel -domain app_domain -template "Image Selector" configapp -app imgsel define-compiler-symbols XIS_UART_ENABLE app build -name imgsel elf2bin vitis_workspace/imgsel/Debug/imgsel.elf } proc elf2bin {elf} { set fileId [open bootgen.bif "w"] puts $fileId "the_ROM_image:" puts $fileId "\{" puts $fileId "\t\[fsbl_config\] a53_x64" puts $fileId "\t\[bootloader, destination_cpu=a53-0\] $elf" puts $fileId "\}" close $fileId } |
When building Image Selector manually, be sure to include at least the minimal hardware definition found below:
Minimum Processing System (PS) configuration:
https://github.com/Xilinx/embeddedsw/blob/master/lib/sw_apps/imgsel/src/psu_init.c#L1045
Minimum Board Support configuration:
https://github.com/Xilinx/embeddedsw/blob/master/lib/sw_apps/imgsel/src/xis_singleimage.c#L50