aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
AgeCommit message (Collapse)Author
2019-12-13newlib: export CC_FOR_TARGET as CCAlejandro Enedino Hernandez Samaniego
Newlibs Makefiles use a variable CC_FOR_TARGET to build libraries for the TARGET machine (as opposed to CC_FOR_BUILD). We pass CC on our compile function, which is normally use to build, although in this case, the configure script is trimming CC and using simply gcc for the target machine, basically taking out the TUNE variables we pass in CC as well, such as march, mfloat-abi and such. This causes errors when building applications since CC will try to use hard floating point for example whereas the libc.a from newlib will contain libraries built with the defaults which could be soft floating point for example. e.g.: $ ${CC} a.c real-ld: error: a.out uses VFP register arguments, /usr/lib/libg.a(lib_a-stdio.o) does not. Analizing the object files we can see that one of them uses soft (library) and the other one uses hard floating point (program): $ readelf -A a.out | grep VFP Tag_ABI_VFP_args: VFP registers $ readelf -A usr/lib/libc.a | grep VFP Hence why the linker complains. Pass CC_FOR_TARGET with the contents of CC to override the trimming from the configure script and build newlib with the correct tune. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
2019-12-13zynqmp-pmu.conf: Update to Microblaze v11.0Alejandro Enedino Hernandez Samaniego
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
2019-12-13zynqmp-pmu.conf: Upgrade tune to use Microblaze v10.0Alejandro Enedino Hernandez Samaniego
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
2019-12-09Update recipes for 2019.2 releaseJaewon Lee
Update u-boot, kernel, ATF, QEMU, pmu-firmware, multimedia recipes for 2019.2 release. The patch also upgrades gcc microblaze, newlib and libgloss versions. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-11-19Add me to the maintainers listSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2019-11-18Add me to the maintainers listMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2019-08-16meta-xilinx-standalone: Update layer compatibility to warrior releaseAlejandro Enedino Hernandez Samaniego
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15Update recipes for Xilinx v2019.1 releaseJaewon Lee
Update components for 2019.1 release - u-boot-xlnx - linux-xlnx - arm-trusted-firmware - QEMU - recipes-multimedia/vcu - xrt and zocl - pmu-firmware Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-03-04pmu-firmware: Fix pmu-firmware build to include backend code for ZynqMP FPGA ↵Andreas Galauner
configuration Move the appropriate backend code for the ZynqMP FPGA configuration from the interface subdirectory of the xilfpga library into the src directory so that the files are picked up by the Makefile. Otherwise the FPGA configuration code is non-functional. Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Tested-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Andreas Galauner <andreas@galauner.de> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-01-01pmu-firmware: Port pmu-firmware recipeAlejandro Enedino Hernandez Samaniego
This patch ports the pmu-firmware recipe from meta-xilinx-bsp to be used with the standalone/baremetal toolchain and also upgrades it to the latest release at this point. The recipe was trimmed down, and a few changes had to be made to make it compatible with the baremetal layer, DEPENDS, pass include dir, license and such. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-01-01newlib: Add xilinx linker to newlib and libglossAlejandro Enedino Hernandez Samaniego
Modifies the CC variable so the Xilinx linker is found correctly when building newlib and libgloss. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-01-01libgloss: Copy libgloss as libxil to avoid linking issuesAlejandro Enedino Hernandez Samaniego
Upstream gcc expects to have libxil available when linking, we can get the required symbols (weak) from libgloss. We copy libgloss as libxil to comply with upstream behavior and avoid linking errors. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-01-01Adds gcc bbappend to fix configure options, and enable --sysroot behaviorAlejandro Enedino Hernandez Samaniego
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-01-01meta-xilinx-standalone: Create layer, distro and machine to build standalone ↵Alejandro Enedino Hernandez Samaniego
components This layer is meant to augment Yocto/OE functionality to provide a toolchain to build standalone components for Xilinx architectures. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>