Hardware components | ||||||
![]() |
| × | 1 | |||
![]() |
| × | 1 |
This step-by-step tutorial on enabling Vitis AI 3.5 on Petalinux 2024.2 project build. This tutorial can be followed for VIVADO flow of DPU design and Vitis AI 3.5 for Petalinux 2024.2. It can be referred for Kria, MPSoCs or Versal boards. Thanks to “hokim” for sharing the recipes-vai with patch over the AMD-Xilinx forum discussion.
Prerequisite:- Petalinux 2024.2 Tool [get petalinux installer from here]
- BSP for Kria or MPSoC or Versal – we are mainly following BSP of KR260 but one can follow this tutorial for other boards to. One can download KR260 2024.2 XSCT BSP from here – Link.
1. Source petalinux 2024.2 from your installed directory (example):
$source ~/Petalinux/2024_2/settings.sh
2. Create the BSP project (example)
$petalinux-create project -s ./xilinx-kr260-starterkit-xsct-v2024.2-12072024.bsp --name kr260-xsct-vitisai --force
3. [Optional] Project config with hardware XSA: if you are following MPSoC or Versal with VIVADO flow and already have DPU hardware XSA then you can use that here. If dont have then, continue with default hardware XSA(PS only) which is available in BSP and already been used in-default in BSP project. This step needs to follow for custom XSA only, for default one nothing to do here, just jump to "step4".
Also, Step D highlight the DPU design creation. After you created the XSA you can config the project again, build the project and create WIC image or boot files.
$petalinux-config --get-hw-description=/home/<path>/custom-xsa-kr260-dpu-trd/ --silentconfig
4. Kernel config for DPU driver
petalinux-config -c kernel
Device Drivers -->
Misc devices -->
<*> Xilinux Deep learning Processing Unit (DPU) Driver
5. Now clone or download the meta-vitis repository 2024.2 version from here: https://github.com/Xilinx/meta-vitis/tree/rel-v2024.2
6. Add path of meta-vitis as user layer from petalinux-config as below:
$ petalinux-config
7. Disable the #PACKAGECONFIG_append = " vitis" from here:
project-spec/meta-user/meta-vitis/recipes-vai/vart/ vart_3.5.bb
8. Download and copy the recipes-vai from here(shared by hokim at this Xilinx forum discussion):
Now project-spec looks like this:
9. Update project-spec/meta-user/conf/petalinuxbsp.conf with:
PACKAGECONFIG:remove:pn-vart = "vitis"
10. Update the userrootfs config (comment the kria packagegroup):
Kria packagegroup is relevant to kria boards only and commenting it saves the build time.
11. Now, goto petalinux rootfs config and enable vitisai-packagegroup:
$ petalinux-config -c rootfs
12. Now you can build the petalinux project:
Note: For building petalinux project you will need good memory space in PC and good internet connection. If any error occurred then you can again re-build the same project by running this build command.
$ petalinux-build
13. Create BOOT.BIN and WIC image
WIC image creation command is different according to the board you are following. So please reconfirm the WIC image command before running it. For Kria boards you can get the WIC generation command at Kria-SoMs-Wiki page for other boards please check reference deesigns or write us.
$petalinux-package boot --u-boot --force
$petalinux-package wic --images-dir images/linux/ --bootfiles "ramdisk.cpio.gz.u-boot,boot.scr,Image,system.dtb,system-zynqmp-sck-kr-g-revB.dtb"
At the end of this step, you can create the WIC image and test for Vitis AI commands like, show_dpu and xdputil query.
After WIC image creation for MPSOC or Versal, now jump to step C.
B. Steps specific to Kria (KR260 or other kria boards)For kria boards you have to follow below steps even though you already have created WIC image above. You can follow below steps, build the project again, create boot.bin and WIC again.
1. Add the SoM packagegroup,
$ petalinux-config -c rootfs
2. Enable the FPGA manager, so you can able to load the firmware after booting using xmutil.
$ petalinux-config
3. Create BOOT.bina and WIC image
After WIC image creation, jump to Step D below for KR260:
C. Creating the DPU VIVADO design- You can follow DPU-TRD reference tutorial from here: https://github.com/Xilinx/Vitis-AI/blob/3.0/dpu/ref_design_docs/README_DPUCZ_Vivado.md or follow this for creating DPU design in 2024.2.
1. We already have created and published the DPU 4.1 (compatible to Vitis AI 3.0 and 3.5) firmware.
One can find the firmware at here: https://github.com/LogicTronixInc/KR260-DPU-TRD-Vitis-AI-3.0. One can first test with DPU B512 firmwares. For testing, download the firmware on KR260 by running wget command with link from “vew raw”.
2. For any confusion you can look on the boot log attached below.
E. Vitis AI test in WIC image -- Now you can check the show_dpu and xdputil query command.
- We have attached the boot log which includes the commands and expected results.
- As resnet50 or other VART/Vitis AI library app. For MPSoC and Kria you can still use the model and app from Vitis AI 3.0 repo. For versal you have to either check for compatible ML model or recompile according to the architecture.
- We have attached the boot log below section as attachment.
- We will be publishing the 2024.1 DPU design for Kria KR260 – VIVADO flow. This design based BIT/BIN and firmware can be used in 2024.2 to.
Reference Tutorial:
1. KR260 DPU TRD - VIVADO flow - detail tutorial [Link]
Appendix:
Additonally, while creating WIC image if you face error like following in the picture then, run “sudo chmod -R 777 xxx.cpio.gz.u-boot file” and rerun the WIC image command:
Thanks for going through this tutorial!
For any queries or issues while working on Kria/MPSoC or Versal, please write us at info@logictronix.com.
LogicTronix is AMD-Xilinx Partner for FPGA Design and ML Acceleration!
Zynq MP First Stage Boot Loader
Release 2024.2 Nov 5 2024 - 07:20:48
MultiBootOffset: 0x40
Reset Mode : System Reset
Platform: Silicon (4.0), Running on A53-0 (64-bit) Processor, Device Name: XCZUxxEG
QSPI 32 bit Boot Mode
FlashID=0x20 0xBB 0x20
PMU Firmware 2024.2 Nov 5 2024 07:20:48
PMU_ROM Version: xpbr-v8.1.0-0
Protection configuration applied
Exit from FSBL
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v2.10.0 (release):xlnx_rebase_v2.10_2024.1-27-g14cea4616-dirty
NOTICE: BL31: Built : 04:42:28, Sep 19 2024
U-Boot 2024.01 (Dec 19 2024 - 15:14:03 +0000)
CPU: ZynqMP
Silicon: v3
Chip: xck26
Detected name: zynqmp-smk-k26-xcl2g-rev1-sck-kr-g-rev1
Model: ZynqMP KR260 revB
Board: Xilinx ZynqMP
DRAM: 2 GiB (effective 4 GiB)
PMUFW: v1.1
Xilinx I2C FRU format at nvmem0:
Manufacturer Name: XILINX
Product Name: SMK-K26-XCL2G
Serial No: XFL1MFM0QKNJ
Part Number: 5057-04
File ID: 0x0
Revision Number: 1
Xilinx I2C FRU format at nvmem1:
Manufacturer Name: XILINX
Product Name: SCK-KR-G
Serial No: XFL1LBA4HJZD
Part Number: 5100-01
File ID: 0x0
Revision Number: 1
EL Level: EL2
Secure Boot: not authenticated, not encrypted
Core: 100 devices, 35 uclasses, devicetree: fit
MMC:
Loading Environment from SPIFlash... SF: Detected mt25qu512a with page size 256 Bytes, erase size 64 KiB, total 64 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial,vidconsole
Err: serial,vidconsole
Bootmode: QSPI_MODE
Reset reason: SOFT
Net:
ZYNQ GEM: ff0c0000, mdio bus ff0c0000, phyaddr 8, interface rgmii-id
Get shared mii bus on ethernet@ff0b0000
ZYNQ GEM: ff0b0000, mdio bus ff0c0000, phyaddr 4, interface sgmii
eth0: ethernet@ff0b0000, eth1: ethernet@ff0c0000
RTC #0 - rtc@ffa60000
tpm_tis_spi_probe: missing reset GPIO
Hit any key to stop autoboot: 0
starting USB...
Bus usb@fe200000: Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb@fe300000: Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@fe200000 for devices... 4 USB Device(s) found
scanning bus usb@fe300000 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Device 0: Vendor: Generic Rev: 1.98 Prod: Ultra HS-COMBO
Type: Removable Hard Disk
Capacity: 30250.0 MB = 29.5 GB (61952000 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
3833 bytes read in 3 ms (1.2 MiB/s)
## Executing script at 20000000
Trying to load boot images from usb0
25020928 bytes read in 1532 ms (15.6 MiB/s)
45763 bytes read in 6 ms (7.3 MiB/s)
26631282 bytes read in 1631 ms (15.6 MiB/s)
## Loading init Ramdisk from Legacy Image at 04000000 ...
Image Name: petalinux-initramfs-image-xilinx
Created: 2011-04-05 23:00:00 UTC
Image Type: AArch64 Linux RAMDisk Image (uncompressed)
Data Size: 26631218 Bytes = 25.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00100000
Booting using the fdt blob at 0x100000
Working FDT set to 100000
Loading Ramdisk to 75ed4000, end 77839c32 ... OK
Loading Device Tree to 000000000fff1000, end 000000000ffff2c2 ... OK
Working FDT set to fff1000
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.40-xilinx-g2b7f6f70a62a (oe-user@oe-host) (aarch64-xilinx-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutil s) 2.42.0.20240716) #1 SMP Tue Oct 29 11:52:30 UTC 2024
[ 0.000000] KASLR enabled
[ 0.000000] Machine model: ZynqMP KR260 revB
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff010000 (options '115200n8')
[ 0.000000] printk: bootconsole [cdns0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x000000007ff00000..0x000000007fffffff (1024 KiB) nomap non-reusable pmu@7ff00000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000087fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000007fefffff]
[ 0.000000] node 0: [mem 0x0000000800000000-0x000000087fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000087fffffff]
[ 0.000000] On node 0, zone Normal: 256 pages in unavailable ranges
[ 0.000000] cma: Reserved 900 MiB at 0x000000003da00000 on node -1
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.4
[ 0.000000] percpu: Embedded 19 pages/cpu s37864 r8192 d31768 u77824
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: earlycon console=ttyPS1,115200 root=/dev/ram0 rw init_fatal_sh=1 xilinx_tsn_ep.st_pcp=4 cma=900M
[ 0.000000] Unknown kernel command line parameters "init_fatal_sh=1", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1031940
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x000000007bf00000-0x000000007ff00000] (64MB)
[ 0.000000] Memory: 3073912K/4193280K available (15680K kernel code, 1074K rwdata, 4580K rodata, 2944K init, 467K bss, 197768K rese rved, 921600K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns
[ 0.000000] sched_clock: 57 bits at 100MHz, resolution 10ns, wraps every 4398046511101ns
[ 0.008324] Console: colour dummy device 80x25
[ 0.012554] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.99 BogoMIPS (lpj=399996)
[ 0.022971] pid_max: default: 32768 minimum: 301
[ 0.027679] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.034987] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.044126] rcu: Hierarchical SRCU implementation.
[ 0.047596] rcu: Max phase no-delay instances is 1000.
[ 0.053129] EFI services will not be available.
[ 0.057510] smp: Bringing up secondary CPUs ...
[ 0.062240] Detected VIPT I-cache on CPU1
[ 0.062295] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.062700] Detected VIPT I-cache on CPU2
[ 0.062740] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.063099] Detected VIPT I-cache on CPU3
[ 0.063138] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.063183] smp: Brought up 1 node, 4 CPUs
[ 0.097529] SMP: Total of 4 processors activated.
[ 0.102229] CPU features: detected: 32-bit EL0 Support
[ 0.107362] CPU features: detected: CRC32 instructions
[ 0.112547] CPU: All CPU(s) started at EL2
[ 0.116586] alternatives: applying system-wide alternatives
[ 0.123758] devtmpfs: initialized
[ 0.131396] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.135519] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.160489] pinctrl core: initialized pinctrl subsystem
[ 0.160920] DMI not present or invalid.
[ 0.164418] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.170596] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.176961] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.184821] audit: initializing netlink subsys (disabled)
[ 0.190287] audit: type=2000 audit(0.128:1): state=initialized audit_enabled=0 res=1
[ 0.190691] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.204772] ASID allocator initialised with 32768 entries
[ 0.210243] Serial: AMBA PL011 UART driver
[ 0.225177] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[ 0.226602] Modules: 0 pages in range for non-PLT usage
[ 0.226606] Modules: 518048 pages in range for PLT usage
[ 0.232309] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.243904] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.250166] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.256950] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.263215] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.270000] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.276265] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.283050] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.357368] raid6: neonx8 gen() 2517 MB/s
[ 0.425422] raid6: neonx4 gen() 2465 MB/s
[ 0.493488] raid6: neonx2 gen() 2356 MB/s
[ 0.561549] raid6: neonx1 gen() 2017 MB/s
[ 0.629595] raid6: int64x8 gen() 1572 MB/s
[ 0.697648] raid6: int64x4 gen() 1741 MB/s
[ 0.765719] raid6: int64x2 gen() 1554 MB/s
[ 0.833783] raid6: int64x1 gen() 1141 MB/s
[ 0.833821] raid6: using algorithm neonx8 gen() 2517 MB/s
[ 0.905853] raid6: .... xor() 1832 MB/s, rmw enabled
[ 0.905897] raid6: using neon recovery algorithm
[ 0.910241] iommu: Default domain type: Translated
[ 0.914575] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.920951] SCSI subsystem initialized
[ 0.924641] usbcore: registered new interface driver usbfs
[ 0.929992] usbcore: registered new interface driver hub
[ 0.935309] usbcore: registered new device driver usb
[ 0.940418] mc: Linux media interface: v0.10
[ 0.944615] videodev: Linux video capture interface: v2.00
[ 0.950096] pps_core: LinuxPPS API ver. 1 registered
[ 0.955029] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.964171] PTP clock support registered
[ 0.968099] EDAC MC: Ver: 3.0.0
[ 0.971462] scmi_core: SCMI protocol bus registered
[ 0.976207] zynqmp-ipi-mbox mailbox@ff9905c0: Registered ZynqMP IPI mbox with TX/RX channels.
[ 0.984975] FPGA manager framework
[ 0.988119] Advanced Linux Sound Architecture Driver Initialized.
[ 0.994499] Bluetooth: Core ver 2.22
[ 0.997670] NET: Registered PF_BLUETOOTH protocol family
[ 1.002969] Bluetooth: HCI device and connection manager initialized
[ 1.009321] Bluetooth: HCI socket layer initialized
[ 1.014194] Bluetooth: L2CAP socket layer initialized
[ 1.019242] Bluetooth: SCO socket layer initialized
[ 1.024474] clocksource: Switched to clocksource arch_sys_counter
[ 1.030367] VFS: Disk quotas dquot_6.6.0
[ 1.034136] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.046028] NET: Registered PF_INET protocol family
[ 1.046215] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 1.055709] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 1.061807] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.069528] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 1.077624] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.085577] TCP: Hash tables configured (established 32768 bind 32768)
[ 1.091432] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 1.098123] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 1.105328] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.111157] RPC: Registered named UNIX socket transport module.
[ 1.116769] RPC: Registered udp transport module.
[ 1.121462] RPC: Registered tcp transport module.
[ 1.126160] RPC: Registered tcp-with-tls transport module.
[ 1.131641] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.138090] PCI: CLS 0 bytes, default 64
[ 1.142251] Trying to unpack rootfs image as initramfs...
[ 1.148809] Initialise system trusted keyrings
[ 1.151966] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 1.158848] NFS: Registering the id_resolver key type
[ 1.163341] Key type id_resolver registered
[ 1.167486] Key type id_legacy registered
[ 1.171521] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.178188] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.185849] jffs2: version 2.2. (NAND) (SUMMARY) 2001-2006 Red Hat, Inc.
[ 1.222689] NET: Registered PF_ALG protocol family
[ 1.222757] xor: measuring software checksum speed
[ 1.230150] 8regs : 2804 MB/sec
[ 1.234494] 32regs : 2804 MB/sec
[ 1.239089] arm64_neon : 2621 MB/sec
[ 1.239682] xor: using function: 32regs (2804 MB/sec)
[ 1.244749] Key type asymmetric registered
[ 1.248823] Asymmetric key parser 'x509' registered
[ 1.253768] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 1.261097] io scheduler mq-deadline registered
[ 1.265614] io scheduler kyber registered
[ 1.269660] io scheduler bfq registered
[ 1.312985] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.315113] Serial: AMBA driver
[ 1.322928] brd: module loaded
[ 1.326253] loop: module loaded
[ 1.330470] CAN device driver interface
[ 1.331186] usbcore: registered new interface driver asix
[ 1.334105] usbcore: registered new interface driver ax88179_178a
[ 1.340174] usbcore: registered new interface driver cdc_ether
[ 1.346021] usbcore: registered new interface driver net1080
[ 1.351667] usbcore: registered new interface driver cdc_subset
[ 1.357583] usbcore: registered new interface driver zaurus
[ 1.363173] usbcore: registered new interface driver cdc_ncm
[ 1.368804] usbcore: registered new interface driver r8153_ecm
[ 1.375048] VFIO - User Level meta-driver version: 0.3
[ 1.380526] usbcore: registered new interface driver uas
[ 1.385077] usbcore: registered new interface driver usb-storage
[ 1.391073] usbcore: registered new device driver onboard-usb-dev
[ 1.398466] rtc_zynqmp ffa60000.rtc: registered as rtc0
[ 1.402389] rtc_zynqmp ffa60000.rtc: setting system clock to 2025-04-29T10:44:09 UTC (1745923449)
[ 1.411371] i2c_dev: i2c /dev entries driver
[ 1.417295] usbcore: registered new interface driver uvcvideo
[ 1.421966] Bluetooth: HCI UART driver ver 2.3
[ 1.425698] Bluetooth: HCI UART protocol H4 registered
[ 1.430817] Bluetooth: HCI UART protocol BCSP registered
[ 1.436167] Bluetooth: HCI UART protocol LL registered
[ 1.441259] Bluetooth: HCI UART protocol ATH3K registered
[ 1.446679] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.453019] Bluetooth: HCI UART protocol Intel registered
[ 1.458343] Bluetooth: HCI UART protocol QCA registered
[ 1.463570] usbcore: registered new interface driver bcm203x
[ 1.469231] usbcore: registered new interface driver bpa10x
[ 1.474786] usbcore: registered new interface driver bfusb
[ 1.480251] usbcore: registered new interface driver btusb
[ 1.485746] usbcore: registered new interface driver ath3k
[ 1.491413] EDAC MC: ECC not enabled
[ 1.495246] sdhci: Secure Digital Host Controller Interface driver
[ 1.500937] sdhci: Copyright(c) Pierre Ossman
[ 1.505286] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.511979] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.517195] SMCCC: SOC_ID: ID = jep106:0049:0000 Revision = 0x04724093
[ 1.523576] zynqmp_firmware_probe Platform Management API v1.1
[ 1.529336] zynqmp_firmware_probe Trustzone version v1.0
[ 1.564780] securefw securefw: securefw probed
[ 1.564974] xilinx_ecdsa xilinx_ecdsa.0: ECDSA is not supported on the platform
[ 1.571256] zynqmp-aes zynqmp-aes.0: will run requests pump with realtime priority
[ 1.579219] usbcore: registered new interface driver usbhid
[ 1.584159] usbhid: USB HID core driver
[ 1.590718] ARM CCI_400_r1 PMU driver probed
[ 1.591339] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 1.601208] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[ 1.606848] usbcore: registered new interface driver snd-usb-audio
[ 1.613522] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 1.621275] Initializing XFRM netlink socket
[ 1.624472] NET: Registered PF_INET6 protocol family
[ 1.629986] Segment Routing with IPv6
[ 1.633058] In-situ OAM (IOAM) with IPv6
[ 1.637042] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.643301] NET: Registered PF_PACKET protocol family
[ 1.647915] NET: Registered PF_KEY protocol family
[ 1.652708] can: controller area network core
[ 1.657066] NET: Registered PF_CAN protocol family
[ 1.661825] can: raw protocol
[ 1.664783] can: broadcast manager protocol
[ 1.668966] can: netlink gateway - max_hops=1
[ 1.673500] Bluetooth: RFCOMM TTY layer initialized
[ 1.678194] Bluetooth: RFCOMM socket layer initialized
[ 1.683328] Bluetooth: RFCOMM ver 1.11
[ 1.687077] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.692356] Bluetooth: BNEP filters: protocol multicast
[ 1.697586] Bluetooth: BNEP socket layer initialized
[ 1.702534] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.708454] Bluetooth: HIDP socket layer initialized
[ 1.713449] 8021q: 802.1Q VLAN Support v1.8
[ 1.717893] 9pnet: Installing 9P2000 support
[ 1.721898] Key type dns_resolver registered
[ 1.726264] NET: Registered PF_VSOCK protocol family
[ 1.738688] registered taskstats version 1
[ 1.738738] Loading compiled-in X.509 certificates
[ 1.749746] Btrfs loaded, zoned=no, fsverity=no
[ 1.749956] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[ 2.212398] Freeing initrd memory: 26004K
[ 2.794632] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 23, base_baud = 6249999) is a xuartps
[ 2.803714] printk: console [ttyPS1] enabled
[ 2.803714] printk: console [ttyPS1] enabled
[ 2.808011] printk: bootconsole [cdns0] disabled
[ 2.808011] printk: bootconsole [cdns0] disabled
[ 2.817309] of-fpga-region fpga-region: FPGA Region probed
[ 2.831959] xilinx-zynqmp-dpdma fd4c0000.dma-controller: Xilinx DPDMA engine is probed
[ 3.210176] zynqmp-display fd4a0000.display: vtc bridge property not present
[ 3.578068] xilinx-dp-snd-codec fd4a0000.display:zynqmp-dp-snd-codec0: Xilinx DisplayPort Sound Codec probed
[ 3.588133] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[ 3.596176] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[ 3.605437] xilinx-dp-snd-card fd4a0000.display:zynqmp-dp-snd-card: Xilinx DisplayPort Sound Card probed
[ 3.615337] xlnx-drm xlnx-drm.0: bound fd4a0000.display (ops 0xffffde5eda840e58)
[ 4.700495] zynqmp-display fd4a0000.display: [drm] Cannot find any crtc or sizes
[ 4.708163] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.display on minor 0
[ 4.715665] zynqmp-display fd4a0000.display: ZynqMP DisplayPort Subsystem driver probed
[ 4.725311] spi-nor spi0.0: mt25qu512a (65536 Kbytes)
[ 4.730222] tpm_tis_spi spi2.0: 2.0 TPM (device-id 0x1B, rev-id 22)
[ 4.730428] 17 fixed-partitions partitions found on MTD device spi0.0
[ 4.743042] Creating 17 MTD partitions on "spi0.0":
[ 4.747915] 0x000000000000-0x000000080000 : "Image Selector"
[ 4.754396] 0x000000080000-0x000000100000 : "Image Selector Golden"
[ 4.757360] random: crng init done
[ 4.761323] 0x000000100000-0x000000120000 : "Persistent Register"
[ 4.770771] 0x000000120000-0x000000140000 : "Persistent Register Backup"
[ 4.778101] 0x000000140000-0x000000200000 : "Open_1"
[ 4.783712] 0x000000200000-0x000000f00000 : "Image A (FSBL, PMU, ATF, U-Boot)"
[ 4.791565] 0x000000f00000-0x000000f80000 : "ImgSel Image A Catch"
[ 4.798371] 0x000000f80000-0x000001c80000 : "Image B (FSBL, PMU, ATF, U-Boot)"
[ 4.806236] 0x000001c80000-0x000001d00000 : "ImgSel Image B Catch"
[ 4.813069] 0x000001d00000-0x000001e00000 : "Open_2"
[ 4.818719] 0x000001e00000-0x000002000000 : "Recovery Image"
[ 4.825030] 0x000002000000-0x000002200000 : "Recovery Image Backup"
[ 4.831924] 0x000002200000-0x000002220000 : "U-Boot storage variables"
[ 4.839082] 0x000002220000-0x000002240000 : "U-Boot storage variables backup"
[ 4.846855] 0x000002240000-0x000002280000 : "SHA256"
[ 4.852443] 0x000002280000-0x0000022a0000 : "Secure OS Storage"
[ 4.859024] 0x0000022a0000-0x000004000000 : "User"
[ 4.865774] macb ff0b0000.ethernet eth0: Defer probe as mdio producer ff0c0000.ethernet is not probed
[ 4.929588] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[ 4.936128] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[ 4.942615] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[ 4.949098] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[ 4.956487] i2c i2c-1: using pinctrl states for GPIO recovery
[ 4.962451] i2c i2c-1: using generic GPIOs for recovery
[ 4.968062] pca954x 1-0074: supply vdd not found, using dummy regulator
[ 4.975110] i2c i2c-1: Added multiplexed i2c bus 3
[ 4.980133] i2c i2c-1: Added multiplexed i2c bus 4
[ 4.985046] i2c i2c-1: Added multiplexed i2c bus 5
[ 4.989952] i2c i2c-1: Added multiplexed i2c bus 6
[ 4.994742] pca954x 1-0074: registered 4 multiplexed busses for I2C switch pca9546
[ 5.003472] at24 1-0050: supply vcc not found, using dummy regulator
[ 5.010123] at24 1-0050: 8192 byte 24c64 EEPROM, writable, 1 bytes/write
[ 5.016967] at24 1-0051: supply vcc not found, using dummy regulator
[ 5.023613] at24 1-0051: 8192 byte 24c64 EEPROM, writable, 1 bytes/write
[ 5.030543] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 48
[ 5.037971] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[ 5.045445] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[ 5.053784] macb ff0b0000.ethernet: invalid hw address, using random
[ 5.060716] macb ff0b0000.ethernet eth0: Defer probe as mdio producer ff0c0000.ethernet is not probed
[ 5.094751] macb ff0c0000.ethernet: invalid hw address, using random
[ 5.111031] macb ff0c0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0c0000 irq 46 (62:e9:78:24:98:37)
[ 5.143614] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.149129] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 5.156882] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000008002000810
[ 5.166301] xhci-hcd xhci-hcd.1.auto: irq 51, io mem 0xfe200000
[ 5.172312] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.177794] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 5.185453] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 5.192094] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 5.200359] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.207582] usb usb1: Product: xHCI Host Controller
[ 5.212456] usb usb1: Manufacturer: Linux 6.6.40-xilinx-g2b7f6f70a62a xhci-hcd
[ 5.219668] usb usb1: SerialNumber: xhci-hcd.1.auto
[ 5.224879] hub 1-0:1.0: USB hub found
[ 5.228647] hub 1-0:1.0: 1 port detected
[ 5.233005] onboard-usb-dev fe200000.usb:hub@1: supply vdd not found, using dummy regulator
[ 5.241422] onboard-usb-dev fe200000.usb:hub@1: supply vdd2 not found, using dummy regulator
[ 5.271047] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[ 5.279317] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.286531] usb usb2: Product: xHCI Host Controller
[ 5.291400] usb usb2: Manufacturer: Linux 6.6.40-xilinx-g2b7f6f70a62a xhci-hcd
[ 5.298619] usb usb2: SerialNumber: xhci-hcd.1.auto
[ 5.303747] hub 2-0:1.0: USB hub found
[ 5.307514] hub 2-0:1.0: 1 port detected
[ 5.331312] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 5.336815] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[ 5.344564] xhci-hcd xhci-hcd.2.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000008002000810
[ 5.353981] xhci-hcd xhci-hcd.2.auto: irq 52, io mem 0xfe300000
[ 5.359998] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 5.365484] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[ 5.373146] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[ 5.379832] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 5.388101] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.395320] usb usb3: Product: xHCI Host Controller
[ 5.400188] usb usb3: Manufacturer: Linux 6.6.40-xilinx-g2b7f6f70a62a xhci-hcd
[ 5.407405] usb usb3: SerialNumber: xhci-hcd.2.auto
[ 5.412672] hub 3-0:1.0: USB hub found
[ 5.416423] hub 3-0:1.0: 1 port detected
[ 5.420800] onboard-usb-dev fe300000.usb:hub@1: supply vdd not found, using dummy regulator
[ 5.429217] onboard-usb-dev fe300000.usb:hub@1: supply vdd2 not found, using dummy regulator
[ 5.458888] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[ 5.467154] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.474369] usb usb4: Product: xHCI Host Controller
[ 5.479238] usb usb4: Manufacturer: Linux 6.6.40-xilinx-g2b7f6f70a62a xhci-hcd
[ 5.486454] usb usb4: SerialNumber: xhci-hcd.2.auto
[ 5.491590] hub 4-0:1.0: USB hub found
[ 5.495350] hub 4-0:1.0: 1 port detected
[ 5.500027] macb ff0b0000.ethernet: invalid hw address, using random
[ 5.644510] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 5.656850] macb ff0b0000.ethernet eth1: Cadence GEM rev 0x50070106 at 0xff0b0000 irq 45 (ca:fc:af:c6:a4:55)
[ 5.669040] usb 2-1: New USB device found, idVendor=0424, idProduct=5744, bcdDevice= 2.21
[ 5.669366] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 5.677225] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[ 5.684244] of_cfs_init
[ 5.691030] usb 2-1: Product: USB5744
[ 5.691035] usb 2-1: Manufacturer: Microchip Tech
[ 5.693496] of_cfs_init: OK
[ 5.704665] clk: Disabling unused clocks
[ 5.709842] ALSA device list:
[ 5.712803] #0: DP mon
[ 5.716327] Freeing unused kernel memory: 2944K
[ 5.720971] Run /init as init process
[ 5.752230] hub 2-1:1.0: USB hub found
[ 5.756213] hub 2-1:1.0: 3 ports detected
[ 5.796576] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 5.836550] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 5.840548] usb5744 3-002d: error -ENXIO: BYPASS_UDC_SUSPEND bit configuration failed
[ 5.843152] zynqmp-display fd4a0000.display: [drm] Cannot find any crtc or sizes
[ 5.861033] usb 4-1: New USB device found, idVendor=0424, idProduct=5744, bcdDevice= 2.21
[ 5.868603] usb5744 4-002d: error -ENXIO: BYPASS_UDC_SUSPEND bit configuration failed
[ 5.869213] usb 4-1: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[ 5.884153] usb 4-1: Product: USB5744
[ 5.887819] usb 4-1: Manufacturer: Microchip Tech
[ 5.955850] hub 4-1:1.0: USB hub found
[ 5.959772] hub 4-1:1.0: 2 ports detected
[ 5.972935] usb 1-1: New USB device found, idVendor=0424, idProduct=2744, bcdDevice= 2.21
[ 5.981108] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.988240] usb 1-1: Product: USB2744
[ 5.991897] usb 1-1: Manufacturer: Microchip Tech
[ 5.996736] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 6.056129] hub 1-1:1.0: USB hub found
[ 6.059904] hub 1-1:1.0: 4 ports detected
[ 6.149830] macb ff0b0000.ethernet eth1: PHY [ff0c0000.ethernet-ffffffff:04] driver [TI DP83867] (irq=POLL)
[ 6.159591] macb ff0b0000.ethernet eth1: configuring for phy/sgmii link mode
[ 6.167277] usb 3-1: New USB device found, idVendor=0424, idProduct=2744, bcdDevice= 2.21
[ 6.168499] pps pps0: new PPS source ptp0
[ 6.175456] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6.186582] usb 3-1: Product: USB2744
[ 6.188517] macb ff0b0000.ethernet: gem-ptp-timer ptp clock registered.
[ 6.190233] usb 3-1: Manufacturer: Microchip Tech
mac-config: MAC address for eth1 is updated to 00:0a:35:0f:db:84
[ 6.243917] hub 3-1:1.0: USB hub found
[ 6.247714] hub 3-1:1.0: 3 ports detected
[ 6.404479] usb 1-1.1: new high-speed USB device number 3 using xhci-hcd
[ 6.462947] macb ff0c0000.ethernet eth0: PHY [ff0c0000.ethernet-ffffffff:08] driver [TI DP83867] (irq=POLL)
[ 6.472702] macb ff0c0000.ethernet eth0: configuring for phy/rgmii-id link mode
[ 6.480773] pps pps1: new PPS source ptp1
[ 6.484879] macb ff0c0000.ethernet: gem-ptp-timer ptp clock registered.
mac-config: MAC address for eth0 is updated to 00:0a:35:0f:d0:0c
[ 6.514883] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2240, bcdDevice= 1.98
[ 6.523246] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6.530609] usb 1-1.1: Product: Ultra Fast Media
[ 6.535306] usb 1-1.1: Manufacturer: Generic
[ 6.539564] usb 1-1.1: SerialNumber: 000000225001
[ 6.544929] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 6.551440] scsi host0: usb-storage 1-1.1:1.0
[ 6.604480] usb 3-1.3: new high-speed USB device number 3 using xhci-hcd
[ 6.632474] usb 1-1.4: new high-speed USB device number 4 using xhci-hcd
[ 6.709209] usb 3-1.3: New USB device found, idVendor=0424, idProduct=2740, bcdDevice= 2.00
[ 6.717566] usb 3-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6.724869] usb 3-1.3: Product: Hub Controller
[ 6.729302] usb 3-1.3: Manufacturer: Microchip Tech
[ 6.753164] usb 1-1.4: New USB device found, idVendor=0424, idProduct=2740, bcdDevice= 2.00
[ 6.761514] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6.768817] usb 1-1.4: Product: Hub Controller
[ 6.773250] usb 1-1.4: Manufacturer: Microchip Tech
[ 7.557185] scsi 0:0:0:0: Direct-Access Generic Ultra HS-COMBO 1.98 PQ: 0 ANSI: 0
[ 7.567203] sd 0:0:0:0: [sda] 61952000 512-byte logical blocks: (31.7 GB/29.5 GiB)
[ 7.575358] sd 0:0:0:0: [sda] Write Protect is off
[ 7.580733] sd 0:0:0:0: [sda] No Caching mode page found
[ 7.586040] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.595744] sda: sda1 sda2
[ 7.598750] sd 0:0:0:0: [sda] Attached SCSI removable disk
root: clean, 40173/524288 files, 286517/1048576 blocks
[ 8.722123] EXT4-fs (sda2): mounted filesystem cf14e96b-e16d-46a9-b4cc-bdad9b42c57a r/w with ordered data mode. Quota mode: none.
[ 9.253879] macb ff0b0000.ethernet eth1: unable to generate target frequency: 125000000 Hz
[ 9.262176] macb ff0b0000.ethernet eth1: Link is Up - 1Gbps/Full - flow control tx
[ 9.661252] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 9.693070] systemd[1]: Detected architecture arm64.
Welcome to PetaLinux 2024.2+release-12070040 (scarthgap)!
[ 9.717174] systemd[1]: Hostname set to <xilinx-kr260-starterkit-xsct-20242>.
[ 10.290434] systemd[1]: Queued start job for default target Multi-User System.
[ 10.315329] systemd[1]: Created slice Slice /system/getty.
[ OK ] Created slice Slice /system/getty.
[ 10.337618] systemd[1]: Created slice Slice /system/modprobe.
[ OK ] Created slice Slice /system/modprobe.
[ 10.361541] systemd[1]: Created slice Slice /system/serial-getty.
[ OK ] Created slice Slice /system/serial-getty.
[ 10.385273] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 10.408726] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 10.432657] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 10.456587] systemd[1]: Expecting device /dev/disk/by-label/boot...
Expecting device /dev/disk/by-label/boot...
[ 10.480652] systemd[1]: Reached target Path Units.
[ OK ] Reached target Path Units.
[ 10.496561] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 10.516544] systemd[1]: Reached target Slice Units.
[ OK ] Reached target Slice Units.
[ 10.532582] systemd[1]: Reached target Swaps.
[ OK ] Reached target Swaps.
[ 10.549128] systemd[1]: Listening on RPCbind Server Activation Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ 10.572565] systemd[1]: Reached target RPC Port Mapper.
[ OK ] Reached target RPC Port Mapper.
[ 10.592862] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 10.608719] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 10.633199] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 10.652813] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 10.676905] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 10.693012] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 10.719824] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 10.740843] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 10.760843] systemd[1]: Listening on User Database Manager Socket.
[ OK ] Listening on User Database Manager Socket.
[ 10.812712] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 10.830989] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 10.855165] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 10.872985] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/t racing).
[ 10.889262] systemd[1]: Mounting Temporary Directory /tmp...
Mounting Temporary Directory /tmp...
[ 10.907790] systemd[1]: Starting Create List of Static Device Nodes...
Starting Create List of Static Device Nodes...
[ 10.931680] systemd[1]: Starting Load Kernel Module configfs...
Starting Load Kernel Module configfs...
[ 10.951728] systemd[1]: Starting Load Kernel Module dm_mod...
Starting Load Kernel Module dm_mod...
[ 10.971649] systemd[1]: Starting Load Kernel Module drm...
Starting Load Kernel Module drm...
[ 10.991601] systemd[1]: Starting Load Kernel Module fuse...
Starting Load Kernel Module fuse...
[ 11.011588] systemd[1]: Starting Load Kernel Module loop...
Starting Load Kernel Module loop...
[ 11.032656] systemd[1]: Starting RPC Bind...
Starting RPC Bind...
[ 11.048794] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite= !/).
[ 11.061703] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[ 11.074626] systemd[1]: systemd-journald.service: (This warning is only shown for the first unit using IP firewalling.)
[ 11.088109] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 11.116594] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 11.135410] systemd[1]: Starting Generate network units from Kernel command line...
Starting Generate network units from Kernel command line...
[ 11.185007] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems 11.193970] dmaproxy: loading out-of-tree module taints kernel.
0m...
[ 11.216567] systemd[1]: Starting Coldplug All udev Devices...
[ 11.221204] systemd-journald[415]: Collecting audit messages is enabled.
Starting Coldplug All udev Devices...
[ 11.245891] systemd[1]: Started RPC Bind.
[ OK ] Started RPC Bind.
[ 11.252786] openvswitch: Open vSwitch switching datapath
[ 11.262269] EXT4-fs (sda2): re-mounted cf14e96b-e16d-46a9-b4cc-bdad9b42c57a r/w. Quota mode: none.
[ 11.278400] systemd[1]: Mounted Huge Pages File System.
[ OK ] Mounted Huge Pages File System.
[ 11.305105] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 11.329164] systemd[1]: Mounted Kernel Debug File System.
[ OK ] Mounted Kernel Debug File System.
[ 11.352918] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Mounted Temporary Directory /tmp.
[ OK ] Finished Create List of Static Device Nodes.
[ OK ] Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module dm_mod.
[ OK ] Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module fuse.
[ OK ] Finished Load Kernel Module loop.
[ OK ] Finished Load Kernel Modules.
[ OK ] Finished Generate network units from Kernel command line.
[ OK ] Finished Remount Root and Kernel File Systems.
Mounting NFSD configuration filesystem...
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
Starting Apply Kernel Variables...
Starting Create Static Device Nodes in /dev gra[ 11.696916] systemd-journald[415]: Received client request to flush runtime journal.
cefully...
[ OK ] Mounted NFSD configuration filesystem.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Finished Flush Journal to Persistent Storage.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Finished Create Static Device Nodes in /dev gracefully.
Starting Create Static Device Nodes in /dev...
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Reached target Preparation for Local File Systems.
Mounting /var/volatile...
Starting Rule-based Manager for Device Events and Files...
[ OK ] Mounted /var/volatile.
Starting Load/Save OS Random Seed...
[ OK ] Finished Load/Save OS Random Seed.
[ OK ] Finished Coldplug All udev Devices.
[ OK ] Started Rule-based Manager for Device Events and Files.
[ OK ] Reached target Sound Card.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Starting Virtual Console Setup...
[ OK ] Found device Ultra_HS-COMBO boot.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Finished Virtual Console Setup.
[ OK ] Finished Create Volatile Files and Directories.
Starting Network Name Resolution...
Starting Network Time Synchronization...
Starting Record System Boot/Shutdown in UTMP...
Starting User Database Manager...
[ OK ] Finished Record System Boot/Shutdown in UTMP.
[ OK ] Started User Database Manager.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Set.
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily rotation of log files.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timer Units.
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting sshd.socket...
[ OK ] Listening on sshd.socket.
[ OK ] Reached target Socket Units.
[ OK ] Reached target Basic System.
[ OK ] Started Job spooling tools.
[ OK ] Started Periodic Command Scheduler.
Starting D-Bus System Message Bus...
Starting dfx-mgrd Dynamic Function eXchange...
[ OK ] Started Start fan control, if configured.
Starting IPv6 Packet Filtering Framework...
Starting IPv4 Packet Filtering Framework...
[ OK ] Started System Logging Service.
Starting User Login Management...
Apr 29 03:44:07 xilinx-kr260-starterkit-xsct-20242 kernel: GIC: Adjusting CPU interface base to 0x00000000f902f000
Starting OpenSSH Key Generation...
Apr 29 03:44:08 xilinx-kr260-starterkit-xsct-20242 kernel: xilinx_ecdsa xilinx_ecdsa.0: ECDSA is not supported on the platform
[ OK ] Finished IPv6 Packet Filtering Framework.
[ OK ] Finished IPv4 Packet Filtering Framework.
Apr 29 03:44:11 xilinx-kr260-starterkit-xsct-20242 kernel: pca954x 1-0074: supply vdd not found, using dummy regulator
Apr 29 03:44:12 xilinx-kr260-starterkit-xsct-20242 kernel: at24 1-0050: supply vcc not found, using dummy regulator
Apr 29 03:44:12 xilinx-kr260-starterkit-xsct-20242 kernel: at24 1-0051: supply vcc not found, using dummy regulator
Apr 29 03:44:12 xilinx-kr260-starterkit-xsct-20242 kernel: onboard-usb-dev fe200000.usb:hub@1: supply vdd not found, using dummy regul ator
Apr 29 03:44:12 xilinx-kr260-starterkit-xsct-20242 kernel: onboard-usb-dev fe200000.usb:hub@1: supply vdd2 not found, using dummy regu lator
Apr 29 03:44:12 xilinx-kr260-starterkit-xsct-20242 kernel: onboard-usb-dev fe300000.usb:hub@1: supply vdd not found, using dummy regul ator
Apr 29 03:44:12 xilinx-kr260-starterkit-xsct-20242 kernel: onboard-usb-dev fe300000.usb:hub@1: supply vdd2 not found, using dummy regu lator
Apr 29 03:44:12 xilinx-kr260-starterkit-xsct-20242 kernel: usb5744 3-002d: error -ENXIO: BYPASS_UDC_SUSPEND bit configuration failed
Apr 29 03:44:12 xilinx-kr260-starterkit-xsct-20242 kernel: usb5744 4-002d: error -ENXIO: BYPASS_UDC_SUSPEND bit configuration failed
[ OK ] Started D-Bus System Message Bus.
Apr 29 03:44:14 xilinx-kr260-starterkit-xsct-20242 kernel: sd 0:0:0:0: [sda] No Caching mode page found
Apr 29 03:44:14 xilinx-kr260-starterkit-xsct-20242 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Apr 29 03:44:16 xilinx-kr260-starterkit-xsct-20242 kernel: macb ff0b0000.ethernet eth1: unable to generate target frequency: 125000000 Hz
Apr 29 03:44:18 xilinx-kr260-starterkit-xsct-20242 kernel: dmaproxy: loading out-of-tree module taints kernel.
[ OK ] Reached target Preparation for Network.
Starting Network Configuration...
[ OK ] Finished OpenSSH Key Generation.
[ OK ] Started User Login Management.
Apr 29 03:44:24 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-region/firmware-name
Apr 29 03:44:24 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-region/resets
[ OK ] Started dfx-mgrd Dynamic Function eXchange.
Apr 29 03:44:24 xilinx-kr260-starterkit-xsct-20242 kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with e rror -2
[ OK ] Started Network Configuration.
[ OK ] Reached target Network.
Starting DNS forwarder and DHCP server...
[ OK ] Started Network Time Service.
Starting Wait for Network to be Configured...
Starting Permit User Sessions...
Starting Target Communication Framework agent...
[ OK ] Started DNS forwarder and DHCP server.
[ OK ] Finished Permit User Sessions.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyPS1.
[ OK ] Reached target Login Prompts.
[ OK ] Finished Wait for Network to be Configured.
[ OK ] Started Target Communication Framework agent.
[ OK ] Reached target Network is Online.
[ OK ] Started kria-dashboard-init.
[ OK ] Reached target Multi-User System.
Starting Record Runlevel Change in UTMP...
[ OK ] Finished Record Runlevel Change in U[ 17.680206] kria-dashboard.sh[1148]: SOM Dashboard will be running at http://192.168.1 .70:5006/kria-dashboard
********************************************************************************************
The PetaLinux source code and images provided/generated are for demonstration purposes only.
Please refer to https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/2741928025/Moving+from+PetaLinux+to+Production+Deployment
for more details.
********************************************************************************************
PetaLinux 2024.2+release-12070040 xilinx-kr260-starterkit-xsct-20242 ttyPS1
xilinx-kr260-starterkit-xsct-20242 login: [ 25.596219] kria-dashboard.sh[1169]: 2025-04-29 03:44:33,504 Starting Bokeh server versio n 3.5.1 (running on Tornado 6.4)
[ 25.603861] kria-dashboard.sh[1169]: 2025-04-29 03:44:33,513 User authentication hooks NOT provided (default user enabled)
[ 25.628490] kria-dashboard.sh[1169]: 2025-04-29 03:44:33,537 Bokeh app running at: http://localhost:5006/kria-dashboard
[ 25.628848] kria-dashboard.sh[1169]: 2025-04-29 03:44:33,538 Starting Bokeh server with process id: 1169
Apr 29 03:44:48 xilinx-kr260-starterkit-xsct-20242 kernel: macb ff0b0000.ethernet eth1: unable to generate target frequency: 125000000 Hz
xilinx-kr260-starterkit-xsct-20242 login: petalinux
Password:
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ sudo xmutil listapps
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
For security reasons, the password you type will not be visible.
Password:
Accelerator Accel_type Base Pid Base_type #slots(RPU+PL+AIE) slot->handle
k26-starter-kits XRT_FLAT k26-starter-kits id_ok XRT_FLAT (0+0+0) 0->0,
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ ls
xilinx-kr260-starterkit-xsct-20242:~$ wget https://github.com/LogicTronixInc/KR260-DPU-TRD-Vitis-AI-3.0/raw/refs/heads/master/DPU-B512-architecture/Firmware-DTBO-BIN-JSON/kr260-dpu-trd.bit.bin
Connecting to github.com (20.205.243.166:443)
wget: note: TLS certificate validation not implemented
Connecting to raw.githubusercontent.com (185.199.108.133:443)
saving to 'kr260-dpu-trd.bit.bin'
kr260-dpu-trd.bit.bi 100% |*********************************************************************************************| 5489k 0:00:00 ETA
'kr260-dpu-trd.bit.bin' saved
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ ls
kr260-dpu-trd.bit.bin
xilinx-kr260-starterkit-xsct-20242:~$ wget https://github.com/LogicTronixInc/KR260-DPU-TRD-Vitis-AI-3.0/raw/refs/heads/master/DPU-B512-architecture/Firmware-DTBO-BIN-JSON/kr260-dpu-trd.dtbo
Connecting to github.com (20.205.243.166:443)
wget: note: TLS certificate validation not implemented
Connecting to raw.githubusercontent.com (185.199.110.133:443)
saving to 'kr260-dpu-trd.dtbo'
kr260-dpu-trd.dtbo 100% |*********************************************************************************************| 2842 0:00:00 ETA
'kr260-dpu-trd.dtbo' saved
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ ls
kr260-dpu-trd.bit.bin kr260-dpu-trd.dtbo
xilinx-kr260-starterkit-xsct-20242:~$ vi shell.json
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ cat shell.json
{ "shell_type" : "XRT_FLAT", "num_slots": "1" }
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ ls
kr260-dpu-trd.bit.bin kr260-dpu-trd.dtbo shell.json
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ sudo mkdir /lib/firmware/xilinx/kr260-dpu-trd-b512
Password:
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ sudo cp -r kr260-dpu-trd.* /lib/firmware/xilinx/kr260-dpu-trd-b512/
xilinx-kr260-starterkit-xsct-20242:~$ sudo cp -r shell.json /lib/firmware/xilinx/kr260-dpu-trd-b512/
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ sudo xmutil listapps
Accelerator Accel_type Base Pid Base_type #slots(RPU+PL+AIE) slot->handle
k26-starter-kits XRT_FLAT k26-starter-kits id_ok XRT_FLAT (0+0+0) 0->0,
kr260-dpu-trd-b512 XRT_FLAT kr260-dpu-trd-b512 id_ok XRT_FLAT (0+0+0) -1
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ sudo xmutil unloadapp
remove from slot 0 returns: 0 (Ok)
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ sudo xmutil loadapp kr260-dpu-trd-b512
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-region/firmware-name
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-region/pid
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-region/resets
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-region/uid
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/overlay0
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/overlay1
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/afi0
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/clocking0
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/clocking1
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/overlay2
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/hier_dpu_DPUCZDX8G
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/misc_clk_0
Apr 29 04:45:10 xilinx-kr260-starterkit-xsct-20242 kernel: OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/misc_clk_1
kr260-dpu-trd-b512: Loaded with slot_handle 0
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ show_dpu
WARNING: Logging before InitGoogleLogging() is written to STDERR
F20250429 04:45:15.496589 1354 dpu_controller_dnndk.cpp:70] Check failed: fd >= 0 (-1 vs. 0) cannot open /dev/dpu
*** Check failure stack trace: ***
Aborted (core dumped)
xilinx-kr260-starterkit-xsct-20242:~$ sudo show_dpu
device_core_id=0 device= 0 core = 0 fingerprint = 0x101000056010400 batch = 1 full_cu_name=unknown:dpu0
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$ sudo xdputil query
{
"DPU IP Spec":{
"DPU Core Count":1,
"IP version":"v4.1.0",
"enable softmax":"False"
},
"VAI Version":{
"libvart-runner.so":"Xilinx vart-runner Version: 3.5.0-b7953a2a9f60e23efdfced5c186328dd1449665c 2025-04-27-12:16:13 ",
"libvitis_ai_library-dpu_task.so":"Advanced Micro Devices vitis_ai_library dpu_task Version: 3.5.0-b7953a2a9f60e23efdfced5c186328dd1449665c 2023-06-29 03:20:28 [UTC] ",
"libxir.so":"Xilinx xir Version: xir-b7953a2a9f60e23efdfced5c186328dd1449665c 2025-04-27-12:15:48",
"target_factory":"target-factory.3.5.0 b7953a2a9f60e23efdfced5c186328dd1449665c"
},
"kernels":[
{
"DPU Arch":"DPUCZDX8G_ISA1_B512_0101000056010400",
"DPU Frequency (MHz)":275,
"XRT Frequency (MHz)":100,
"cu_idx":0,
"fingerprint":"0x101000056010400",
"is_vivado_flow":true,
"name":"DPU Core 0"
}
]
}
xilinx-kr260-starterkit-xsct-20242:~$ ls
kr260-dpu-trd.bit.bin kr260-dpu-trd.dtbo shell.json
xilinx-kr260-starterkit-xsct-20242:~$
xilinx-kr260-starterkit-xsct-20242:~$
Comments
Please log in or sign up to comment.