FC2カウンター FPGAの部屋 2023年09月10日
fc2ブログ

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

FPGAの部屋

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

MicroZed Chronicles: UIO をやってみる4

MicroZed Chronicles: UIO Part One - Introduction and Set Up”と”MicroZed Chronicles: UIO Part Two - Creating Software Applications”をやってみよう。なお、関連する MicroZed Chronicles のブログの”MicroZed Chronicles: IOCTL SPI, I2C and PetaLinux”も参考にしている。

前回は、Petalinux 2022.2 を使用して、プロジェクトを作成し、設定を行ってからビルドをして成功した。BOOT.BIN を作成した。今回は、生成された BOOT.BIN, boot.scr, image.ub を FAT32 でフォーマットされた MicroSD カードに書いて、ZUBoard 1CG に挿入し電源ONした。Petalinux 2022.2 が立ち上がって、I2C と UIO を確認することができた。

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

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

ユーザーは petalinux でパスワードは初回起動時に入力した。

/dev ディレクトリを見ると、i2c-0, i2c-1, i2c-2, i2c-3 が見えた。
zub1cg_uio_34_230909.png

uio0 〜 uio5 も見えた。
zub1cg_uio_35_230909.png

名前が gpio の UIO は UIO4 と UIO5 だった。
zub1cg_uio_36_230909.png

Petalinux 2022.2 起動時のログを貼っておく。

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 - f2:50:92:7f:8b:61
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 21 ms (128.9 KiB/s)
## Executing script at 20000000
Trying to load boot images from mmc0
76451156 bytes read in 5364 ms (13.6 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:   7d6c966ad0a6c7e9c87f5a27e4d55973247cd9f53b532a086213ba4588e9dc3d
   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:   0x108e0d90
     Data Size:    67140170 Bytes = 64 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha256
     Hash value:   a50e356ac26d1b3f1c66f2e102cf5bbb660e4c8f4c611cdd0b068e7f2d0c7e5b
   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:    39897 Bytes = 39 KiB
     Architecture: AArch64
     Hash algo:    sha256
     Hash value:   2641e1fcdaec4ef539b9dd0f987f5ab3f5460ba26ba1f3a54fc0a24a619a8d69
   Verifying Hash Integrity ... sha256+ OK
   Booting using the fdt blob at 0x108d70e4
   Uncompressing Kernel Image
   Loading Ramdisk to 37bf3000, end 3bbfaa4a ... OK
   Loading Device Tree to 0000000037be6000, end 0000000037bf2bd8 ... 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 0x0000000027800000
[    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: 677808K/1047552K available (13888K kernel code, 990K rwdata, 3916K rodata, 2176K init, 573K bss, 107600K 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.000365] Console: colour dummy device 80x25
[    0.000604] printk: console [tty0] enabled
[    0.000641] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.000663] pid_max: default: 32768 minimum: 301
[    0.000930] 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.002340] rcu: Hierarchical SRCU implementation.
[    0.002590] EFI services will not be available.
[    0.002703] smp: Bringing up secondary CPUs ...
[    0.003146] Detected VIPT I-cache on CPU1
[    0.003202] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003291] smp: Brought up 1 node, 2 CPUs
[    0.003314] SMP: Total of 2 processors activated.
[    0.003324] CPU features: detected: 32-bit EL0 Support
[    0.003335] CPU features: detected: CRC32 instructions
[    0.003384] CPU: All CPU(s) started at EL2
[    0.003404] alternatives: patching kernel code
[    0.004407] devtmpfs: initialized
[    0.008852] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.008879] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018613] pinctrl core: initialized pinctrl subsystem
[    0.019268] DMI not present or invalid.
[    0.019576] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.020831] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.020910] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.020972] audit: initializing netlink subsys (disabled)
[    0.021079] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.021490] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.021541] ASID allocator initialised with 65536 entries
[    0.021671] Serial: AMBA PL011 UART driver
[    0.039877] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.039910] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.039922] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.039933] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.109734] cryptd: max_cpu_qlen set to 1000
[    1.135016] DRBG: Continuing without Jitter RNG
[    1.237093] raid6: neonx8   gen()  2139 MB/s
[    1.305147] raid6: neonx8   xor()  1584 MB/s
[    1.373217] raid6: neonx4   gen()  2182 MB/s
[    1.441272] raid6: neonx4   xor()  1552 MB/s
[    1.509337] raid6: neonx2   gen()  2063 MB/s
[    1.577394] raid6: neonx2   xor()  1426 MB/s
[    1.645471] raid6: neonx1   gen()  1762 MB/s
[    1.713518] raid6: neonx1   xor()  1212 MB/s
[    1.781590] raid6: int64x8  gen()  1365 MB/s
[    1.849645] raid6: int64x8  xor()   773 MB/s
[    1.917708] raid6: int64x4  gen()  1600 MB/s
[    1.985772] raid6: int64x4  xor()   852 MB/s
[    2.053836] raid6: int64x2  gen()  1396 MB/s
[    2.121907] raid6: int64x2  xor()   749 MB/s
[    2.189975] raid6: int64x1  gen()  1033 MB/s
[    2.258030] raid6: int64x1  xor()   517 MB/s
[    2.258040] raid6: using algorithm neonx4 gen() 2182 MB/s
[    2.258050] raid6: .... xor() 1552 MB/s, rmw enabled
[    2.258059] raid6: using neon recovery algorithm
[    2.258683] iommu: Default domain type: Translated 
[    2.258695] iommu: DMA domain TLB invalidation policy: strict mode 
[    2.258973] SCSI subsystem initialized
[    2.259159] usbcore: registered new interface driver usbfs
[    2.259197] usbcore: registered new interface driver hub
[    2.259227] usbcore: registered new device driver usb
[    2.259314] mc: Linux media interface: v0.10
[    2.259340] videodev: Linux video capture interface: v2.00
[    2.259388] pps_core: LinuxPPS API ver. 1 registered
[    2.259398] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.259419] PTP clock support registered
[    2.259453] EDAC MC: Ver: 3.0.0
[    2.259805] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.260058] FPGA manager framework
[    2.260200] Advanced Linux Sound Architecture Driver Initialized.
[    2.260598] Bluetooth: Core ver 2.22
[    2.260628] NET: Registered PF_BLUETOOTH protocol family
[    2.260638] Bluetooth: HCI device and connection manager initialized
[    2.260654] Bluetooth: HCI socket layer initialized
[    2.260665] Bluetooth: L2CAP socket layer initialized
[    2.260682] Bluetooth: SCO socket layer initialized
[    2.261116] clocksource: Switched to clocksource arch_sys_counter
[    2.261287] VFS: Disk quotas dquot_6.6.0
[    2.261341] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.265944] NET: Registered PF_INET protocol family
[    2.266062] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.266722] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    2.266752] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    2.266819] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    2.266988] TCP: Hash tables configured (established 8192 bind 8192)
[    2.267089] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.267122] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.267226] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.267574] RPC: Registered named UNIX socket transport module.
[    2.267587] RPC: Registered udp transport module.
[    2.267596] RPC: Registered tcp transport module.
[    2.267604] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.267620] PCI: CLS 0 bytes, default 64
[    2.267787] Trying to unpack rootfs image as initramfs...
[    2.274021] armv8-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[    2.274653] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    5.590297] Freeing initrd memory: 65564K
[    5.654837] Initialise system trusted keyrings
[    5.654985] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    5.655821] NFS: Registering the id_resolver key type
[    5.655846] Key type id_resolver registered
[    5.655855] Key type id_legacy registered
[    5.655880] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    5.655893] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    5.655921] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    5.691994] NET: Registered PF_ALG protocol family
[    5.692011] xor: measuring software checksum speed
[    5.696196]    8regs           :  2363 MB/sec
[    5.699735]    32regs          :  2799 MB/sec
[    5.704012]    arm64_neon      :  2308 MB/sec
[    5.704022] xor: using function: 32regs (2799 MB/sec)
[    5.704035] Key type asymmetric registered
[    5.704044] Asymmetric key parser 'x509' registered
[    5.704099] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    5.704114] io scheduler mq-deadline registered
[    5.704125] io scheduler kyber registered
[    5.733234] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    5.734565] Serial: AMBA driver
[    5.735415] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    5.740387] brd: module loaded
[    5.744008] loop: module loaded
[    5.745017] mtdoops: mtd device (mtddev=name/number) must be supplied
[    5.748166] tun: Universal TUN/TAP device driver, 1.6
[    5.748270] CAN device driver interface
[    5.748946] usbcore: registered new interface driver asix
[    5.749008] usbcore: registered new interface driver ax88179_178a
[    5.749039] usbcore: registered new interface driver cdc_ether
[    5.749068] usbcore: registered new interface driver net1080
[    5.749111] usbcore: registered new interface driver cdc_subset
[    5.749145] usbcore: registered new interface driver zaurus
[    5.749188] usbcore: registered new interface driver cdc_ncm
[    5.749959] usbcore: registered new interface driver uas
[    5.749999] usbcore: registered new interface driver usb-storage
[    5.750797] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    5.750823] rtc_zynqmp ffa60000.rtc: setting system clock to 1970-01-01T00:00:08 UTC (8)
[    5.750896] i2c_dev: i2c /dev entries driver
[    5.752656] usbcore: registered new interface driver uvcvideo
[    5.753119] Bluetooth: HCI UART driver ver 2.3
[    5.753132] Bluetooth: HCI UART protocol H4 registered
[    5.753142] Bluetooth: HCI UART protocol BCSP registered
[    5.753168] Bluetooth: HCI UART protocol LL registered
[    5.753178] Bluetooth: HCI UART protocol ATH3K registered
[    5.753200] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.753243] Bluetooth: HCI UART protocol Intel registered
[    5.753268] Bluetooth: HCI UART protocol QCA registered
[    5.753304] usbcore: registered new interface driver bcm203x
[    5.753338] usbcore: registered new interface driver bpa10x
[    5.753371] usbcore: registered new interface driver bfusb
[    5.753406] usbcore: registered new interface driver btusb
[    5.753454] usbcore: registered new interface driver ath3k
[    5.753553] EDAC MC: ECC not enabled
[    5.753721] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)
[    5.753895] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    5.754394] sdhci: Secure Digital Host Controller Interface driver
[    5.754405] sdhci: Copyright(c) Pierre Ossman
[    5.754413] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.754731] ledtrig-cpu: registered to indicate activity on CPUs
[    5.754877] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    5.754960] zynqmp_firmware_probe Platform Management API v1.1
[    5.754975] zynqmp_firmware_probe Trustzone version v1.0
[    5.783176] securefw securefw: securefw probed
[    5.783291] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: The zynqmp-aes driver shall be deprecated in 2022.2 and removed in 2023.1
[    5.783585] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    5.783619] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: AES Successfully Registered
[    5.783747] zynqmp-keccak-384 firmware:zynqmp-firmware:sha384: The zynqmp-sha-deprecated driver shall be deprecated in 2022.2 and removed in 2023.1 release
[    5.783858] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    5.784057] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    5.784249] usbcore: registered new interface driver usbhid
[    5.784262] usbhid: USB HID core driver
[    5.787497] ARM CCI_400_r1 PMU driver probed
[    5.788156] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    5.788607] usbcore: registered new interface driver snd-usb-audio
[    5.789488] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    5.790086] Initializing XFRM netlink socket
[    5.790185] NET: Registered PF_INET6 protocol family
[    5.790760] Segment Routing with IPv6
[    5.790783] In-situ OAM (IOAM) with IPv6
[    5.790870] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.791278] NET: Registered PF_PACKET protocol family
[    5.791301] NET: Registered PF_KEY protocol family
[    5.791328] can: controller area network core
[    5.791372] NET: Registered PF_CAN protocol family
[    5.791383] can: raw protocol
[    5.791393] can: broadcast manager protocol
[    5.791407] can: netlink gateway - max_hops=1
[    5.791512] Bluetooth: RFCOMM TTY layer initialized
[    5.791529] Bluetooth: RFCOMM socket layer initialized
[    5.791553] Bluetooth: RFCOMM ver 1.11
[    5.791568] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.791578] Bluetooth: BNEP filters: protocol multicast
[    5.791590] Bluetooth: BNEP socket layer initialized
[    5.791599] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.791612] Bluetooth: HIDP socket layer initialized
[    5.791652] 8021q: 802.1Q VLAN Support v1.8
[    5.791779] 9pnet: Installing 9P2000 support
[    5.791812] Key type dns_resolver registered
[    5.791940] registered taskstats version 1
[    5.791951] Loading compiled-in X.509 certificates
[    5.793417] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    5.804446] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 59, base_baud = 6249999) is a xuartps
[    7.140506] printk: console [ttyPS0] enabled
[    7.145256] of-fpga-region fpga-full: FPGA Region probed
[    7.152546] xilinx-zynqmp-dma fd500000.dma-controller: ZynqMP DMA driver Probe success
[    7.160658] xilinx-zynqmp-dma fd510000.dma-controller: ZynqMP DMA driver Probe success
[    7.168769] xilinx-zynqmp-dma fd520000.dma-controller: ZynqMP DMA driver Probe success
[    7.176866] xilinx-zynqmp-dma fd530000.dma-controller: ZynqMP DMA driver Probe success
[    7.184976] xilinx-zynqmp-dma fd540000.dma-controller: ZynqMP DMA driver Probe success
[    7.193079] xilinx-zynqmp-dma fd550000.dma-controller: ZynqMP DMA driver Probe success
[    7.201194] xilinx-zynqmp-dma fd560000.dma-controller: ZynqMP DMA driver Probe success
[    7.209298] xilinx-zynqmp-dma fd570000.dma-controller: ZynqMP DMA driver Probe success
[    7.217470] xilinx-zynqmp-dma ffa80000.dma-controller: ZynqMP DMA driver Probe success
[    7.225576] xilinx-zynqmp-dma ffa90000.dma-controller: ZynqMP DMA driver Probe success
[    7.233682] xilinx-zynqmp-dma ffaa0000.dma-controller: ZynqMP DMA driver Probe success
[    7.241787] xilinx-zynqmp-dma ffab0000.dma-controller: ZynqMP DMA driver Probe success
[    7.249886] xilinx-zynqmp-dma ffac0000.dma-controller: ZynqMP DMA driver Probe success
[    7.257989] xilinx-zynqmp-dma ffad0000.dma-controller: ZynqMP DMA driver Probe success
[    7.266114] xilinx-zynqmp-dma ffae0000.dma-controller: ZynqMP DMA driver Probe success
[    7.274212] xilinx-zynqmp-dma ffaf0000.dma-controller: ZynqMP DMA driver Probe success
[    7.282925] zynqmp-qspi ff0f0000.spi: rx bus width not found
[    7.288595] zynqmp-qspi ff0f0000.spi: tx bus width not found
[    7.294348] spi_master spi0: cannot find modalias for /axi/spi@ff0f0000/flash@0
[    7.301679] spi_master spi0: Failed to create SPI device for /axi/spi@ff0f0000/flash@0
[    7.309941] macb ff0d0000.ethernet: Not enabling partial store and forward
[    7.322918] macb ff0d0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0d0000 irq 37 (f2:50:92:7f:8b:61)
[    7.333310] zynqmp_pll_disable() clock disable failed for apll_int, ret = -13
[    7.340586] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    7.347209] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    7.353722] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    7.360230] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    7.369035] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 39
[    7.376684] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    7.384155] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    7.395635] of_cfs_init
[    7.398148] of_cfs_init: OK
[    7.402236] ALSA device list:
[    7.405204]   No soundcards found.
[    7.426515] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    7.435305] Freeing unused kernel memory: 2176K
[    7.439917] Run /init as init process
[    7.455775] systemd[1]: System time before build time, advancing clock.
[    7.466569] 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.496856] systemd[1]: Detected architecture arm64.

Welcome to PetaLinux 2022.2_update1_04022314 (honister)!

[    7.533284] systemd[1]: Hostname set to <zub1cggpio>.
[    7.535665] mmc0: new ultra high speed SDR104 SDHC card at address 0001
[    7.538514] random: systemd: uninitialized urandom read (16 bytes read)
[    7.551603] systemd[1]: Initializing machine ID from random generator.
[    7.552037] mmcblk0: mmc0:0001 SPCC  29.0 GiB (ro)
[    7.564667]  mmcblk0: p1
[    7.617445] systemd-sysv-generator[219]: 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.
[    7.644419] systemd-sysv-generator[219]: 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.
[    7.668468] systemd-sysv-generator[219]: 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.
[    7.692827] systemd-sysv-generator[219]: 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.
[    7.718009] systemd-sysv-generator[219]: 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.
[    7.939790] systemd[1]: Queued start job for default target Multi-User System.
[    7.948166] random: systemd: uninitialized urandom read (16 bytes read)
[    7.978716] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    8.001317] random: systemd: uninitialized urandom read (16 bytes read)
[    8.009493] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    8.034494] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    8.058301] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    8.081448] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    8.105371] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    8.129379] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    8.145224] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.165211] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    8.181227] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    8.197790] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    8.221208] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    8.241489] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.257380] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.281731] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.301439] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.325521] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.341652] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    8.365506] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.385410] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.405429] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[    8.432244] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    8.452469] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.476501] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    8.493635] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    8.505516] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    8.521566] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped.
[    8.534580] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.557349] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    8.576821] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    8.596932] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    8.613397] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.623257] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[    8.634249] systemd[1]: Mounting NFSD configuration filesystem...
         Mounting NFSD configuration filesystem...
[    8.652836] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    8.681043] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    8.700899] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    8.722406] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    8.737914] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[    8.761914] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    8.790051] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    8.813958] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[    8.838683] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    8.847207] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[    8.870022] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    8.877835] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[    8.897990] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    8.905969] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[    8.933543] systemd[1]: proc-fs-nfsd.mount: Mount process exited, code=exited, status=32/n/a
[    8.942030] systemd[1]: proc-fs-nfsd.mount: Failed with result 'exit-code'.
[    8.950368] systemd[1]: Failed to mount NFSD configuration filesystem.
[FAILED] Failed to mount NFSD configuration filesystem.
See 'systemctl status proc-fs-nfsd.mount' for details.
[    8.989156] systemd[1]: Dependency failed for NFS Mount Daemon.
[DEPEND] Dependency failed for NFS Mount Daemon.
[    9.009160] systemd[1]: Dependency failed for NFS server and services.
[DEPEND] Dependency failed for NFS server and services.
[    9.033158] systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
[    9.042769] systemd[1]: nfs-mountd.service: Job nfs-mountd.service/start failed with result 'dependency'.
[    9.054068] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[    9.078808] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[    9.104687] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    9.116717] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[    9.130110] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    9.139643] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    9.152981] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[    9.173816] systemd[1]: Mounted Kernel Configuration File System.
[  OK  ] Mounted Kernel Configuration File System.
[    9.203748] systemd[1]: Finished Create System Users.
[  OK  ] Finished Create System Users.
[    9.225667] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[    9.255962] systemd[1]: Finished Create Static Device Nodes in /dev.
[  OK  ] Finished Create Static Device Nodes in /dev.
[    9.277767] systemd[1]: Reached target Preparation for Local File Systems.
[  OK  ] Reached target Preparation for Local File Systems.
[    9.304962] systemd[1]: Mounting /var/volatile...
         Mounting /var/volatile...
[    9.325923] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
[  OK  ] Started Entropy Daemon based on the HAVEGE algorithm.
[    9.354349] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    9.381158] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    9.405820] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    9.426602] systemd[1]: Starting Rule-based Manager for Device Events and Files...
         Starting Rule-based Manage…for Device Events and Files...
[    9.467936] systemd[1]: Mounted /var/volatile.
[  OK  ] Mounted /var/volatile.
[    9.491800] systemd[1]: Finished Coldplug All udev Devices.
[  OK  ] Finished Coldplug All udev Devices.
[    9.525911] systemd[1]: Condition check resulted in Bind mount volatile /var/cache being skipped.
[    9.541283] systemd[1]: Condition check resulted in Bind mount volatile /var/lib being skipped.
[    9.581689] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[    9.605404] systemd[1]: Condition check resulted in Bind mount volatile /var/spool being skipped.
[    9.621320] systemd[1]: Condition check resulted in Bind mount volatile /srv being skipped.
[    9.637451] systemd[1]: Reached target Local File Systems.
[  OK  ] Reached target Local File Systems.
[    9.682143] systemd[1]: Starting Rebuild Dynamic Linker Cache...
         Starting Rebuild Dynamic Linker Cache...
[    9.718645] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Rule-based Manager for Device Events and Files.
         Starting Flush Journal to Persistent Storage...
         Starting Network Configuration...
[  OK  ] Finished Rebuild Dynamic Linker Cache.
[    9.843847] systemd-journald[248]: Received client request to flush runtime journal.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Rebuild Journal Catalog...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Finished Rebuild Journal Catalog.
         Starting Update is Completed...
[   10.639039] random: fast init done
[  OK  ] Finished Update is Completed.
[  OK  ] Started Network Configuration.
         Starting Network Name Resolution...
[   11.231829] macb ff0d0000.ethernet eth0: PHY [ff0d0000.ethernet-ffffffff:07] driver [Microchip KSZ9131 Gigabit PHY] (irq=POLL)
[   11.243361] macb ff0d0000.ethernet eth0: configuring for phy/rgmii-id link mode
[   11.307866] pps pps0: new PPS source ptp0
[   11.325404] macb ff0d0000.ethernet: gem-ptp-timer ptp clock registered.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[  OK  ] Created slice Slice /system/systemd-fsck.
[  OK  ] Found device /dev/mmcblk0p1.
         Starting File System Check on /dev/mmcblk0p1...
[  OK  ] Finished File System Check on /dev/mmcblk0p1.
         Mounting /run/media/mmcblk0p1...
[  OK  ] Mounted /run/media/mmcblk0p1.
[  OK  ] Started Network Time Synchronization[   12.377153] random: crng init done
.
[   12.383122] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Finished Load/Save Random Seed.
[  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.
[  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 LSB: NFS support for both client and server.
[  OK  ] Finished Permit User Sessions.
[  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.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.
[   14.375381] macb ff0d0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   14.383106] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.441508] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   14.447086] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[   14.454941] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000002010090
[   14.464421] xhci-hcd xhci-hcd.1.auto: irq 68, io mem 0xfe300000
[   14.470634] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[   14.478911] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.486225] usb usb1: Product: xHCI Host Controller
[   14.491106] usb usb1: Manufacturer: Linux 5.15.36-xilinx-v2022.2 xhci-hcd
[   14.497892] usb usb1: SerialNumber: xhci-hcd.1.auto
[   14.503429] hub 1-0:1.0: USB hub found
[   14.507220] hub 1-0:1.0: 1 port detected
[   14.511456] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   14.516987] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[   14.524698] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[   14.531397] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   14.539725] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[   14.548002] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.555231] usb usb2: Product: xHCI Host Controller
[   14.560110] usb usb2: Manufacturer: Linux 5.15.36-xilinx-v2022.2 xhci-hcd
[   14.566903] usb usb2: SerialNumber: xhci-hcd.1.auto
[   14.572379] hub 2-0:1.0: USB hub found
[   14.576193] hub 2-0:1.0: 1 port detected

PetaLinux 2022.2_update1_04022314 zub1cggpio ttyPS0

zub1cggpio login: [   19.493290] macb ff0d0000.ethernet eth0: Link is Down
[   33.830416] macb ff0d0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

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