diff options
| author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-06 16:06:35 -0800 |
|---|---|---|
| committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-13 16:11:14 -0800 |
| commit | a18947c20dba2c0c38db8bde1ad4684995df4bbd (patch) | |
| tree | 917bf2abbe439a6f99ede8cfafb25812dca54a9a /conf/machine/include/microblaze/feature-microblaze-versions.inc | |
| parent | 6ddc5873b0ede30e6542f0ab151a6236acc37944 (diff) | |
| download | meta-xilinx-a18947c20dba2c0c38db8bde1ad4684995df4bbd.tar.gz | |
meta-xilinx: Restructuring meta-xilinx to support multiple layers
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>
Diffstat (limited to 'conf/machine/include/microblaze/feature-microblaze-versions.inc')
| -rw-r--r-- | conf/machine/include/microblaze/feature-microblaze-versions.inc | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/conf/machine/include/microblaze/feature-microblaze-versions.inc b/conf/machine/include/microblaze/feature-microblaze-versions.inc deleted file mode 100644 index 955674ff..00000000 --- a/conf/machine/include/microblaze/feature-microblaze-versions.inc +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | # MicroBlaze versions are defined as features, the features are setup to | ||
| 2 | # conflict with other versions as well as unavailable features for particular | ||
| 3 | # versions. | ||
| 4 | # | ||
| 5 | # Versions before v9.0 of MicroBlaze use a versioning scheme of "vX.YY.Z" | ||
| 6 | # (where Z = [abc]). For v8.* versions of MicroBlaze the revision (Z) changes | ||
| 7 | # did not affect ABI and are ignored by this tune configuration. Though this | ||
| 8 | # format is expected by GCC including the revision, but this is defaulted to | ||
| 9 | # ".a". | ||
| 10 | # | ||
| 11 | # Since v9.0 of MicroBlaze the revision (Z) part of versions was entirely | ||
| 12 | # dropped and the version scheme was changed to "vX.Y". | ||
| 13 | |||
| 14 | def microblaze_current_version(d, gcc = False): | ||
| 15 | import re | ||
| 16 | # find the current version, and convert it to major/minor integers | ||
| 17 | version = None | ||
| 18 | for t in (d.getVar("TUNE_FEATURES") or "").split(): | ||
| 19 | m = re.search("^v(\d+)\.(\d+)", t) | ||
| 20 | if m: | ||
| 21 | version = int(m.group(1)), int(m.group(2)) | ||
| 22 | break | ||
| 23 | |||
| 24 | # format the version string in generic or GCC specific formats | ||
| 25 | if version: | ||
| 26 | if version[0] <= 8: | ||
| 27 | return ("v%d.%02d" % version[0:2]) + (".a" if gcc else "") | ||
| 28 | else: | ||
| 29 | return "v%d.%d" % version[0:2] | ||
| 30 | return "" | ||
| 31 | |||
| 32 | # MicroBlaze versions | ||
| 33 | TUNEVALID[v8.00] = "MicroBlaze version 8.00" | ||
| 34 | TUNEVALID[v8.10] = "MicroBlaze version 8.10" | ||
| 35 | TUNEVALID[v8.20] = "MicroBlaze version 8.20" | ||
| 36 | TUNEVALID[v8.30] = "MicroBlaze version 8.30" | ||
| 37 | TUNEVALID[v8.40] = "MicroBlaze version 8.40" | ||
| 38 | TUNEVALID[v8.50] = "MicroBlaze version 8.50" | ||
| 39 | TUNEVALID[v9.0] = "MicroBlaze version 9.0" | ||
| 40 | TUNEVALID[v9.1] = "MicroBlaze version 9.1" | ||
| 41 | TUNEVALID[v9.2] = "MicroBlaze version 9.2" | ||
| 42 | TUNEVALID[v9.3] = "MicroBlaze version 9.3" | ||
| 43 | TUNEVALID[v9.4] = "MicroBlaze version 9.4" | ||
| 44 | TUNEVALID[v9.5] = "MicroBlaze version 9.5" | ||
| 45 | TUNEVALID[v9.6] = "MicroBlaze version 9.6" | ||
| 46 | TUNEVALID[v10.0] = "MicroBlaze version 10.0" | ||
| 47 | |||
| 48 | # Version conflict matrix | ||
| 49 | TUNECONFLICTS[v8.00] = "" | ||
| 50 | TUNECONFLICTS[v8.10] = "v8.00" | ||
| 51 | TUNECONFLICTS[v8.20] = "v8.00 v8.10" | ||
| 52 | TUNECONFLICTS[v8.30] = "v8.00 v8.10 v8.20" | ||
| 53 | TUNECONFLICTS[v8.40] = "v8.00 v8.10 v8.20 v8.30" | ||
| 54 | TUNECONFLICTS[v8.50] = "v8.00 v8.10 v8.20 v8.30 v8.40" | ||
| 55 | TUNECONFLICTS[v9.0] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50" | ||
| 56 | TUNECONFLICTS[v9.1] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0" | ||
| 57 | TUNECONFLICTS[v9.2] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1" | ||
| 58 | TUNECONFLICTS[v9.3] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2" | ||
| 59 | TUNECONFLICTS[v9.4] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3" | ||
| 60 | TUNECONFLICTS[v9.5] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3 v9.4" | ||
| 61 | TUNECONFLICTS[v9.6] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3 v9.4 v9.5" | ||
| 62 | TUNECONFLICTS[v10.0] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3 v9.4 v9.5 v9.6" | ||
| 63 | |||
| 64 | # Version flags | ||
| 65 | TUNE_CCARGS += "-mcpu=${@microblaze_current_version(d, True)}" | ||
| 66 | MBPKGARCH_VERSION = "-${@microblaze_current_version(d)}" | ||
| 67 | |||
