Xilinx / systemctlm-cosim-demo

QEMU libsystemctlm-soc co-simulation demos.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/862421112/Co-simulation
Other
107 stars 45 forks source link

Which zu102 BSP version is compatible with? #2

Closed chagyun0213 closed 6 years ago

chagyun0213 commented 6 years ago

Hi I am testing with zu102 bsp 2017.3 version for ZynqMP. Could you summarize petalinux, qemu, and BSP versions you tested ? Thanks,

alistair23 commented 6 years ago

Hey, All versions of QEMU have basic testing and major PetaLinux/BSP versions should have been tested as well. Are you seeing problems?

chagyun0213 commented 6 years ago

Hi I tested this demo with the latest 2017.3 BSP and TLM 2.3.0. But when I do the step 3 expecting QEMU would wait for TLM connection. But QEMU does not. It boots through. So I want to know which version or combinations of is the really tested and verified. I would plan to try with 2016.4 BSP and TLM 2.3.1. Thanks,

alistair23 commented 6 years ago

We do test with the latest version of Accelera's SystemC/TLM, so make sure you have the latest (I think 2.3.1 is the latest).

If QEMU isn't waiting then it sounds like you haven't passed the correct arguments to QEMU. Can you include a full log of what you are running?

chagyun0213 commented 6 years ago

Thanks. I plan to use TLM 2.3.0 due to compatibility issue with other tools. Does it mean TLM 2.3.0 will not work? I will try with TLM 2.3.1.
Here is my full log. I think the issue is why QEMU does not wait for TLM connection.

jeongc@jeongc-dl:~/bsp_1703/bsp_demo/xilinx-zcu102-2017.3$ petalinux-boot --qemu --kernel --qemu-args "-hw-dtb ../qemu-devicetrees/LATEST/MULTI_ARCH/zcu102-arm.cosim.dtb -machine-path ../../qemu-tmp" INFO: No DTB has been specified, use the default one "/home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/images/linux/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 /home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/pre-built/linux/images/pmu_rom_qemu_sha3.elf -device loader,file=/home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/images/linux/pmufw.elf -hw-dtb /home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/images/linux/zynqmp-qemu-multiarch-pmu.dtb -machine-path /tmp/tmp.NBFl6oy5DW -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: No such file or directory
QEMU waiting for connection on: disconnected:unix:/tmp/tmp.NBFl6oy5DW/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=/home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/images/linux/bl31.elf,cpu-num=0 -device loader,file=/home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/images/linux/Image,addr=0x00080000 -device loader,file=/home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/images/linux/system.dtb,addr=0x1407f000 -device loader,file=/home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/build/misc/linux-boot/linux-boot.elf -gdb tcp::9000 -dtb /home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/images/linux/system.dtb -net nic -net nic -net nic -net nic,vlan=1 -net user,vlan=1,tftp=/tftpboot -hw-dtb ../qemu-devicetrees/LATEST/MULTI_ARCH/zcu102-arm.cosim.dtb -machine-path ../../qemu-tmp -hw-dtb /home/jeongc/dla_1703/bsp_demo/xilinx-zcu102-2017.3/images/linux/zynqmp-qemu-multiarch-arm.dtb -machine-path /tmp/tmp.NBFl6oy5DW -global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true -m 4G QEMU 2.8.1 monitor - type 'help' for more information (qemu) QEMU 2.8.1 monitor - type 'help' for more information (qemu) audio: Could not init `oss' audio driver Warning: vlan 0 is not connected to host network PMU Firmware 2017.3 Dec 5 2017 16:54:54 NOTICE: ATF running on XCZUUNKN/QEMU v1/RTL0.0 at 0xfffea000, with PMU firmware NOTICE: BL31: Secure code at 0x60000000 NOTICE: BL31: Non secure code at 0x8000000 NOTICE: BL31: v1.3(release):f9b244b NOTICE: BL31: Built : 00:53:02, Dec 6 2017 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.0-xilinx-v2017.3 (jeongc@jeongc-dl) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #2 SMP Tue Dec 5 16:53:35 PST 2017 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (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 256 MiB at 0x0000000070000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc87ff66000 s48152 r8192 d29672 u86016 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1034240 [ 0.000000] Kernel command line: earlycon clk_ignore_unused [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] software IO TLB [mem 0x6bfff000-0x6ffff000] (64MB) mapped at [ffffffc06bfff000-ffffffc06fffefff] [ 0.000000] Memory: 3783496K/4194304K available (9084K kernel code, 582K rwdata, 2840K rodata, 5568K init, 395K bss, 148664K reserved, 262144K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008960000 ( 9088 KB) [ 0.000000] .rodata : 0xffffff8008960000 - 0xffffff8008c30000 ( 2880 KB) [ 0.000000] .init : 0xffffff8008c30000 - 0xffffff80091a0000 ( 5568 KB) [ 0.000000] .data : 0xffffff80091a0000 - 0xffffff8009231a00 ( 583 KB) [ 0.000000] .bss : 0xffffff8009231a00 - 0xffffff8009294634 ( 396 KB) [ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf1dc00000 ( 476 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc880000000 ( 34816 MB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns [ 0.000168] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns [ 0.013090] Console: colour dummy device 80x25 [ 0.013446] console [tty0] enabled [ 0.014078] bootconsole [cdns0] disabled [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.0-xilinx-v2017.3 (jeongc@jeongc-dl) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #2 SMP Tue Dec 5 16:53:35 PST 2017 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (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 256 MiB at 0x0000000070000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc87ff66000 s48152 r8192 d29672 u86016 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1034240 [ 0.000000] Kernel command line: earlycon clk_ignore_unused [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] software IO TLB [mem 0x6bfff000-0x6ffff000] (64MB) mapped at [ffffffc06bfff000-ffffffc06fffefff] [ 0.000000] Memory: 3783496K/4194304K available (9084K kernel code, 582K rwdata, 2840K rodata, 5568K init, 395K bss, 148664K reserved, 262144K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008960000 ( 9088 KB) [ 0.000000] .rodata : 0xffffff8008960000 - 0xffffff8008c30000 ( 2880 KB) [ 0.000000] .init : 0xffffff8008c30000 - 0xffffff80091a0000 ( 5568 KB) [ 0.000000] .data : 0xffffff80091a0000 - 0xffffff8009231a00 ( 583 KB) [ 0.000000] .bss : 0xffffff8009231a00 - 0xffffff8009294634 ( 396 KB) [ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf1dc00000 ( 476 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc880000000 ( 34816 MB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns [ 0.000168] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns [ 0.013090] Console: colour dummy device 80x25 [ 0.013446] console [tty0] enabled [ 0.014078] bootconsole [cdns0] disabled [ 0.015092] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000) [ 0.015715] pid_max: default: 32768 minimum: 301 [ 0.018340] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.018419] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.049734] ASID allocator initialised with 65536 entries [ 0.063752] zynqmp_plat_init Power management API v0.3 [ 0.065938] EFI services will not be available. [ 0.074598] Detected VIPT I-cache on CPU1 [ 0.075436] CPU1: Booted secondary processor [410fd034] [ 0.082998] Detected VIPT I-cache on CPU2 [ 0.083281] CPU2: Booted secondary processor [410fd034] [ 0.089523] Detected VIPT I-cache on CPU3 [ 0.089811] CPU3: Booted secondary processor [410fd034] [ 0.090378] Brought up 4 CPUs [ 0.090627] SMP: Total of 4 processors activated. [ 0.090746] CPU features: detected feature: 32-bit EL0 Support [ 0.091032] CPU: All CPU(s) started at EL2 [ 0.091939] alternatives: patching kernel code [ 0.109211] devtmpfs: initialized [ 0.167092] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.210606] xor: measuring software checksum speed [ 0.248826] 8regs : 1363.000 MB/sec [ 0.289808] 8regs_prefetch: 1384.000 MB/sec [ 0.330856] 32regs : 1362.000 MB/sec [ 0.371943] 32regs_prefetch: 1292.000 MB/sec [ 0.372048] xor: using function: 8regs_prefetch (1384.000 MB/sec) [ 0.373949] pinctrl core: initialized pinctrl subsystem [ 0.401872] NET: Registered protocol family 16 [ 0.432660] cpuidle: using governor menu [ 0.434901] Failed to initialise IOMMU /amba/smmu@fd800000 [ 0.436343] vdso: 2 pages (1 code @ ffffff8008967000, 1 data @ ffffff80091a4000) [ 0.436863] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.446551] DMA: preallocated 256 KiB pool for atomic allocations [ 0.731421] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed [ 0.744083] ARM CCI_400_r1 PMU driver probed [ 0.798902] zynqmp-pinctrl ff180000.pinctrl: zynqmp pinctrl initialized [ 0.998917] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 1.074731] raid6: int64x1 gen() 677 MB/s [ 1.144356] raid6: int64x1 xor() 460 MB/s [ 1.224186] raid6: int64x2 gen() 1124 MB/s [ 1.298543] raid6: int64x2 xor() 681 MB/s [ 1.368001] raid6: int64x4 gen() 1288 MB/s [ 1.449136] raid6: int64x4 xor() 239 MB/s [ 1.522986] raid6: int64x8 gen() 876 MB/s [ 1.608726] raid6: int64x8 xor() 350 MB/s [ 1.690478] raid6: neonx1 gen() 406 MB/s [ 1.772049] raid6: neonx1 xor() 240 MB/s [ 1.841324] raid6: neonx2 gen() 408 MB/s [ 1.922766] raid6: neonx2 xor() 269 MB/s [ 1.996063] raid6: neonx4 gen() 432 MB/s [ 2.081699] raid6: neonx4 xor() 292 MB/s [ 2.155319] raid6: neonx8 gen() 317 MB/s [ 2.253043] raid6: neonx8 xor() 333 MB/s [ 2.253127] raid6: using algorithm int64x4 gen() 1288 MB/s [ 2.253193] raid6: .... xor() 239 MB/s, rmw enabled [ 2.253308] raid6: using intx1 recovery algorithm [ 2.289423] SCSI subsystem initialized [ 2.293527] usbcore: registered new interface driver usbfs [ 2.294229] usbcore: registered new interface driver hub [ 2.294631] usbcore: registered new device driver usb [ 2.295413] media: Linux media interface: v0.10 [ 2.301287] Linux video capture interface: v2.00 [ 2.301706] pps_core: LinuxPPS API ver. 1 registered [ 2.301773] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 2.301985] PTP clock support registered [ 2.302375] EDAC MC: Ver: 3.0.0 [ 2.310074] FPGA manager framework [ 2.311506] fpga-region fpga-full: FPGA Region probed [ 2.313364] Advanced Linux Sound Architecture Driver Initialized. [ 2.323841] Bluetooth: Core ver 2.22 [ 2.324449] NET: Registered protocol family 31 [ 2.324519] Bluetooth: HCI device and connection manager initialized [ 2.329228] Bluetooth: HCI socket layer initialized [ 2.329373] Bluetooth: L2CAP socket layer initialized [ 2.329790] Bluetooth: SCO socket layer initialized [ 2.348468] clocksource: Switched to clocksource arch_sys_counter [ 2.350256] VFS: Disk quotas dquot_6.6.0 [ 2.352824] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.439090] NET: Registered protocol family 2 [ 2.449212] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 2.450109] TCP bind hash table entries: 32768 (order: 7, 524288 bytes) [ 2.451353] TCP: Hash tables configured (established 32768 bind 32768) [ 2.452560] UDP hash table entries: 2048 (order: 4, 65536 bytes) [ 2.452885] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) [ 2.455202] NET: Registered protocol family 1 [ 2.463271] RPC: Registered named UNIX socket transport module. [ 2.463388] RPC: Registered udp transport module. [ 2.463451] RPC: Registered tcp transport module. [ 2.463505] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.091234] hw perfevents: enabled with armv8_pmuv3 PMU driver, 1 counters available [ 3.097862] futex hash table entries: 1024 (order: 5, 131072 bytes) [ 3.098861] audit: initializing netlink subsys (disabled) [ 3.100623] audit: type=2000 audit(2.796:1): initialized [ 3.112991] workingset: timestamp_bits=62 max_order=20 bucket_order=0 [ 3.126844] NFS: Registering the id_resolver key type [ 3.128421] Key type id_resolver registered [ 3.128512] Key type id_legacy registered [ 3.128734] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.129359] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 3.297640] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 3.298063] io scheduler noop registered [ 3.298162] io scheduler deadline registered [ 3.298320] io scheduler cfq registered (default) [ 3.311338] nwl-pcie fd0e0000.pcie: Link is UP [ 3.312892] OF: PCI: host bridge /amba/pcie@fd0e0000 ranges: [ 3.313553] OF: PCI: MEM 0xe0000000..0xefffffff -> 0xe0000000 [ 3.313728] OF: PCI: MEM 0x600000000..0x7ffffffff -> 0x600000000 [ 3.316361] nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00 [ 3.316817] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.317088] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 3.317178] pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref] [ 3.353287] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed [ 3.363818] Write failed gate address:1001202 [ 3.365863] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success [ 3.367495] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success [ 3.369297] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success [ 3.370592] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success [ 3.372334] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success [ 3.373633] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success [ 3.374986] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success [ 3.376734] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success [ 3.384919] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success [ 3.386304] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success [ 3.387678] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success [ 3.389577] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success [ 3.390899] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success [ 3.394036] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success [ 3.395437] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success [ 3.398394] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success [ 3.400647] zynqmp_pm firmware: Power management API v0.3 [ 3.401832] xenfs: not registering filesystem on non-xen platform [ 4.071433] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 4.099857] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 46, base_baud = 10415625) is a xuartps [ 4.152222] console [ttyPS0] enabled [ 4.166123] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 47, base_baud = 2479910) is a xuartps [ 4.169643] [drm] Initialized [ 4.181880] [drm] load() is defered & will be called again [ 4.198468] xilinx-drm-dp-sub fd4aa000.dp_sub: Xilinx DisplayPort Subsystem is probed [ 4.297084] brd: module loaded [ 4.344978] loop: module loaded [ 4.357795] ahci-ceva fd0c0000.ahci: couldn't get PHY in node ahci: -517 [ 4.362394] mtdoops: mtd device (mtddev=name/number) must be supplied [ 4.387750] m25p80 spi0.0: n25q512a (131072 Kbytes) [ 4.390891] 4 ofpart partitions found on MTD device spi0.0 [ 4.391236] Creating 4 MTD partitions on "spi0.0": [ 4.391841] 0x000000000000-0x000001e00000 : "boot" [ 4.402871] 0x000001e00000-0x000001e40000 : "bootenv" [ 4.411254] 0x000001e40000-0x000004240000 : "kernel" [ 4.419802] 0x000004240000-0x000008000000 : "spare" [ 4.445174] libphy: Fixed MDIO Bus: probed [ 4.463450] tun: Universal TUN/TAP device driver, 1.6 [ 4.463775] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com [ 4.467110] CAN device driver interface [ 4.551168] macb ff0e0000.ethernet: Not enabling partial store and forward [ 4.557902] libphy: MACB_mii_bus: probed [ 4.681224] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x40070106 at 0xff0e0000 irq 31 (00:0a:35:00:22:01) [ 4.681683] Marvell 88E1118 ff0e0000.etherne:0c: attached PHY driver [Marvell 88E1118] (mii_bus:phy_addr=ff0e0000.etherne:0c, irq=-1) [ 4.686210] usbcore: registered new interface driver asix [ 4.686726] usbcore: registered new interface driver ax88179_178a [ 4.687174] usbcore: registered new interface driver cdc_ether [ 4.687631] usbcore: registered new interface driver net1080 [ 4.688353] usbcore: registered new interface driver cdc_subset [ 4.688797] usbcore: registered new interface driver zaurus [ 4.689334] usbcore: registered new interface driver cdc_ncm [ 4.750203] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.750523] ehci-pci: EHCI PCI platform driver [ 4.753695] usbcore: registered new interface driver uas [ 4.754540] usbcore: registered new interface driver usb-storage [ 4.762358] mousedev: PS/2 mouse device common for all mice [ 4.771214] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0 [ 4.773297] i2c /dev entries driver [ 4.816266] usbcore: registered new interface driver uvcvideo [ 4.816597] USB Video Class driver (1.1.1) [ 4.831292] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at ffffff8009421000 with timeout 10s [ 4.841778] Bluetooth: HCI UART driver ver 2.3 [ 4.842159] Bluetooth: HCI UART protocol H4 registered [ 4.842387] Bluetooth: HCI UART protocol BCSP registered [ 4.842594] Bluetooth: HCI UART protocol LL registered [ 4.842796] Bluetooth: HCI UART protocol ATH3K registered [ 4.843005] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 4.843676] Bluetooth: HCI UART protocol Intel registered [ 4.846195] Bluetooth: HCI UART protocol Broadcom registered [ 4.846422] Bluetooth: HCI UART protocol QCA registered [ 4.846928] usbcore: registered new interface driver bcm203x [ 4.847410] usbcore: registered new interface driver bpa10x [ 4.848361] usbcore: registered new interface driver bfusb [ 4.848854] usbcore: registered new interface driver btusb [ 4.849068] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 4.849643] usbcore: registered new interface driver ath3k [ 4.851288] EDAC MC: ECC not enabled [ 4.853041] EDAC ZynqMP-OCM: ECC not enabled - Disabling EDAC driver [ 4.861079] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 277750 KHz [ 4.865704] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 299999 KHz [ 4.880821] sdhci: Secure Digital Host Controller Interface driver [ 4.881179] sdhci: Copyright(c) Pierre Ossman [ 4.881419] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.992377] mmc0: SDHCI controller on ff170000.sdhci [ff170000.sdhci] using ADMA 64-bit [ 4.998273] ledtrig-cpu: registered to indicate activity on CPUs [ 5.000373] usbcore: registered new interface driver usbhid [ 5.000637] usbhid: USB HID core driver [ 5.027316] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered [ 5.041317] xilinx-dp-snd-pcm dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed [ 5.042271] xilinx-dp-snd-pcm dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed [ 5.074338] Write failed to divider address:ff5e00b0 [ 5.122440] xilinx-dp-snd-codec dp_snd_codec0: Failed to get required clock freq [ 5.124480] xilinx-dp-snd-codec: probe of dp_snd_codec0 failed with error -22 [ 5.126729] xilinx-dp-snd-card dp_snd_card: ASoC: CPU DAI (null) not registered [ 5.128701] pktgen: Packet Generator for packet performance testing. Version: 2.75 [ 5.134945] Netfilter messages via NETLINK v0.30. [ 5.137893] ip_tables: (C) 2000-2006 Netfilter Core Team [ 5.141523] Initializing XFRM netlink socket [ 5.142975] NET: Registered protocol family 10 [ 5.154728] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 5.156951] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 5.163492] NET: Registered protocol family 17 [ 5.164494] NET: Registered protocol family 15 [ 5.165292] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 5.165784] Ebtables v2.0 registered [ 5.167573] can: controller area network core (rev 20120528 abi 9) [ 5.168614] NET: Registered protocol family 29 [ 5.169037] can: raw protocol (rev 20120528) [ 5.169281] can: broadcast manager protocol (rev 20161123 t) [ 5.169553] can: netlink gateway (rev 20130117) max_hops=1 [ 5.171714] Bluetooth: RFCOMM TTY layer initialized [ 5.172456] Bluetooth: RFCOMM socket layer initialized [ 5.172769] Bluetooth: RFCOMM ver 1.11 [ 5.172995] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 5.173171] Bluetooth: BNEP filters: protocol multicast [ 5.173394] Bluetooth: BNEP socket layer initialized [ 5.173580] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 5.173813] Bluetooth: HIDP socket layer initialized [ 5.176788] 9pnet: Installing 9P2000 support [ 5.177280] Key type dns_resolver registered [ 5.181163] registered taskstats version 1 [ 5.195699] Btrfs loaded, crc32c=crc32c-generic [ 5.311864] [drm] load() is defered & will be called again [ 5.322989] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes [ 5.328769] xilinx-drm-dp fd4a0000.dp: device found, version 4.010 [ 5.329099] xilinx-drm-dp fd4a0000.dp: Display Port, version 1.0200 (tx) [ 5.338632] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes [ 5.342445] ahci-ceva fd0c0000.ahci: AHCI 0001.0000 32 slots 2 ports 1.5 Gbps 0x3 impl platform mode [ 5.342955] ahci-ceva fd0c0000.ahci: flags: 64bit ncq only [ 5.358684] scsi host0: ahci-ceva [ 5.374220] scsi host1: ahci-ceva [ 5.378295] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 44 [ 5.378758] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 44 [ 5.443101] dwc3 fe200000.dwc3: Configuration mismatch. dr_mode forced to gadget [ 5.443681] dwc3 fe200000.dwc3: this is not a DesignWare USB3 DRD Core [ 5.444715] dwc3 fe200000.dwc3: failed to initialize core [ 5.462065] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 33 [ 5.466854] 1-0020 supply vcc not found, using dummy regulator [ 5.701253] ata2: SATA link down (SStatus 0 SControl 300) [ 5.703396] ata1: SATA link down (SStatus 0 SControl 300) [ 6.480543] i2c i2c-1: SCL is stuck low, exit recovery [ 6.489083] cdns-i2c ff020000.i2c: timeout waiting on completion [ 6.489647] pca953x 1-0020: failed reading register [ 6.490754] pca953x: probe of 1-0020 failed with error -110 [ 6.493185] 1-0021 supply vcc not found, using dummy regulator [ 7.502480] i2c i2c-1: SCL is stuck low, exit recovery [ 7.510513] cdns-i2c ff020000.i2c: timeout waiting on completion [ 7.510882] pca953x 1-0021: failed reading register [ 7.511511] pca953x: probe of 1-0021 failed with error -110 [ 8.526443] i2c i2c-1: SCL is stuck low, exit recovery [ 8.535252] cdns-i2c ff020000.i2c: timeout waiting on completion [ 8.535718] pca954x 1-0075: probe failed [ 8.548988] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 34 [ 8.576670] at24 3-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write [ 8.577337] i2c i2c-2: Added multiplexed i2c bus 3 [ 8.579675] i2c i2c-2: Added multiplexed i2c bus 4 [ 8.600335] si570 5-005d: registered, current frequency 300000000 Hz [ 8.600961] i2c i2c-2: Added multiplexed i2c bus 5 [ 8.634995] si570 6-005d: registered, current frequency 148500000 Hz [ 8.635591] i2c i2c-2: Added multiplexed i2c bus 6 [ 8.638369] i2c i2c-2: Added multiplexed i2c bus 7 [ 8.640168] i2c i2c-2: Added multiplexed i2c bus 8 [ 8.641882] i2c i2c-2: Added multiplexed i2c bus 9 [ 8.643330] i2c i2c-2: Added multiplexed i2c bus 10 [ 8.643674] pca954x 2-0074: registered 8 multiplexed busses for I2C switch pca9548 [ 9.678599] i2c i2c-2: SCL is stuck low, exit recovery [ 9.687261] cdns-i2c ff030000.i2c: timeout waiting on completion [ 9.687578] pca954x 2-0075: probe failed [ 9.691775] xilinx-dp-snd-card dp_snd_card: ASoC: CPU DAI (null) not registered [ 9.705584] OF: graph: no port node found in /xilinx_drm [ 9.706062] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 9.706340] [drm] No driver support for vblank timestamp query. [ 9.868669] Console: switching to colour frame buffer device 128x48 [ 9.890524] xilinx-drm xilinx_drm: fb0: frame buffer device [ 9.905137] [drm] Initialized xilinx_drm 1.0.0 20130509 on minor 0 [ 9.907139] xilinx-dp-snd-card dp_snd_card: ASoC: CPU DAI (null) not registered [ 9.914483] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 9.923005] rtc_zynqmp ffa60000.rtc: setting system clock to 2106-02-07 06:28:15 UTC (4294967295) [ 9.925036] clk: Not disabling unused clocks [ 9.927060] ALSA device list: [ 9.927372] No soundcards found. [ 9.928516] Warning: unable to open an initial console. [ 10.009679] Freeing unused kernel memory: 5568K (ffffffc000c30000 - ffffffc0011a0000) [ 10.013680] xilinx-dp-snd-card dp_snd_card: ASoC: CPU DAI (null) not registered [ 12.184818] udevd[1667]: starting version 3.2 [ 12.194471] random: udevd: uninitialized urandom read (16 bytes read) [ 12.198839] random: udevd: uninitialized urandom read (16 bytes read) [ 12.201281] random: udevd: uninitialized urandom read (16 bytes read) [ 12.202500] random: udevd: uninitialized urandom read (16 bytes read) [ 12.275341] udevd[1668]: starting eudev-3.2 [ 12.318106] random: udevd: uninitialized urandom read (16 bytes read) [ 12.319103] random: udevd: uninitialized urandom read (16 bytes read) [ 12.927997] hrtimer: interrupt took 8117880 ns [ 12.947661] random: udevd: uninitialized urandom read (16 bytes read) [ 13.114799] random: udevd: uninitialized urandom read (16 bytes read) [ 34.400752] random: dd: uninitialized urandom read (512 bytes read) [ 37.105130] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 38.123826] macb ff0e0000.ethernet eth0: link up (100/Full) [ 38.138946] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 41.405558] random: dropbearkey: uninitialized urandom read (32 bytes read)

PetaLinux 2017.3 xilinx-zcu102-2017_3 /dev/ttyPS0

xilinx-zcu102-2017_3 login: PetaLinux 2017.3 xilinx-zcu102-2017_3 /dev/ttyPS0

xilinx-zcu102-2017_3 login: root Password: root@xilinx-zcu102-2017_3:~#

alistair23 commented 6 years ago

It looks like your zcu102-arm.cosim.dtb DTB isn't being used as PetaLinux is still including the standard device tree. Try manually running the commands and only specifying a single -hw-dtb option.

chagyun0213 commented 6 years ago

OK. I will try that. I tried with 2016.4 BSP with "LATEST/SINGLE_ARCH/zcu102-arm.cosim.dtb" works using petalinux-boot in this version. QEMU waits for connection from TLM 2.3.1 and then restarts when I run SystemC demo. Looks like okay with this version. I checked connection by below but it looks it does not work. Any hints?

(qemu) xp 0xa0000000 00000000a0000000: 0x00000000 (qemu) xp 0xa0000004 00000000a0000004: 0x00000000 (qemu) xp 0xa0000008 00000000a0000008: 0x00000000 (qemu) xp 0xa000000C 00000000a000000c: 0x00000000 (qemu) xp 0xa0000010 00000000a0000010: 0x00000000 (qemu)

chagyun0213 commented 6 years ago

Hi With only one --hw-dtb, it works as explained. It hold sand restarts when I kick off SystemC demo. But as you can see, there are lots warning messages related with zynqmp-pinctrl. And, I am not sure whether accessing SystemC side through QEMU xp command is ok or not.

Regards,


jeongc@jeongc-dl:~/dla/bsp_demo/xilinx-zcu102-2017.3$ qemu-system-aarch64 -M arm-generic-fdt -serial mon:stdio -serial /dev/null -display none -device loader,file=/home/jeongc/dla/bsp_demo/xilinx-zcu102-2017.3/images/linux/bl31.elf,cpu-num=0 -device loader,file=/home/jeongc/dla/bsp_demo/xilinx-zcu102-2017.3/images/linux/Image,addr=0x00080000 -device loader,file=/home/jeongc/dla/bsp_demo/xilinx-zcu102-2017.3/images/linux/system.dtb,addr=0x1407f000 -device loader,file=/home/jeongc/dla/bsp_demo/xilinx-zcu102-2017.3/build/misc/linux-boot/linux-boot.elf -gdb tcp::9000 -dtb /home/jeongc/dla/bsp_demo/xilinx-zcu102-2017.3/images/linux/system.dtb -net nic -net nic -net nic -net nic,vlan=1 -net user,vlan=1,tftp=/tftpboot -hw-dtb ../qemu-devicetrees/LATEST/MULTI_ARCH/zcu102-arm.cosim.dtb -machine-path ../../qemu-tmp -global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true -m 4G
qemu-system-aarch64: Failed to connect socket: No such file or directory QEMU waiting for connection on: disconnected:unix:../../qemu-tmp/qemu-rport-_pmu@0,server audio: Could not init `oss' audio driver qemu-system-aarch64: Failed to connect socket: No such file or directory QEMU waiting for connection on: disconnected:unix:../../qemu-tmp/qemu-rport-_amba@0_cosim@0,server Warning: vlan 0 is not connected to host network PMU Firmware 2017.3 Dec 5 2017 16:54:54 NOTICE: ATF running on XCZUUNKN/QEMU v1/RTL0.0 at 0xfffea000, with PMU firmware NOTICE: BL31: Secure code at 0x60000000 NOTICE: BL31: Non secure code at 0x8000000 NOTICE: BL31: v1.3(release):f9b244b NOTICE: BL31: Built : 00:53:02, Dec 6 2017 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.0-xilinx-v2017.3 (jeongc@jeongc-dl) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #2 SMP Tue Dec 5 16:53:35 PST 2017 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (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 256 MiB at 0x0000000070000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc87ff66000 s48152 r8192 d29672 u86016 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1034240 [ 0.000000] Kernel command line: earlycon clk_ignore_unused [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] software IO TLB [mem 0x6bfff000-0x6ffff000] (64MB) mapped at [ffffffc06bfff000-ffffffc06fffefff] [ 0.000000] Memory: 3783496K/4194304K available (9084K kernel code, 582K rwdata, 2840K rodata, 5568K init, 395K bss, 148664K reserved, 262144K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008960000 ( 9088 KB) [ 0.000000] .rodata : 0xffffff8008960000 - 0xffffff8008c30000 ( 2880 KB) [ 0.000000] .init : 0xffffff8008c30000 - 0xffffff80091a0000 ( 5568 KB) [ 0.000000] .data : 0xffffff80091a0000 - 0xffffff8009231a00 ( 583 KB) [ 0.000000] .bss : 0xffffff8009231a00 - 0xffffff8009294634 ( 396 KB) [ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf1dc00000 ( 476 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc880000000 ( 34816 MB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns [ 0.000178] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns [ 0.013370] Console: colour dummy device 80x25 [ 0.013722] console [tty0] enabled [ 0.014429] bootconsole [cdns0] disabled [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.0-xilinx-v2017.3 (jeongc@jeongc-dl) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #2 SMP Tue Dec 5 16:53:35 PST 2017 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (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 256 MiB at 0x0000000070000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc87ff66000 s48152 r8192 d29672 u86016 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1034240 [ 0.000000] Kernel command line: earlycon clk_ignore_unused [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] software IO TLB [mem 0x6bfff000-0x6ffff000] (64MB) mapped at [ffffffc06bfff000-ffffffc06fffefff] [ 0.000000] Memory: 3783496K/4194304K available (9084K kernel code, 582K rwdata, 2840K rodata, 5568K init, 395K bss, 148664K reserved, 262144K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008960000 ( 9088 KB) [ 0.000000] .rodata : 0xffffff8008960000 - 0xffffff8008c30000 ( 2880 KB) [ 0.000000] .init : 0xffffff8008c30000 - 0xffffff80091a0000 ( 5568 KB) [ 0.000000] .data : 0xffffff80091a0000 - 0xffffff8009231a00 ( 583 KB) [ 0.000000] .bss : 0xffffff8009231a00 - 0xffffff8009294634 ( 396 KB) [ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf1dc00000 ( 476 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc880000000 ( 34816 MB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns [ 0.000178] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns [ 0.013370] Console: colour dummy device 80x25 [ 0.013722] console [tty0] enabled [ 0.014429] bootconsole [cdns0] disabled [ 0.015735] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000) [ 0.016195] pid_max: default: 32768 minimum: 301 [ 0.018847] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.018925] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.051085] ASID allocator initialised with 65536 entries [ 0.065315] zynqmp_plat_init Power management API v0.3 [ 0.067695] EFI services will not be available. [ 0.077000] Detected VIPT I-cache on CPU1 [ 0.077842] CPU1: Booted secondary processor [410fd034] [ 0.085866] Detected VIPT I-cache on CPU2 [ 0.086325] CPU2: Booted secondary processor [410fd034] [ 0.091259] Detected VIPT I-cache on CPU3 [ 0.091833] CPU3: Booted secondary processor [410fd034] [ 0.092377] Brought up 4 CPUs [ 0.092644] SMP: Total of 4 processors activated. [ 0.092762] CPU features: detected feature: 32-bit EL0 Support [ 0.093079] CPU: All CPU(s) started at EL2 [ 0.093872] alternatives: patching kernel code [ 0.111067] devtmpfs: initialized [ 0.166650] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.214492] xor: measuring software checksum speed [ 0.253645] 8regs : 1304.000 MB/sec [ 0.294654] 8regs_prefetch: 1390.000 MB/sec [ 0.335418] 32regs : 1368.000 MB/sec [ 0.376663] 32regs_prefetch: 1337.000 MB/sec [ 0.376774] xor: using function: 8regs_prefetch (1390.000 MB/sec) [ 0.378645] pinctrl core: initialized pinctrl subsystem [ 0.404881] NET: Registered protocol family 16 [ 0.433063] cpuidle: using governor menu [ 0.435218] Failed to initialise IOMMU /amba/smmu@fd800000 [ 0.437328] vdso: 2 pages (1 code @ ffffff8008967000, 1 data @ ffffff80091a4000) [ 0.437669] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.447090] DMA: preallocated 256 KiB pool for atomic allocations [ 0.726123] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed [ 0.742254] ARM CCI_400_r1 PMU driver probed [ 0.791944] zynqmp-pinctrl ff180000.pinctrl: zynqmp pinctrl initialized [ 0.995428] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 1.072145] raid6: int64x1 gen() 676 MB/s [ 1.141862] raid6: int64x1 xor() 458 MB/s [ 1.211516] raid6: int64x2 gen() 959 MB/s [ 1.281154] raid6: int64x2 xor() 632 MB/s [ 1.350603] raid6: int64x4 gen() 1276 MB/s [ 1.419876] raid6: int64x4 xor() 198 MB/s [ 1.493489] raid6: int64x8 gen() 866 MB/s [ 1.575046] raid6: int64x8 xor() 327 MB/s [ 1.652844] raid6: neonx1 gen() 380 MB/s [ 1.726944] raid6: neonx1 xor() 215 MB/s [ 1.805150] raid6: neonx2 gen() 454 MB/s [ 1.886786] raid6: neonx2 xor() 265 MB/s [ 1.960170] raid6: neonx4 gen() 439 MB/s [ 2.037613] raid6: neonx4 xor() 254 MB/s [ 2.114284] raid6: neonx8 gen() 309 MB/s [ 2.183771] raid6: neonx8 xor() 226 MB/s [ 2.183978] raid6: using algorithm int64x4 gen() 1276 MB/s [ 2.184049] raid6: .... xor() 198 MB/s, rmw enabled [ 2.184173] raid6: using intx1 recovery algorithm [ 2.194809] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 22 [ 2.196350] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 23 [ 2.199110] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 13 [ 2.200580] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 38 [ 2.220725] SCSI subsystem initialized [ 2.224753] usbcore: registered new interface driver usbfs [ 2.225453] usbcore: registered new interface driver hub [ 2.226640] usbcore: registered new device driver usb [ 2.227477] media: Linux media interface: v0.10 [ 2.227745] Linux video capture interface: v2.00 [ 2.228086] pps_core: LinuxPPS API ver. 1 registered [ 2.228151] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 2.228358] PTP clock support registered [ 2.228748] EDAC MC: Ver: 3.0.0 [ 2.233050] FPGA manager framework [ 2.235176] fpga-region fpga-full: FPGA Region probed [ 2.236446] Advanced Linux Sound Architecture Driver Initialized. [ 2.258898] Bluetooth: Core ver 2.22 [ 2.259549] NET: Registered protocol family 31 [ 2.259620] Bluetooth: HCI device and connection manager initialized [ 2.259934] Bluetooth: HCI socket layer initialized [ 2.261484] Bluetooth: L2CAP socket layer initialized [ 2.262741] Bluetooth: SCO socket layer initialized [ 2.281217] clocksource: Switched to clocksource arch_sys_counter [ 2.283914] VFS: Disk quotas dquot_6.6.0 [ 2.286670] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.367308] NET: Registered protocol family 2 [ 2.377824] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 2.378674] TCP bind hash table entries: 32768 (order: 7, 524288 bytes) [ 2.379925] TCP: Hash tables configured (established 32768 bind 32768) [ 2.381600] UDP hash table entries: 2048 (order: 4, 65536 bytes) [ 2.381947] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) [ 2.384324] NET: Registered protocol family 1 [ 2.391123] RPC: Registered named UNIX socket transport module. [ 2.391241] RPC: Registered udp transport module. [ 2.391307] RPC: Registered tcp transport module. [ 2.391361] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.038192] hw perfevents: enabled with armv8_pmuv3 PMU driver, 1 counters available [ 3.045983] futex hash table entries: 1024 (order: 5, 131072 bytes) [ 3.046959] audit: initializing netlink subsys (disabled) [ 3.048197] audit: type=2000 audit(2.820:1): initialized [ 3.063447] workingset: timestamp_bits=62 max_order=20 bucket_order=0 [ 3.078304] NFS: Registering the id_resolver key type [ 3.079398] Key type id_resolver registered [ 3.079482] Key type id_legacy registered [ 3.079700] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.080337] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 3.255295] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 3.255730] io scheduler noop registered [ 3.255832] io scheduler deadline registered [ 3.256000] io scheduler cfq registered (default) [ 3.269055] nwl-pcie fd0e0000.pcie: Link is UP [ 3.270180] OF: PCI: host bridge /amba/pcie@fd0e0000 ranges: [ 3.270856] OF: PCI: MEM 0xe0000000..0xefffffff -> 0xe0000000 [ 3.271040] OF: PCI: MEM 0x600000000..0x7ffffffff -> 0x600000000 [ 3.273871] nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00 [ 3.274336] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.274625] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 3.274723] pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref] [ 3.311071] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed [ 3.318180] Write failed gate address:1001202 [ 3.322694] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success [ 3.324358] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success [ 3.326605] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success [ 3.327937] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success [ 3.329710] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success [ 3.331015] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success [ 3.332350] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success [ 3.334086] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success [ 3.339731] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success [ 3.341506] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success [ 3.342899] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success [ 3.344289] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success [ 3.346060] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success [ 3.347457] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success [ 3.349211] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success [ 3.350614] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success [ 3.352400] zynqmp_pm firmware: Power management API v0.3 [ 3.353924] xenfs: not registering filesystem on non-xen platform [ 3.800314] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 3.827721] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 18 [ 3.829412] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 19 [ 3.834748] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 46, base_baud = 10415625) is a xuartps [ 3.879210] console [ttyPS0] enabled [ 3.885601] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 20 [ 3.888811] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 21 [ 3.894768] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 47, base_baud = 2479910) is a xuartps [ 3.898683] [drm] Initialized [ 3.912255] [drm] load() is defered & will be called again [ 3.929551] xilinx-drm-dp-sub fd4aa000.dp_sub: Xilinx DisplayPort Subsystem is probed [ 4.011657] brd: module loaded [ 4.090212] loop: module loaded [ 4.098637] ahci-ceva fd0c0000.ahci: couldn't get PHY in node ahci: -517 [ 4.106956] mtdoops: mtd device (mtddev=name/number) must be supplied [ 4.134525] m25p80 spi0.0: n25q512a (131072 Kbytes) [ 4.135855] 4 ofpart partitions found on MTD device spi0.0 [ 4.136145] Creating 4 MTD partitions on "spi0.0": [ 4.137468] 0x000000000000-0x000001e00000 : "boot" [ 4.147953] 0x000001e00000-0x000001e40000 : "bootenv" [ 4.157646] 0x000001e40000-0x000004240000 : "kernel" [ 4.166349] 0x000004240000-0x000008000000 : "spare" [ 4.182492] libphy: Fixed MDIO Bus: probed [ 4.220459] tun: Universal TUN/TAP device driver, 1.6 [ 4.221208] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com [ 4.227945] CAN device driver interface [ 4.236948] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 24 [ 4.238525] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 25 [ 4.271472] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 64 [ 4.273550] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 65 [ 4.275437] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 66 [ 4.277477] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 67 [ 4.279235] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 68 [ 4.281432] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 69 [ 4.283130] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 70 [ 4.285399] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 71 [ 4.287137] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 72 [ 4.289367] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 73 [ 4.291066] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 74 [ 4.293295] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 75 [ 4.301886] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 76 [ 4.304237] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 77 [ 4.311746] macb ff0e0000.ethernet: Not enabling partial store and forward [ 4.318754] libphy: MACB_mii_bus: probed [ 4.442054] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x40070106 at 0xff0e0000 irq 31 (00:0a:35:00:22:01) [ 4.442630] Marvell 88E1118 ff0e0000.etherne:0c: attached PHY driver [Marvell 88E1118] (mii_bus:phy_addr=ff0e0000.etherne:0c, irq=-1) [ 4.447397] usbcore: registered new interface driver asix [ 4.447950] usbcore: registered new interface driver ax88179_178a [ 4.448474] usbcore: registered new interface driver cdc_ether [ 4.449641] usbcore: registered new interface driver net1080 [ 4.450161] usbcore: registered new interface driver cdc_subset [ 4.450674] usbcore: registered new interface driver zaurus [ 4.451271] usbcore: registered new interface driver cdc_ncm [ 4.475866] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 52 [ 4.477967] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 53 [ 4.480436] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 54 [ 4.482869] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 55 [ 4.485327] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 56 [ 4.487172] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 57 [ 4.489201] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 58 [ 4.491167] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 59 [ 4.493180] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 60 [ 4.494845] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 61 [ 4.496487] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 62 [ 4.498599] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 63 [ 4.518628] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.519044] ehci-pci: EHCI PCI platform driver [ 4.522419] usbcore: registered new interface driver uas [ 4.523258] usbcore: registered new interface driver usb-storage [ 4.531906] mousedev: PS/2 mouse device common for all mice [ 4.542191] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0 [ 4.542988] i2c /dev entries driver [ 4.554519] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 14 [ 4.558262] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 15 [ 4.570258] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 16 [ 4.574059] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 17 [ 4.596618] usbcore: registered new interface driver uvcvideo [ 4.597734] USB Video Class driver (1.1.1) [ 4.612644] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at ffffff8009421000 with timeout 10s [ 4.621369] Bluetooth: HCI UART driver ver 2.3 [ 4.621729] Bluetooth: HCI UART protocol H4 registered [ 4.622003] Bluetooth: HCI UART protocol BCSP registered [ 4.622272] Bluetooth: HCI UART protocol LL registered [ 4.622504] Bluetooth: HCI UART protocol ATH3K registered [ 4.622741] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 4.623472] Bluetooth: HCI UART protocol Intel registered [ 4.624116] Bluetooth: HCI UART protocol Broadcom registered [ 4.624442] Bluetooth: HCI UART protocol QCA registered [ 4.625644] usbcore: registered new interface driver bcm203x [ 4.626199] usbcore: registered new interface driver bpa10x [ 4.626783] usbcore: registered new interface driver bfusb [ 4.627248] usbcore: registered new interface driver btusb [ 4.627458] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 4.628059] usbcore: registered new interface driver ath3k [ 4.630192] EDAC MC: ECC not enabled [ 4.631590] EDAC ZynqMP-OCM: ECC not enabled - Disabling EDAC driver [ 4.639983] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 277750 KHz [ 4.651950] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 299999 KHz [ 4.662441] sdhci: Secure Digital Host Controller Interface driver [ 4.662788] sdhci: Copyright(c) Pierre Ossman [ 4.663038] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.678612] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 39 [ 4.681651] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 40 [ 4.684376] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 41 [ 4.687590] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 42 [ 4.690774] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 46 [ 4.693591] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 47 [ 4.696238] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 48 [ 4.699297] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 49 [ 4.702221] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 50 [ 4.705090] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 51 [ 4.709623] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 45 [ 4.714139] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 44 [ 4.777117] mmc0: SDHCI controller on ff170000.sdhci [ff170000.sdhci] using ADMA 64-bit [ 4.783826] ledtrig-cpu: registered to indicate activity on CPUs [ 4.786185] usbcore: registered new interface driver usbhid [ 4.786453] usbhid: USB HID core driver [ 4.825416] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered [ 4.837956] xilinx-dp-snd-pcm dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed [ 4.838731] xilinx-dp-snd-pcm dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed [ 4.867612] Write failed to divider address:ff5e00b0 [ 4.919568] xilinx-dp-snd-codec dp_snd_codec0: Failed to get required clock freq [ 4.921967] xilinx-dp-snd-codec: probe of dp_snd_codec0 failed with error -22 [ 4.924285] xilinx-dp-snd-card dp_snd_card: ASoC: CPU DAI (null) not registered [ 4.926222] pktgen: Packet Generator for packet performance testing. Version: 2.75 [ 4.931989] Netfilter messages via NETLINK v0.30. [ 4.934975] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.938746] Initializing XFRM netlink socket [ 4.940551] NET: Registered protocol family 10 [ 4.953390] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 4.955278] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.960184] NET: Registered protocol family 17 [ 4.961133] NET: Registered protocol family 15 [ 4.961979] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 4.962637] Ebtables v2.0 registered [ 4.964520] can: controller area network core (rev 20120528 abi 9) [ 4.965579] NET: Registered protocol family 29 [ 4.966054] can: raw protocol (rev 20120528) [ 4.966356] can: broadcast manager protocol (rev 20161123 t) [ 4.966702] can: netlink gateway (rev 20130117) max_hops=1 [ 4.970489] Bluetooth: RFCOMM TTY layer initialized [ 4.970908] Bluetooth: RFCOMM socket layer initialized [ 4.971299] Bluetooth: RFCOMM ver 1.11 [ 4.971598] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 4.971882] Bluetooth: BNEP filters: protocol multicast [ 4.972225] Bluetooth: BNEP socket layer initialized [ 4.972494] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 4.973462] Bluetooth: HIDP socket layer initialized [ 4.976046] 9pnet: Installing 9P2000 support [ 4.976572] Key type dns_resolver registered [ 4.980440] registered taskstats version 1 [ 4.994431] Btrfs loaded, crc32c=crc32c-generic [ 5.044249] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 22 [ 5.046929] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 23 [ 5.050597] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 13 [ 5.052497] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 38 [ 5.115916] [drm] load() is defered & will be called again [ 5.127317] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes [ 5.133539] xilinx-drm-dp fd4a0000.dp: device found, version 4.010 [ 5.133869] xilinx-drm-dp fd4a0000.dp: Display Port, version 1.0200 (tx) [ 5.143849] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes [ 5.147699] ahci-ceva fd0c0000.ahci: AHCI 0001.0000 32 slots 2 ports 1.5 Gbps 0x3 impl platform mode [ 5.148215] ahci-ceva fd0c0000.ahci: flags: 64bit ncq only [ 5.164251] scsi host0: ahci-ceva [ 5.171331] scsi host1: ahci-ceva [ 5.174940] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 44 [ 5.175354] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 44 [ 5.194789] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 52 [ 5.197066] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 53 [ 5.198886] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 54 [ 5.200580] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 55 [ 5.202921] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 56 [ 5.205028] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 57 [ 5.206636] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 58 [ 5.208338] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 59 [ 5.210636] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 60 [ 5.212383] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 61 [ 5.214644] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 62 [ 5.216382] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 63 [ 5.237498] dwc3 fe200000.dwc3: Configuration mismatch. dr_mode forced to gadget [ 5.238089] dwc3 fe200000.dwc3: this is not a DesignWare USB3 DRD Core [ 5.238406] dwc3 fe200000.dwc3: failed to initialize core [ 5.249681] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 14 [ 5.253287] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 15 [ 5.258575] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 33 [ 5.263894] 1-0020 supply vcc not found, using dummy regulator [ 5.499704] ata2: SATA link down (SStatus 0 SControl 300) [ 5.502305] ata1: SATA link down (SStatus 0 SControl 300) [ 6.275874] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 14 [ 6.277609] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 15 [ 6.278361] i2c i2c-1: SCL is stuck low, exit recovery [ 6.284147] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 14 [ 6.287190] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 15 [ 6.287988] cdns-i2c ff020000.i2c: timeout waiting on completion [ 6.288496] pca953x 1-0020: failed reading register [ 6.289784] pca953x: probe of 1-0020 failed with error -110 [ 6.291063] 1-0021 supply vcc not found, using dummy regulator [ 7.298722] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 14 [ 7.300370] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 15 [ 7.300932] i2c i2c-1: SCL is stuck low, exit recovery [ 7.306700] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 14 [ 7.309822] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 15 [ 7.310171] cdns-i2c ff020000.i2c: timeout waiting on completion [ 7.310410] pca953x 1-0021: failed reading register [ 7.310953] pca953x: probe of 1-0021 failed with error -110 [ 8.322489] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 14 [ 8.324316] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 15 [ 8.324948] i2c i2c-1: SCL is stuck low, exit recovery [ 8.330669] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 14 [ 8.333736] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 15 [ 8.334167] cdns-i2c ff020000.i2c: timeout waiting on completion [ 8.334569] pca954x 1-0075: probe failed [ 8.341617] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 16 [ 8.344620] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 17 [ 8.348983] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 34 [ 8.365697] at24 3-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write [ 8.366289] i2c i2c-2: Added multiplexed i2c bus 3 [ 8.370239] i2c i2c-2: Added multiplexed i2c bus 4 [ 8.391269] si570 5-005d: registered, current frequency 300000000 Hz [ 8.391896] i2c i2c-2: Added multiplexed i2c bus 5 [ 8.421001] si570 6-005d: registered, current frequency 148500000 Hz [ 8.421722] i2c i2c-2: Added multiplexed i2c bus 6 [ 8.423992] i2c i2c-2: Added multiplexed i2c bus 7 [ 8.425994] i2c i2c-2: Added multiplexed i2c bus 8 [ 8.427406] i2c i2c-2: Added multiplexed i2c bus 9 [ 8.429807] i2c i2c-2: Added multiplexed i2c bus 10 [ 8.430125] pca954x 2-0074: registered 8 multiplexed busses for I2C switch pca9548 [ 9.443067] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 16 [ 9.445079] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 17 [ 9.445517] i2c i2c-2: SCL is stuck low, exit recovery [ 9.451327] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 16 [ 9.454563] zynqmp-pinctrl ff180000.pinctrl: Invalid IO Standard requested for pin 17 [ 9.455005] cdns-i2c ff030000.i2c: timeout waiting on completion [ 9.455303] pca954x 2-0075: probe failed [ 9.459487] xilinx-dp-snd-card dp_snd_card: ASoC: CPU DAI (null) not registered [ 9.472467] OF: graph: no port node found in /xilinx_drm [ 9.475105] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 9.475416] [drm] No driver support for vblank timestamp query. [ 9.633759] Console: switching to colour frame buffer device 128x48 [ 9.655706] xilinx-drm xilinx_drm: fb0: frame buffer device [ 9.677457] [drm] Initialized xilinx_drm 1.0.0 20130509 on minor 0 [ 9.679394] xilinx-dp-snd-card dp_snd_card: ASoC: CPU DAI (null) not registered [ 9.685890] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 9.692014] rtc_zynqmp ffa60000.rtc: setting system clock to 2106-02-07 06:28:15 UTC (4294967295) [ 9.694121] clk: Not disabling unused clocks [ 9.695704] ALSA device list: [ 9.696034] No soundcards found. [ 9.698078] xilinx-dp-snd-card dp_snd_card: ASoC: CPU DAI (null) not registered [ 9.700095] Warning: unable to open an initial console. [ 9.779912] Freeing unused kernel memory: 5568K (ffffffc000c30000 - ffffffc0011a0000) [ 11.967713] udevd[1670]: starting version 3.2 [ 11.978228] random: udevd: uninitialized urandom read (16 bytes read) [ 11.982943] random: udevd: uninitialized urandom read (16 bytes read) [ 11.985403] random: udevd: uninitialized urandom read (16 bytes read) [ 11.986374] random: udevd: uninitialized urandom read (16 bytes read) [ 12.064492] udevd[1671]: starting eudev-3.2 [ 12.237272] random: udevd: uninitialized urandom read (16 bytes read) [ 12.238218] random: udevd: uninitialized urandom read (16 bytes read) [ 12.863518] random: udevd: uninitialized urandom read (16 bytes read) [ 12.967247] random: udevd: uninitialized urandom read (16 bytes read) [ 13.502081] hrtimer: interrupt took 13253340 ns [ 34.375048] random: dd: uninitialized urandom read (512 bytes read) [ 37.158381] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 38.208308] macb ff0e0000.ethernet eth0: link up (100/Full) [ 38.223732] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 41.486709] random: dropbearkey: uninitialized urandom read (32 bytes read)

PetaLinux 2017.3 xilinx-zcu102-2017_3 /dev/ttyPS0

xilinx-zcu102-2017_3 login: root Password: root@xilinx-zcu102-2017_3:~# QEMU 2.8.1 monitor - type 'help' for more information (qemu) px 0xa0000000 unknown command: 'px' (qemu) xp 0xa0000000 00000000a0000000: 0x00000000 (qemu) xp 0xa0000004 00000000a0000004: 0x00000000 (qemu) xp 0xa0000008 00000000a0000008: 0x00000000 (qemu) xp 0xa0000010 00000000a0000010: 0x00000000 (qemu)

alistair23 commented 6 years ago

You can ignore the zynqmp-pinctrl messages.

I'm not sure if xp should work. Can you try reading them from the guest? Or just interacting with what you have on the SystemC side.

chagyun0213 commented 6 years ago

It is mentioned that "You can follow the steps below to start the SystemC side of the emulation. Once up you can use the PetaLinux peek/poke commands to query the SystemC side. " Could you explain what is "PetaLinux peek/poke commands" for quick test?

alistair23 commented 6 years ago

They are just commands that are included in the PetaLinux rootfs that allow you to read/write memory.

I'm going to close this issue now. I will continue to reply to comments though.

chagyun0213 commented 6 years ago

OK. Thanks for your support.

alistair23 commented 6 years ago

No worries!