PetaLinuxのビルド(メモ3)

QEMU環境を作成します。

prebuild

次のようにパッケージをプレビルドします。

$  petalinux-package --prebuilt
INFO: Updating software prebuilt
INFO: Installing software images
INFO: Pre-built directory is updated.

実行

次のようにそのまま実行するとエラーが発生する。

$ petalinux-boot --qemu --prebuilt 3
INFO: Sourcing build tools
ERROR: Failed to boot. Image file '/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/pmu_rom_qemu_sha3.elf' doesn't exist.

そこでpmu_rom_qemu_sha3.elfをコピーしてくる。

$ cp ../xilinx-zcu104-2020.2/pre-built/linux/images/pmu_rom_qemu_sha3.elf ./pre-built/linux/images/

再度、実行するとLinuxが起動してきます。

$ petalinux-boot --qemu --prebuilt 3
INFO: Sourcing build tools
INFO: No DTB has been specified, use the default one "/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/system.dtb".
INFO: No DTB has been specified, use the default one "/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/system.dtb".
INFO: Starting microblaze QEMU
INFO: Starting the above QEMU command in the background
INFO:  qemu-system-microblazeel -M microblaze-fdt   -serial mon:stdio -serial /dev/null -display none -kernel /disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/pmu_rom_qemu_sha3.elf -device loader,file=/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/pmufw.elf      -hw-dtb /disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/zynqmp-qemu-multiarch-pmu.dtb -machine-path /tmp/tmp.BLd4LyWN7o -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 
qemu-system-microblazeel: Failed to connect socket /tmp/tmp.BLd4LyWN7o/qemu-rport-_pmu@0: No such file or directory
qemu-system-microblazeel: info: QEMU waiting for connection on: disconnected:unix:/tmp/tmp.BLd4LyWN7o/qemu-rport-_pmu@0,server
INFO: TCP PORT is free 
INFO: Starting aarch64 QEMU
INFO:  qemu-system-aarch64 -M arm-generic-fdt   -serial mon:stdio -serial /dev/null -display none -device loader,file=/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/bl31.elf,cpu-num=0 -device loader,file=/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/rootfs.cpio.gz.u-boot,addr=0x04000000,force-raw -device loader,file=/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/u-boot.elf -device loader,file=/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/Image,addr=0x00200000,force-raw -device loader,file=/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/system.dtb,addr=0x00100000,force-raw -device loader,file=/disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/boot.scr,addr=0x20000000,force-raw -gdb tcp::9000     -hw-dtb /disk/yocto/petalinux_temp/ultra96v2/pre-built/linux/images/zynqmp-qemu-multiarch-arm.dtb -machine-path /tmp/tmp.BLd4LyWN7o -global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true   -m 4G
QEMU 5.0.50 monitor - type 'help' for more information
(qemu) PMU Firmware 2020.2  Jan  2 2021   03:10:35
PMU_ROM Version: xpbr-v8.1.0-0
NOTICE:  ATF running on XCZUUNKN/QEMU v4/RTL0.0 at 0xfffea000
NOTICE:  BL31: v2.2(release):xilinx_rebase_v2.2_2020.2
NOTICE:  BL31: Built : 03:08:17, Jan  2 2021

U-Boot 2020.01 (Jan 02 2021 - 03:09:52 +0000)

Board: Xilinx ZynqMP
DRAM:  2 GiB
usb dr_mode not found
usb dr_mode not found
PMUFW:  v1.1
EL Level:   EL2
Chip ID:    unknown
NAND:  0 MiB
MMC:   mmc@ff160000: 0, mmc@ff170000: 1
In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Bootmode: JTAG_MODE
Reset reason:   
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
JTAG: Trying to boot script at 0x20000000
## Executing script at 20000000
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   petalinux-image-minimal-zynqmp-g
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    8735735 Bytes = 8.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 00100000
   Booting using the fdt blob at 0x100000
   Loading Ramdisk to 787ab000, end 78fffbf7 ... OK
   Loading Device Tree to 000000000fff3000, end 000000000ffff311 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.0-xilinx-v2020.2 (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP Sat Jan 2 03:05:19 UTC 2021
[    0.000000] Machine model: xlnx,zynqmp
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] printk: bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x0000000068400000
[    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] percpu: Embedded 22 pages/cpu s49880 r8192 d32040 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515844
[    0.000000] Kernel command line:  earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/ram0 rw
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1766932K/2096128K available (12092K kernel code, 740K rwdata, 3764K rodata, 768K init, 562K bss, 67052K reserved, 262144K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    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] random: get_random_bytes called from start_kernel+0x2a8/0x42c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 65.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xefdb196da, max_idle_ns: 440795204367 ns
[    0.000057] sched_clock: 56 bits at 65MHz, resolution 15ns, wraps every 2199023255550ns
[    0.007398] Console: colour dummy device 80x25
[    0.008359] Calibrating delay loop (skipped), value calculated using timer frequency.. 130.00 BogoMIPS (lpj=260000)
[    0.008620] pid_max: default: 32768 minimum: 301
[    0.010448] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.010614] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.040266] ASID allocator initialised with 32768 entries
[    0.040914] rcu: Hierarchical SRCU implementation.
[    0.043487] EFI services will not be available.
[    0.044901] smp: Bringing up secondary CPUs ...
[    0.059930] Detected VIPT I-cache on CPU1
[    0.060487] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.074853] Detected VIPT I-cache on CPU2
[    0.075007] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.087220] Detected VIPT I-cache on CPU3
[    0.087407] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.087718] smp: Brought up 1 node, 4 CPUs
[    0.088624] SMP: Total of 4 processors activated.
[    0.088788] CPU features: detected: 32-bit EL0 Support
[    0.088966] CPU features: detected: CRC32 instructions
[    0.090031] CPU: All CPU(s) started at EL2
[    0.090287] alternatives: patching kernel code
[    0.101362] devtmpfs: initialized
[    0.115328] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.115695] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.124027] xor: measuring software checksum speed
[    0.164815]    8regs     :  3426.000 MB/sec
[    0.205348]    32regs    :  3133.000 MB/sec
[    0.245903]    arm64_neon:  2596.000 MB/sec
[    0.246033] xor: using function: 8regs (3426.000 MB/sec)
[    0.246861] pinctrl core: initialized pinctrl subsystem
[    0.254165] DMI not present or invalid.
[    0.258324] NET: Registered protocol family 16
[    0.266263] DMA: preallocated 256 KiB pool for atomic allocations
[    0.266593] audit: initializing netlink subsys (disabled)
[    0.268404] audit: type=2000 audit(0.236:1): state=initialized audit_enabled=0 res=1
[    0.271213] cpuidle: using governor menu
[    0.272037] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.273768] Serial: AMBA PL011 UART driver
[    0.305576] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.305767] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.305936] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.306097] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.909313] cryptd: max_cpu_qlen set to 1000
[    0.981245] DRBG: Continuing without Jitter RNG
[    1.057537] raid6: neonx8   gen()  3375 MB/s
[    1.126414] raid6: neonx8   xor()  1736 MB/s
[    1.195094] raid6: neonx4   gen()  3414 MB/s
[    1.263674] raid6: neonx4   xor()  1725 MB/s
[    1.332878] raid6: neonx2   gen()  2576 MB/s
[    1.401708] raid6: neonx2   xor()  1420 MB/s
[    1.470803] raid6: neonx1   gen()  1642 MB/s
[    1.539747] raid6: neonx1   xor()  1066 MB/s
[    1.608933] raid6: int64x8  gen()  1812 MB/s
[    1.677865] raid6: int64x8  xor()  1325 MB/s
[    1.746784] raid6: int64x4  gen()  3012 MB/s
[    1.815818] raid6: int64x4  xor()  1832 MB/s
[    1.884877] raid6: int64x2  gen()  1015 MB/s
[    1.954014] raid6: int64x2  xor()  1541 MB/s
[    2.022972] raid6: int64x1  gen()  1740 MB/s
[    2.091856] raid6: int64x1  xor()  1071 MB/s
[    2.092005] raid6: using algorithm neonx4 gen() 3414 MB/s
[    2.092143] raid6: .... xor() 1725 MB/s, rmw enabled
[    2.092399] raid6: using neon recovery algorithm
[    2.094000] iommu: Default domain type: Translated 
[    2.095466] SCSI subsystem initialized
[    2.097058] usbcore: registered new interface driver usbfs
[    2.097437] usbcore: registered new interface driver hub
[    2.097720] usbcore: registered new device driver usb
[    2.098083] mc: Linux media interface: v0.10
[    2.098308] videodev: Linux video capture interface: v2.00
[    2.098572] pps_core: LinuxPPS API ver. 1 registered
[    2.098693] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.098968] PTP clock support registered
[    2.099236] EDAC MC: Ver: 3.0.0
[    2.104170] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.105580] FPGA manager framework
[    2.106696] Advanced Linux Sound Architecture Driver Initialized.
[    2.112889] Bluetooth: Core ver 2.22
[    2.113319] NET: Registered protocol family 31
[    2.113425] Bluetooth: HCI device and connection manager initialized
[    2.113729] Bluetooth: HCI socket layer initialized
[    2.113883] Bluetooth: L2CAP socket layer initialized
[    2.114146] Bluetooth: SCO socket layer initialized
[    2.116605] clocksource: Switched to clocksource arch_sys_counter
[    2.117490] VFS: Disk quotas dquot_6.6.0
[    2.117723] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.137760] NET: Registered protocol family 2
[    2.143145] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    2.143478] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.143919] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    2.144628] TCP: Hash tables configured (established 16384 bind 16384)
[    2.146270] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.146594] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.147910] NET: Registered protocol family 1
[    2.150553] RPC: Registered named UNIX socket transport module.
[    2.150725] RPC: Registered udp transport module.
[    2.150840] RPC: Registered tcp transport module.
[    2.150955] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.152637] PCI: CLS 0 bytes, default 64
[    2.155003] Trying to unpack rootfs image as initramfs...
[    2.580749] Freeing initrd memory: 8528K
[    3.118866] Initialise system trusted keyrings
[    3.120239] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    3.125383] NFS: Registering the id_resolver key type
[    3.125690] Key type id_resolver registered
[    3.125818] Key type id_legacy registered
[    3.126036] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.126558] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.140309] NET: Registered protocol family 38
[    3.140691] Key type asymmetric registered
[    3.140877] Asymmetric key parser 'x509' registered
[    3.141183] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.141515] io scheduler mq-deadline registered
[    3.141688] io scheduler kyber registered
[    3.146233] ps_pcie_dma init()
[    3.232958] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.237508] Serial: AMBA driver
[    3.263172] brd: module loaded
[    3.276660] loop: module loaded
[    3.278923] mtdoops: mtd device (mtddev=name/number) must be supplied
[    3.283095] libphy: Fixed MDIO Bus: probed
[    3.285146] tun: Universal TUN/TAP device driver, 1.6
[    3.285800] CAN device driver interface
[    3.287112] usbcore: registered new interface driver asix
[    3.287309] usbcore: registered new interface driver ax88179_178a
[    3.287501] usbcore: registered new interface driver cdc_ether
[    3.287685] usbcore: registered new interface driver net1080
[    3.287842] usbcore: registered new interface driver cdc_subset
[    3.288004] usbcore: registered new interface driver zaurus
[    3.288229] usbcore: registered new interface driver cdc_ncm
[    3.291012] usbcore: registered new interface driver uas
[    3.291290] usbcore: registered new interface driver usb-storage
[    3.295580] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    3.295868] i2c /dev entries driver
[    3.299105] usbcore: registered new interface driver uvcvideo
[    3.299266] USB Video Class driver (1.1.1)
[    3.301844] Bluetooth: HCI UART driver ver 2.3
[    3.302099] Bluetooth: HCI UART protocol H4 registered
[    3.302250] Bluetooth: HCI UART protocol BCSP registered
[    3.302445] Bluetooth: HCI UART protocol LL registered
[    3.302590] Bluetooth: HCI UART protocol ATH3K registered
[    3.302763] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.303006] Bluetooth: HCI UART protocol Intel registered
[    3.303186] Bluetooth: HCI UART protocol QCA registered
[    3.303378] usbcore: registered new interface driver bcm203x
[    3.303568] usbcore: registered new interface driver bpa10x
[    3.303757] usbcore: registered new interface driver bfusb
[    3.303954] usbcore: registered new interface driver btusb
[    3.304179] usbcore: registered new interface driver ath3k
[    3.304849] EDAC MC: ECC not enabled
[    3.305255] EDAC ZynqMP-OCM: ECC not enabled - Disabling EDAC driver
[    3.306790] sdhci: Secure Digital Host Controller Interface driver
[    3.306952] sdhci: Copyright(c) Pierre Ossman
[    3.307074] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.308241] ledtrig-cpu: registered to indicate activity on CPUs
[    3.308989] zynqmp_firmware_probe Platform Management API v1.1
[    3.309239] zynqmp_firmware_probe Trustzone version v1.0
[    3.413886] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    3.418539] zynqmp_aes zynqmp_aes: AES Successfully Registered
[    3.418539] 
[    3.419665] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    3.424990] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    3.429974] usbcore: registered new interface driver usbhid
[    3.430137] usbhid: USB HID core driver
[    3.440917] ARM CCI_400_r1 PMU driver probed
[    3.443443] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    3.445471] usbcore: registered new interface driver snd-usb-audio
[    3.448199] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    3.456277] Initializing XFRM netlink socket
[    3.457076] NET: Registered protocol family 10
[    3.463172] Segment Routing with IPv6
[    3.465351] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.467997] NET: Registered protocol family 17
[    3.468378] NET: Registered protocol family 15
[    3.469020] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.469338] can: controller area network core (rev 20170425 abi 9)
[    3.469864] NET: Registered protocol family 29
[    3.470078] can: raw protocol (rev 20170425)
[    3.470280] can: broadcast manager protocol (rev 20170425 t)
[    3.470513] can: netlink gateway (rev 20190810) max_hops=1
[    3.471357] Bluetooth: RFCOMM TTY layer initialized
[    3.472130] Bluetooth: RFCOMM socket layer initialized
[    3.472333] Bluetooth: RFCOMM ver 1.11
[    3.472489] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.472798] Bluetooth: BNEP filters: protocol multicast
[    3.472962] Bluetooth: BNEP socket layer initialized
[    3.473123] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.473289] Bluetooth: HIDP socket layer initialized
[    3.474224] 9pnet: Installing 9P2000 support
[    3.474502] Key type dns_resolver registered
[    3.475475] registered taskstats version 1
[    3.475602] Loading compiled-in X.509 certificates
[    3.480778] Btrfs loaded, crc32c=crc32c-generic
[    3.499277] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 40, base_baud = 2170138) is a xuartps
[    3.500800] printk: console [ttyPS0] enabled
[    3.500800] printk: console [ttyPS0] enabled
[    3.501249] printk: bootconsole [cdns0] disabled
[    3.501249] printk: bootconsole [cdns0] disabled
[    3.503239] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 41, base_baud = 2170138) is a xuartps
[    3.505132] of-fpga-region fpga-full: FPGA Region probed
[    3.513129] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    3.515134] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    3.515832] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    3.516366] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    3.517017] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    3.517574] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    3.518103] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    3.518616] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    3.519155] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    3.520921] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[    3.521454] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[    3.521969] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[    3.522524] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[    3.523054] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[    3.523565] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[    3.524102] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[    3.524680] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[    3.528925] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[    3.541770] zynqmp_clk_divider_set_rate() set divider failed for ams_ref_div1, ret = -13
[    3.556872] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Failed to get required clock freq
[    3.557442] xilinx-dp-snd-codec: probe of fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0 failed with error -22
[    3.558744] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    3.559373] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    3.560414] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[    3.561471] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[    3.563960] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.564125] [drm] No driver support for vblank timestamp query.
[    3.566987] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffff800010d1b3c8)
[    3.709274] Console: switching to colour frame buffer device 128x48
[    3.740701] zynqmp-display fd4a0000.zynqmp-display: fb0: xlnxdrmfb frame buffer device
[    3.742635] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[    3.742990] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[    3.743975] zynqmp_gpd_attach_dev() domain6 request failed for node 35: -13
[    3.744327] cdns-spi ff040000.spi: failed to add to PM domain domain6: -13
[    3.744727] cdns-spi: probe of ff040000.spi failed with error -13
[    3.745321] zynqmp_gpd_attach_dev() domain7 request failed for node 36: -13
[    3.745573] cdns-spi ff050000.spi: failed to add to PM domain domain7: -13
[    3.745773] cdns-spi: probe of ff050000.spi failed with error -13
[    3.747149] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    3.747995] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    3.748783] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    3.749427] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    3.750575] dwc3-of-simple ff9d0000.usb0: dwc3_simple_set_phydata: Can't find usb3-phy
[    3.753496] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[    3.757038] zynqmp_gpd_attach_dev() domain9 request failed for node 23: -13
[    3.757241] dwc3-of-simple ff9e0000.usb1: failed to add to PM domain domain9: -13
[    3.757466] dwc3-of-simple: probe of ff9e0000.usb1 failed with error -13
[    3.761678] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.762069] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    3.765521] xhci-hcd xhci-hcd.0.auto: hcc params 0x00087001 hci version 0x100 quirks 0x0000000200010010
[    3.765889] xhci-hcd xhci-hcd.0.auto: irq 47, io mem 0xfe200000
[    3.769069] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 31
[    3.772177] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    3.773474] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    3.773698] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.773891] usb usb1: Product: xHCI Host Controller
[    3.774028] usb usb1: Manufacturer: Linux 5.4.0-xilinx-v2020.2 xhci-hcd
[    3.774263] usb usb1: SerialNumber: xhci-hcd.0.auto
[    3.774847] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    3.779402] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 277777 KHz
[    3.780800] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 299999 KHz
[    3.782451] zynqmp_gpd_attach_dev() domain11 request failed for node 39: -13
[    3.782633] sdhci-arasan ff160000.mmc: failed to add to PM domain domain11: -13
[    3.782864] sdhci-arasan: probe of ff160000.mmc failed with error -13
[    3.793923] hub 1-0:1.0: USB hub found
[    3.794501] hub 1-0:1.0: 4 ports detected
[    3.797311] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.797476] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.797711] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.798397] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.798962] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    3.799202] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.799428] usb usb2: Product: xHCI Host Controller
[    3.799609] usb usb2: Manufacturer: Linux 5.4.0-xilinx-v2020.2 xhci-hcd
[    3.799850] usb usb2: SerialNumber: xhci-hcd.0.auto
[    3.800970] hub 2-0:1.0: USB hub found
[    3.801296] hub 2-0:1.0: 4 ports detected
[    3.845896] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    3.846623] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[    3.847200] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: failed to init link xilinx-dp0: -517
[    3.852371] rtc_zynqmp ffa60000.rtc: setting system clock to 2021-01-02T12:27:44 UTC (1609590464)
[    3.853262] of_cfs_init
[    3.853663] of_cfs_init: OK
[    3.854336] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.948082] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.948514] clk: Not disabling unused clocks
[    3.970210] ALSA device list:
[    3.970342]   No soundcards found.
[    3.973443] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.973829] cfg80211: failed to load regulatory.db
[    4.031393] Freeing unused kernel memory: 768K
[    4.049150] Run /init as init process
INIT: version 2.88 booting
Starting udev
[    4.485092] udevd[355]: starting version 3.2.8
[    4.490142] random: udevd: uninitialized urandom read (16 bytes read)
[    4.492208] random: udevd: uninitialized urandom read (16 bytes read)
[    4.493180] random: udevd: uninitialized urandom read (16 bytes read)
[    4.519624] udevd[356]: starting eudev-3.2.8
Configuring packages on first boot....
 (This may take several minutes. Please do not power off the machine.)
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
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 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.5; arch: generic; vend: ; build: (gcc 9.2.0 CTV); collect: 128K

haveged: haveged: cpu: (VC); data: 16K (D V); inst: 16K (D V); idx: 11/40; sz: 15456/64452

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

haveged: haveged: fills: 0, generated: 0 

[    8.695482] random: crng init done
[    8.695612] random: 7 urandom warning(s) missed due to ratelimiting
Public key portion is:
ssh-rsa AAAA...
root@ultra96v2
Fingerprint: sha1!! 80:f8:52:e5:13:7e:92:74:0d:11:73:99:ab:55:a1:16:f8:4a:1f:59
dropbear.
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Starting tcf-agent: OK

PetaLinux 2020.2 ultra96v2 /dev/ttyPS0

ultra96v2 login: 

QEMUを抜けるにはCtrl-a xで抜けます。

write: 2021/01/05/ 00:00:00