2019年04月18日

Xilinx QEMU Windows版をマルチアーキテクチャで動作させる

Xilinx 社の ZynqMP 詳しくないのですが、Xilinx QEMU は PMU※1(qemu-system-microblazeel)ターゲットの QEMU と APU/RPU※2(qemu-system-aarch64)ターゲットの QEMU を別プロセスで 2 つ起動してエミュレーションを行う構成が存在します。

以前ビルドした Windows 版※3でも動作させることができたのでメモしておきます。



※1 Platform Management Unit。システムの初期化を行います。
※2 Application/Real-Time Processing Unit。AArch64 Cortex-A53 4 コア、ARM Cortex-R5 2 コア。APU で SMP Linux を動かし、RPU で RTOS を動かすような構成が一般的なようです。
※3 この時は動作確認をしてませんが、MicroBlaze ターゲットも同時にビルドされています。ちなみに ARM ターゲットもビルドしてますが、どうも正常動作しないようです。AArch64 ターゲットで 32 bit ARM もエミュレーションしています。


PMU と APU/RPU の各 QEMU プロセスは、DRAM のエミュレーションにメモリマップトファイルを使用して共有メモリを実現し、プロセス間通信には Xilinx QEMU 独自の Remote-Port という仕組みを使用します。(デフォルトは UNIX ソケットですが、Windows では未サポートとなるので、代わりに TCP ソケットを使用する設定が必要です。)

今回は Peta Linux という Xilinx 社が提供する SMP Linux 環境を動作させてみます。

〇 ダウンロードサイト

Xilinx SDK は既に 2018.3 が出てますが、以前の記事に合わせて 2018.2 で確認します。(必要な場合は適宜読み替えてください)確認環境も以前の記事と同じ Ubuntu 18.04 と Windows 10 です。

PetaLinux - インストレーション ファイル - 2018.2

このサイトからのダウンロードは Xilinx アカウントが必要です。

〇 Peta Linux のインストール

今回は /home/kmc/petalinux 以下で作業を行います。適宜読み替えてください。
$ sudo apt-get install tofrodos gawk xvfb git libncurses5-dev tftpd zlib1g-dev zlib1g-dev:i386 libssl-dev flex bison chrpath socat autoconf libtool texinfo gcc-multilib libsdl1.2-dev libglib2.0-dev screen pax xterm
$ mkdir /home/kmc/petalinux
インストールディレクトリを指定する方法がわからなかったので、デフォルト(インストーラが存在するディレクトリ)を使用するため、petalinux 以下にインストーラ petalinux-v2018.2-final-installer.run をダウンロードします。6GB ほどあるので時間がかかります。

インストーラを実行して、質問に y Enter で答え続け、インストールを完了します。(時間がかかります。)
$ ./petalinux-v2018.2-final-installer.run

〇 ZCU102 BSP のプロジェクト作成

BSP xilinx-zcu102-v2018.2-final.bspをダウンロードします。

作業は work 以下で行います。
$ mkdir /home/kmc/petalinux/work
$ cd /home/kmc/petalinux/work
work 以下に BSP ファイルを移動してください。
$ source /home/kmc/petalinux/settings.sh
$ petalinux-create -t project -s xilinx-zcu102-v2018.2-final.bsp
$ cd xilinx-zcu102-2018.2
$ LANG=C petalinux-boot --qemu --prebuilt 3
これで Linux 上で Peta Linux がマルチアーキテクチャ構成でブートするはずです。表示されるコマンドラインを参考にします。

〇 Windows 環境で実行

以下では samba で /home/kmc を U: ドライブにマウントしていると仮定します。また、C:\tmp\qemu というテンポラリファイル用フォルダを作成済みとします。
コマンドプロンプトを 2 つ立ち上げ、それぞれで以下のようなバッチファイルを実行します。先に起動する PMU ターゲットがサーバになります。
set QEMUDIR=U:\xilinx\install
set PETADIR=U:\petalinux\work
set TEMPDIR=C:\tmp\qemu


%QEMUDIR%\qemu-system-microblazeel.exe -M microblaze-fdt -display none -kernel %PETADIR%\xilinx-zcu102-2018.2\pre-built\linux\images\pmu_rom_qemu_sha3.elf -device loader,file=%PETADIR%\xilinx-zcu102-2018.2\pre-built\linux\images\pmufw.elf -hw-dtb %PETADIR%\xilinx-zcu102-2018.2\images\linux\zynqmp-qemu-multiarch-pmu.dtb -machine-path %TEMPDIR% -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4 -global remote-port.chardesc=tcp:127.0.0.1:4000,server
set QEMUDIR=U:\xilinx\install
set PETADIR=U:\petalinux\work
set TEMPDIR=C:\tmp\qemu

%QEMUDIR%\\qemu-system-aarch64.exe -M arm-generic-fdt -serial mon:stdio -serial null -display none -device loader,file=%PETADIR%\xilinx-zcu102-2018.2\pre-built\linux\images\bl31.elf,cpu-num=0 -device loader,file=%PETADIR%\xilinx-zcu102-2018.2\pre-built\linux\images\Image,addr=0x00080000 -device loader,file=%PETADIR%\xilinx-zcu102-2018.2\pre-built\linux\images\system.dtb,addr=0x1407f000 -device loader,file=%PETADIR%\xilinx-zcu102-2018.2\build\misc\linux-boot\linux-boot.elf -gdb tcp::9000 -dtb %PETADIR%\xilinx-zcu102-2018.2\pre-built\linux\images\system.dtb -hw-dtb %PETADIR%\xilinx-zcu102-2018.2\images\linux\zynqmp-qemu-multiarch-arm.dtb -machine-path %TEMPDIR% -global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true  -m 4G -global remote-port.chardesc=tcp:127.0.0.1:4000
立ち上がるまでかなり時間がかかります。ログインプロンプトが出たら root/root でログインできます。終了方法は poweroff で、poweroff 後も自動で QEMU が終了しないので Ctrl + c で強制終了しています。
PMU Firmware 2018.2     Jun 15 2018   04:19:50
PMU_ROM Version: xpbr-v8.1.0-0
NOTICE:  ATF running on XCZUUNKN/QEMU v1/RTL0.0 at 0xfffea000
NOTICE:  BL31: Secure code at 0x60000000
NOTICE:  BL31: Non secure code at 0x10080000
NOTICE:  BL31: v1.4(release):xilinx-v2018.1-4-g93a69a5a
NOTICE:  BL31: Built : 10:09:42, Jun 15 2018
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0-xilinx-v2018.2 (oe-user@oe-host) (gcc version 7.2.0 (GCC)) #2 SMP Fri Jun 15 04:20:58 MDT 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: ZynqMP ZCU102 Rev1.0
[    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 0x000000006fc00000
[    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] percpu: Embedded 21 pages/cpu @ffffffc87ff64000 s46488 r8192 d31336 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1033987
[    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 0x6bc00000-0x6fc00000] (64MB) mapped at [ffffffc06bc00000-ffffffc06fbfffff]
[    0.000000] Memory: 3667536K/4193280K available (9980K kernel code, 644K rwdata, 3128K rodata, 117440K init, 2168K bss, 263600K 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 - 0xffffff8008a40000   (  9984 KB)
[    0.000000]     .rodata : 0xffffff8008a40000 - 0xffffff8008d60000   (  3200 KB)
[    0.000000]       .init : 0xffffff8008d60000 - 0xffffff8010010000   (117440 KB)
[    0.000000]       .data : 0xffffff8010010000 - 0xffffff80100b1200   (   645 KB)
[    0.000000]        .bss : 0xffffff80100b1200 - 0xffffff80102cf2b0   (  2169 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]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 50.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
[    0.000805] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
[    0.048142] Console: colour dummy device 80x25
[    0.052077] console [tty0] enabled
[    0.055696] bootconsole [cdns0] disabled
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0-xilinx-v2018.2 (oe-user@oe-host) (gcc version 7.2.0 (GCC)) #2 SMP Fri Jun 15 04:20:58 MDT 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: ZynqMP ZCU102 Rev1.0
[    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 0x000000006fc00000
[    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] percpu: Embedded 21 pages/cpu @ffffffc87ff64000 s46488 r8192 d31336 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1033987
[    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 0x6bc00000-0x6fc00000] (64MB) mapped at [ffffffc06bc00000-ffffffc06fbfffff]
[    0.000000] Memory: 3667536K/4193280K available (9980K kernel code, 644K rwdata, 3128K rodata, 117440K init, 2168K bss, 263600K 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 - 0xffffff8008a40000   (  9984 KB)
[    0.000000]     .rodata : 0xffffff8008a40000 - 0xffffff8008d60000   (  3200 KB)
[    0.000000]       .init : 0xffffff8008d60000 - 0xffffff8010010000   (117440 KB)
[    0.000000]       .data : 0xffffff8010010000 - 0xffffff80100b1200   (   645 KB)
[    0.000000]        .bss : 0xffffff80100b1200 - 0xffffff80102cf2b0   (  2169 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]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 50.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
[    0.000805] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
[    0.048142] Console: colour dummy device 80x25
[    0.052077] console [tty0] enabled
[    0.055696] bootconsole [cdns0] disabled
[    0.060993] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000)
[    0.061820] pid_max: default: 32768 minimum: 301
[    0.070600] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.071069] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.193567] ASID allocator initialised with 65536 entries
[    0.197883] Hierarchical SRCU implementation.
[    0.214885] EFI services will not be available.
[    0.247485] zynqmp_plat_init Platform Management API v1.0
[    0.248090] zynqmp_plat_init Trustzone version v1.0
[    0.253949] smp: Bringing up secondary CPUs ...
[    0.565662] Detected VIPT I-cache on CPU1
[    0.568736] CPU1: Booted secondary processor [410fd034]
[    0.857374] Detected VIPT I-cache on CPU2
[    0.858008] CPU2: Booted secondary processor [410fd034]
[    1.186389] Detected VIPT I-cache on CPU3
[    1.187148] CPU3: Booted secondary processor [410fd034]
[    1.188613] smp: Brought up 1 node, 4 CPUs
[    1.189387] SMP: Total of 4 processors activated.
[    1.189837] CPU features: detected feature: 32-bit EL0 Support
[    1.192519] CPU: All CPU(s) started at EL2
[    1.196606] alternatives: patching kernel code
[    1.267096] devtmpfs: initialized
[    1.355206] random: get_random_u32 called from bucket_table_alloc+0x108/0x260 with crng_init=0
[    1.367362] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    1.368497] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    1.443763] xor: measuring software checksum speed
[    1.495950]    8regs     :  2171.000 MB/sec
[    1.550405]    8regs_prefetch:  2574.000 MB/sec
[    1.607930]    32regs    :  2369.000 MB/sec
[    1.665651]    32regs_prefetch:  1385.000 MB/sec
[    1.666247] xor: using function: 8regs_prefetch (2574.000 MB/sec)
[    1.674075] pinctrl core: initialized pinctrl subsystem
[    1.713109] random: fast init done
[    1.745969] NET: Registered protocol family 16
[    1.796480] cpuidle: using governor menu
[    1.803875] vdso: 2 pages (1 code @ ffffff8008a46000, 1 data @ ffffff8010014000)
[    1.805037] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    1.845235] DMA: preallocated 256 KiB pool for atomic allocations
[  114.906559] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed
[  114.929050] ARM CCI_400_r1 PMU driver probed
[  115.042501] zynqmp-pinctrl ff180000.pinctrl: zynqmp pinctrl initialized
[  116.130266] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[  116.235548] raid6: int64x1  gen()   738 MB/s
[  116.324180] raid6: int64x1  xor()   446 MB/s
[  116.409081] raid6: int64x2  gen()  1041 MB/s
[  116.499274] raid6: int64x2  xor()   649 MB/s
[  116.589207] raid6: int64x4  gen()  1414 MB/s
[  116.683143] raid6: int64x4  xor()   141 MB/s
[  116.769468] raid6: int64x8  gen()   198 MB/s
[  116.860402] raid6: int64x8  xor()   155 MB/s
[  116.946653] raid6: neonx1   gen()   672 MB/s
[  117.033038] raid6: neonx1   xor()   160 MB/s
[  117.121926] raid6: neonx2   gen()   560 MB/s
[  117.209335] raid6: neonx2   xor()    97 MB/s
[  117.300482] raid6: neonx4   gen()   940 MB/s
[  117.389329] raid6: neonx4   xor()   203 MB/s
[  117.479149] raid6: neonx8   gen()   746 MB/s
[  117.569196] raid6: neonx8   xor()   144 MB/s
[  117.569411] raid6: using algorithm int64x4 gen() 1414 MB/s
[  117.569591] raid6: .... xor() 141 MB/s, rmw enabled
[  117.570344] raid6: using neon recovery algorithm
[  118.771668] SCSI subsystem initialized
[  118.781311] usbcore: registered new interface driver usbfs
[  118.783110] usbcore: registered new interface driver hub
[  118.784728] usbcore: registered new device driver usb
[  118.787020] media: Linux media interface: v0.10
[  118.787672] Linux video capture interface: v2.00
[  118.789750] pps_core: LinuxPPS API ver. 1 registered
[  118.789911] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[  118.790623] PTP clock support registered
[  118.792112] EDAC MC: Ver: 3.0.0
[  118.807136] zynqmp-ipi ff9905c0.mailbox: Probed ZynqMP IPI Mailbox driver.
[  118.810839] FPGA manager framework
[  118.813730] fpga-region fpga-full: FPGA Region probed
[  118.817800] Advanced Linux Sound Architecture Driver Initialized.
[  118.847740] Bluetooth: Core ver 2.22
[  118.848869] NET: Registered protocol family 31
[  118.849063] Bluetooth: HCI device and connection manager initialized
[  118.850016] Bluetooth: HCI socket layer initialized
[  118.850496] Bluetooth: L2CAP socket layer initialized
[  118.851649] Bluetooth: SCO socket layer initialized
[  118.891921] clocksource: Switched to clocksource arch_sys_counter
[  118.903848] VFS: Disk quotas dquot_6.6.0
[  118.905080] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[  119.017586] NET: Registered protocol family 2
[  119.045602] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[  119.047185] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[  119.049149] TCP: Hash tables configured (established 32768 bind 32768)
[  119.053814] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[  119.054878] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[  119.061820] NET: Registered protocol family 1
[  119.080987] RPC: Registered named UNIX socket transport module.
[  119.081341] RPC: Registered udp transport module.
[  119.081519] RPC: Registered tcp transport module.
[  119.081652] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  125.765743] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[  125.774053] hw perfevents: enabled with armv8_pmuv3 PMU driver, 1 counters available
[  125.789334] audit: initializing netlink subsys (disabled)
[  125.796050] audit: type=2000 audit(14.996:1): state=initialized audit_enabled=0 res=1
[  125.805336] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[  125.834440] NFS: Registering the id_resolver key type
[  125.839532] Key type id_resolver registered
[  125.839964] Key type id_legacy registered
[  125.841202] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[  125.844642] jffs2: version 2.2. (NAND) (SUMMARY)  ツゥ 2001-2006 Red Hat, Inc.
[  126.612054] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[  126.613333] io scheduler noop registered
[  126.613752] io scheduler deadline registered
[  126.614452] io scheduler cfq registered (default)
[  126.614702] io scheduler mq-deadline registered
[  126.614884] io scheduler kyber registered
[  126.760433] hrtimer: interrupt took 14554740 ns
[  126.884716] nwl-pcie fd0e0000.pcie: Link is UP
[  126.886934] OF: PCI: host bridge /amba/pcie@fd0e0000 ranges:
[  126.890511] OF: PCI:   MEM 0xe0000000..0xefffffff -> 0xe0000000
[  126.891703] OF: PCI:   MEM 0x600000000..0x7ffffffff -> 0x600000000
[  126.925173] nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00
[  126.927922] pci_bus 0000:00: root bus resource [bus 00-ff]
[  126.929244] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[  126.929967] pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref]
[  127.220570] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[  127.755459] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[  127.761222] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[  127.765402] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[  127.770088] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[  127.776129] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[  127.780299] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[  127.786663] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[  127.791353] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[  128.060245] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[  128.066456] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[  128.072466] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[  128.078664] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[  128.084828] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[  128.088537] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[  128.092960] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[  128.099504] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[  128.714461] PLL: shutdown
[  129.428776] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[  129.653646] brd: module loaded
[  129.731923] loop: module loaded
[  129.851909] ahci-ceva fd0c0000.ahci: couldn't get PHY in node ahci: -517
[  129.917319] mtdoops: mtd device (mtddev=name/number) must be supplied
[  130.138278] PLL: enable
[  130.946250] m25p80 spi0.0: n25q512a (131072 Kbytes)
[  130.950051] 4 ofpart partitions found on MTD device spi0.0
[  130.950446] Creating 4 MTD partitions on "spi0.0":
[  130.952606] 0x000000000000-0x000001e00000 : "boot"
[  130.968981] 0x000001e00000-0x000001e40000 : "bootenv"
[  130.976887] 0x000001e40000-0x000004240000 : "kernel"
[  130.991744] 0x000004240000-0x000008000000 : "spare"
[  131.027907] libphy: Fixed MDIO Bus: probed
[  131.048109] tun: Universal TUN/TAP device driver, 1.6
[  131.054286] CAN device driver interface
[  135.409329] macb ff0e0000.ethernet: Not enabling partial store and forward
[  135.423778] libphy: MACB_mii_bus: probed
[  136.098533] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x40070106 at 0xff0e0000 irq 31 (00:0a:35:00:22:01)
[  136.099558] Marvell 88E1118 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [Marvell 88E1118] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:0c, irq=POLL)
[  136.109574] usbcore: registered new interface driver asix
[  136.110372] usbcore: registered new interface driver ax88179_178a
[  136.111093] usbcore: registered new interface driver cdc_ether
[  136.111924] usbcore: registered new interface driver net1080
[  136.112615] usbcore: registered new interface driver cdc_subset
[  136.113673] usbcore: registered new interface driver zaurus
[  136.114763] usbcore: registered new interface driver cdc_ncm
[  136.123533] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[  139.190466] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  139.190877] ehci-pci: EHCI PCI platform driver
[  139.197924] usbcore: registered new interface driver uas
[  139.199191] usbcore: registered new interface driver usb-storage
[  139.332950] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[  139.354648] i2c /dev entries driver
[  140.359517] PLL: shutdown
[  141.990679] IR NEC protocol handler initialized
[  141.990962] IR RC5(x/sz) protocol handler initialized
[  141.991160] IR RC6 protocol handler initialized
[  141.991355] IR JVC protocol handler initialized
[  141.991781] IR Sony protocol handler initialized
[  141.991991] IR SANYO protocol handler initialized
[  141.992181] IR Sharp protocol handler initialized
[  141.992503] IR MCE Keyboard/mouse protocol handler initialized
[  141.992710] IR XMP protocol handler initialized
[  142.027028] usbcore: registered new interface driver uvcvideo
[  142.027387] USB Video Class driver (1.1.1)
[  142.177383] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at ffffff801036d000 with timeout 10s
[  142.183792] Bluetooth: HCI UART driver ver 2.3
[  142.184377] Bluetooth: HCI UART protocol H4 registered
[  142.184605] Bluetooth: HCI UART protocol BCSP registered
[  142.186361] Bluetooth: HCI UART protocol LL registered
[  142.186997] Bluetooth: HCI UART protocol ATH3K registered
[  142.187207] Bluetooth: HCI UART protocol Three-wire (H5) registered
[  142.188311] Bluetooth: HCI UART protocol Intel registered
[  142.188532] Bluetooth: HCI UART protocol QCA registered
[  142.189352] usbcore: registered new interface driver bcm203x
[  142.190014] usbcore: registered new interface driver bpa10x
[  142.190710] usbcore: registered new interface driver bfusb
[  142.191386] usbcore: registered new interface driver btusb
[  142.191608] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[  142.192581] usbcore: registered new interface driver ath3k
[  142.196967] EDAC MC: ECC not enabled
[  142.200837] EDAC ZynqMP-OCM: ECC not enabled - Disabling EDAC driver
[  142.232521] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 277750 KHz
[  142.391073] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 299999 KHz
[  142.585162] sdhci: Secure Digital Host Controller Interface driver
[  142.585435] sdhci: Copyright(c) Pierre Ossman
[  142.585607] sdhci-pltfm: SDHCI platform and OF driver helper
[  147.399388] PLL: enable
[  148.229396] mmc0: SDHCI controller on ff170000.sdhci [ff170000.sdhci] using ADMA 64-bit
[  148.598124] PLL: shutdown
[  148.989410] PLL: enable
[  151.242115] ledtrig-cpu: registered to indicate activity on CPUs
[  151.267731] usbcore: registered new interface driver usbhid
[  151.294375] usbhid: USB HID core driver
[  152.339133] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[  152.384079] pktgen: Packet Generator for packet performance testing. Version: 2.75
[  152.397253] Netfilter messages via NETLINK v0.30.
[  152.410873] ip_tables: (C) 2000-2006 Netfilter Core Team
[  152.437637] Initializing XFRM netlink socket
[  152.441972] NET: Registered protocol family 10
[  152.489080] Segment Routing with IPv6
[  152.494176] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  152.509600] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[  152.527092] NET: Registered protocol family 17
[  152.528713] NET: Registered protocol family 15
[  152.531227] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[  152.532627] Ebtables v2.0 registered
[  152.540474] can: controller area network core (rev 20170425 abi 9)
[  152.542291] NET: Registered protocol family 29
[  152.543449] can: raw protocol (rev 20170425)
[  152.543959] can: broadcast manager protocol (rev 20170425 t)
[  152.544510] can: netlink gateway (rev 20170425) max_hops=1
[  152.547245] Bluetooth: RFCOMM TTY layer initialized
[  152.553107] Bluetooth: RFCOMM socket layer initialized
[  152.555112] Bluetooth: RFCOMM ver 1.11
[  152.555854] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  152.556046] Bluetooth: BNEP filters: protocol multicast
[  152.556410] Bluetooth: BNEP socket layer initialized
[  152.556670] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[  152.557062] Bluetooth: HIDP socket layer initialized
[  152.563549] 9pnet: Installing 9P2000 support
[  152.564715] Key type dns_resolver registered
[  152.573686] registered taskstats version 1
[  152.589174] Btrfs loaded, crc32c=crc32c-generic
[  153.390263] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 47, base_baud = 10415625) is a xuartps
[  154.378617] console [ttyPS0] enabled
[  155.078770] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 48, base_baud = 2479910) is a xuartps
[  156.802319] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[  159.448427] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Failed to get required clock freq
[  159.606840] xilinx-dp-snd-codec: probe of fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0 failed with error -22
[  159.660130] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[  159.670987] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[  159.711954] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered
[  159.731367] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[  159.776333] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  159.783664] [drm] No driver support for vblank timestamp query.
[  159.806308] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008af7228)
[  170.653908] Console: switching to colour frame buffer device 128x48
[  170.729125] zynqmp-display fd4a0000.zynqmp-display: fb0:  frame buffer device
[  170.744871] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[  170.752475] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[  171.405589] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes
[  171.449553] ahci-ceva fd0c0000.ahci: AHCI 0001.0000 32 slots 2 ports 1.5 Gbps 0x3 impl platform mode
[  171.456537] ahci-ceva fd0c0000.ahci: flags: 64bit ncq only
[  171.495306] scsi host0: ahci-ceva
[  172.095480] scsi host1: ahci-ceva
[  172.102889] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 45
[  172.111118] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 45
[  172.565560] ata2: SATA link down (SStatus 0 SControl 300)
[  173.378703] ata1: SATA link down (SStatus 0 SControl 300)
[  177.257632] dwc3 fe200000.dwc3: Configuration mismatch. dr_mode forced to gadget
[  177.264535] dwc3 fe200000.dwc3: this is not a DesignWare USB3 DRD Core
[  177.270424] dwc3 fe200000.dwc3: failed to initialize core
[  178.255728] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[  178.272217] pca953x 0-0020: failed reading register
[  178.292143] pca953x: probe of 0-0020 failed with error -11
[  178.299697] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
[  178.309427] pca953x 0-0021: failed reading register
[  178.315698] pca953x: probe of 0-0021 failed with error -11
[  178.353409] ina2xx 3-0040: error configuring the device: -11
[  178.369990] ina2xx 3-0041: error configuring the device: -11
[  178.412202] ina2xx 3-0042: error configuring the device: -11
[  178.450689] ina2xx 3-0043: error configuring the device: -11
[  178.502092] ina2xx 3-0044: error configuring the device: -11
[  178.539820] ina2xx 3-0045: error configuring the device: -11
[  178.574551] ina2xx 3-0046: error configuring the device: -11
[  178.622154] ina2xx 3-0047: error configuring the device: -11
[  178.659821] ina2xx 3-004a: error configuring the device: -11
[  178.699697] ina2xx 3-004b: error configuring the device: -11
[  178.736852] i2c i2c-0: Added multiplexed i2c bus 3
[  178.765725] ina2xx 4-0040: error configuring the device: -11
[  178.805299] ina2xx 4-0041: error configuring the device: -11
[  178.841980] ina2xx 4-0042: error configuring the device: -11
[  178.878199] ina2xx 4-0043: error configuring the device: -11
[  178.914705] ina2xx 4-0044: error configuring the device: -11
[  178.948556] ina2xx 4-0045: error configuring the device: -11
[  178.978215] ina2xx 4-0046: error configuring the device: -11
[  179.008451] ina2xx 4-0047: error configuring the device: -11
[  179.028453] i2c i2c-0: Added multiplexed i2c bus 4
[  179.206970] i2c i2c-0: Added multiplexed i2c bus 5
[  179.241646] i2c i2c-0: Added multiplexed i2c bus 6
[  179.262396] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[  179.296388] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 33
[  180.325362] at24 7-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[  180.352067] i2c i2c-1: Added multiplexed i2c bus 7
[  180.376398] i2c i2c-1: Added multiplexed i2c bus 8
[  180.428468] si570: probe of 9-005d failed with error -11
[  180.470972] i2c i2c-1: Added multiplexed i2c bus 9
[  180.501549] si570: probe of 10-005d failed with error -11
[  180.529258] i2c i2c-1: Added multiplexed i2c bus 10
[  180.555697] i2c i2c-1: Added multiplexed i2c bus 11
[  180.576889] i2c i2c-1: Added multiplexed i2c bus 12
[  180.607130] i2c i2c-1: Added multiplexed i2c bus 13
[  180.845567] i2c i2c-1: Added multiplexed i2c bus 14
[  180.866031] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[  180.899966] i2c i2c-1: Added multiplexed i2c bus 15
[  180.927048] i2c i2c-1: Added multiplexed i2c bus 16
[  180.951623] i2c i2c-1: Added multiplexed i2c bus 17
[  180.983420] i2c i2c-1: Added multiplexed i2c bus 18
[  181.010027] i2c i2c-1: Added multiplexed i2c bus 19
[  181.031491] i2c i2c-1: Added multiplexed i2c bus 20
[  181.050248] i2c i2c-1: Added multiplexed i2c bus 21
[  181.070263] i2c i2c-1: Added multiplexed i2c bus 22
[  181.091000] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[  181.110016] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 34
[  181.181171] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered
[  181.238711] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[  181.277055] rtc_zynqmp ffa60000.rtc: setting system clock to 2019-04-18 01:31:37 UTC (1555551097)
[  181.302542] clk: Not disabling unused clocks
[  181.351412] ALSA device list:
[  181.369326]   No soundcards found.
[  181.389198] Warning: unable to open an initial console.
[  181.392446] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered
[  182.164673] Freeing unused kernel memory: 117440K
[  189.308492] udevd[1832]: starting version 3.2.2
[  189.670039] udevd[1833]: starting eudev-3.2.2
[  192.308260] mali: loading out-of-tree module taints kernel.
[  195.008472] mali-utgard: probe of fd4b0000.gpu failed with error -14
[  262.341115] pps pps0: new PPS source ptp0
[  262.380601] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
[  262.423066] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  263.665385] macb ff0e0000.ethernet eth0: link up (100/Full)
[  263.696523] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

PetaLinux 2018.2 xilinx-zcu102-2018_2 /dev/ttyPS0

xilinx-zcu102-2018_2 login: root


kmckk at 11:53コメント(0)qemu | 若槻 

コメントする

名前
 
  絵文字
 
 
記事検索
最新コメント
「最新トラックバック」は提供を終了しました。
アクセスカウンター
  • 今日:
  • 昨日:
  • 累計:

QRコード
QRコード