element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design Booting Ultra96v2 kernel in qemu
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 345 subscribers
  • Views 2108 views
  • Users 0 members are here
  • ultra96
Related

Booting Ultra96v2 kernel in qemu

helmotz
helmotz over 5 years ago

Hello to everybody,

I'm experimenting with the vitis 2019.2 flow on my ultra96v2.

I downloaded the petalinux, hdl, bdf and vitis projects and I created the hardware project, the bsp and the sdk simply going in vitis and using the Makefile.

After I went to the petalinux project and I used petalinux-build to create qemu dtb files.

Finally I created an image with two partitions: a vfat partition and an ext3 partition.

I put image.ub in the first partition and I expanded rootfs.tar.gz in the ext3 partition.

The name of the image is image.img .

Then I tried to boot qemu with the command:

 

petalinux-boot --qemu --u-boot --qemu-args "-sd ./image.img -m 2G"

 

I get the following output:

 

INFO: sourcing build tools

INFO: No DTB has been specified, use the default one "/home/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/images/linux/system.dtb".

INFO: No DTB has been specified, use the default one "/home/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/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/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/pre-built/linux/images/pmu_rom_qemu_sha3.elf -device loader,file=/home/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/images/linux/pmufw.elf      -hw-dtb /mnt/old_root/storage/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/images/linux/zynqmp-qemu-multiarch-pmu.dtb -machine-path /tmp/tmp.kAL4rJ7rxf -device loader,addr=0xfd1a0074,data=0x1011003,data-len=4 -device loader,addr=0xfd1a007C,data=0x1010f03,data-len=4

qemu-system-microblazeel: Failed to connect socket /tmp/tmp.kAL4rJ7rxf/qemu-rport-_pmu@0: No such file or directory

qemu-system-microblazeel: info: QEMU waiting for connection on: disconnected:unix:/tmp/tmp.kAL4rJ7rxf/qemu-rport-_pmu@0,server

INFO: Set QEMU tftp to /mnt/old_root/storage/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/images/linux

INFO: TCP PORT is free

INFO: Starting aarch64 QEMU

INFO:  qemu-system-aarch64 -M arm-generic-fdt   -serial /dev/null -serial mon:stdio -serial /dev/null -serial /dev/null -display none -device loader,file=/home/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/images/linux/bl31.elf,cpu-num=0 -device loader,file=/home/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/images/linux/u-boot.elf -gdb tcp::9000 -dtb /home/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/images/linux/system.dtb    -hw-dtb /mnt/old_root/storage/fchirico/Workspaces/petalinux/projects/ultra96v2_oob_2019_2/images/linux/zynqmp-qemu-multiarch-arm.dtb -machine-path /tmp/tmp.kAL4rJ7rxf -global xlnx,zynqmp-boot.cpu-num=0 -global xlnx,zynqmp-boot.use-pmufw=true -sd ./image.img -m 2G  

WARNING: Image format was not specified for './image.img' and probing guessed raw.

         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.

         Specify the 'raw' format explicitly to remove the restrictions.

QEMU 2.11.1 monitor - type 'help' for more information

(qemu) audio: Could not init `oss' audio driver

PMU Firmware 2019.2 Apr 28 2020   08:21:48

PMU_ROM Version: xpbr-v8.1.0-0

NOTICE:  ATF running on XCZUUNKN/QEMU v4/RTL0.0 at 0xfffea000

NOTICE:  BL31: Secure code at 0x60000000

NOTICE:  BL31: Non secure code at 0x8000000

NOTICE:  BL31: v2.0(release):xilinx-v2019.1-12-g713dace9

NOTICE:  BL31: Built : 07:52:43, Apr 28 2020

PMUFW: v1.1

 

 

 

 

U-Boot 2019.01 (Apr 28 2020 - 07:51:08 +0000)

 

 

Model: Avnet Ultra96 Rev1

Board: Xilinx ZynqMP

DRAM:  2 GiB

EL Level: EL2

Chip ID: unknown

MMC:   mmc@ff160000: 0, mmc@ff170000: 1

Loading Environment from FAT... *** Warning - bad CRC, using default environment

 

 

In:    serial@ff010000

Out:   serial@ff010000

Err:   serial@ff010000

Model: Avnet Ultra96 Rev1

Board: Xilinx ZynqMP

Bootmode: JTAG_MODE

Reset reason:

Net:   No ethernet found.

U-BOOT for ultra96v2-oob-2019-2

 

 

Hit any key to stop autoboot:  0

Device: mmc@ff160000

Manufacturer ID: aa

OEM: 5859

Name: QEMU!

Bus Speed: 17361111

Mode : SD Legacy

Rd Block Len: 512

SD version 2.0

High Capacity: Yes

Capacity: 9.5 GiB

Bus Width: 4-bit

Erase Group Size: 512 Bytes

18479356 bytes read in 3616 ms (4.9 MiB/s)

## Loading kernel from FIT Image at 10000000 ...

   Using 'conf@system-top.dtb' configuration

   Trying 'kernel@1' kernel subimage

     Description:  Linux kernel

     Type:         Kernel Image

     Compression:  uncompressed

     Data Start:   0x10000108

     Data Size:    18424320 Bytes = 17.6 MiB

     Architecture: AArch64

     OS:           Linux

     Load Address: 0x00080000

     Entry Point:  0x00080000

     Hash algo:    sha1

     Hash value:   e22e3af6cdb6990ceb62b256643993aac64aa7c8

   Verifying Hash Integrity ... sha1+ OK

## Loading fdt from FIT Image at 10000000 ...

   Using 'conf@system-top.dtb' configuration

   Trying 'fdt@system-top.dtb' fdt subimage

     Description:  Flattened Device Tree blob

     Type:         Flat Device Tree

     Compression:  uncompressed

     Data Start:   0x1119240c

     Data Size:    53116 Bytes = 51.9 KiB

     Architecture: AArch64

     Hash algo:    sha1

     Hash value:   a0516993c81365806da480bd793a3b97991fe6a1

   Verifying Hash Integrity ... sha1+ OK

   Booting using the fdt blob at 0x1119240c

   Loading Kernel Image ... OK

   Loading Device Tree to 0000000007ff0000, end 0000000007ffff7b ... OK

 

 

Starting kernel ...

 

 

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

[    0.000000] Linux version 4.19.0-xilinx-v2019.2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Apr 28 07:49:56 UTC 2020

[    0.000000] Machine model: Avnet Ultra96 Rev1

[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff010000 (options '115200n8')

[    0.000000] bootconsole [cdns0] enabled

[    0.000000] efi: Getting EFI parameters from FDT:

[    0.000000] efi: UEFI not found.

[    0.000000] cma: Failed to reserve 1024 MiB

[    0.000000] psci: probing for conduit method from DT.

[    0.000000] psci: PSCIv1.1 detected in firmware.

[    0.000000] psci: Using standard PSCI v0.2 function IDs

[    0.000000] psci: MIGRATE_INFO_TYPE not supported.

[    0.000000] psci: SMC Calling Convention v1.1

[    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3f8 with crng_init=0

[    0.000000] percpu: Embedded 22 pages/cpu @(____ptrval____) s52568 r8192 d29352 u90112

[    0.000000] Detected VIPT I-cache on CPU0

[    0.000000] CPU features: enabling workaround for ARM erratum 843419

[    0.000000] CPU features: enabling workaround for ARM erratum 845719

[    0.000000] Speculative Store Bypass Disable mitigation not required

[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 512771

[    0.000000] Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait

[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

[    0.000000] Memory: 2027500K/2079744K available (10940K kernel code, 648K rwdata, 5504K rodata, 832K init, 514K bss, 52244K reserved, 0K 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] irq-xilinx: /amba/axi-interrupt-ctrl: num_irq=32, edge=0x0

[    0.000000] arch_timer: cp15 timer(s) running at 65.00MHz (phys).

[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xefdb196da, max_idle_ns: 440795204367 ns

[    0.000202] sched_clock: 56 bits at 65MHz, resolution 15ns, wraps every 2199023255550ns

[    0.013867] Console: colour dummy device 80x25

[    0.023762] Calibrating delay loop (skipped), value calculated using timer frequency.. 130.00 BogoMIPS (lpj=260000)

[    0.024576] pid_max: default: 32768 minimum: 301

[    0.032221] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)

[    0.032739] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)

[    0.099192] ASID allocator initialised with 32768 entries

[    0.117509] rcu: Hierarchical SRCU implementation.

[    0.122199] EFI services will not be available.

[    0.125202] smp: Bringing up secondary CPUs ...

[    0.169741] Detected VIPT I-cache on CPU1

[    0.174940] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]

[    0.209901] Detected VIPT I-cache on CPU2

[    0.210788] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]

[    0.259990] Detected VIPT I-cache on CPU3

[    0.260435] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]

[    0.274436] smp: Brought up 1 node, 4 CPUs

[    0.277236] SMP: Total of 4 processors activated.

[    0.277907] CPU features: detected: 32-bit EL0 Support

[    0.298478] CPU: All CPU(s) started at EL2

[    0.304791] alternatives: patching kernel code

[    0.346663] devtmpfs: initialized

[    0.471529] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[    0.473244] futex hash table entries: 1024 (order: 4, 65536 bytes)

[    0.483549] xor: measuring software checksum speed

[    0.543754]    8regs     :  1839.000 MB/sec

[    0.602623]    8regs_prefetch:  1648.000 MB/sec

[    0.655423]    32regs    :  1610.000 MB/sec

[    0.781505]    32regs_prefetch:  1210.000 MB/sec

[    0.782033] xor: using function: 8regs (1839.000 MB/sec)

[    0.782685] pinctrl core: initialized pinctrl subsystem

[    0.851011] NET: Registered protocol family 16

[    0.882233] audit: initializing netlink subsys (disabled)

[    0.897394] audit: type=2000 audit(0.476:1): state=initialized audit_enabled=0 res=1

[    0.923532] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))

[    0.927743] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.

[    0.970593] DMA: preallocated 256 KiB pool for atomic allocations

[    1.445743] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages

[    1.647008] raid6: int64x1  gen()   314 MB/s

[    1.733804] raid6: int64x1  xor()   322 MB/s

[    1.830716] raid6: int64x2  gen()   518 MB/s

[    1.930693] raid6: int64x2  xor()   169 MB/s

[    2.084201] raid6: int64x4  gen()   597 MB/s

[    2.183807] raid6: int64x4  xor()   329 MB/s

[    2.297486] raid6: int64x8  gen()   900 MB/s

[    2.422534] raid6: int64x8  xor()   688 MB/s

[    2.512566] raid6: neonx1   gen()   132 MB/s

[    2.605763] raid6: neonx1   xor()   261 MB/s

[    2.684267] raid6: neonx2   gen()   388 MB/s

[    2.782238] raid6: neonx2   xor()   252 MB/s

[    2.877446] raid6: neonx4   gen()   262 MB/s

[    2.979925] raid6: neonx4   xor()   327 MB/s

[    3.068337] raid6: neonx8   gen()   214 MB/s

[    3.156176] raid6: neonx8   xor()   162 MB/s

[    3.156703] raid6: using algorithm int64x8 gen() 900 MB/s

[    3.157003] raid6: .... xor() 688 MB/s, rmw enabled

[    3.157342] raid6: using neon recovery algorithm

[    3.271880] SCSI subsystem initialized

[    3.354216] usbcore: registered new interface driver usbfs

[    3.355111] usbcore: registered new interface driver hub

[    3.357825] usbcore: registered new device driver usb

[    3.359094] media: Linux media interface: v0.10

[    3.359611] videodev: Linux video capture interface: v2.00

[    3.360511] pps_core: LinuxPPS API ver. 1 registered

[    3.360987] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[    3.365721] PTP clock support registered

[    3.368577] EDAC MC: Ver: 3.0.0

[    3.396404] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.

[    3.409501] FPGA manager framework

[    3.417002] Advanced Linux Sound Architecture Driver Initialized.

[    3.431658] Bluetooth: Core ver 2.22

[    3.458903] NET: Registered protocol family 31

[    3.459263] Bluetooth: HCI device and connection manager initialized

[    3.459946] Bluetooth: HCI socket layer initialized

[    3.460355] Bluetooth: L2CAP socket layer initialized

[    3.461064] Bluetooth: SCO socket layer initialized

[    3.599427] clocksource: Switched to clocksource arch_sys_counter

[    3.601413] VFS: Disk quotas dquot_6.6.0

[    3.604727] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

[    4.013528] NET: Registered protocol family 2

[    4.030228] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)

[    4.031666] TCP established hash table entries: 16384 (order: 5, 131072 bytes)

[    4.033131] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)

[    4.034770] TCP: Hash tables configured (established 16384 bind 16384)

[    4.040123] UDP hash table entries: 1024 (order: 3, 32768 bytes)

[    4.040992] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)

[    4.043351] NET: Registered protocol family 1

[    4.062097] RPC: Registered named UNIX socket transport module.

[    4.067235] RPC: Registered udp transport module.

[    4.071147] RPC: Registered tcp transport module.

[    4.085872] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    4.169944] hw perfevents: no interrupt-affinity property for /pmu, guessing.

[    4.212573] hw perfevents: enabled with armv8_pmuv3 PMU driver, 1 counters available

[    4.252193] Initialise system trusted keyrings

[    4.275948] workingset: timestamp_bits=62 max_order=19 bucket_order=0

[    4.358486] NFS: Registering the id_resolver key type

[    4.377088] Key type id_resolver registered

[    4.377408] Key type id_legacy registered

[    4.377828] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[    4.383044] jffs2: version 2.2. (NAND) Copyright 2001-2006 Red Hat, Inc.

[    7.908569] NET: Registered protocol family 38

[    8.105522] Key type asymmetric registered

[    8.106253] Asymmetric key parser 'x509' registered

[    8.107712] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)

[    8.108824] io scheduler noop registered

[    8.109356] io scheduler deadline registered

[    8.110211] io scheduler cfq registered (default)

[    8.111622] io scheduler mq-deadline registered

[    8.112227] io scheduler kyber registered

[   11.338021] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

[   11.390494] a0010000.serial: ttyS3 at MMIO 0xa0011000 (irq = 83, base_baud = 6250000) is a 16550A

[   11.413829] a0020000.serial: ttyS1 at MMIO 0xa0021000 (irq = 84, base_baud = 6250000) is a 16550A

[   11.711275] brd: module loaded

[   11.833266] loop: module loaded

[   11.852988] mtdoops: mtd device (mtddev=name/number) must be supplied

[   11.897113] libphy: Fixed MDIO Bus: probed

[   11.918523] tun: Universal TUN/TAP device driver, 1.6

[   11.968806] CAN device driver interface

[   11.987243] usbcore: registered new interface driver asix

[   11.987897] usbcore: registered new interface driver ax88179_178a

[   11.988537] usbcore: registered new interface driver cdc_ether

[   11.989123] usbcore: registered new interface driver net1080

[   11.989719] usbcore: registered new interface driver cdc_subset

[   11.990382] usbcore: registered new interface driver zaurus

[   11.991085] usbcore: registered new interface driver cdc_ncm

[   12.005649] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[   12.006492] ehci-pci: EHCI PCI platform driver

[   12.016300] usbcore: registered new interface driver uas

[   12.017907] usbcore: registered new interface driver usb-storage

[   12.026243] gadgetfs: USB Gadget filesystem, version 24 Aug 2004

[   12.045922] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0

[   12.047714] i2c /dev entries driver

[   12.077192] usbcore: registered new interface driver uvcvideo

[   12.078103] USB Video Class driver (1.1.1)

[   12.099837] Bluetooth: HCI UART driver ver 2.3

[   12.100574] Bluetooth: HCI UART protocol H4 registered

[   12.101275] Bluetooth: HCI UART protocol BCSP registered

[   12.104000] Bluetooth: HCI UART protocol LL registered

[   12.104342] Bluetooth: HCI UART protocol ATH3K registered

[   12.104935] Bluetooth: HCI UART protocol Three-wire (H5) registered

[   12.105802] Bluetooth: HCI UART protocol Intel registered

[   12.106360] Bluetooth: HCI UART protocol QCA registered

[   12.107387] usbcore: registered new interface driver bcm203x

[   12.109293] usbcore: registered new interface driver bpa10x

[   12.109792] usbcore: registered new interface driver bfusb

[   12.116670] usbcore: registered new interface driver btusb

[   12.117124] Bluetooth: Generic Bluetooth SDIO driver ver 0.1

[   12.117872] usbcore: registered new interface driver ath3k

[   12.130058] EDAC MC: ECC not enabled

[   12.143934] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)

[   12.149964] EDAC ZynqMP-OCM: ECC not enabled - Disabling EDAC driver

[   12.161130] pwrseq_simple sdio_pwrseq: mmc failed to get default resetn GPIO

[   12.162503] pwrseq_simple sdio_pwrseq: mmc failed to get default chip_en GPIO

[   12.169890] sdhci: Secure Digital Host Controller Interface driver

[   12.170476] sdhci: Copyright(c) Pierre Ossman

[   12.170770] sdhci-pltfm: SDHCI platform and OF driver helper

[   12.211596] ledtrig-cpu: registered to indicate activity on CPUs

[   12.213126] zynqmp_firmware_probe Platform Management API v1.1

[   12.213558] zynqmp_firmware_probe Trustzone version v1.0

[   12.385286] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized

[   12.963856] hrtimer: interrupt took 80963062 ns

[   14.174728] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22

[   14.209558] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)

[   14.213424] zynqmp_aes zynqmp_aes: AES Successfully Registered

[   14.213424]

[   14.218875] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)

[   14.234872] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)

[   14.239778] usbcore: registered new interface driver usbhid

[   14.240093] usbhid: USB HID core driver

[   14.248184] xlnk xlnk: Major 242

[   14.251669] xlnk xlnk: xlnk driver loaded

[   14.252352] xlnk xlnk: xlnk_pdev is not null

[   14.365393] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered

[   14.394184] usbcore: registered new interface driver snd-usb-audio

[   14.444827] pktgen: Packet Generator for packet performance testing. Version: 2.75

[   14.570618] Initializing XFRM netlink socket

[   14.575589] NET: Registered protocol family 10

[   14.625967] Segment Routing with IPv6

[   14.653052] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver

[   14.675096] NET: Registered protocol family 17

[   14.680275] NET: Registered protocol family 15

[   14.681640] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.

[   14.693426] can: controller area network core (rev 20170425 abi 9)

[   14.695675] NET: Registered protocol family 29

[   14.696208] can: raw protocol (rev 20170425)

[   14.696628] can: broadcast manager protocol (rev 20170425 t)

[   14.700696] can: netlink gateway (rev 20170425) max_hops=1

[   14.715254] Bluetooth: RFCOMM TTY layer initialized

[   14.716718] Bluetooth: RFCOMM socket layer initialized

[   14.717607] Bluetooth: RFCOMM ver 1.11

[   14.722332] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[   14.726373] Bluetooth: BNEP filters: protocol multicast

[   14.726913] Bluetooth: BNEP socket layer initialized

[   14.727303] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[   14.727914] Bluetooth: HIDP socket layer initialized

[   14.741758] 9pnet: Installing 9P2000 support

[   14.742589] Key type dns_resolver registered

[   14.771115] registered taskstats version 1

[   14.774511] Loading compiled-in X.509 certificates

[   14.797133] Btrfs loaded, crc32c=crc32c-generic

[   14.935018] ff000000.serial: ttyPS2 at MMIO 0xff000000 (irq = 41, base_baud = 10416666) is a xuartps

[   14.988148] ff010000.serial: ttyPS0 at MMIO 0xff010000 (irq = 42, base_baud = 2480158) is a xuartps

[   14.994570] console [ttyPS0] enabled

[   14.994570] console [ttyPS0] enabled

[   15.004960] bootconsole [cdns0] disabled

[   15.004960] bootconsole [cdns0] disabled

[   15.023517] GPIO IRQ not connected

[   15.023925] XGpio: gpio@a0030000: registered, base is 510

[   15.024396] GPIO IRQ not connected

[   15.026400] XGpio: gpio@a0030000: dual channel registered, base is 508

[   15.033870] GPIO IRQ not connected

[   15.049417] XGpio: gpio@a0040000: registered, base is 507

[   15.064363] GPIO IRQ not connected

[   15.066079] XGpio: gpio@a0050000: registered, base is 506

[   15.067139] GPIO IRQ not connected

[   15.071500] XGpio: gpio@a0050000: dual channel registered, base is 505

[   15.105210] of-fpga-region fpga-full: FPGA Region probed

[   15.228209] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed

[   15.247900] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success

[   15.249650] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success

[   15.251548] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success

[   15.254081] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success

[   15.275314] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success

[   15.277516] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success

[   15.283699] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success

[   15.288304] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success

[   15.310324] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success

[   15.317068] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success

[   15.343782] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success

[   15.345692] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success

[   15.348123] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success

[   15.349852] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success

[   15.352290] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success

[   15.366577] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success

[   15.392352] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes

[   15.469053] zynqmp_clk_divider_set_rate() set divider failed for ams_ref_div1, ret = -13

[   15.781968] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Failed to get required clock freq

[   15.795268] xilinx-dp-snd-codec: probe of fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0 failed with error -22

[   15.805702] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed

[   15.834114] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed

[   15.839202] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered

[   15.841287] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000

[   15.857890] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

[   15.858481] [drm] No driver support for vblank timestamp query.

[   15.862813] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008bef538)

[   16.248779] Console: switching to colour frame buffer device 128x48

[   16.270458] zynqmp-display fd4a0000.zynqmp-display: fb0:  frame buffer device

[   16.289919] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0

[   16.319917] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed

[   16.327734] zynqmp_gpd_attach_dev() domain6 request failed for node 35: -13

[   16.328712] cdns-spi ff040000.spi: failed to add to PM domain domain6: -13

[   16.329616] cdns-spi: probe of ff040000.spi failed with error -13

[   16.334911] zynqmp_gpd_attach_dev() domain7 request failed for node 36: -13

[   16.347914] cdns-spi ff050000.spi: failed to add to PM domain domain7: -13

[   16.351635] cdns-spi: probe of ff050000.spi failed with error -13

[   16.363989] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM

[   16.387852] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM

[   16.397499] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM

[   16.402477] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM

[   16.474326] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2

[   16.476644] WARNING: CPU: 3 PID: 217 at include/linux/dma-mapping.h:516 dwc3_alloc_event_buffers+0x138/0x1b8

[   16.477839] Modules linked in:

[   16.478437] CPU: 3 PID: 217 Comm: kworker/3:2 Not tainted 4.19.0-xilinx-v2019.2 #1

[   16.479346] Hardware name: Avnet Ultra96 Rev1 (DT)

[   16.482491] Workqueue: events deferred_probe_work_func

[   16.494792] pstate: 60000005 (nZCv daif -PAN -UAO)

[   16.495411] pc : dwc3_alloc_event_buffers+0x138/0x1b8

[   16.497122] lr : dwc3_alloc_event_buffers+0x6c/0x1b8

[   16.497776] sp : ffffff80097bb6e0

[   16.498378] x29: ffffff80097bb6e0 x28: 0000000000000000

[   16.499247] x27: 0000000000000000 x26: 0000000000000000

[   16.499857] x25: ffffffc07c69aa38 x24: 0000000000001000

[   16.501453] x23: ffffffc07c694410 x22: ffffff8008b37000

[   16.501805] x21: ffffffc07c69b818 x20: ffffff8009178648

[   16.502178] x19: ffffffc07c69aa18 x18: 0000000000000010

[   16.502540] x17: 0000000000000000 x16: 0000000000000000

[   16.502914] x15: ffffffffffffffff x14: ffffff8009178648

[   16.503281] x13: ffffff808921af0f x12: ffffff800921af17

[   16.503640] x11: 0000000000000001 x10: ffffff80091f8040

[   16.504053] x9 : 0000000000000000 x8 : ffffffc07c6d6000

[   16.504421] x7 : 0000000000000000 x6 : 000000000000003f

[   16.504781] x5 : 0000000000000040 x4 : ffffffc07c6946a0

[   16.505148] x3 : 0000000000000000 x2 : 0000000000000001

[   16.505593] x1 : ffffffc07c69aa00 x0 : 0000000000000000

[   16.506140] Call trace:

[   16.506417]  dwc3_alloc_event_buffers+0x138/0x1b8

[   16.506773]  dwc3_probe+0x7b4/0xbb0

[   16.507026]  platform_drv_probe+0x50/0xa0

[   16.507576]  really_probe+0x1c8/0x280

[   16.507853]  driver_probe_device+0x54/0xe8

[   16.508144]  __device_attach_driver+0xb8/0xe8

[   16.508403]  bus_for_each_drv+0x78/0xc8

[   16.508676]  __device_attach+0xd4/0x130

[   16.508940]  device_initial_probe+0x10/0x18

[   16.509252]  bus_probe_device+0x90/0x98

[   16.509529]  device_add+0x334/0x608

[   16.509798]  of_device_add+0x58/0x68

[   16.510051]  of_platform_device_create_pdata+0xac/0x108

[   16.510409]  of_platform_bus_create+0x294/0x390

[   16.510731]  of_platform_populate+0x74/0xd8

[   16.511025]  dwc3_of_simple_probe+0x3fc/0x528

[   16.511334]  platform_drv_probe+0x50/0xa0

[   16.511623]  really_probe+0x1c8/0x280

[   16.517533]  driver_probe_device+0x54/0xe8

[   16.518261]  __device_attach_driver+0xb8/0xe8

[   16.518781]  bus_for_each_drv+0x78/0xc8

[   16.519220]  __device_attach+0xd4/0x130

[   16.519659]  device_initial_probe+0x10/0x18

[   16.520138]  bus_probe_device+0x90/0x98

[   16.520563]  deferred_probe_work_func+0x6c/0xa0

[   16.521136]  process_one_work+0x1e4/0x340

[   16.521922]  worker_thread+0x248/0x488

[   16.523125]  kthread+0x124/0x128

[   16.530775]  ret_from_fork+0x10/0x18

[   16.531442] ---[ end trace bcc575cea71f9987 ]---

[   16.532413] dwc3 fe200000.dwc3: swiotlb: coherent allocation failed, size=4096

[   16.533031] CPU: 3 PID: 217 Comm: kworker/3:2 Tainted: G        W         4.19.0-xilinx-v2019.2 #1

[   16.533648] Hardware name: Avnet Ultra96 Rev1 (DT)

[   16.534056] Workqueue: events deferred_probe_work_func

[   16.534451] Call trace:

[   16.537592]  dump_backtrace+0x0/0x148

[   16.538065]  show_stack+0x14/0x20

[   16.538516]  dump_stack+0x90/0xb4

[   16.550235]  swiotlb_alloc+0x160/0x168

[   16.558732]  __dma_alloc+0xa8/0x1e0

[   16.558963]  dwc3_alloc_event_buffers+0xd0/0x1b8

[   16.559184]  dwc3_probe+0x7b4/0xbb0

[   16.559360]  platform_drv_probe+0x50/0xa0

[   16.559591]  really_probe+0x1c8/0x280

[   16.559852]  driver_probe_device+0x54/0xe8

[   16.560132]  __device_attach_driver+0xb8/0xe8

[   16.560436]  bus_for_each_drv+0x78/0xc8

[   16.560716]  __device_attach+0xd4/0x130

[   16.560970]  device_initial_probe+0x10/0x18

[   16.561266]  bus_probe_device+0x90/0x98

[   16.561536]  device_add+0x334/0x608

[   16.571784]  of_device_add+0x58/0x68

[   16.572115]  of_platform_device_create_pdata+0xac/0x108

[   16.572601]  of_platform_bus_create+0x294/0x390

[   16.573161]  of_platform_populate+0x74/0xd8

[   16.573636]  dwc3_of_simple_probe+0x3fc/0x528

[   16.574133]  platform_drv_probe+0x50/0xa0

[   16.574615]  really_probe+0x1c8/0x280

[   16.575570]  driver_probe_device+0x54/0xe8

[   16.576163]  __device_attach_driver+0xb8/0xe8

[   16.586704]  bus_for_each_drv+0x78/0xc8

[   16.587001]  __device_attach+0xd4/0x130

[   16.587280]  device_initial_probe+0x10/0x18

[   16.587557]  bus_probe_device+0x90/0x98

[   16.587741]  deferred_probe_work_func+0x6c/0xa0

[   16.587957]  process_one_work+0x1e4/0x340

[   16.588147]  worker_thread+0x248/0x488

[   16.588329]  kthread+0x124/0x128

[   16.588497]  ret_from_fork+0x10/0x18

[   16.593354] dwc3 fe200000.dwc3: can't allocate event buffer

[   16.598563] dwc3 fe200000.dwc3: failed to allocate event buffers

[   16.600154] dwc3: probe of fe200000.dwc3 failed with error -12

[   16.606018] zynqmp_gpd_attach_dev() domain9 request failed for node 23: -13

[   16.611013] dwc3-of-simple ff9e0000.usb1: failed to add to PM domain domain9: -13

[   16.612014] dwc3-of-simple: probe of ff9e0000.usb1 failed with error -13

[   16.715300] pca954x 0-0075: probe failed

[   16.716681] i2c i2c-0: Failed to register i2c client pca9548 at 0x75 (-16)

[   16.718509] i2c i2c-0: of_i2c: Failure registering /amba/i2c@ff030000/i2cswitch@75

[   16.720312] i2c i2c-0: Failed to create I2C device for /amba/i2c@ff030000/i2cswitch@75

[   16.721412] cdns-i2c ff030000.i2c: 100 kHz mmio ff030000 irq 31

[   16.768219] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s

[   16.778513] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s

[   16.792882] pwrseq_simple sdio_pwrseq: mmc succesfully got gpio_resetn

[   16.801619] pwrseq_simple sdio_pwrseq: mmc succesfully got gpio_chip_en

[   16.821453] zynqmp_gpd_attach_dev() domain11 request failed for node 39: -13

[   16.822059] sdhci-arasan ff160000.mmc: failed to add to PM domain domain11: -13

[   16.838177] sdhci-arasan: probe of ff160000.mmc failed with error -13

[   16.852550] sdhci-arasan ff170000.mmc: allocated mmc-pwrseq

[   16.856983] sdhci-arasan ff170000.mmc: Linked as a consumer to regulator.1

[   16.938518] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit

[   17.014546] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered

[   17.025705] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered

[   17.081782] input: gpio-keys as /devices/platform/gpio-keys/input/input0

[   17.114983] rtc_zynqmp ffa60000.rtc: setting system clock to 2020-04-28 18:17:55 UTC (1588097875)

[   17.115874] of_cfs_init

[   17.120045] of_cfs_init: OK

[   17.125085] cfg80211: Loading compiled-in X.509 certificates for regulatory database

[   17.140038] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered

[   17.592579] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

[   17.593410] clk: Not disabling unused clocks

[   17.593937] ALSA device list:

[   17.594172]   No soundcards found.

[   17.620499] Waiting for root device /dev/mmcblk0p2...

[   17.621914] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

[   17.622871] cfg80211: failed to load regulatory.db

 

I notice that I get many kernel errors and, moreover, it seems that device /dev/mmcblk0p2 (second partition on SD) is not visible.

 

Did I miss any steps?

 

Thank you in advance,

Francesco

  • Sign in to reply
  • Cancel
Parents
  • narrucmot
    narrucmot over 5 years ago

    This OS image (ultra96v2_oob_2019_2) for the Ultra96-V2 board has not been tested with qemu.  You might want to check out Xilinx UG1169 for some assistance.

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • narrucmot
    narrucmot over 5 years ago

    This OS image (ultra96v2_oob_2019_2) for the Ultra96-V2 board has not been tested with qemu.  You might want to check out Xilinx UG1169 for some assistance.

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube