FC2カウンター FPGAの部屋 ZUBoard
fc2ブログ

FPGAやCPLDの話題やFPGA用のツールの話題などです。 マニアックです。 日記も書きます。

FPGAの部屋

FPGAの部屋の有用と思われるコンテンツのまとめサイトを作りました。Xilinx ISEの初心者の方には、FPGAリテラシーおよびチュートリアルのページをお勧めいたします。

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる8

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる7”の続き。

今まで ZUBoard 1CG の PYNQ Linux で動作させてきた i4filters プロジェクトの回路Petalinux で動作させてみようということで、前回は、そのハードウェアに合わせて、Petalinux プロジェクトを作成し、ビルドした。BOOT.BIN を作成し、Micro SD カードにファイルをコピーして、Petalinux 2022.2 を起動した。今回は、”u-dma-buf を ZUBoard 1CG 用の Petalinux 2022.2 でビルドする”でビルドした u-dma-buf.ko を SFTP で ZUBoard 1CG の Petalinux 2022.2 にアップロードして、動作を確認した。UIO の状態も確認できた。

u-dma-buf を ZUBoard 1CG 用の Petalinux 2022.2 でビルドする”でビルドした u-dma-buf.ko を SFTP で ZUBoard 1CG の Petalinux 2022.2 にアップロードした。
zub1cg_i4filters_62_231003.png

u-dma-buf.ko を insmod した。udmabuf0 インスタンスを作成した。
sudo insmod u-dma-buf.ko udmabuf0=0x10000
成功した。物理アドレス 0x0000000027050000 にマップされた。サイズは 65536 だった。
zub1cg_i4filters_63_231003.png

/sys/class/u-dma-buf/udmabuf0 を確認した。
zub1cg_i4filters_65_231003.png

/sys/class/uio の UIO を確認した。
zub1cg_i4filters_64_231003.png
zub1cg_i4filters_66_231003.png

UIO のマップは”ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる3”と同様だった。

uio4: dma                   0xa0000000
uio5: color_converter_RGB24 0xa0040000
uio6: gaussian_axis_RGB24   0xa0030000
uio7: median_axis_RGB24     0xa0020000
uio8: sobel_axis_RGB24      0xa0010000

  1. 2023年10月04日 04:12 |
  2. ZUBoard
  3. | トラックバック:0
  4. | コメント:0

u-dma-buf を ZUBoard 1CG 用の Petalinux 2022.2 でビルドする

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる6”の AXI DMA IP を動作させるために u-dma-buf が必要となるので、”ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる7”の Petalinux 2022.2 で u-dma-buf をビルドした。

i4filters_peta ディレクトリには、ZUBoard 1CG 用の Petalinux 2022.2 がビルドされているので、これで u-dma-buf をビルドする。

Petalinux 2022.2 のプロジェクトの /media/masaaki/Ubuntu_Disk/ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters_peta ディレクトリに移動してして、u-dma-buf をカーネル・モジュールとして生成する。なお、Petalinux 2022.2 の settings.sh は実行済みだ。
petalinux-create -t modules --name u-dma-buf --enable
zub1cg_i4filters_56_231002.png

ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters_peta/project-spec/meta-user/recipes-modulesディレクトリの下に u-dma-buf ディレクトリが作成され、その下の files ディレクトリの下に u-dma-buf.c が生成された。
zub1cg_i4filters_61_231002.png

rootfs をビルドした。
petalinux-build -c rootfs
zub1cg_i4filters_57_231002.png

ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters_peta/project-spec/meta-user/recipes-modules/u-dma-buf/files/u-dma-buf.c に ikwzm/udambuf/u-dma-buf.c の内容をコピペした。
zub1cg_i4filters_58_231002.png

u-dma-buf をビルドした。
petalinux-build -c u-dma-buf
成功した。
zub1cg_i4filters_59_231002.png

ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters_peta/build/tmp/sysroots-components/zynqmp_generic/u-dma-buf/lib/modules/5.15.36-xilinx-v2022.2/extra ディレクトリに u-dma-buf.ko が作成された。
zub1cg_i4filters_60_231002.png
  1. 2023年10月03日 03:26 |
  2. ZUBoard
  3. | トラックバック:0
  4. | コメント:0

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる7

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる6”の続き。

今まで ZUBoard 1CG の PYNQ Linux で動作させてきた i4filters プロジェクトの回路Petalinux で動作させてみようということで、前回は、アプリケーション・プロジェクトでソフトウェアを書きながら OpenCV のインストールを試していたのだが、やはりインストールできなかった。仕方がないので、bmp_header.h を使用して、BMP ファイルをロードしてやることにしたが、そのためにはハードウェアを変更する必要がある。ということで、ハードウェアを変更することにした。今回は、そのハードウェアに合わせて、Petalinux プロジェクトを作成し、ビルドした。BOOT.BIN を作成し、Micro SD カードにファイルをコピーして、Petalinux 2022.2 を起動した。

Petalinux 2022.2 の zub1cg_i4filters_peta プロジェクトを作成する。
cd /media/masaaki/Ubuntu_Disk/ZUBoard1CG/Avnet_2022_2/petalinux/projects
petalinux-create -t project -n zub1cg_i4filters --template zynqMP


zub1cg_i4filters ディレクトリに行って、ハードウェアの XSA ファイルの設定を適用した。
cd zub1cg_i4filters
petalinux-config --get-hw-description=/media/masaaki/Ubuntu_Disk/HDL/2023.1/zub1cg/i4filters


misc/config System Configuration が起動した。
デフォルトのままにした。
セーブし終了した。

ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi を書き換えて、UIO のエントリを追加した。

/include/ "system-conf.dtsi"
/ {
    chosen {
        bootargs = "uio_pdrv_genirq.of_id=generic-uio";
    };
};

    &axi_dma_0{
        compatible = "generic-uio";
    };
    
    &color_converter_RGB24_0{
        compatible = "generic-uio";
    };
    
    &gaussian_axis_RGB24_0{
        compatible = "generic-uio";
    };

    &median_axis_RGB24_0{
        compatible = "generic-uio";
    };
    
    &sobel_axis_RGB24_0{
        compatible = "generic-uio";
    };
    
    &sdhci1 {
        status = "okay";
        no-1-8-v;
        disable-wp;
    };


RootFS を編集した。
petalinux-config -c rootfs

Filesystem Package -> x11 -> pcmanfm の pcmanfm に * を付けた。
Filesystem Package -> console -> network -> openssh の openssh-sftp-server に * を付けた。
Filesystem Package -> misc -> l3afpad の l3afpad に * を付けた。
packagegroup-petalinux-x11 を追加した。
Image Features -> package-management に * を追加した。
セーブして終了した。

ビルドを行って成功した。
petalinux-build

BOOT.BIN を作成した。
cd images/linux
petalinux-package --boot --fsbl zynqmp_fsbl.elf --u-boot u-boot.elf --pmufw pmufw.elf --fpga system.bit --force


ディレクトリの様子を示す。
zub1cg_i4filters_54_231002.png

ZUBoard1CG/at_2022_2/zub1cg_gpio/images/linux ディレクトリの BOOT.BIN, boot.scr, image.ub を FAT32 でフォーマットされた MicroSD カードに書き込んだ。

Micro SD カードを ZUBoard 1CG に挿入し電源ONした。
Petalinux 2022.2 が起動した。
zub1cg_i4filters_55_231002.png

起動ログを貼っておく。

NOTICE:  BL31: v2.6(release):xlnx_rebase_v2.6_2022.1_update3-18-g0897efd45
NOTICE:  BL31: Built : 03:55:03, Sep  9 2022


U-Boot 2022.01 (Sep 20 2022 - 06:35:33 +0000)

CPU:   ZynqMP
Silicon: v3
Board: Xilinx ZynqMP
DRAM:  1023 MiB
PMUFW:  v1.1
PMUFW no permission to change config object
EL Level:   EL2
Chip ID:    zu1eg
NAND:  0 MiB
MMC:   mmc@ff170000: 0
Loading Environment from FAT... *** Error - No Valid Environment Area found
*** Warning - bad env area, using default environment

In:    serial
Out:   serial
Err:   serial
Bootmode: SD_MODE1
Reset reason:   EXTERNAL 
Net:   FEC: can't find phy-handle

ZYNQ GEM: ff0d0000, mdio bus ff0d0000, phyaddr 7, interface rgmii-id

Warning: ethernet@ff0d0000 (eth0) using random MAC address - aa:f8:2c:57:0c:03
eth0: ethernet@ff0d0000
scanning bus for devices...
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2777 bytes read in 13 ms (208 KiB/s)
## Executing script at 20000000
Trying to load boot images from mmc0
86728516 bytes read in 6164 ms (13.4 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel
     Created:      2022-10-03   7:50:07 UTC
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x100000fc
     Data Size:    9268952 Bytes = 8.8 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00200000
     Entry Point:  0x00200000
     Hash algo:    sha256
     Hash value:   0a45931a185d9da44b6d5e41c6b7e68412ab963794be99aef85124f428fb76a2
   Verifying Hash Integrity ... sha256+ OK
## Loading ramdisk from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Trying 'ramdisk-1' ramdisk subimage
     Description:  petalinux-image-minimal
     Created:      2022-10-03   7:50:07 UTC
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x108e0aec
     Data Size:    77418206 Bytes = 73.8 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha256
     Hash value:   ff1d7c1578de26fece5d4358eaac333164748fce77c8d75ec131848af5ba36bc
   Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Trying 'fdt-system-top.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Created:      2022-10-03   7:50:07 UTC
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x108d70e4
     Data Size:    39223 Bytes = 38.3 KiB
     Architecture: AArch64
     Hash algo:    sha256
     Hash value:   f7c8b5875bb51734ec5d4e2c015badfb626df1ed3bc97442d824c6f34b44ae08
   Verifying Hash Integrity ... sha256+ OK
   Booting using the fdt blob at 0x108d70e4
   Uncompressing Kernel Image
   Loading Ramdisk to 37226000, end 3bbfaede ... OK
   Loading Device Tree to 0000000037219000, end 0000000037225936 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.36-xilinx-v2022.2 (oe-user@oe-host) (aarch64-xilinx-linux-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 SMP Mon Oct 3 07:50:07 UTC 2022
[    0.000000] Machine model: xlnx,zynqmp
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x000000003fefffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003fefffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fefffff]
[    0.000000] On node 0, zone DMA32: 256 pages in unavailable ranges
[    0.000000] cma: Reserved 256 MiB at 0x0000000027000000
[    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.2
[    0.000000] percpu: Embedded 18 pages/cpu s34776 r8192 d30760 u73728
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 257796
[    0.000000] Kernel command line: uio_pdrv_genirq.of_id=generic-uio
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 667776K/1047552K available (13888K kernel code, 990K rwdata, 3916K rodata, 2176K init, 573K bss, 117632K reserved, 262144K cma-reserved)
[    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=2.
[    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=2
[    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] random: get_random_bytes called from start_kernel+0x474/0x6d8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[    0.000000] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.000364] Console: colour dummy device 80x25
[    0.000603] printk: console [tty0] enabled
[    0.000639] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.000660] pid_max: default: 32768 minimum: 301
[    0.000929] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.000952] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002344] rcu: Hierarchical SRCU implementation.
[    0.002594] EFI services will not be available.
[    0.002711] smp: Bringing up secondary CPUs ...
[    0.003160] Detected VIPT I-cache on CPU1
[    0.003216] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003304] smp: Brought up 1 node, 2 CPUs
[    0.003329] SMP: Total of 2 processors activated.
[    0.003339] CPU features: detected: 32-bit EL0 Support
[    0.003349] CPU features: detected: CRC32 instructions
[    0.003400] CPU: All CPU(s) started at EL2
[    0.003420] alternatives: patching kernel code
[    0.004504] devtmpfs: initialized
[    0.008888] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.008917] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018620] pinctrl core: initialized pinctrl subsystem
[    0.019275] DMI not present or invalid.
[    0.019582] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.020843] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.020934] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.020995] audit: initializing netlink subsys (disabled)
[    0.021101] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.021512] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.021563] ASID allocator initialised with 65536 entries
[    0.021692] Serial: AMBA PL011 UART driver
[    0.039601] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.039635] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.039646] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.039657] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.109434] cryptd: max_cpu_qlen set to 1000
[    1.134814] DRBG: Continuing without Jitter RNG
[    1.237095] raid6: neonx8   gen()  2140 MB/s
[    1.305150] raid6: neonx8   xor()  1586 MB/s
[    1.373216] raid6: neonx4   gen()  2182 MB/s
[    1.441272] raid6: neonx4   xor()  1555 MB/s
[    1.509343] raid6: neonx2   gen()  2066 MB/s
[    1.577396] raid6: neonx2   xor()  1430 MB/s
[    1.645472] raid6: neonx1   gen()  1762 MB/s
[    1.713522] raid6: neonx1   xor()  1212 MB/s
[    1.781591] raid6: int64x8  gen()  1366 MB/s
[    1.849647] raid6: int64x8  xor()   773 MB/s
[    1.917708] raid6: int64x4  gen()  1599 MB/s
[    1.985778] raid6: int64x4  xor()   851 MB/s
[    2.053853] raid6: int64x2  gen()  1396 MB/s
[    2.121911] raid6: int64x2  xor()   749 MB/s
[    2.189980] raid6: int64x1  gen()  1033 MB/s
[    2.258034] raid6: int64x1  xor()   517 MB/s
[    2.258045] raid6: using algorithm neonx4 gen() 2182 MB/s
[    2.258054] raid6: .... xor() 1555 MB/s, rmw enabled
[    2.258063] raid6: using neon recovery algorithm
[    2.258675] iommu: Default domain type: Translated 
[    2.258688] iommu: DMA domain TLB invalidation policy: strict mode 
[    2.258955] SCSI subsystem initialized
[    2.259142] usbcore: registered new interface driver usbfs
[    2.259182] usbcore: registered new interface driver hub
[    2.259211] usbcore: registered new device driver usb
[    2.259291] mc: Linux media interface: v0.10
[    2.259318] videodev: Linux video capture interface: v2.00
[    2.259365] pps_core: LinuxPPS API ver. 1 registered
[    2.259375] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.259397] PTP clock support registered
[    2.259431] EDAC MC: Ver: 3.0.0
[    2.259778] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.260028] FPGA manager framework
[    2.260171] Advanced Linux Sound Architecture Driver Initialized.
[    2.260578] Bluetooth: Core ver 2.22
[    2.260609] NET: Registered PF_BLUETOOTH protocol family
[    2.260619] Bluetooth: HCI device and connection manager initialized
[    2.260635] Bluetooth: HCI socket layer initialized
[    2.260646] Bluetooth: L2CAP socket layer initialized
[    2.260663] Bluetooth: SCO socket layer initialized
[    2.261096] clocksource: Switched to clocksource arch_sys_counter
[    2.261265] VFS: Disk quotas dquot_6.6.0
[    2.261319] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.265902] NET: Registered PF_INET protocol family
[    2.266022] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.266662] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    2.266693] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    2.266760] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    2.266930] TCP: Hash tables configured (established 8192 bind 8192)
[    2.267045] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.267078] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.267180] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.267533] RPC: Registered named UNIX socket transport module.
[    2.267545] RPC: Registered udp transport module.
[    2.267554] RPC: Registered tcp transport module.
[    2.267562] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.267578] PCI: CLS 0 bytes, default 64
[    2.267746] Trying to unpack rootfs image as initramfs...
[    2.274014] armv8-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[    2.274653] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    6.035995] Freeing initrd memory: 75600K
[    6.099817] Initialise system trusted keyrings
[    6.099982] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    6.100835] NFS: Registering the id_resolver key type
[    6.100857] Key type id_resolver registered
[    6.100866] Key type id_legacy registered
[    6.100892] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.100904] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.100934] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.137025] NET: Registered PF_ALG protocol family
[    6.137043] xor: measuring software checksum speed
[    6.141235]    8regs           :  2363 MB/sec
[    6.144760]    32regs          :  2799 MB/sec
[    6.149038]    arm64_neon      :  2307 MB/sec
[    6.149048] xor: using function: 32regs (2799 MB/sec)
[    6.149060] Key type asymmetric registered
[    6.149070] Asymmetric key parser 'x509' registered
[    6.149128] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    6.149143] io scheduler mq-deadline registered
[    6.149154] io scheduler kyber registered
[    6.178215] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    6.179540] Serial: AMBA driver
[    6.180377] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    6.185394] brd: module loaded
[    6.189002] loop: module loaded
[    6.189985] mtdoops: mtd device (mtddev=name/number) must be supplied
[    6.193139] tun: Universal TUN/TAP device driver, 1.6
[    6.193235] CAN device driver interface
[    6.193884] usbcore: registered new interface driver asix
[    6.193950] usbcore: registered new interface driver ax88179_178a
[    6.193980] usbcore: registered new interface driver cdc_ether
[    6.194012] usbcore: registered new interface driver net1080
[    6.194046] usbcore: registered new interface driver cdc_subset
[    6.194076] usbcore: registered new interface driver zaurus
[    6.194119] usbcore: registered new interface driver cdc_ncm
[    6.194883] usbcore: registered new interface driver uas
[    6.194926] usbcore: registered new interface driver usb-storage
[    6.195724] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    6.195751] rtc_zynqmp ffa60000.rtc: setting system clock to 1970-01-01T00:00:11 UTC (11)
[    6.195822] i2c_dev: i2c /dev entries driver
[    6.197547] usbcore: registered new interface driver uvcvideo
[    6.198003] Bluetooth: HCI UART driver ver 2.3
[    6.198016] Bluetooth: HCI UART protocol H4 registered
[    6.198026] Bluetooth: HCI UART protocol BCSP registered
[    6.198052] Bluetooth: HCI UART protocol LL registered
[    6.198062] Bluetooth: HCI UART protocol ATH3K registered
[    6.198084] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    6.198130] Bluetooth: HCI UART protocol Intel registered
[    6.198154] Bluetooth: HCI UART protocol QCA registered
[    6.198188] usbcore: registered new interface driver bcm203x
[    6.198221] usbcore: registered new interface driver bpa10x
[    6.198256] usbcore: registered new interface driver bfusb
[    6.198291] usbcore: registered new interface driver btusb
[    6.198340] usbcore: registered new interface driver ath3k
[    6.198434] EDAC MC: ECC not enabled
[    6.198589] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)
[    6.198765] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    6.199251] sdhci: Secure Digital Host Controller Interface driver
[    6.199262] sdhci: Copyright(c) Pierre Ossman
[    6.199270] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.199567] ledtrig-cpu: registered to indicate activity on CPUs
[    6.199700] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    6.199786] zynqmp_firmware_probe Platform Management API v1.1
[    6.199801] zynqmp_firmware_probe Trustzone version v1.0
[    6.228028] securefw securefw: securefw probed
[    6.228143] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: The zynqmp-aes driver shall be deprecated in 2022.2 and removed in 2023.1
[    6.228441] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    6.228473] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: AES Successfully Registered
[    6.228604] zynqmp-keccak-384 firmware:zynqmp-firmware:sha384: The zynqmp-sha-deprecated driver shall be deprecated in 2022.2 and removed in 2023.1 release
[    6.228704] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    6.228904] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    6.229124] usbcore: registered new interface driver usbhid
[    6.229136] usbhid: USB HID core driver
[    6.232367] ARM CCI_400_r1 PMU driver probed
[    6.233025] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    6.233486] usbcore: registered new interface driver snd-usb-audio
[    6.234326] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    6.234910] Initializing XFRM netlink socket
[    6.235006] NET: Registered PF_INET6 protocol family
[    6.235635] Segment Routing with IPv6
[    6.235660] In-situ OAM (IOAM) with IPv6
[    6.235749] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.236153] NET: Registered PF_PACKET protocol family
[    6.236176] NET: Registered PF_KEY protocol family
[    6.236202] can: controller area network core
[    6.236246] NET: Registered PF_CAN protocol family
[    6.236257] can: raw protocol
[    6.236268] can: broadcast manager protocol
[    6.236280] can: netlink gateway - max_hops=1
[    6.236384] Bluetooth: RFCOMM TTY layer initialized
[    6.236401] Bluetooth: RFCOMM socket layer initialized
[    6.236431] Bluetooth: RFCOMM ver 1.11
[    6.236446] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.236456] Bluetooth: BNEP filters: protocol multicast
[    6.236469] Bluetooth: BNEP socket layer initialized
[    6.236478] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    6.236491] Bluetooth: HIDP socket layer initialized
[    6.236535] 8021q: 802.1Q VLAN Support v1.8
[    6.236659] 9pnet: Installing 9P2000 support
[    6.236696] Key type dns_resolver registered
[    6.236826] registered taskstats version 1
[    6.236837] Loading compiled-in X.509 certificates
[    6.238323] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    6.249544] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 59, base_baud = 6249999) is a xuartps
[    7.585577] printk: console [ttyPS0] enabled
[    7.590315] of-fpga-region fpga-full: FPGA Region probed
[    7.597630] xilinx-zynqmp-dma fd500000.dma-controller: ZynqMP DMA driver Probe success
[    7.605735] xilinx-zynqmp-dma fd510000.dma-controller: ZynqMP DMA driver Probe success
[    7.613837] xilinx-zynqmp-dma fd520000.dma-controller: ZynqMP DMA driver Probe success
[    7.621943] xilinx-zynqmp-dma fd530000.dma-controller: ZynqMP DMA driver Probe success
[    7.630051] xilinx-zynqmp-dma fd540000.dma-controller: ZynqMP DMA driver Probe success
[    7.638164] xilinx-zynqmp-dma fd550000.dma-controller: ZynqMP DMA driver Probe success
[    7.646264] xilinx-zynqmp-dma fd560000.dma-controller: ZynqMP DMA driver Probe success
[    7.654365] xilinx-zynqmp-dma fd570000.dma-controller: ZynqMP DMA driver Probe success
[    7.662539] xilinx-zynqmp-dma ffa80000.dma-controller: ZynqMP DMA driver Probe success
[    7.670638] xilinx-zynqmp-dma ffa90000.dma-controller: ZynqMP DMA driver Probe success
[    7.678735] xilinx-zynqmp-dma ffaa0000.dma-controller: ZynqMP DMA driver Probe success
[    7.686835] xilinx-zynqmp-dma ffab0000.dma-controller: ZynqMP DMA driver Probe success
[    7.694948] xilinx-zynqmp-dma ffac0000.dma-controller: ZynqMP DMA driver Probe success
[    7.703048] xilinx-zynqmp-dma ffad0000.dma-controller: ZynqMP DMA driver Probe success
[    7.711150] xilinx-zynqmp-dma ffae0000.dma-controller: ZynqMP DMA driver Probe success
[    7.719257] xilinx-zynqmp-dma ffaf0000.dma-controller: ZynqMP DMA driver Probe success
[    7.727977] zynqmp-qspi ff0f0000.spi: rx bus width not found
[    7.733641] zynqmp-qspi ff0f0000.spi: tx bus width not found
[    7.739408] spi_master spi0: cannot find modalias for /axi/spi@ff0f0000/flash@0
[    7.746729] spi_master spi0: Failed to create SPI device for /axi/spi@ff0f0000/flash@0
[    7.755005] macb ff0d0000.ethernet: Not enabling partial store and forward
[    7.767977] macb ff0d0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0d0000 irq 37 (aa:f8:2c:57:0c:03)
[    7.778354] zynqmp_pll_disable() clock disable failed for apll_int, ret = -13
[    7.785647] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    7.792231] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    7.798739] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    7.805279] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    7.814272] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 39
[    7.820647] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    7.828126] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    7.839660] of_cfs_init
[    7.842186] of_cfs_init: OK
[    7.846261] ALSA device list:
[    7.849226]   No soundcards found.
[    7.869485] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    7.878260] Freeing unused kernel memory: 2176K
[    7.883100] Run /init as init process
[    7.900455] systemd[1]: System time before build time, advancing clock.
[    7.911456] systemd[1]: systemd 249.7+ 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 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[    7.941801] systemd[1]: Detected architecture arm64.
[    7.952839] mmc0: Problem switching card into high-speed mode!
[    7.961308] mmc0: new SDHC card at address 0001

Welcome to PetaLinux 2022.2_update1_04022314 (honister)[    7.966557] mmcblk0: mmc0:0001 SPCC  29.0 GiB 
!

[    7.976923] systemd[1]: Hostname set to <zub1cgi4filterspeta>.
[    7.982986] random: systemd: uninitialized urandom read (16 bytes read)
[    7.990275] systemd[1]: Initializing machine ID from random generator.
[    7.996879]  mmcblk0: p1 p2
[    8.056096] systemd-sysv-generator[217]: SysV service '/etc/init.d/watchdog-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    8.083557] systemd-sysv-generator[217]: SysV service '/etc/init.d/nfsserver' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    8.107617] systemd-sysv-generator[217]: SysV service '/etc/init.d/nfscommon' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    8.131944] systemd-sysv-generator[217]: SysV service '/etc/init.d/inetd.busybox' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    8.157054] systemd-sysv-generator[217]: SysV service '/etc/init.d/dropbear' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    8.381723] systemd[1]: Queued start job for default target Graphical Interface.
[    8.390287] random: systemd: uninitialized urandom read (16 bytes read)
[    8.419745] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    8.441261] random: systemd: uninitialized urandom read (16 bytes read)
[    8.449378] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    8.470455] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    8.494282] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    8.517401] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    8.541301] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    8.565358] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    8.581196] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.601191] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    8.617203] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    8.633749] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    8.657185] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    8.677463] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.693367] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.717709] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.737407] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.761491] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.777641] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    8.801485] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.821392] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.841420] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[    8.868215] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    8.888500] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.912583] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    8.929603] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    8.941495] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    8.957564] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped.
[    8.970602] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.993269] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    9.012835] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    9.032899] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    9.049367] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    9.059226] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[    9.070200] systemd[1]: Mounting NFSD configuration filesystem...
         Mounting NFSD configuration filesystem...
[    9.088793] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    9.117007] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    9.136921] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    9.158380] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    9.173929] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[    9.197913] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    9.225913] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    9.254010] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[    9.278498] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    9.287039] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[    9.309983] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    9.317828] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[    9.337899] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    9.345816] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[    9.369526] systemd[1]: proc-fs-nfsd.mount: Mount process exited, code=exited, status=32/n/a
[    9.377991] systemd[1]: proc-fs-nfsd.mount: Failed with result 'exit-code'.
[    9.386381] systemd[1]: Failed to mount NFSD configuration filesystem.
[FAILED] Failed to mount NFSD configuration filesystem.
See 'systemctl status proc-fs-nfsd.mount' for details.
[    9.421132] systemd[1]: Dependency failed for NFS server and services.
[DEPEND] Dependency failed for NFS server and services.
[    9.445149] systemd[1]: Dependency failed for NFS Mount Daemon.
[DEPEND] Dependency failed for NFS Mount Daemon.
[    9.465131] systemd[1]: nfs-mountd.service: Job nfs-mountd.service/start failed with result 'dependency'.
[    9.474740] systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
[    9.486055] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[    9.510800] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[    9.536707] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    9.548695] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[    9.577816] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    9.586596] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    9.600088] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[    9.621795] systemd[1]: Mounted Kernel Configuration File System.
[  OK  ] Mounted Kernel Configuration File System.
[    9.655677] systemd[1]: Finished Create System Users.
[  OK  ] Finished Create System Users.
[    9.681711] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[    9.712112] systemd[1]: Finished Create Static Device Nodes in /dev.
[  OK  ] Finished Create Static Device Nodes in /dev.
[    9.733771] systemd[1]: Reached target Preparation for Local File Systems.
[  OK  ] Reached target Preparation for Local File Systems.
[    9.764949] systemd[1]: Mounting /var/volatile...
         Mounting /var/volatile...
[    9.785912] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
[  OK  ] Started Entropy Daemon based on the HAVEGE algorithm.
[    9.814289] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    9.841192] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    9.861766] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    9.890224] systemd[1]: Starting Rule-based Manager for Device Events and Files...
         Starting Rule-based Manage…for Device Events and Files...
[    9.925454] systemd[1]: Finished Coldplug All udev Devices.
[  OK  ] Finished Coldplug All udev Devices.
[    9.950013] systemd[1]: Mounted /var/volatile.
[  OK  ] Mounted /var/volatile.
[    9.965729] systemd[1]: Condition check resulted in Bind mount volatile /var/cache being skipped.
[    9.981239] systemd[1]: Condition check resulted in Bind mount volatile /var/lib being skipped.
[   10.005771] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[   10.037477] systemd[1]: Condition check resulted in Bind mount volatile /var/spool being skipped.
[   10.054190] systemd[1]: Condition check resulted in Bind mount volatile /srv being skipped.
[   10.077468] systemd[1]: Reached target Local File Systems.
[  OK  ] Reached target Local File Systems.
[   10.137487] systemd[1]: Starting Rebuild Dynamic Linker Cache...
         Starting Rebuild Dynamic Linker Cache...
[   10.166829] systemd[1]: Started Rule-based Manager for Device Events and Files.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[   10.194282] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
         Starting Network Configuration...
[   10.298514] systemd-journald[245]: Received client request to flush runtime journal.
[  OK  ] Finished Rebuild Dynamic Linker Cache.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Run pending postinsts...
         Starting Rebuild Journal Catalog...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[   11.062558] random: fast init done
[  OK  ] Finished Rebuild Journal Catalog.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Reached target Hardware activated USB gadget.
         Starting Update is Completed...
[   11.286242] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[  OK  ] Finished Update is Completed.
[  OK  ] Started Network Configuration.
[   11.771453] macb ff0d0000.ethernet eth0: PHY [ff0d0000.ethernet-ffffffff:07] driver [Microchip KSZ9131 Gigabit PHY] (irq=POLL)
[   11.783012] macb ff0d0000.ethernet eth0: configuring for phy/rgmii-id link mode
[   11.800307] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
         Starting Network Name Resolution...
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[   11.933919] pps pps0: new PPS source ptp0
[   11.965025] macb ff0d0000.ethernet: gem-ptp-timer ptp clock registered.
[   12.007617] Warn: update-alternatives: libmali-xlnx has multiple providers with the same priority, please check /usr/lib/opkg/alternatives/libmali-xlnx for details
[   12.207522] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[  OK  ] Created slice Slice /system/systemd-fsck.
         Starting File System Check on /dev/mmcblk0p1...
[  OK  ] Found device /dev/mmcblk0p2.
[  OK  ] Finished File System Check on /dev/mmcblk0p1.
         Mounting /run/media/mmcblk0p1...
         Starting File System Check on /dev/mmcblk0p2...
[   12.706527] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[   12.809168] random: crng init done
[   12.812598] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Mounted /run/media/mmcblk0p1.
[  OK  ] Finished File System Check on /dev/mmcblk0p2.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Finished Run pending postinsts.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
         Mounting /run/media/mmcblk0p2...
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
         Starting LSB: NFS support for both client and server...
         Starting User Login Management...
         Starting Permit User Sessions...
         Starting Target Communication Framework agent...
[  OK  ] Started Xserver startup without a display manager.
[  OK  ] Started LSB: NFS support for both client and server.
[   14.385380] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Mounted /run/media/mmcblk0p2.
[  OK  ] Started Target Communication Framework agent.
[  OK  ] Started Getty on tty1.
         Starting inetd.busybox.service...
         Starting LSB: Kernel NFS server support...
[  OK  ] Started Serial Getty on ttyPS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started inetd.busybox.service.
[FAILED] Failed to start LSB: Kernel NFS server support.
See 'systemctl status nfsserver.service' for details.
[  OK  ] Started User Login Management.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.
[   14.977155] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   14.982710] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[   14.990565] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000002010090
[   15.000056] xhci-hcd xhci-hcd.1.auto: irq 63, io mem 0xfe300000
[   15.006284] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[   15.014585] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.021828] usb usb1: Product: xHCI Host Controller
[   15.026714] usb usb1: Manufacturer: Linux 5.15.36-xilinx-v2022.2 xhci-hcd
[   15.033500] usb usb1: SerialNumber: xhci-hcd.1.auto
[   15.039013] hub 1-0:1.0: USB hub found
[   15.042804] hub 1-0:1.0: 1 port detected
[   15.047045] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   15.052579] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[   15.060291] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[   15.066981] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   15.075294] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[   15.083574] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.090800] usb usb2: Product: xHCI Host Controller
[   15.095683] usb usb2: Manufacturer: Linux 5.15.36-xilinx-v2022.2 xhci-hcd
[   15.102477] usb usb2: SerialNumber: xhci-hcd.1.auto
[   15.107844] hub 2-0:1.0: USB hub found
[   15.111637] hub 2-0:1.0: 1 port detected

PetaLinux 2022.2_update1_04022314 zub1cgi4filterspeta ttyPS0

zub1cgi4filterspeta login: [   16.039529] macb ff0d0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.047274] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

  1. 2023年10月02日 05:20 |
  2. ZUBoard
  3. | トラックバック:0
  4. | コメント:0

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる6

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる5”の続き。

今まで ZUBoard 1CG の PYNQ Linux で動作させてきた i4filters プロジェクトの回路Petalinux で動作させてみようということで、前回は、Vitis 2022.2 を起動して、 zub1cg_i4filters_pf プラットフォーム・プロジェクトと zub1cg_i4filters_system アプリケーション・プロジェクトを作成した。今回は、アプリケーション・プロジェクトでソフトウェアを書きながら OpenCV のインストールを試していたのだが、やはりインストールできなかった。仕方がないので、bmp_header.h を使用して、BMP ファイルをロードしてやることにしたが、そのためにはハードウェアを変更する必要がある。ということで、ハードウェアを変更することにした。

ZUBoard 1CG 用の Vivado 2023.1 の i4filters_peta プロジェクトを作成した。
zub1cg_i4filters_47_231001.png

i4filters_peta ブロック・デザインを作成した。
axi_dma からの 32 ビット幅の AXI4-Stream を AXI4-Stream Subset Converter で 24 ビット幅にしている(axis_subset_converter_0)。
フィルタ処理後も 24 ビット幅の AXI4-Stream を AXI4-Stream Subset Converter で 32 ビット幅に変換して、axi_dma に入力している(axis_subset_converter_1)。
zub1cg_i4filters_48_231001.png

axis_subset_converter_0 を示す。
zub1cg_i4filters_50_231001.png

axis_subset_converter_1 を示す。
zub1cg_i4filters_51_231001.png

Address Editor を示す。
zub1cg_i4filters_49_231001.png

HDL Wrapper ファイルを生成し、論理合成、インプリメンテーション、ビットストリームの生成を行った。
Project Summary を示す。
zub1cg_i4filters_52_231001.png

ハードウェアをエクスポートして、i4filters_peta_wrapper.xsa を生成した。
zub1cg_i4filters_53_231001.png
  1. 2023年10月01日 05:37 |
  2. ZUBoard
  3. | トラックバック:0
  4. | コメント:0

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる5

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる4”の続き。

今まで ZUBoard 1CG の PYNQ Linux で動作させてきた i4filters プロジェクトの回路Petalinux で動作させてみようということで、前回は、sftp で ZUBoard 1CG で起動した Petalinux 2022.2 にログインできるように openssh-sftp-server パッケージをインストールしたら sftp でログインすることができた。pcmanfm を動作させることができた。今回は、Vitis 2022.2 を起動して、 zub1cg_i4filters_pf プラットフォーム・プロジェクトと zub1cg_i4filters_system アプリケーション・プロジェクトを作成した。

Vitis 2022.2 を起動する。
vitis &

Vitis IDE Launcher が起動した。
HDL/2023.1/zub1cg/i4filters/vitis_work を新規作成し、Workspace に指定した。
zub1cg_i4filters_35_230928.png

Vitis 2022.2 が起動した。
zub1cg_i4filters_36_230928.png

Create Application Project をクリックし、アプリケーション・プロジェクトを新規作成する。
New Application Project ダイアログの Create a New Application Project が表示された。
zub1cg_i4filters_37_230928.png

Platform
Create a new platform from hardware (XSA) タブをクリックした。
Hardware Specfication の XSA File に /media/masaaki/Ubuntu_Disk/HDL/2023.1/zub1cg/i4filters/i4filters_wrapper.xsa を指定した。
Platform name を zub1cg_i4filters_pf に書き換えた。
zub1cg_i4filters_38_230928.png

Application Project Details
Application project name に zub1cg_i4filters を指定した。
Select target processor for the Appliction project で psu_cortex53 SMP を選択した。
zub1cg_i4filters_39_230928.png

Domain
Application settings の Root FS には、ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters/images/linux/rootfs.ext4 を指定した。
Application settings の Kernel Image には、ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters/images/linux/Image を指定した。
zub1cg_i4filters_40_230928.png

Templates
Linux Empty Application を選択して、Finish ボタンをクリックした。
zub1cg_i4filters_41_230928.png

Explorer に zub1cg_i4filters_pf プラットフォーム・プロジェクトと zub1cg_i4filters_system アプリケーション・プロジェクトが生成された。
zub1cg_i4filters_42_230928.png
  1. 2023年09月29日 04:55 |
  2. ZUBoard
  3. | トラックバック:0
  4. | コメント:0

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる4

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる3”の続き。

今まで ZUBoard 1CG の PYNQ Linux で動作させてきた i4filters プロジェクトの回路Petalinux で動作させてみようということで、前回は、ZUBoard 1CG で起動した Petalinux 2022.2 で uio を確認した。sftp を試したところ、ZUBoard 1CG の Petalinux 2022.2 にログインできなかった。今回は、sftp で ZUBoard 1CG で起動した Petalinux 2022.2 にログインできるように openssh-sftp-server パッケージをインストールしたら sftp でログインすることができた。

/media/masaaki/Ubuntu_Disk/ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters ディレクトリに入って、RootFS を編集した。
cd /media/masaaki/Ubuntu_Disk/ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters
petalinux-config -c rootfs


Filesystem Package -> x11 -> pcmanfm の pcmanfm に * を付けた。
zub1cg_i4filters_28_230927.png

Filesystem Package -> console -> network -> openssh の openssh-sftp-server に * を付けた。
zub1cg_i4filters_29_230927.png

Filesystem Package -> misc -> l3afpad の l3afpad に * を付けた。
zub1cg_i4filters_30_230927.png

セーブして終了した。

ビルドを行った。
petalinux-build

BOOT.BIN を作成した。
cd images/linux
petalinux-package --boot --fsbl zynqmp_fsbl.elf --u-boot u-boot.elf --pmufw pmufw.elf --fpga system.bit --force


ZUBoard1CG/at_2022_2/zub1cg_gpio/images/linux ディレクトリの BOOT.BIN, boot.scr, image.ub を FAT32 でフォーマットされた MicroSD カードに書き込んだ。
zub1cg_i4filters_31_230927.png

Micro SD カードを ZUBoard 1CG に挿入し電源ONした。
Petalinux 2022.2 が起動した。
zub1cg_i4filters_32_230927.png

IP アドレスが割り振られている。
zub1cg_i4filters_33_230927.png

割り振られた IP アドレスに FileZilla で SFTP ログインすることができた。
zub1cg_i4filters_34_230927.png

(追加)
この状態では pcmanfm を起動することができなかった。
そこで、petalinux-config -c rootfs をもう一度実行して、packagegroup-petalinux-x11 を追加した。
zub1cg_i4filters_43_230928.png

セーブして終了した。

ビルドを行った。
petalinux-build

BOOT.BIN を作成した。
cd images/linux
petalinux-package --boot --fsbl zynqmp_fsbl.elf --u-boot u-boot.elf --pmufw pmufw.elf --fpga system.bit --force


ZUBoard1CG/at_2022_2/zub1cg_gpio/images/linux ディレクトリの BOOT.BIN, boot.scr, image.ub を FAT32 でフォーマットされた MicroSD カードに書き込んだ。
zub1cg_i4filters_31_230927.png

Micro SD カードを ZUBoard 1CG に挿入し電源ONした。
Petalinux 2022.2 が起動した。
zub1cg_i4filters_32_230927.png

Petalinux 2022.2 に ssh でログインして、
ssh 192.168.3.57 -X -l petalinux

pcmanfm を起動したら、起動できた。
pcmanfm &
zub1cg_i4filters_44_230928.png

(2023/09/29:追加)
dnf コマンドもうまく行かなかったのだが、良い方法をネットで見つけたので、試してみる。

cd /media/masaaki/Ubuntu_Disk/ZUBoard1CG/Avnet_2022_2/petalinux/projects/zub1cg_i4filters
petalinux-config -c rootfs


Image Features -> package-management に * を追加した。
zub1cg_i4filters_45_230929.png

ビルドして、手順を踏んで、Petalinux 2022.2 で sudo dnf install g++.cortexa72_cortexa53 コマンドを実行することができた。
zub1cg_i4filters_46_230929.png
  1. 2023年09月28日 04:39 |
  2. ZUBoard
  3. | トラックバック:0
  4. | コメント:0

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる3

ZUBoard 1CG の i4filters プロジェクトの回路を Petalinux で動作させる2”の続き。

今まで ZUBoard 1CG の PYNQ Linux で動作させてきた i4filters プロジェクトの回路Petalinux で動作させてみようということで、前回は、異なるハードウェアだが、うまく行った”MicroZed Chronicles: UIO をやってみる3”の設定を使用してやってみたところ、ビルドが成功して、Micro SD カードに書いて ZUBoard 1CG でブートしたところ、Petalinux 2022.2 が起動した。今回は、ZUBoard 1CG で起動した Petalinux 2022.2 で uio を確認した。sftp を試したところ、ZUBoard 1CG の Petalinux 2022.2 にログインできなかった。

ZUBoard 1CG で起動した Petalinux 2022.2 で uio を確認する。
/sys/class/uio ディレクトリに行くと、uio0 〜 uio8 があった。
uio4 〜 uio8 が追加した uio だった。その対応を示す。

uio4: dma                   0xa0000000
uio5: color_converter_RGB24 0xa0040000
uio6: gaussian_axis_RGB24   0xa0030000
uio7: median_axis_RGB24     0xa0020000
uio8: sobel_axis_RGB24      0xa0010000


zub1cg_i4filters_23_230927.png
zub1cg_i4filters_25_230927.png

IP アドレスを確認して、ホストパソコンから FileZilla で ZUBoard 1CG に sftp でログインしてみたがエラーだった。
zub1cg_i4filters_24_230927.png

zub1cg_i4filters_26_230927.png

そこで、dnf で openssh-sftp-server をインストールしようとしたが、エラーだった。
sudo dnf install openssh-sftp-server.cortexa72_cortexa53
zub1cg_i4filters_27_230927.png
  1. 2023年09月27日 04:56 |
  2. ZUBoard
  3. | トラックバック:0
  4. | コメント:0
»