FC2カウンター FPGAの部屋 Ultra96-V2 に ikwzm/ZynqMP-FPGA-Linux をインストール2(無線LANへの接続とデバイス・ドライバのインストール)
fc2ブログ

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

FPGAの部屋

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

Ultra96-V2 に ikwzm/ZynqMP-FPGA-Linux をインストール2(無線LANへの接続とデバイス・ドライバのインストール)

Ultra96-V2 に ikwzm/ZynqMP-FPGA-Linux をインストール1”の続き。

前回は、MicroSD カードにファイルをコピーして、Ultra96-V2 で Debian を起動した。今回は、そのDebian を無線LANに接続し、デバイス・ドライバのパッケージをインストールしてみよう。

なお、”UltraZed/Ultra96/Ultra96-V2 向け Debian GNU/Linux (v2019.1版) ブートイメージの提供”を引用させて頂いている。

wpa_passphrase 自分のSSID パスワード
を入れて、暗号化したアクセスキーを作成する。
Ultra96V2_42_190806.png

/etc/network/interfaces.d/ ディレクトリに行って、wlan0 を作成する。
cd /etc/network/interfaces.d/
sudo vi wlan0

Ultra96V2_43_190806.png

auto  wlan0
iface wlan0 inet dhcp
    wpa-ssid 自分のSSID
    wpa-psk 暗号化したアクセスキー


を入力した。
Ultra96V2_44_190806.png

リブートして、
sudo reboot
再起動してから
ip addr show
をすると、wlan0 にIP アドレスが割り振られていた。
Ultra96V2_45_190806.png

ssh IPアドレス -X -l fpga
で、SSH でUltra96-V2 のDebian にログインしようとしたが、RSA key の関係でログインできなかった。
Ultra96V2_46_190806.png

画面に書いてあるとおりに、
ssh-keygen -f "/home/masaaki/.ssh/known_hosts" -R "IPアドレス"
を実行してから、もう一度、
ssh IPアドレス -X -l fpga
を実行した。
Ultra96V2_47_190806.png

無線LANがつながって、SSH 接続できるようになったので、次は、デバイス・ドライバのパッケージをインストールする。

まずは、debian ディレクトリに入った。
cd debain

Linux Image Package のインストール
sudo dpkg -i linux-image-4.19.0-xlnx-v2019.1-zynqmp-fpga_4.19.0-xlnx-v2019.1-zynqmp-fpga-2_arm64.deb
Ultra96V2_48_190808.png

Linux Header Package のインストール
sudo dpkg -i linux-headers-4.19.0-xlnx-v2019.1-zynqmp-fpga_4.19.0-xlnx-v2019.1-zynqmp-fpga-2_arm64.deb
Ultra96V2_49_190808.png

fclkcfg デバイスドライバ&サービスのインストール
sudo dpkg -i fclkcfg-4.19.0-xlnx-v2019.1-zynqmp-fpga_1.1.0-1_arm64.deb
Ultra96V2_50_190808.png

udmabuf デバイスドライバ&サービスのインストール
sudo dpkg -i udmabuf-4.19.0-xlnx-v2019.1-zynqmp-fpga_1.4.2-0_arm64.deb
Ultra96V2_51_190808.png

最後に無線LAN有効時の起動ログを貼っておく

PMUFW:  v1.1


U-Boot 2019.01 (Jul 21 2019 - 00:29:10 +0900)

Model: Avnet Ultra96 Rev1
Board: Xilinx ZynqMP
DRAM:  2 GiB
EL Level:   EL2
Chip ID:    zu3eg
MMC:   mmc@ff160000: 0, mmc@ff170000: 1
In:    serial@ff010000
Out:   serial@ff010000
Err:   serial@ff010000
Bootmode: SD_MODE
Reset reason:   SOFT 
Net:   No ethernet found.
626 bytes read in 9 ms (67.4 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...










  *** U-Boot Boot Menu ***

     Boot Default
     U-Boot console


  Press UP/DOWN to move, ENTER to select
























switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Card did not respond to voltage select!
starting USB...
USB0:   Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device

Device 1: unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-zynqmp
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
!!!
!!! Booting cmd is deprecated (will be removed in 2020).
!!! Please move to distro bootcmd.
!!!
switch to partitions #0, OK
mmc0 is current device
Device: mmc@ff160000
Manufacturer ID: 58
OEM: 4444
Name: DDINC 
Bus Speed: 15000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.9 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
Running uenvcmd ...
16110080 bytes read in 2540 ms (6 MiB/s)
41407 bytes read in 21 ms (1.9 MiB/s)
## Flattened Device Tree blob at 04000000
   Booting using the fdt blob at 0x4000000
   Loading Device Tree to 000000000fff2000, end 000000000ffff1be ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.0-xlnx-v2019.1-zynqmp-fpga (ichiro@Jabberwock) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04)) #3 SMP Thu Jul 25 06:32:25 DST 2019
[    0.000000] Machine model: Avnet Ultra96-V2 Rev1
[    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.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0xa8/0x414 with crng_init=0
[    0.000000] percpu: Embedded 22 pages/cpu @(____ptrval____) s52504 r8192 d29416 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 517120
[    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait uio_pdrv_genirq.of_id=generic-uio
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1786316K/2097152K available (11004K kernel code, 628K rwdata, 3252K rodata, 832K init, 315K bss, 48692K reserved, 262144K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[    0.000003] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.000274] Console: colour dummy device 80x25
[    0.000303] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.000312] pid_max: default: 32768 minimum: 301
[    0.000441] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000456] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.001399] ASID allocator initialised with 32768 entries
[    0.001457] rcu: Hierarchical SRCU implementation.
[    0.001779] EFI services will not be available.
[    0.001923] smp: Bringing up secondary CPUs ...
[    0.002252] Detected VIPT I-cache on CPU1
[    0.002292] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002645] Detected VIPT I-cache on CPU2
[    0.002665] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.002979] Detected VIPT I-cache on CPU3
[    0.002999] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.003044] smp: Brought up 1 node, 4 CPUs
[    0.003060] SMP: Total of 4 processors activated.
[    0.003066] CPU features: detected: 32-bit EL0 Support
[    0.005325] CPU: All CPU(s) started at EL2
[    0.005340] alternatives: patching kernel code
[    0.006667] devtmpfs: initialized
[    0.011694] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.011715] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.018156] xor: measuring software checksum speed
[    0.057420]    8regs     :  2303.000 MB/sec
[    0.097451]    8regs_prefetch:  2053.000 MB/sec
[    0.137481]    32regs    :  2831.000 MB/sec
[    0.177511]    32regs_prefetch:  2456.000 MB/sec
[    0.177515] xor: using function: 32regs (2831.000 MB/sec)
[    0.177529] pinctrl core: initialized pinctrl subsystem
[    0.178431] NET: Registered protocol family 16
[    0.178803] audit: initializing netlink subsys (disabled)
[    0.178893] audit: type=2000 audit(0.176:1): state=initialized audit_enabled=0 res=1
[    0.179470] cpuidle: using governor menu
[    0.179617] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.179625] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.180544] DMA: preallocated 256 KiB pool for atomic allocations
[    0.194151] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.261790] raid6: int64x1  gen()   448 MB/s
[    0.329789] raid6: int64x1  xor()   439 MB/s
[    0.397872] raid6: int64x2  gen()   682 MB/s
[    0.465889] raid6: int64x2  xor()   601 MB/s
[    0.533917] raid6: int64x4  gen()  1039 MB/s
[    0.601966] raid6: int64x4  xor()   761 MB/s
[    0.670005] raid6: int64x8  gen()   982 MB/s
[    0.738059] raid6: int64x8  xor()   749 MB/s
[    0.806103] raid6: neonx1   gen()   728 MB/s
[    0.874171] raid6: neonx1   xor()   848 MB/s
[    0.942226] raid6: neonx2   gen()  1165 MB/s
[    1.010266] raid6: neonx2   xor()  1197 MB/s
[    1.078326] raid6: neonx4   gen()  1503 MB/s
[    1.146386] raid6: neonx4   xor()  1432 MB/s
[    1.214438] raid6: neonx8   gen()  1663 MB/s
[    1.282492] raid6: neonx8   xor()  1529 MB/s
[    1.282497] raid6: using algorithm neonx8 gen() 1663 MB/s
[    1.282501] raid6: .... xor() 1529 MB/s, rmw enabled
[    1.282506] raid6: using neon recovery algorithm
[    1.283540] SCSI subsystem initialized
[    1.283786] usbcore: registered new interface driver usbfs
[    1.283827] usbcore: registered new interface driver hub
[    1.283876] usbcore: registered new device driver usb
[    1.283952] media: Linux media interface: v0.10
[    1.283981] videodev: Linux video capture interface: v2.00
[    1.284013] pps_core: LinuxPPS API ver. 1 registered
[    1.284017] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.284035] PTP clock support registered
[    1.284066] EDAC MC: Ver: 3.0.0
[    1.284663] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.
[    1.284895] FPGA manager framework
[    1.285065] Advanced Linux Sound Architecture Driver Initialized.
[    1.285442] Bluetooth: Core ver 2.22
[    1.285469] NET: Registered protocol family 31
[    1.285473] Bluetooth: HCI device and connection manager initialized
[    1.285485] Bluetooth: HCI socket layer initialized
[    1.285492] Bluetooth: L2CAP socket layer initialized
[    1.285511] Bluetooth: SCO socket layer initialized
[    1.285933] clocksource: Switched to clocksource arch_sys_counter
[    1.286033] VFS: Disk quotas dquot_6.6.0
[    1.286087] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.291478] NET: Registered protocol family 2
[    1.291915] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[    1.291942] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.292049] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    1.292380] TCP: Hash tables configured (established 16384 bind 16384)
[    1.292475] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    1.292517] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    1.292658] NET: Registered protocol family 1
[    1.292917] RPC: Registered named UNIX socket transport module.
[    1.292922] RPC: Registered udp transport module.
[    1.292926] RPC: Registered tcp transport module.
[    1.292930] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.293777] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    1.294337] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.295293] Initialise system trusted keyrings
[    1.295394] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[    1.296195] NFS: Registering the id_resolver key type
[    1.296208] Key type id_resolver registered
[    1.296213] Key type id_legacy registered
[    1.296224] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.296242] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    2.372694] NET: Registered protocol family 38
[    2.429188] Key type asymmetric registered
[    2.429195] Asymmetric key parser 'x509' registered
[    2.429250] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.429258] io scheduler noop registered
[    2.429263] io scheduler deadline registered
[    2.429311] io scheduler cfq registered (default)
[    2.429316] io scheduler mq-deadline registered
[    2.429321] io scheduler kyber registered
[    2.460296] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.463380] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.468877] brd: module loaded
[    2.474237] loop: module loaded
[    2.475059] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.476508] libphy: Fixed MDIO Bus: probed
[    2.477972] tun: Universal TUN/TAP device driver, 1.6
[    2.478177] CAN device driver interface
[    2.479040] usbcore: registered new interface driver asix
[    2.479091] usbcore: registered new interface driver ax88179_178a
[    2.479121] usbcore: registered new interface driver cdc_ether
[    2.479156] usbcore: registered new interface driver net1080
[    2.479188] usbcore: registered new interface driver cdc_subset
[    2.479218] usbcore: registered new interface driver zaurus
[    2.479261] usbcore: registered new interface driver cdc_ncm
[    2.480423] usbcore: registered new interface driver uas
[    2.480470] usbcore: registered new interface driver usb-storage
[    2.481112] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[    2.481178] i2c /dev entries driver
[    2.482594] usbcore: registered new interface driver uvcvideo
[    2.482599] USB Video Class driver (1.1.1)
[    2.483190] Bluetooth: HCI UART driver ver 2.3
[    2.483201] Bluetooth: HCI UART protocol H4 registered
[    2.483206] Bluetooth: HCI UART protocol BCSP registered
[    2.483235] Bluetooth: HCI UART protocol LL registered
[    2.483240] Bluetooth: HCI UART protocol ATH3K registered
[    2.483266] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.483312] Bluetooth: HCI UART protocol Intel registered
[    2.483336] Bluetooth: HCI UART protocol QCA registered
[    2.483377] usbcore: registered new interface driver bcm203x
[    2.483414] usbcore: registered new interface driver bpa10x
[    2.483456] usbcore: registered new interface driver bfusb
[    2.483493] usbcore: registered new interface driver btusb
[    2.483498] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    2.483558] usbcore: registered new interface driver ath3k
[    2.483675] EDAC MC: ECC not enabled
[    2.483890] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    2.484719] sdhci: Secure Digital Host Controller Interface driver
[    2.484723] sdhci: Copyright(c) Pierre Ossman
[    2.484727] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.485095] ledtrig-cpu: registered to indicate activity on CPUs
[    2.485148] zynqmp_firmware_probe Platform Management API v1.1
[    2.485155] zynqmp_firmware_probe Trustzone version v1.0
[    2.488304] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
[    2.510144] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22
[    2.510686] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    2.510704] zynqmp_aes zynqmp_aes: AES Successfully Registered
[    2.510704] 
[    2.510892] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    2.511055] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    2.511301] usbcore: registered new interface driver usbhid
[    2.511306] usbhid: USB HID core driver
[    2.513320] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    2.513719] usbcore: registered new interface driver snd-usb-audio
[    2.514646] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    2.515113] Initializing XFRM netlink socket
[    2.515214] NET: Registered protocol family 10
[    2.515676] Segment Routing with IPv6
[    2.515783] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.516194] NET: Registered protocol family 17
[    2.516207] NET: Registered protocol family 15
[    2.516226] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.516280] can: controller area network core (rev 20170425 abi 9)
[    2.516319] NET: Registered protocol family 29
[    2.516325] can: raw protocol (rev 20170425)
[    2.516331] can: broadcast manager protocol (rev 20170425 t)
[    2.516338] can: netlink gateway (rev 20170425) max_hops=1
[    2.516744] Bluetooth: RFCOMM TTY layer initialized
[    2.516761] Bluetooth: RFCOMM socket layer initialized
[    2.516785] Bluetooth: RFCOMM ver 1.11
[    2.516794] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.516798] Bluetooth: BNEP filters: protocol multicast
[    2.516805] Bluetooth: BNEP socket layer initialized
[    2.516810] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.516817] Bluetooth: HIDP socket layer initialized
[    2.516946] 9pnet: Installing 9P2000 support
[    2.516975] Key type dns_resolver registered
[    2.517466] registered taskstats version 1
[    2.517471] Loading compiled-in X.509 certificates
[    2.517855] Btrfs loaded, crc32c=crc32c-generic
[    2.525892] ff000000.serial: ttyPS1 at MMIO 0xff000000 (irq = 24, base_baud = 6249999) is a xuartps
[    2.526695] ff010000.serial: ttyPS0 at MMIO 0xff010000 (irq = 25, base_baud = 6249999) is a xuartps
[    3.757515] console [ttyPS0] enabled
[    3.761996] of-fpga-region fpga-full: FPGA Region probed
[    3.768331] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    3.775088] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[    3.785334] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[    3.796033] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    3.804069] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    3.812967] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[    3.825473] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[    3.838246] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[    3.848459] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[    3.855524] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.862131] [drm] No driver support for vblank timestamp query.
[    3.868126] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008bfca20)
[    4.047473] Console: switching to colour frame buffer device 240x67
[    4.070372] zynqmp-display fd4a0000.zynqmp-display: fb0:  frame buffer device
[    4.077787] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[    4.085903] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[    4.096835] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    4.103385] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    4.109877] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    4.116369] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    4.124487] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[    4.130542] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_locked:yes
[    4.144082] dwc3 fe300000.dwc3: Failed to get clk 'ref': -2
[    4.150066] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:1 protocol:3 pll_locked:yes
[    4.160227] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.165722] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    4.174243] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000202010010
[    4.183671] xhci-hcd xhci-hcd.0.auto: irq 33, io mem 0xfe300000
[    4.189841] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    4.198106] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.205322] usb usb1: Product: xHCI Host Controller
[    4.210195] usb usb1: Manufacturer: Linux 4.19.0-xlnx-v2019.1-zynqmp-fpga xhci-hcd
[    4.217762] usb usb1: SerialNumber: xhci-hcd.0.auto
[    4.222985] hub 1-0:1.0: USB hub found
[    4.226751] hub 1-0:1.0: 1 port detected
[    4.230886] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.236369] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    4.244026] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    4.250676] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.258843] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    4.267101] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.274318] usb usb2: Product: xHCI Host Controller
[    4.279189] usb usb2: Manufacturer: Linux 4.19.0-xlnx-v2019.1-zynqmp-fpga xhci-hcd
[    4.286748] usb usb2: SerialNumber: xhci-hcd.0.auto
[    4.291883] hub 2-0:1.0: USB hub found
[    4.295651] hub 2-0:1.0: 1 port detected
[    4.301376] i2c i2c-0: Added multiplexed i2c bus 2
[    4.306314] i2c i2c-0: Added multiplexed i2c bus 3
[    4.311237] i2c i2c-0: Added multiplexed i2c bus 4
[    4.316152] i2c i2c-0: Added multiplexed i2c bus 5
[    4.321653] tps65086 6-005e: Failed to read revision register
[    4.327494] i2c i2c-0: Added multiplexed i2c bus 6
[    4.332897] ina2xx 7-0040: error configuring the device: -6
[    4.338505] i2c i2c-0: Added multiplexed i2c bus 7
[    4.343443] i2c i2c-0: Added multiplexed i2c bus 8
[    4.348378] i2c i2c-0: Added multiplexed i2c bus 9
[    4.353167] pca954x 0-0075: registered 8 multiplexed busses for I2C switch pca9548
[    4.360760] cdns-i2c ff030000.i2c: 100 kHz mmio ff030000 irq 14
[    4.367603] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at (____ptrval____) with timeout 60s
[    4.409203] mmc0: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit
[    4.453935] mmc1: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    4.465518] mmc0: new high speed SDHC card at address 5048
[    4.471747] mmcblk0: mmc0:5048 DDINC 14.9 GiB 
[    4.480214] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.487308] rtc_zynqmp ffa60000.rtc: setting system clock to 1970-01-01 00:14:15 UTC (855)
[    4.495571] of_cfs_init
[    4.498038] of_cfs_init: OK
[    4.500980] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.510338]  mmcblk0: p1 p2
[    4.525838] random: fast init done
[    4.529613] mmc1: new high speed SDIO card at address 0001
[    4.536926] wifi_pm : 0
[    4.539376] wifi_pm : 1
[    4.541943] wilc_sdio mmc1:0001:1: Driver Initializing success
[    4.640217] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.646758] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    4.646897] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
[    4.661656] ALSA device list:
[    4.664615]   #0: DisplayPort monitor
[    4.668840] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    4.677477] cfg80211: failed to load regulatory.db
[    4.682583] usb 2-1: New USB device found, idVendor=0424, idProduct=5744, bcdDevice= 2.05
[    4.690768] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[    4.697893] usb 2-1: Product: USB5744
[    4.700075] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[    4.701548] usb 2-1: Manufacturer: Microchip Tech
[    4.721450] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.729569] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    4.743064] devtmpfs: mounted
[    4.746326] Freeing unused kernel memory: 832K
[    4.746840] hub 2-1:1.0: USB hub found
[    4.754581] hub 2-1:1.0: 3 ports detected
[    4.770021] Run /sbin/init as init process
[    4.813953] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    4.970763] usb 1-1: New USB device found, idVendor=0424, idProduct=2744, bcdDevice= 2.05
[    4.978942] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.986071] usb 1-1: Product: USB2744
[    4.989726] usb 1-1: Manufacturer: Microchip Tech
[    5.051002] hub 1-1:1.0: USB hub found
[    5.054884] hub 1-1:1.0: 4 ports detected
[    5.401962] usb 1-1.4: new high-speed USB device number 3 using xhci-hcd
[    5.489896] systemd[1]: System time before build time, advancing clock.
[    5.506672] usb 1-1.4: New USB device found, idVendor=0424, idProduct=2740, bcdDevice= 2.00
[    5.515026] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.522327] usb 1-1.4: Product: Hub Controller
[    5.526767] usb 1-1.4: Manufacturer: Microchip Tech
[    5.532771] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    5.554542] systemd[1]: Detected architecture arm64.

Welcome to Debian GNU/Linux 10 (buster)!

[    5.574696] systemd[1]: Set hostname to <debian-fpga>.
[    5.580550] Interface is neither WLAN0 nor P2P0
[    5.807264] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    5.824361] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    5.983265] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
[    6.007004] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
[    6.057264] random: systemd: uninitialized urandom read (16 bytes read)
[    6.069149] random: systemd: uninitialized urandom read (16 bytes read)
[    6.076067] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    6.098046] random: systemd: uninitialized urandom read (16 bytes read)
[    6.105124] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.126177] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on Journal Socket.
         Starting Nameserver information manager...
         Mounting POSIX Message Queue File System...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Listening on Syslog Socket.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
         Starting Load Kernel Modules...
         Mounting Huge Pages File System...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
         Mounting Kernel Debug File System...
[  OK  ] Reached target Swap.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Nameserver information manager.
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
         Starting Create System Users...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[    6.809227] systemd-journald[2028]: Received request to flush runtime journal from PID 1
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create System Users.
[  OK  ] Started udev Coldplug all Devices.
         Starting Helper to synchronize boot up for ifupdown...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /config...
[  OK  ] Mounted /config.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target Sound Card.
[  OK  ] Found device /dev/ttyPS0.
[  OK  ] Started Helper to synchronize boot up for ifupdown.
[  OK  ] Found device /dev/mmcblk0p1.
         Mounting /mnt/boot...
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Mounted /mnt/boot.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Raise network interfaces...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Login Service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
         Starting System Logging Service...
         Starting Avahi mDNS/DNS-SD Stack...
[   10.549882] random: crng init done
[   10.553300] random: 7 urandom warning(s) missed due to ratelimiting
[   13.092773] WILC POWER UP
[   13.095425] wilc_sdio mmc1:0001:1: SDIO speed: 50000000
[   13.102051] wilc_sdio mmc1:0001:1: chipid 003000d0
[  OK  ] Started System Logging Service.
[  OK  ] Started Login Service.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   15.652365] NOHZ: local_softirq_pending 08
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting Network Time Service...
         Starting Permit User Sessions...
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
         Starting Samba NMB Daemon...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Network Time Service.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyPS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Samba NMB Daemon.
         Starting Samba SMB Daemon...
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 10 debian-fpga ttyPS0

debian-fpga login: fpga
fpPassword: 
Last login: Thu Feb 14 19:12:22 JST 2019 on ttyPS0
Linux debian-fpga 4.19.0-xlnx-v2019.1-zynqmp-fpga #3 SMP Thu Jul 25 06:32:25 DST 2019 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
fpga@debian-fpga:~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether f8:f0:05:c4:17:3c brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.35/24 brd 192.168.3.255 scope global dynamic wlan0
       valid_lft 86379sec preferred_lft 86379sec
    inet6 2400:2411:c841:f700:faf0:5ff:fec4:173c/64 scope global dynamic mngtmpaddr 
       valid_lft 86366sec preferred_lft 14366sec
    inet6 fe80::faf0:5ff:fec4:173c/64 scope link 
       valid_lft forever preferred_lft forever
4: p2p0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
fpga@debian-fpga:~$ 

  1. 2019年08月08日 04:41 |
  2. Ultra96
  3. | トラックバック:0
  4. | コメント:0

コメント

コメントの投稿


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

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