Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 149
» Latest member: gonzaloastri
» Forum threads: 58
» Forum posts: 254

Full Statistics

Online Users
There are currently 10 online users.
» 0 Member(s) | 10 Guest(s)

Latest Threads
DomU I/O and Communicatio...
Forum: Public Support
Last Post: david_norwood
06-22-2017, 07:54 PM
» Replies: 1
» Views: 38
Yocto image as domU
Forum: Public Support
Last Post: Nathan.Studer
05-19-2017, 02:36 PM
» Replies: 10
» Views: 29
XZD Yocto Layer
Forum: Knowledge Base
Last Post: Nathan.Studer
04-12-2017, 03:23 PM
» Replies: 0
» Views: 239
Trouble overriding Petali...
Forum: Getting Started
Last Post: brettstahlman
04-10-2017, 06:53 PM
» Replies: 11
» Views: 1,294
Kernel panic when launchi...
Forum: Public Support
Last Post: Nathan.Studer
04-06-2017, 06:01 PM
» Replies: 1
» Views: 1,974
What type of dom0 Image d...
Forum: Public Support
Last Post: brettstahlman
03-17-2017, 02:45 PM
» Replies: 4
» Views: 1,074
Question on format of dom...
Forum: Public Support
Last Post: brettstahlman
03-14-2017, 06:40 PM
» Replies: 0
» Views: 451
Qemu launches but boot ha...
Forum: Getting Started
Last Post: brettstahlman
02-28-2017, 07:55 PM
» Replies: 19
» Views: 3,147
Zynq mpsoc dev kit not ab...
Forum: Public Support
Last Post: paresh.chaudhary
02-21-2017, 10:28 PM
» Replies: 2
» Views: 1,032
Interprocess commnication...
Forum: Public Support
Last Post: jarvis_roach
02-15-2017, 07:36 PM
» Replies: 1
» Views: 812

 
  XZD_20160930 Release
Posted by: jarvis_roach - 10-03-2016, 02:54 PM - Forum: Knowledge Base - Replies (3)

DornerWorks is pleased to announce the XZD_20160930 release of XZD!

XZD Package:  http://dornerworks.com/wp-content/upload...160930.tgz
User's Manual:  http://dornerworks.com/wp-content/upload...Manual.pdf


New Features
Support for Petalinux v2016.2
Support for FreeRTOS guests.
Xen virtual console support for FreeRTOS guests.
Updates for bare metal examples and procedures.
Inclusion of the updated XZD Bare Metal Container, v2.1.0.
Improvements to boot files allow more and faster DDR on ZCU102.

Print this item

  XZD FreeRTOS Guest Guide
Posted by: jarvis_roach - 09-30-2016, 12:42 PM - Forum: Knowledge Base - No Replies

Here is a guide on how to get FreeRTOS applications to run as a guest on Xen.



Attached Files
.pdf   XZD FreeRTOS Guest Guide.pdf (Size: 95.65 KB / Downloads: 48)
Print this item

  Question about isolation of DMA masters between domains
Posted by: jwolff - 09-20-2016, 12:11 AM - Forum: Public Support - Replies (4)

Hello, we have been using the DornerWorks MPSoC Xen distribution for a few weeks now and have had a very good experience so far.  I do have one question about isolation of DMA masters between domains as follows.  We have been able to configure a pass-through serial port using an analogous procedure to what you describe in the "Xen Zynq Distribution (XZD) UART Pass Through How To Guide":
http://xzdforums.dornerworks.com/showthread.php?tid=577
 
What I haven't seen any reference to in your documentation is how to restrict the physical memory to which a DMA-capable peripheral has access.  I would expect Xen to use the SMMU to prohibit a DMA-capable peripheral from being able to access any memory except what is assigned to the domU VM that is controlling the peripheral.  Or perhaps a better system would configure the SMMU whenever a driver allocates a DMA buffer, such that the peripheral can only access specific buffers that are allocated by the guest OS.  However, I haven't been able to find any documentation online describing how to do this.  Is this possible, and if so how?
 
Thanks very much in advance for your help with this question!

Print this item

  uboot getting hang after "tftpb 0x80000 Image"
Posted by: sunitksharma - 09-07-2016, 04:55 PM - Forum: Public Support - Replies (5)

Hello,

I am using Xen Zynq Distribution, following user Manual (Xilinx-XenZynq-DOC-0001 v0.7 July 1, 2016). I am seeing a random issue of uboot getting stuck. Previously I was running uboot script "xen" as specified in 4.2.1.6 as "run xen". Later i started running each command from the xen script on uboot console. I found that after image is loaded, the uboot console hangs.

Following are the logs. I am loading u-boot.elf from JTAG. Is there an issue/bug in u-boot.elf. Please advice.

Thanks,
Sunit

Xilinx Zynq MP First Stage Boot Loader

Release 2016.1   Jun 30 2016  -  11:23:07
Platform: Silicon, Board Configuration successful
Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor
Processor Initialization Done
================= In Stage 2 ============
In JTAG Boot Mode
================= In Stage 4 ============
Exit from FSBL
NOTICE:  ATF running on XCZU9EG/silicon v1/RTL5.1 at 0xfffe5000
NOTICE:  BL31: Secure code at 0xfffc0000
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v1.2(release):6397b33
NOTICE:  BL31: Built : 09:33:01, Jun 30 2016


U-Boot 2016.01 (Jun 30 2016 - 11:25:04 -0400) Xilinx ZynqMP ZCU102

I2C:   ready
DRAM:  4 GiB
Enabling Caches...
EL Level:       EL2
MMC:   sdhci@ff170000: 0
Using default environment

In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Bootmode: JTAG_MODE
SCSI:  SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:   ZYNQ GEM: ff0e0000, phyaddr 12, interface rgmii-id

Warning: ethernet@ff0e0000 (eth0) using random MAC address - f2:a4:42:46:d2:75
eth0: ethernet@ff0e0000
Hit any key to stop autoboot:  0
U-Boot-PetaLinux> setenv serverip 10.9.51.203
U-Boot-PetaLinux> setenv gatewayip 10.9.51.1
U-Boot-PetaLinux> setenv netmask 255.255.255.0
U-Boot-PetaLinux> setenv ipaddr 10.9.51.216
U-Boot-PetaLinux> ping 10.9.51.203
Using ethernet@ff0e0000 device
host 10.9.51.203 is alive
U-Boot-PetaLinux> tftpb $fdt_addr xen.dtb
Using ethernet@ff0e0000 device
TFTP from server 10.9.51.203; our IP address is 10.9.51.216
Filename 'xen.dtb'.
Load address: 0x4000000
Loading: ##
         12.7 MiB/s
done
Bytes transferred = 26662 (6826 hex)
U-Boot-PetaLinux> fdt addr $fdt_addr
U-Boot-PetaLinux> fdt resize
U-Boot-PetaLinux> tftpb 0x80000 Image
Using ethernet@ff0e0000 device
TFTP from server 10.9.51.203; our IP address is 10.9.51.216
Filename 'Image'.
Load address: 0x80000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################
         12.8 MiB/s
done
Bytes transferred = 11202912 (aaf160 hex)

--------UBOOT HANGS AFTER THIS------



Attached Files
.txt   jtag_boot.txt.txt (Size: 2.5 KB / Downloads: 1)
.txt   uboot_log.txt.txt (Size: 2.97 KB / Downloads: 1)
Print this item

  IRQ Latency
Posted by: jarvis_roach - 09-02-2016, 04:25 PM - Forum: Knowledge Base - No Replies

Here are the results of an experiment we performed to measure how much latency Xen introduces to IRQ handling.



Attached Files
.pdf   Xen Zynq Distribution (XZD) Bare Metal Guest Latency.pdf (Size: 60.43 KB / Downloads: 16)
Print this item

  Kernel Panic
Posted by: sunitksharma - 08-24-2016, 03:43 PM - Forum: Public Support - Replies (5)

I am using Xen Zynq Distribution, following user Manual (Xilinx-XenZynq-DOC-0001 v0.7 July 1, 2016).

During step 4.2.1.6 after "run xen" command, linux boots but results in kenel panic.

 Attached are logs, Please suggest what went wrong.

Thanks
Sunit



Attached Files
.txt   kernel_panic.txt (Size: 29.26 KB / Downloads: 9)
Print this item

  Xen Summit 2016 Presentation
Posted by: jarvis_roach - 08-17-2016, 06:09 PM - Forum: Knowledge Base - No Replies

Presentation given at Xen Summit 2016 in Toronto.



Attached Files
.pdf   Xen_Perf.pdf (Size: 766.25 KB / Downloads: 11)
Print this item

  Limiting Memory assigned to Xen
Posted by: terryoneal3 - 08-09-2016, 06:00 PM - Forum: Public Support - Replies (5)

I'm trying to get Xen to leave 1MB or so at the top of memory that can be used outside of Xen, Dom0, or guests. Think R5 or or a PL master that needs some memory to use independent of the rest of the system.  How can this be accomplished?

I see the mem= command line option, but when I specify that to be 2047M, xl info still shows a full 2GB of memory listed in "total_memory" - I would expect total_memory to be 2047 instead of 2048. 


Here is the output of xl info:



root@Xilinx-ZCU102-2016_1:~# xl info
host                   : Xilinx-ZCU102-2016_1
release                : 4.4.0
version                : #2 SMP Thu Aug 4 16:07:59 EDT 2016
machine                : aarch64
nr_cpus                : 4
max_cpu_id             : 127
nr_nodes               : 1
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 100
hw_caps                : 00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000
virt_caps              :
total_memory           : 2048
free_memory            : 1506
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 7
xen_extra              : -unstable
xen_version            : 4.7-unstable
xen_caps               : xen-3.0-aarch64 xen-3.0-armv7l
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0x200000
xen_changeset          :
xen_commandline        : console=dtuart dtuart=serial0 mem=2047M dom0_mem=512M bootscrub=0 maxcpus=1 timer_slop=0 dom0_vcpus_pin dom0_max_vcpus=1
cc_compiler            : aarch64-linux-gnu-gcc (crosstool-NG linaro-1.13.1-4.9-2014.09 -
cc_compile_by          : xilinxfae
cc_compile_domain      :
cc_compile_date        : Thu Aug  4 15:52:32 EDT 2016
xend_config_format     : 4
root@Xilinx-ZCU102-2016_1:~#



Does anyone see what I'm doing wrong, or is this command line option not supported?


Thanks, 
Terry

Print this item

  Xentrace/Xenalyze Guide
Posted by: ben_sanda - 07-11-2016, 05:13 PM - Forum: Knowledge Base - No Replies

Here is a guide on how to use the patched Xentrace/Xenalyze tools on XZD.

-Ben Sanda



Attached Files
.pdf   Xen Zynq Distribution (XZD) Xentrace How To Guide.pdf (Size: 91.06 KB / Downloads: 30)
Print this item

  XZD_20160701-RC2 Release
Posted by: jarvis_roach - 07-07-2016, 07:45 PM - Forum: Knowledge Base - No Replies

DornerWorks is pleased to announce the XZD_20160701-RC2  release of XZD!

XZD Package:  http://dornerworks.com/wp-content/upload...01-RC2.tgz
User's Manual:  http://dornerworks.com/wp-content/upload...Manual.pdf


New Features
Support for Petalinux v2016.1
Instructions for setting up shared memory between guests.
XenTop enabled and instructions provided for use.
SD card booting instructions and inclusion of pre-built images.
Inclusion of GPIO IRQ latency native and batemetal guests.

Print this item