Quantcast
Channel: Xilinx Wiki : Xilinx Wiki - all changes
Viewing all 11776 articles
Browse latest View live

2018.1 Linux and DTG Release Notes

$
0
0
...
Fix coding style
Trivial code cleanup
Fix MDIO bus unregister bug on repetitive module load and unload.
http://www.wiki.xilinx.com/Linux+Emaclite+Driver
PM driver

PS UART

$
0
0
...
CONFIG_SERIAL_XILINX_PS_UART=y
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
When more than two UARTs are required the user may need to also configure the following configuration item to increase the number of UART ports.
The driver statically allocates port data structures based on this configuration item.
CONFIG_SERIAL_XILINX_NR_UARTS=<number of expected UARTs>

Devicetree
Here's how the devicetree entry could look like.

PS UART

$
0
0
...
CONFIG_SERIAL_XILINX_PS_UART=y
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
...
are required in the system (including PL UARTs) the user
The driver statically allocates port data structures based on this configuration item.
CONFIG_SERIAL_XILINX_NR_UARTS=<number of expected UARTs>

PS UART

$
0
0
...
CONFIG_SERIAL_XILINX_PS_UART=y
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
...
the user may need toshould also configure
The driver statically allocates port data structures based on this configuration item.
CONFIG_SERIAL_XILINX_NR_UARTS=<number of expected UARTs>

PS UART

$
0
0
...
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
When more than two UARTs are required in the system (including PL UARTs) the user should also configure the following configuration item to increase the number of UART ports.
...
configuration item. A kernel error similar to "Cannot get uart_port structure" may be seen during kernel boot when this is an issue.
CONFIG_SERIAL_XILINX_NR_UARTS=<number of expected UARTs>
Devicetree

Uartlite Driver

$
0
0
...
# build as loadable module
CONFIG_SERIAL_UARTLITE=m
When more than one UART Lite is required in the system the user should also configure the following configuration item to increase the number of UART ports
in the driver. The driver statically allocates port data structures based on this configuration item. The port-number device tree property is used for each UART
(not just UART Lite) device node and is used to index into a port data structure in each driver.
CONFIG_SERIAL_UARTLITE_NR_UARTS=<total number of UARTs in the system>

Devicetree
Here's how the devicetree entry could look like.

Uartlite Driver

$
0
0
...
CONFIG_SERIAL_UARTLITE=m
When more than one UART Lite is required in the system the user should also configure the following configuration item to increase the number of UART ports
...
configuration item. TheThe port-number device
...
each UART
(not just UART Lite) device node and is used to index into a port data structure in each driver.
CONFIG_SERIAL_UARTLITE_NR_UARTS=<total number of UARTs in the system>

Dnf package manager

$
0
0
Using dnf, you will be able to install the tools required to build(compile) applications on the target directly.
...
SDK using dnfDnf
The package-group we are interested is "packagegroup-core-sdk" . This package-group provides some commonly used utilities like Make, GCC, G++, etc. In this section we will be installing the package-group and then compile, and test out few demo applications
Installing core-SDK using Smart--GCC/G++ installationGCC/G++ installation
...
to install packagegroup-core-sdkpackagegroup-self-hosted-sdk to be
...
on target. To install runSync the below command.repo to get updated list of packages and then install.
dnf repoquery
dnf install packagegroup-self-hosted-sdk

Installing core-SDK using Smart--GCC/G++ testingGCC/G++ testing
Once, SDK is installed, you should be able to use GCC/G++ compiler and build your programs on the target directly.

dnf_query.png

2018.1 Linux and DTG Release Notes

$
0
0
...
Fix MDIO bus unregister bug on repetitive module load and unload.
http://www.wiki.xilinx.com/Linux+Emaclite+Driver
ZDMA driver
drivers/dma/xilinx/zynqmp_dma.c
Fixed race condition in the probe, Incase of interrupt property is not present, driver is trying to free an invalid free.
http://www.wiki.xilinx.com/Zynqmp+DMA

DTG Feature Changes
Module Name

hello_world.png

Dnf package manager

$
0
0
...
dnf repoquery
dnf install packagegroup-self-hosted-sdk
{dnf_query.png}
Installing core-SDK using Smart--GCC/G++ testingGCC/G++ testing
Once, SDK is installed, you should be able to use GCC/G++ compiler and build your programs on the target directly.
To test this, there are 2 sample programs attached below. Go ahead and download those onto your target. You can compile and build them as shown below.
{hello_world.png}
Insert Code: Use Widget-> Insert Code
Insert your code here.

Zynqmp DMA

$
0
0
...
2017.4
None
2018.1
Summary:
Fixed race condition in the probe, in case of interrupt property is not present, driver is trying to free an invalid free.
Commits:
968167b: dma: xilinx : Fix race condition in the probe

Related Links
Linux Drivers

Zynqmp DMA

$
0
0

Uartlite Driver

$
0
0
...
# build as loadable module
CONFIG_SERIAL_UARTLITE=m
When using 2018.1 and newer releases, and when more than
...
in the systemsystem, the user
...
configuration item to
to
increase the
...
UART ports
in
in the driver.
...
device tree property
property
is used
...
each UART
(not just UART Lite)
Lite device node
...
structure in eachthe driver. The port-number is similar to the alias number such that
it is affected by the total number of UARTs in the system (including PS UARTs).

CONFIG_SERIAL_UARTLITE_NR_UARTS=<total number of UARTs in the system>
Devicetree

Uartlite Driver

$
0
0
...
# build as loadable module
CONFIG_SERIAL_UARTLITE=m
When using 2018.1 and newer releases,
...
configuration item
to

to
increase the
...
device tree
property

property
is used
...
such that
it is affected by the total number of UARTs in the system (including PS UARTs).
CONFIG_SERIAL_UARTLITE_NR_UARTS=<total number of UARTs in the system>

dnf-self-hosting-results.png

Self hosting using dnf

$
0
0
Using dnf, you will be able to install the tools required to build(compile) applications on the target directly.
Installing packagegroup-petalinux-self-hosted using dnf
The package-group we are interested is "
packagegroup-petalinux-self-hosted". This package-group provides some commonly used utilities like Make, GCC, G++, etc. In this section we will be installing the package-group and then compile, and test out few demo applications.
GCC/G++ installation
We need to install packagegroup-petalinux-self-hosted
to be able to compile on target. To install run the below command.
dnf repoquery
dnf install packagegroup-petalinux-self-hosted
GCC/G++ testing
Once, the package is installed, you should be able to use GCC/G+x+ compiler and build your programs on the target directly.
To test this, there are 2 sample programs attached below. Go ahead and download those onto your target. You can compile and build them as shown below.
To compile use:
gcc hello_world.c -o hello_world
g++ vector-test.cpp -o vector-test
Run the generated executable and verify the output:
{dnf-repolist.png}
Related Links
{hello_world.c} {vector-test.cpp}

Yocto

$
0
0
...
Boot using pre-build images
Partition and format SD card for SD boot
...
applications through Smartdnf package manager
...
hosting using smartdnf
Booting Xen on ZCU102 using SD card
SD boot with Yocto images

Yocto

$
0
0
Viewing all 11776 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>