FC2カウンター FPGAの部屋 Vitis_Accel_Examples の hello_world サンプルをUltra96V2 のプラットフォームでやってみる4
fc2ブログ

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

FPGAの部屋

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

Vitis_Accel_Examples の hello_world サンプルをUltra96V2 のプラットフォームでやってみる4

Vitis_Accel_Examples の hello_world サンプルをUltra96V2 のプラットフォームでやってみる3”の続き。

前回は、TARGET=hw でビルドした時に”ERROR: [CFGEN 83-2299] Clock ID 0 must exist. Please correct the targetted platform.”というエラーが出てしまったので、そのエラーを解消したが、cp コマンドでエラーになってしまった。今回は、そのエラーの行を Makefile から削除して、make してみた。そして、sd_card ディレクトリを SDカードの第1パーティションに書いて、また、sysroot の aarch64-xilinx-linux ディレクトリを第2パーティションに書いた。SDカードをUltra96V2 に挿入して、PetaLinux を起動した。

hello_world ディレクトリの Makefile の cp の行をコメントアウトした。
Vitis_Accel_Examples_23_191118.png

これで、もう一度、make を実行した。
make all TARGET=hw DEVICE=ultra96v2_min HOST_ARCH=aarch64 SYSROOT=/media/masaaki/Ubuntu_Disk/tools/Xilinx/PetaLinux/PetaL_Proj/2019.2/ultra96v2_min/images/linux/ultra96v2_min_pkg/pfm/sysroots/aarch64-xilinx-linux/
Vitis_Accel_Examples_24_191118.png

hello_world/sd_card ディレクトリの内容を示す。
Vitis_Accel_Examples_25_191118.png

これだと、少なくとも image.ub が足りない。
hello_world/build_dir.hw.ultra96v2_min/sd_card に image.ub がある。
image.ub と hello_world/sd_card ディレクトリの内容を SD カードの第1パーティションにコピーした。
Vitis_Accel_Examples_26_191119.png

SDカードの第2パーティションの内容を消去して、プラットフォームの sysroot の内容をコピーした。(Vitis/2019.2/platforms/ultra96v2_min/sw/ultra96v2_min/linux_domain/sysroot/aarch64-xilinx-linux)
Vitis_Accel_Examples_27_191119.png

Vitis_Accel_Examples_28_191119.png

SDカードをUltra96V2 に挿入して、電源ON すると PetaLinux が立ち上がった。
Vitis_Accel_Examples_29_191120.png

SDカードの第1パーティションに移動した。
cd /run/media/mmcblk0p1/
init.sh を見たところ起動コマンドだった。
root@ultra96v2_min:/run/media/mmcblk0p1# more init.sh
./host ./build_dir.hw.ultra96v2_min/vadd.xclbin

init.sh 起動コマンドを動作させたところ、XILINX_XRT not set で liboclxdp.so が無いと言われた。
./init.sh
Vitis_Accel_Examples_30_191120.png

ログを示す。

root@ultra96v2_min:/run/media/mmcblk0p1# ./init.sh
XRT build version: 2.3.0
Build hash: 7e3540d2707443d8c824669ef4272b33ce2f9ba4
Build date: 2019-10-22 07:31:35
Git branch: 2019.2
PID: 2371
UID: 0
[Thu Jan 1 00:02:41 1970]
HOST: ultra96v2_min
EXE: /run/media/mmcblk0p1/host
[XRT] ERROR: Library liboclxdp.so not found! XILINX_XRT not set
[XRT] ERROR: XILINX_XRT must be set
[XRT] ERROR: XILINX_XRT must be set
..//common/includes/xcl2/xcl2.cpp:40 Error calling err = cl::Platform::get(&platforms), error code is: -1001


liboclxdp.so は /usr/lib にあった。/lib は追加されるようなので、XILINX_XRT に /usr を設定した。
export XILINX_XRT=/usr
もう一度、init.sh 起動コマンドを動作させたところ、XRT にデバイスが無いと言われた。
./init.sh
Vitis_Accel_Examples_31_191120.png

ログを貼っておく。

結局、動作しなかった。この後、どうすればXRT がデバイスを検出するかが分からないな。。。

root@ultra96v2_min:/run/media/mmcblk0p1# ./init.sh
XRT build version: 2.3.0
Build hash: 7e3540d2707443d8c824669ef4272b33ce2f9ba4
Build date: 2019-10-22 07:31:35
Git branch: 2019.2
PID: 2380
UID: 0
[Thu Jan 1 00:05:03 1970]
HOST: ultra96v2_min
EXE: /run/media/mmcblk0p1/host
[XRT] WARNING: No devices found
[XRT] ERROR: No devices found
[XRT] ERROR: No devices found
[XRT] ERROR: No devices found
..//common/includes/xcl2/xcl2.cpp:40 Error calling err = cl::Platform::get(&platforms), error code is: -1001



PetaLinux の起動ログを貼っておく。

Xilinx Zynq MP First Stage Boot Loader 
Release 2019.2   Nov 17 2019  -  19:30:30
NOTICE:  ATF running on XCZU3EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v2.0(release):xilinx-v2019.1-12-g713dace9
NOTICE:  BL31: Built : 19:28:16, Nov 17 2019
PMUFW: v1.1


U-Boot 2019.01 (Nov 17 2019 - 19:28:49 +0000)

Board: Xilinx ZynqMP
DRAM:  2 GiB
usb dr_mode not found
usb dr_mode not found
EL Level: EL2
Chip ID: zu3eg
MMC:   mmc@ff160000: 0, mmc@ff170000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@ff010000
Out:   serial@ff010000
Err:   serial@ff010000
Board: Xilinx ZynqMP
Bootmode: SD_MODE
Reset reason: EXTERNAL 
U-BOOT for ultra96v2_min

Hit any key to stop autoboot:  0 
Device: mmc@ff160000
Manufacturer ID: 74
OEM: 4a60
Name: USD   
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
18112496 bytes read in 1305 ms (13.2 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x100000f8
     Data Size:    18080256 Bytes = 17.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00080000
     Entry Point:  0x00080000
     Hash algo:    sha1
     Hash value:   e731f698a6f475f6bfcba5559661fc24b07061c1
   Verifying Hash Integrity ... sha1+ 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
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x1113e3fc
     Data Size:    30333 Bytes = 29.6 KiB
     Architecture: AArch64
     Hash algo:    sha1
     Hash value:   23c5de85dbb7d7a5d4e7bba9285b81eb959b8ed0
   Verifying Hash Integrity ... sha1+ OK
   Booting using the fdt blob at 0x1113e3fc
   Loading Kernel Image ... OK
   Loading Device Tree to 0000000007ff5000, end 0000000007fff67c ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.0-xilinx-v2019.2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Sat Nov 16 21:03:15 UTC 2019
[    0.000000] Machine model: xlnx,zynqmp
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff010000 (options '115200n8')
[    0.000000] bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 1024 MiB at 0x000000003fc00000
[    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.1
[    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 22 pages/cpu @(____ptrval____) s52568 r8192 d29352 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516867
[    0.000000] Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 997048K/2096128K available (10748K kernel code, 632K rwdata, 5408K rodata, 832K init, 511K bss, 50504K reserved, 1048576K 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=8 to nr_cpu_ids=4.
[    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] GIC: Using split EOI/Deactivate mode
[    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.000004] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.008329] Console: colour dummy device 80x25
[    0.012484] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.022839] pid_max: default: 32768 minimum: 301
[    0.027550] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.034093] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.042099] ASID allocator initialised with 32768 entries
[    0.046597] rcu: Hierarchical SRCU implementation.
[    0.051583] EFI services will not be available.
[    0.055933] smp: Bringing up secondary CPUs ...
[    0.060614] Detected VIPT I-cache on CPU1
[    0.060655] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.060998] Detected VIPT I-cache on CPU2
[    0.061018] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.061329] Detected VIPT I-cache on CPU3
[    0.061349] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.061393] smp: Brought up 1 node, 4 CPUs
[    0.095756] SMP: Total of 4 processors activated.
[    0.100430] CPU features: detected: 32-bit EL0 Support
[    0.108144] CPU: All CPU(s) started at EL2
[    0.109610] alternatives: patching kernel code
[    0.115362] devtmpfs: initialized
[    0.120904] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.126999] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.159009] xor: measuring software checksum speed
[    0.197371]    8regs     :  2375.000 MB/sec
[    0.237399]    8regs_prefetch:  2052.000 MB/sec
[    0.277429]    32regs    :  2725.000 MB/sec
[    0.317461]    32regs_prefetch:  2309.000 MB/sec
[    0.317506] xor: using function: 32regs (2725.000 MB/sec)
[    0.321809] pinctrl core: initialized pinctrl subsystem
[    0.327864] NET: Registered protocol family 16
[    0.331770] audit: initializing netlink subsys (disabled)
[    0.336902] audit: type=2000 audit(0.284:1): state=initialized audit_enabled=0 res=1
[    0.344461] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.344469] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.359484] DMA: preallocated 256 KiB pool for atomic allocations
[    0.379566] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.448864] raid6: int64x1  gen()   445 MB/s
[    0.516860] raid6: int64x1  xor()   451 MB/s
[    0.584986] raid6: int64x2  gen()   680 MB/s
[    0.653010] raid6: int64x2  xor()   599 MB/s
[    0.721064] raid6: int64x4  gen()   980 MB/s
[    0.789154] raid6: int64x4  xor()   737 MB/s
[    0.857225] raid6: int64x8  gen()  1162 MB/s
[    0.925273] raid6: int64x8  xor()   759 MB/s
[    0.993381] raid6: neonx1   gen()   735 MB/s
[    1.061423] raid6: neonx1   xor()   880 MB/s
[    1.129490] raid6: neonx2   gen()  1129 MB/s
[    1.197547] raid6: neonx2   xor()  1173 MB/s
[    1.265632] raid6: neonx4   gen()  1479 MB/s
[    1.333689] raid6: neonx4   xor()  1417 MB/s
[    1.401776] raid6: neonx8   gen()  1536 MB/s
[    1.469823] raid6: neonx8   xor()  1459 MB/s
[    1.469864] raid6: using algorithm neonx8 gen() 1536 MB/s
[    1.473809] raid6: .... xor() 1459 MB/s, rmw enabled
[    1.478745] raid6: using neon recovery algorithm
[    1.484308] SCSI subsystem initialized
[    1.487273] usbcore: registered new interface driver usbfs
[    1.492536] usbcore: registered new interface driver hub
[    1.497811] usbcore: registered new device driver usb
[    1.502867] media: Linux media interface: v0.10
[    1.507317] videodev: Linux video capture interface: v2.00
[    1.512767] pps_core: LinuxPPS API ver. 1 registered
[    1.517671] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.526765] PTP clock support registered
[    1.530664] EDAC MC: Ver: 3.0.0
[    1.534268] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.
[    1.541393] FPGA manager framework
[    1.544577] Advanced Linux Sound Architecture Driver Initialized.
[    1.550829] Bluetooth: Core ver 2.22
[    1.554017] NET: Registered protocol family 31
[    1.558413] Bluetooth: HCI device and connection manager initialized
[    1.564731] Bluetooth: HCI socket layer initialized
[    1.569572] Bluetooth: L2CAP socket layer initialized
[    1.574610] Bluetooth: SCO socket layer initialized
[    1.579884] clocksource: Switched to clocksource arch_sys_counter
[    1.585605] VFS: Disk quotas dquot_6.6.0
[    1.589431] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.601316] NET: Registered protocol family 2
[    1.601795] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[    1.608362] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.615607] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    1.622433] TCP: Hash tables configured (established 16384 bind 16384)
[    1.628668] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    1.634572] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    1.641079] NET: Registered protocol family 1
[    1.645527] RPC: Registered named UNIX socket transport module.
[    1.651147] RPC: Registered udp transport module.
[    1.655813] RPC: Registered tcp transport module.
[    1.660484] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.667740] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    1.674153] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.682706] Initialise system trusted keyrings
[    1.686163] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[    1.693325] NFS: Registering the id_resolver key type
[    1.697521] Key type id_resolver registered
[    1.701660] Key type id_legacy registered
[    1.705643] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.712314] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    2.800459] NET: Registered protocol family 38
[    2.858505] Key type asymmetric registered
[    2.858547] Asymmetric key parser 'x509' registered
[    2.861851] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.869168] io scheduler noop registered
[    2.873056] io scheduler deadline registered
[    2.877327] io scheduler cfq registered (default)
[    2.881967] io scheduler mq-deadline registered
[    2.886464] io scheduler kyber registered
[    2.923758] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.928220] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.936106] brd: module loaded
[    2.941291] loop: module loaded
[    2.942259] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.946844] libphy: Fixed MDIO Bus: probed
[    2.950748] tun: Universal TUN/TAP device driver, 1.6
[    2.954457] CAN device driver interface
[    2.959118] usbcore: registered new interface driver asix
[    2.963497] usbcore: registered new interface driver ax88179_178a
[    2.969540] usbcore: registered new interface driver cdc_ether
[    2.975333] usbcore: registered new interface driver net1080
[    2.980955] usbcore: registered new interface driver cdc_subset
[    2.986836] usbcore: registered new interface driver zaurus
[    2.992385] usbcore: registered new interface driver cdc_ncm
[    2.998578] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.004461] ehci-pci: EHCI PCI platform driver
[    3.009162] usbcore: registered new interface driver uas
[    3.014182] usbcore: registered new interface driver usb-storage
[    3.020762] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[    3.027354] i2c /dev entries driver
[    3.032392] usbcore: registered new interface driver uvcvideo
[    3.036464] USB Video Class driver (1.1.1)
[    3.041341] Bluetooth: HCI UART driver ver 2.3
[    3.044949] Bluetooth: HCI UART protocol H4 registered
[    3.050045] Bluetooth: HCI UART protocol BCSP registered
[    3.055345] Bluetooth: HCI UART protocol LL registered
[    3.060425] Bluetooth: HCI UART protocol ATH3K registered
[    3.065804] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.072057] Bluetooth: HCI UART protocol Intel registered
[    3.077397] Bluetooth: HCI UART protocol QCA registered
[    3.082602] usbcore: registered new interface driver bcm203x
[    3.088222] usbcore: registered new interface driver bpa10x
[    3.093756] usbcore: registered new interface driver bfusb
[    3.099206] usbcore: registered new interface driver btusb
[    3.104626] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    3.110300] usbcore: registered new interface driver ath3k
[    3.115833] EDAC MC: ECC not enabled
[    3.119388] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)
[    3.128338] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    3.140534] sdhci: Secure Digital Host Controller Interface driver
[    3.146406] sdhci: Copyright(c) Pierre Ossman
[    3.150730] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.156694] ledtrig-cpu: registered to indicate activity on CPUs
[    3.162378] zynqmp_firmware_probe Platform Management API v1.1
[    3.168123] zynqmp_firmware_probe Trustzone version v1.0
[    3.197015] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22
[    3.199769] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    3.204843] zynqmp_aes zynqmp_aes: AES Successfully Registered
[    3.204843] 
[    3.212364] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    3.218486] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    3.224146] usbcore: registered new interface driver usbhid
[    3.229386] usbhid: USB HID core driver
[    3.233354] xlnk xlnk: Major 243
[    3.236532] xlnk xlnk: xlnk driver loaded
[    3.240374] xlnk xlnk: xlnk_pdev is not null
[    3.247025] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    3.251426] usbcore: registered new interface driver snd-usb-audio
[    3.258118] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    3.265157] Initializing XFRM netlink socket
[    3.269015] NET: Registered protocol family 10
[    3.273782] Segment Routing with IPv6
[    3.277064] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.283245] NET: Registered protocol family 17
[    3.287264] NET: Registered protocol family 15
[    3.291682] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.304609] can: controller area network core (rev 20170425 abi 9)
[    3.310737] NET: Registered protocol family 29
[    3.315109] can: raw protocol (rev 20170425)
[    3.319345] can: broadcast manager protocol (rev 20170425 t)
[    3.324971] can: netlink gateway (rev 20170425) max_hops=1
[    3.330803] Bluetooth: RFCOMM TTY layer initialized
[    3.335269] Bluetooth: RFCOMM socket layer initialized
[    3.340380] Bluetooth: RFCOMM ver 1.11
[    3.344088] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.349359] Bluetooth: BNEP filters: protocol multicast
[    3.354552] Bluetooth: BNEP socket layer initialized
[    3.359480] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.365364] Bluetooth: HIDP socket layer initialized
[    3.370447] 9pnet: Installing 9P2000 support
[    3.374552] Key type dns_resolver registered
[    3.379287] registered taskstats version 1
[    3.382840] Loading compiled-in X.509 certificates
[    3.388013] Btrfs loaded, crc32c=crc32c-generic
[    3.399778] ff000000.serial: ttyPS1 at MMIO 0xff000000 (irq = 40, base_baud = 6249999) is a xuartps
[    3.403916] ff010000.serial: ttyPS0 at MMIO 0xff010000 (irq = 41, base_baud = 6249999) is a xuartps
[    3.417915] console [ttyPS0] enabled
[    3.417915] console [ttyPS0] enabled
[    3.421517] bootconsole [cdns0] disabled
[    3.421517] bootconsole [cdns0] disabled
[    3.429649] of-fpga-region fpga-full: FPGA Region probed
[    3.439142] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    3.445760] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    3.452891] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    3.460017] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    3.467132] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    3.474241] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    3.481356] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    3.488475] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    3.495593] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    3.502787] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[    3.509906] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[    3.517020] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[    3.524141] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[    3.531257] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[    3.538372] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[    3.545491] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[    3.552611] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[    3.559986] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[    3.570955] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[    3.581708] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    3.589767] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    3.598721] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[    3.611228] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[    3.623995] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[    3.634220] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[    3.641298] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.647904] [drm] No driver support for vblank timestamp query.
[    3.653909] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008bbea78)
[    4.739899] [drm] Cannot find any crtc or sizes
[    4.744700] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[    4.752801] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[    4.762922] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    4.769465] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    4.775978] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    4.782475] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    4.788993] dwc3-of-simple ff9d0000.usb0: dwc3_simple_set_phydata: Can't find usb3-phy
[    4.797415] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[    4.803747] dwc3-of-simple ff9e0000.usb1: dwc3_simple_set_phydata: Can't find usb3-phy
[    4.812080] dwc3 fe300000.dwc3: Failed to get clk 'ref': -2
[    4.819141] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 30
[    4.825447] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    4.832898] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    4.840878] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.846378] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    4.854989] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000202010010
[    4.864403] xhci-hcd xhci-hcd.0.auto: irq 50, io mem 0xfe300000
[    4.870592] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    4.878852] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.886071] usb usb1: Product: xHCI Host Controller
[    4.890938] usb usb1: Manufacturer: Linux 4.19.0-xilinx-v2019.2 xhci-hcd
[    4.897630] usb usb1: SerialNumber: xhci-hcd.0.auto
[    4.902887] hub 1-0:1.0: USB hub found
[    4.906656] hub 1-0:1.0: 1 port detected
[    4.910788] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.916278] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    4.923950] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    4.930572] mmc0: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit
[    4.938403] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.947276] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    4.955540] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.962757] usb usb2: Product: xHCI Host Controller
[    4.967625] usb usb2: Manufacturer: Linux 4.19.0-xilinx-v2019.2 xhci-hcd
[    4.974317] usb usb2: SerialNumber: xhci-hcd.0.auto
[    4.979473] hub 2-0:1.0: USB hub found
[    4.983237] hub 2-0:1.0: 1 port detected
[    5.018560] mmc1: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    5.029479] mmc0: new high speed SDHC card at address 59b4
[    5.035654] mmcblk0: mmc0:59b4 USD   7.51 GiB 
[    5.043624] rtc_zynqmp ffa60000.rtc: setting system clock to 1970-01-01 00:00:08 UTC (8)
[    5.051724] of_cfs_init
[    5.054205] of_cfs_init: OK
[    5.057120] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.065806]  mmcblk0: p1 p2
[    5.083717] mmc1: new high speed SDIO card at address 0001
[    5.196669] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.203200] clk: Not disabling unused clocks
[    5.207469] ALSA device list:
[    5.210430]   #0: DisplayPort monitor
[    5.214516] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.223128] cfg80211: failed to load regulatory.db
[    5.243894] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    5.311520] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    5.319627] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    5.332794] devtmpfs: mounted
[    5.336053] Freeing unused kernel memory: 832K
[    5.340535] Run /sbin/init as init process
[    5.396374] usb 1-1: New USB device found, idVendor=0424, idProduct=2744, bcdDevice= 2.05
[    5.404563] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.411691] usb 1-1: Product: USB2744
[    5.415347] usb 1-1: Manufacturer: Microchip Tech
INIT: version 2.88 booting
[    5.474751] hub 1-1:1.0: USB hub found
[    5.478535] hub 1-1:1.0: 4 ports detected
[    5.509403] random: fast init done
Starting udev
[    5.827919] usb 1-1.4: new high-speed USB device number 3 using xhci-hcd
[    5.851917] [drm] Cannot find any crtc or sizes
[    5.934260] udevd[1783]: starting version 3.2.5
[    5.936653] usb 1-1.4: New USB device found, idVendor=0424, idProduct=2740, bcdDevice= 2.00
[    5.945259] random: udevd: uninitialized urandom read (16 bytes read)
[    5.947141] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.954224] random: udevd: uninitialized urandom read (16 bytes read)
[    5.960855] usb 1-1.4: Product: Hub Controller
[    5.960860] usb 1-1.4: Manufacturer: Microchip Tech
[    5.967936] random: udevd: uninitialized urandom read (16 bytes read)
[    6.022538] udevd[1784]: starting eudev-3.2.5
[    6.620884] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    6.671295] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    8.094115] urandom_read: 4 callbacks suppressed
[    8.094121] random: dd: uninitialized urandom read (512 bytes read)
Configuring packages on first boot....
 (This may take several minutes. Please do not power off the machine.)
Running postinst /etc/rpm-postinsts/100-xrt...
[   10.324545] INFO: Creating ICD entry for Xilinx Platform
Running postinst /etc/rpm-postinsts/101-sysvinit-inittab...
Running postinst /etc/rpm-postinsts/102-libmali-xlnx...
[   10.508872] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[   10.562599] random: ln: uninitialized urandom read (6 bytes read)
[   10.569434] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[   10.606313] Warn: update-alternatives: libmali-xlnx has multiple providers with the same priority, please check /usr/lib/opkg/alternatives/libmali-xlnx for details
[   10.638197] random: ln: uninitialized urandom read (6 bytes read)
[   10.645010] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[   10.699216] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 Removing any system startup links for run-postinsts ...
  /etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... Cannot find device "eth0"
Starting system message bus: dbus.
Starting haveged: haveged: listening socket at 3
haveged: haveged starting up


Starting Dropbear SSH server: Generating 2048 bit rsa key, this may take a while...
haveged: haveged: ver: 1.9.4; arch: generic; vend: ; build: (gcc 8.2.0 CTV); collect: 128K

haveged: haveged: cpu: (VC); data: 16K (D); inst: 16K (D); idx: 11/40; sz: 15528/64688

haveged: haveged: tot tests(BA8): A:1/1 B:1/1 continuous tests(B):  last entropy estimate 8.00043

haveged: haveged: fills: 0, generated: 0 

[   11.832395] random: crng init done
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClgIPUvRJMncuVZRLC/YwbsjRYKGDbnVqdOWuh/loLd2t8k3MzRVOzTiNu6inSj2+dcIHeXI0OqjuCqswJMPrUS8AebThSB3zosmkcToHAzPXnMBXVg9jQvEqiYFbY0Xfm24rm4CskNj49/1CiiO1xAhwWp7xiHUZ7prlC7gqzvxPRb6xaGfhAzxYYh8ONVR+hFLejuANuDRse6TUZsE0w+kVXGgm9z5NvCJvGdsvRrT2MPEKGtXHbwdi+cd8wquAYI9spVcSANmnPXKBUINF7YzKOWwe3KxmEd8UZw9gOZVykRw3J+DPjad3Ef7wjIzosPILCpPhPGq3slW421a6b root@ultra96v2_min
Fingerprint: sha1!! 83:dd:7f:48:6b:01:eb:90:4c:c0:3b:ba:0f:d0:1e:77:32:75:48:51
dropbear.
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Starting tcf-agent: OK

PetaLinux 2019.2 ultra96v2_min /dev/ttyPS0

ultra96v2_min login: root

  1. 2019年11月20日 04:59 |
  2. Vitis
  3. | トラックバック:0
  4. | コメント:2

コメント

管理人のみ閲覧できます

このコメントは管理人のみ閲覧できます
  1. 2022/11/16(水) 01:09:16 |
  2. |
  3. #
  4. [ 編集 ]

記事を順番に読んでいけば解ると思います。
  1. 2022/11/16(水) 04:21:37 |
  2. URL |
  3. marsee #f1oWVgn2
  4. [ 編集 ]

コメントの投稿


管理者にだけ表示を許可する

トラックバック URL
https://marsee101.blog.fc2.com/tb.php/4709-96506130
この記事にトラックバックする(FC2ブログユーザー)