aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/include/microblaze
AgeCommit message (Collapse)Author
2017-12-13meta-xilinx: Restructuring meta-xilinx to support multiple layersManjukumar Matha
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>
2017-12-06arch-microblaze.inc: Add 'frequency-optimized' tuneNathan Rossi
With MicroBlaze v10.0 an additional AREA_OPTIMIZED value of 2 was added named Frequency. This optimization adds additional pipeline stages, and code can be optimized differently to achieve better tuned performance for these targets. The '-mxl-frequency' flag has been added to GCC (not in mainline) to enable specific tune optimizations for CPUs configured this way. Whilst this tune does not change any ABI the addition of the 'fo' package arch flag is added to allow for building both target optimized and un-optimized without mixing packages. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-12-06arch-microblaze.inc: Add v10.0 conflict for bigendianNathan Rossi
As of v10.0 MicroBlaze is no longer configurable as a bigendian CPU. This change prevents the ability to configure the tunes of a MicroBlaze machine with v10.0 and bigendian. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-12-06feature-microblaze-versions.inc: Rework and expand version conflictsNathan Rossi
This change removes the use of the python function to expand the TUNECONFLICTS definitions for version tunes. Instead this is replaced with hardcoded definitions. This is preferred due to reduced complexity of the python code as well as streamlining the include, this is also done to make the includes align better with expectations of tune includes in OE-Core. This change also moves the version conflicts for the reorder tune into arch-microblaze. Additional documentation is added to cover details of MicroBlaze CPU versions, and the change between different version formats. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2017-07-11feature-microblaze-versions.inc: Remove v7.* MicroBlaze CPU VersionsNathan Rossi
These versions of the MicroBlaze CPU are now considerably outdated and were obsoleted in 2012. Additionally they were only available with the big endian configuration. Remove the v7.30 tune feature. The s3adsp1800-qemu-microblazeeb machine emulates a v7.10.d cpu version, however QEMU does not limit the CPU being emulated and provides all CPU instructions and features that are available, so build targeting v8.00 instead. Also fix up the version formatting generated by microblaze_current_version. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-07-11meta: introduce bigendian instead of little-endian/big-endianMing Liu
The endianess of a specific architecture could be either big or little, there is not a third value, so let it default to be little endian, and get rid of the tune feature 'little-endian' which is redundant to be there, also change tune feature 'big-endian' to 'bigendian'. With these changes, it will behave same with all other architectures in openembedded-core layer. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-05-30feature-microblaze-versions.inc: Simplify version formatting functionsNathan Rossi
Simplify the functions used to generate the TUNE_CCARGS and PKGARCH version strings. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-05-30arch-microblaze.inc: Invert how the 'reorder' feature is used for v8.30Nathan Rossi
With Xilinx MicroBlaze v8.30 a configuration issue requires that the 'pattern-compare' feature is enable for the 'reorder' feature to be correctly functional. Previously the MicroBlaze tune setup would assume that 'pattern-compare' was available even when it may not actually be, and would force enable the 'pattern-compare' feature automatically. This behaviour is prone to issues and may emit broken binaries for a target when the user was not aware or expected that there target CPU was broken. This change inverts the behaviour such that instead of implicitly enabling the 'pattern-compare' feature it instead does not enable generation of reorder instructions for the compiler by setting '-mno-xl-reorder' in the same way as the case that the target does not have the feature enabled. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-03-31arch-microblaze.inc: Consolidate MicroBlaze tune featuresNathan Rossi
This change adds the 'arch-microblaze.inc' architecture tune features include which provides all the relevant tune features for MicroBlaze. This include replaces the 'tune-microblaze-features.inc' include, which is not actually a valid TUNE. This change results in the MicroBlaze tune and tune feature include tree matching the layout of meta/. This change additionally consolidates all the smaller includes (feature-microblaze-*.inc) into larger sets or into the arch-microblaze.inc. This makes the package arch string ordering much clearer as well as removing the large number of variables uses to set the TUNE_CCARGS. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-03-31feature-microblaze-versions.inc: Clean up and consolidationNathan Rossi
Clean up the MicroBlaze versions tunes as well and improve the TUNECONFLICTS for version features so that the conflicts matrix is automatically generated. Additionally consolidate the version features into a single include. Improve and generate the "-mcpu=" and package strings based on the version feature. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-02feature-microblaze-*: Add Microblaze v10.0 IPManjukumar Matha
Add v10.0 IP for microblaze Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-05-13feature-microblaze-*.inc: Updated to v9.6Manjukumar Matha
Update to the latest v9.6 tune feature Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2014-12-05microblaze/feature-microblaze-endian.inc: Fix MBPKGENDIANNathan Rossi
* Do not emit "eb" twice into MBPKGENDIAN Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2013-05-23tune-microblaze: Add negative CCARGS definitionsNathan Rossi
* Add args to turn off CPU features Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2013-05-23microblaze: Set FPU_TARGET and add sanity checkingSipke Vriend
Set bitbake 'known' FPU_TARGET to reflect soft-fpu or hard-fpu Sanity check: add pattern-compare if reorder only exists in v8.30. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
2013-05-22microblaze: Add v9.0 tune.Sipke Vriend
Add support for microblaze v9.0. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
2013-05-22microblaze: Change version tune format.Sipke Vriend
Modify versions from vXYY to vX.YY to provide distinction between major and minor sections. Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
2013-03-26tune-microblaze: RefactoredSipke Vriend
* Added features with CFLAG mappings * Added version features for v7.3-.a to v8.50.a * Added MicroBlaze PACKAGE_ARCH expansion e.g. "microblazeel-v830-cmp" Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>