| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Create a new meta-xilinx-core, move core functionality to the core, keeping
board specific files in the bsp layer.
zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp
is not available it will not fail.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
This is the result of automated script (0.9.0) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
resize qemu-sd image to 256M to avoid the following error during qemuboot:
runqemu - ERROR - Failed to run qemu:
QEMU APU instance failed:
Unexpected error in sd_realize() at qemu-xilinx-system-native/v5.1.0-xilinx-v2021.2+gitAUTOINC+f9099ec0c9-r0/git/hw/sd/sd.c:2382:
qemu-system-aarch64: Invalid SD card size: 271 MiB
SD card size has to be a power of 2, e.g. 512 MiB.
You can resize disk images with 'qemu-img resize <imagefile> <new-size>'
(note that this will lose data if you make the image smaller than it currently is).
CR-1104112
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
| |
This patch will use proper variable to get kernel image
Signed-off-by: Ashwini Lomate <ashwini.lomate@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
Fix machine name being passed to zcu102-zynqmp qemu boot arg.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
| |
|
|
|
|
|
|
|
|
| |
Remove the variable QB_SYSTEM_NAME inside qemuboot-xilinx class as it no longer
is needed to include the subdir for the qemu target path. All targets are now
moved to bindir and not present in bindir/qemu-xilinx.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
Enable qemuboot for zc702-zynq7 machine using qemu-xilinx provider
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baremetal toolchain machines are specific to creating a very specific Xilinx
multilib toolchain configuration. These are not expected to be functional
MACHINE parameters for anything except SDK building.
The expected usage is:
MACHINE=<value> DISTRO=xilinx-standalone bitbake meta-toolchain
Add aarch32-tc
Multilibs:
base: (none)
arm/v5te/softfp: -marm -march=armv5te+fp -mfloat-abi=softfp
arm/v5te/hard: -marm -march=armv5te+fp -mfloat-abi=hard
thumb/nofp: -mthumb -mfloat-abi=soft
thumb/v7/nofp: -mthumb -march=armv7 -mfloat-abi=soft
thumb/v7+fp/softfp: -mthumb -march=armv7+fp -mfloat-abi=softfp
thumb/v7+fp/hard: -mthumb -march=armv7+fp -mfloat-abi=hard
thumb/v7-a/nofp: -mthumb -march=armv7-a -mfloat-abi=soft
thumb/v7-a+fp/softfp: -mthumb -march=armv7-a+fp -mfloat-abi=softfp
thumb/v7-a+fp/hard: -mthumb -march=armv7-a+fp -mfloat-abi=hard
thumb/v7-a+simd/softfp: -mthumb -march=armv7-a+simd -mfloat-abi=softfp
thumb/v7-a+simd/hard: -mthumb -march=armv7-a+simd -mfloat-abi=hard
thumb/v7ve+simd/softfp: -mthumb -march=armv7ve+simd -mfloat-abi=softfp
thumb/v7ve+simd/hard: -mthumb -march=armv7ve+simd -mfloat-abi=hard
thumb/v8-a/nofp: -mthumb -march=armv8-a -mfloat-abi=soft
thumb/v8-a+simd/softfp: -mthumb -march=armv8-a+simd -mfloat-abi=softfp
thumb/v8-a+simd/hard: -mthumb -march=armv8-a+simd -mfloat-abi=hard
Add aarch64-tc
Multilibs:
Base: (none)
ilp32: -mabi=ilp32
- ilp32 requires a custom machine dict
- Add xlnx-standalone.bbclass
- Enable with PACKAGEQA_EXTRA_MACHDEFFUNCS
Add arm-rm-tc
Multilibs:
Base: (none)
arm/v5te/softfp: -marm -march=armv5te+fp -mfloat-abi=softfp
arm/v5te/hard: -marm -march=armv5te+fp -mfloat-abi=hard
thumb/nofp: -mthumb -mfloat-abi=soft
thumb/v7/nofp: -mthumb -march=armv7 -mfloat-abi=soft
thumb/v7+fp/softfp: -mthumb -march=armv7+fp -mfloat-abi=softfp
thumb/v7+fp/hard: -mthumb -march=armv7+fp -mfloat-abi=hard
thumb/v6-m/nofp: -mthumb -march=armv6s-m -mfloat-abi=soft
thumb/v7-m/nofp: -mthumb -march=armv7-m -mfloat-abi=soft
thumb/v7e-m/nofp: -mthumb -march=armv7e-m -mfloat-abi=soft
thumb/v7e-m+fp/softfp: -mthumb -march=armv7e-m+fp -mfloat-abi=softfp
thumb/v7e-m+fp/hard: -mthumb -march=armv7e-m+fp -mfloat-abi=hard
thumb/v7e-m+dp/softfp: -mthumb -march=armv7e-m+fp.dp -mfloat-abi=softfp
thumb/v7e-m+dp/hard: -mthumb -march=armv7e-m+fp.dp -mfloat-abi=hard
thumb/v8-m.base/nofp: -mthumb -march=armv8-m.base -mfloat-abi=soft
thumb/v8-m.main/nofp: -mthumb -march=armv8-m.main -mfloat-abi=soft
thumb/v8-m.main+fp/softfp: -mthumb -march=armv8-m.main+fp -mfloat-abi=softfp
thumb/v8-m.main+fp/hard: -mthumb -march=armv8-m.main+fp -mfloat-abi=hard
thumb/v8-m.main+dp/softfp: -mthumb -march=armv8-m.main+fp.dp -mfloat-abi=softfp
thumb/v8-m.main+dp/hard: -mthumb -march=armv8-m.main+fp.dp -mfloat-abi=hard
Add microblaze-tc
Multilibs:
base: (none)
bs: -mxl-barrel-shift
le: -mlittle-endian
m: -mno-xl-soft-mul
m/mh: -mno-xl-soft-mul -mxl-multiply-high
le/m: -mlittle-endian -mno-xl-soft-mul
le/m/mh: -mlittle-endian -mno-xl-soft-mul -mxl-multiply-high
bs/le: -mxl-barrel-shift -mlittle-endian
bs/m: -mxl-barrel-shift -mno-xl-soft-mul
bs/m/mh: -mxl-barrel-shift -mno-xl-soft-mul -mxl-multiply-high
bs/le/m: -mxl-barrel-shift -mlittle-endian -mno-xl-soft-mul
bs/le/m/mh: -mxl-barrel-shift -mlittle-endian -mno-xl-soft-mul -mxl-multiply-high
m64/le: -m64 -mlittle-endian
m64/le/m: -m64 -mlittle-endian -mno-xl-soft-mul
m64/le/m/mh: -m64 -mlittle-endian -mno-xl-soft-mul -mxl-multiply-high
m64/bs/le: -m64 -mxl-barrel-shift -mlittle-endian
m64/bs/le/m: -m64 -mxl-barrel-shift -mlittle-endian -mno-xl-soft-mul
m64/bs/le/m/mh: -m64 -mxl-barrel-shift -mlittle-endian -mno-xl-soft-mul -mxl-multiply-high
- 64-bit MicroBlaze requires a custom machine dict
- Add xlnx-standalone.bbclass
- Enable with PACKAGEQA_EXTRA_MACHDEFFUNCS
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.
Date: Thu Jan 30 12:17:59 2020 -0800
On branch multilib-baremetal
Your branch is ahead of 'xilinx/master-next' by 2 commits.
(use "git push" to publish your local commits)
Changes to be committed:
|
|
|
|
|
|
|
| |
Add sector size as 512K for larger SD, this is according to
specifications
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While developing a custom MicroBlaze machine configuration with
meta-xilinx-bsp, the linux-xlnx recipe would fail when configured to use
the “simpleImage.devicetree-name” kernel image type.
Though the do_prep_simpleimage task does not fail, messages were left in
the log indicating the “[[“ bash extension could not be found.
DEBUG: Executing shell function do_prep_simpleimage
temp/run.do_prep_simpleimage.66740:
[[: not found
DEBUG: Shell function do_prep_simpleimage finished
The two offending lines are in kernel-simpleimage.bbclass. Here's one of
them for reference.
if [[ "${type}" =~ "simpleImage" ]] && [ ${ARCH} = "microblaze" ]; then
The problem is that “[[“ will return -1 since the extension is not found
and the if statement will simply interpret the error as false causing
the task to continue, even if the image type was "simpleImage"!
Testing was done using the official crops/poky docker image. The
crops/poky system shell was confirmed to include the “[[“ extension
however, it appears that the extension is disabled within the recipe
shell scripts. In addition, "[[" does not appear to be used by any
openembedded-core recipes so I made this patch to convert the two
instances of "[[" to "[". The patch was created for master, but the
problem appears to exist on all branches of meta-xilinx.
Signed-off-by: Michael Monaghan <michael.l.monaghan@nasa.gov>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
| |
Deploy simpleImage strip file generated during kernel build of
simpleImage elf.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
| |
While using JTAG flow to boot MB machines, you need an elf file.
Deploy simpleImage unstrip file which can be used for JTAG flow
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
| |
Use dts for SimpleImage generation for Microblaze. This patch fixes the
issue of not able to boot because dtb was used for SimpleImage
generation.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for runqemu
By default petalinux image on boot auto log's in, however testimage Yocto
framework requires the image to reach login banner and not auto login.
The user can disable autologin by setting IMAGE_AUTOLOGIN = 0 in
local.conf file. Similarly, for testimage to work the IMAGE_FSTYE =
"wic.qemu-sd" which again needs to be set in local.conf.
By adding these variables inside xilinx-testimage class, eliminate the
need from user to set these variables to correctly use testimage.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Add a new class to enable build simpleImage.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The testimage class from core does not support wic.qemu-sd as fstype
hence incorrect arguments are passed when launching qemu instances with
*.wic.qemu-sd as rootfs. This patch creates a custom testimage bbclass
specific to xilinx to support wic.qemu-sd fstypes and ensure right
arguments are passed.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handle IMAGE_BOOT_FILES having wildcard patterns for dtbs. This requires
that the recipe depend on the deployment of the dtbs in order for the
correct file names to be expanded.
This change also improves the parsing of the IMAGE_BOOT_FILES variable
and splits out the python functions for doing this into a separate
image-wic-utils.bbclass file.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
components
The zynqmp-pmu class was being used to build standalone components (PMU)
for several devices, with the introduction of the meta-xilinx-standalone
layer and the xilinx-standalone distro, this is not necessary anymore.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
As discussed previously on mailing list, we are proceeding with layer
restructuring. For rocko release we will have the following layers
meta-xilinx
->meta-xilinx-bsp (current meta-xilinx)
->meta-xilinx-contrib
In the subsequent releases we will add other layers from Xilinx
meta-xilinx
->meta-xilinx-bsp (current meta-xilinx)
->meta-petalinux
->meta-xilinx-tools
->meta-xilinx-contrib
This will provide one clone to get all the required meta layers from
Xilinx for a complete solution, and the users can blacklist any layer
which they don't want to use using bblayer.conf.
This will enables us to help our vendors/partners to add their reference
designs, board definitions etc.
Recipe changes :
* Move reference design zybo-linux-bd.bb to meta-xilinx-contrib
* Move kernel patches realted to zybo-linux-bd-zynq7 board to
meta-xilinx-contrib
* Update README
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|