| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Commit fb62f071f94fc45444357865665fec6d4b11d1ca added a workaround for a
mingw runtime issue, but did not label it as mingw32 specific. QEMU may
cause failures in some non-linux configurations.
Make this option mingw32 specific, and also avoid qemu making the
dependency on the missing mingw32 component explicit.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
Both xilinx-standalone (w/ lto) and xilinx-standalone-nolto need to use
a common set of system settings. A few settings were missed in the
merge of the decoupling work. Move these to the common settings file.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
When appending file paths the ':' should be at the beginning of the
path. The patched appending lines were still working because there was
no paths added after the '__default:'
Fixing typo to ensure no breakages later
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
| |
Some of the components have been moved to internal configuration layers
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
| |
XILINX_RELEASE_VERSION is defined by the layer.conf, so we can and
should use the version defined there.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following the example of base.bbclass in OE-Core, a new COMPATIBLE_OS
variable is defined. Similar to COMPATIBLE_MACHINE, it is a regex that
can be used to declare TARGET_OS string compatibility on a per-recipe
basis. Either the distro configuration or the recipes themselves will
need to inherit this class.
By default the class assumes we're building a Linux based system, and
thus any recipe who has not declared compatibility is compatible with
Linux. The default compatible field was copied from bitbake.conf to
ensure there are no surprised.
Additionally, enable the usage of this class throughout
meta-xilinx-standalone layer.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
When the xilinx-standalone distribution is not enabled, we need to make sure
that we do not affect various task hashes. This conforms to the Yocto
Project Compliance requirements.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
meta-xilinx-standalone is only for baremetal work. Theoretically the
newlib items can be used on other configurations, so move the microblaze
newlib/libgloss work into meta-xilinx-bsp. This mirrors how other
microblaze specific work has been handled.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
The embeddedsw expects -DARMR5 when building for a cortexr5. Enable this
globally within the distribution configuration. This ensures that the
tunings remain generic.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The deocupling device-tree repo does not currently work with
machines like the zcu102-zynqmp, while the default repo does
work fine.
Set overrides for the decoupling working machines, while keeping
the REPO as it was by default for other machines to avoid this
error.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is a bug upstream, which explains this problem further [1],
but basically when there are several multiconfigs they could be
polluted with the events of each other, in this specific case,
a multiconfig that uses the DISTRO=petalinux which itself inherits
the buildhistory class will cause an error on the multiconfig that
builds xilinx-standalone, while the correct fix is t fix this upstream
I have not had the time to do that, and currently an easy and not very
conflicting workaround is to simply inherit the builhistory class on
the xilinx-standalone DISTRO as well.
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13071
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This patch updates the COMPATIBLE_MACHINE and DTBFILE
variables to compile esw use cases for cortexr5 processor
on ZynqMP platform.
This patch also updates the TUNE_CCARGS in the cortexr5-zynqmp.conf
file as per baremetal requirements.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
| |
cortexa72 processor machine name changed from cortexa72 to coretexa72-versal
update the naming convention in the recipes for the same.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
| |
This recipe compiles the mailbox library
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on esw_examples class
Hello world recipe doesn't have any dependency on the
do_generate_eglist task, It has dependency only on the linker generation.
So the esw repo linker generation is moved to the liner_gen.py
file, which needs to be called before do_configure.
This patch updates the recipe for the same.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In the esw repo linker generation is moved to the liner_gen.py
file, which needs to be called before do_configure.
This patch updates the bbclass for the same.
Also updated the DEPENDS variable list.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need to create an additional task do_create_dtb.
script mentioned in the do_generate_cmake needs to be called
before do_configure(), we can use do_configure_prepend() for this
instead of adding own task.
This patch updates the recipe for the same.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need to create an additional task do_create_dtb.
script mentioned in the do_generte_bspcfg_data needs to be called
before do_configure(), we can use do_configure_prepend() instead of
adding own task.
This patch updates the recipe for the same.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
| |
This patch updates the COMPATIBLE_HOST and COMPATIBLE_MACHINE
and DTBFILE variables to compile esw use cases for cortexa72 processor.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
| |
Recently esw license.txt modified, this updates the esw.bbclass md5
checksum value as per latest license.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
| |
world application
This recipe adds support for compiling hello world application.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
| |
examples
This recipe compiles the zdma driver examples.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
| |
driver examples
This recipe compiles the mcdma driver examples.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
| |
driver examples
This recipe compiles the llfifo driver examples.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
| |
driver examples
This recipe compiles the axidma driver examples.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
| |
driver examples
This recipe compiles the axicdma driver examples.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
| |
axiethernet driver examples
This recipe compiles the axiethernet driver examples.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of using ESW_CFLAGS for the optimization level, fall back to the
default Yocto Project method of 'FULL_OPTIMIZATION' and
'SELECTED_OPTIMIZATION'.
FULL_OPTIMIZATION is moved from -O2 to -Os, the other components retain
the default Yocto Project setitng of '-pipe ${DEBUG_FLAGS}'.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
nativepython3
When invoking nativepython3, we need to make sure that there is
a dependency to python3-native, along with this, the python3native
class provides additional wiring for using the python3 version that
was built by the build system
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This layer has been used as testing for the decoupling effort
hence there was (and still is) code that needed to be cleaned up
in general.
Put #TODO on things that are still left to do, either clean up
code, move machine confs to the bsp layer or remove the
deprecated pmu-firmware recipe and handle dependencies correctly
by bitbake'
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
| |
driver examples
This recipe compiles the emacps driver examples.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
| |
driver examples
This recipe compiles the csudma driver examples.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds bbclass which contains the common code for building the
esw examples.
This class does the below
--> Task generate_eglist generates the linker script for the given dtb
along with this it updates EXAMPLE_LIST CMAKE variable for the recipe.
--> deploys the images to the tmp/deploy folder.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
External source class manipulates S to point to external source directories,
so use this variable instead of WORKDIR. Point S to the top directory as we need to
access scripts directory in top directory. And instead, using OECMAKE_SOURCEPATH to
point to deeper driver specific directory with necessary cmake files.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a typo in the patch that installed the psu_init code
which initially tried to install files on the /var directory.
Since this is a baremetal component, there is basically no
convention on where files should be installed, for now
to comply a bit more with bitbake, install these files on
includedir to fix the install-vs-shipped issue.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
Some builds may require LTO, while others do not want it. The LTO components
are only enabled when using the esw.bbclass and the xilinx-standalone distro.
A second xilinx-standalone-nolto was added specifically to provide a default
where LTO was disabled.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Theres a race condition that happens when the copy_psu_init task
is executed, and claims that the src directory does not exist, when
this task is trying to access it.
There is no need to create an additional task to copy the psu_init code,
it can simply be prepended to do_configure which achieves the same result
without having to keep track of other tasks dependencies that might
cause an error.
Copy the psu_init files on do_configure itself avoiding the race condition.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
| |
from decoupling to recipes-libraries
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
recipes-applications
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
| |
For the time being fsbl,pmufw users will uncomment the CFLAGS_append
line before building the application, once we have proper disto
changes in place we can delete this line all together.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
This patch does the below
--> Updated the esw.bbclass SRC_URI to point to gitenterprise/decoupling/embeddedsw
master-next-test branch.
--> Updated the device-tree recipe SRC_URI to point to
gitenterprise/decoupling/device-tree-xlnx master-next-test branches.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
| |
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
|