[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH v2 1/2] microblaze tune: Enable 64-bit
From:       Mark Hatle <mark.hatle () kernel ! crashing ! org>
Date:       2020-01-31 23:36:59
Message-ID: e9f20e39-3c48-da26-dd97-2ef182be96bf () kernel ! crashing ! org
[Download RAW message or body]

If it wasn't clear (and isn't to patchtest), these require the previous
microblaze tune commits I sent in order to apply.

--Mark

On 1/31/20 5:33 PM, Mark Hatle wrote:
> From: Mark Hatle <mark.hatle@xilinx.com>
> 
> 64-bit is not yet available in Linux, but some non-Linux uses exist.
> 
> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
> ---
> meta/conf/machine/include/microblaze/arch-microblaze.inc | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/conf/machine/include/microblaze/arch-microblaze.inc \
> b/meta/conf/machine/include/microblaze/arch-microblaze.inc index \
>                 265898b6b6..fb777d929c 100644
> --- a/meta/conf/machine/include/microblaze/arch-microblaze.inc
> +++ b/meta/conf/machine/include/microblaze/arch-microblaze.inc
> @@ -4,6 +4,9 @@
> TUNEVALID[microblaze] = "MicroBlaze"
> MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "microblaze", \
> "microblaze:", "", d)}" 
> +TUNEVALID[64-bit] = "64-bit MicroBlaze"
> +MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "64-bit", \
> "microblaze64:", "", d)}" +
> # Endian
> TUNEVALID[bigendian] = "Use Microblaze Big Endian"
> TUNECONFLICTS[bigendian] += "v10.0"
> @@ -26,6 +29,7 @@ TUNECONFLICTS[frequency-optimized] += "v8.00 v8.10 v8.20 v8.30 \
> v8.40 v8.50 v9.0 TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", \
> "barrel-shift", "-mxl-barrel-shift", "-mno-xl-barrel-shift", d)}" TUNE_CCARGS += \
> "${@bb.utils.contains("TUNE_FEATURES", "pattern-compare", "-mxl-pattern-compare", \
> "-mno-xl-pattern-compare", d)}" TUNE_CCARGS += \
> "${@bb.utils.contains("TUNE_FEATURES", "frequency-optimized", "-mxl-frequency", "", \
> d)}" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "64-bit", "-m64", "", \
> d)}" 
> # Disable reorder for v8.30 if pattern-compare is not enabled
> TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "reorder", \
> @@ -48,6 +52,9 @@ require \
> conf/machine/include/microblaze/feature-microblaze-math.inc # Architecture name, \
> either 'microblazeeb' or 'microblazeel' depending on endianess TUNE_ARCH = \
> "microblaze${@bb.utils.contains("TUNE_FEATURES", "bigendian", "", "el", d)}" 
> +# Add 64-bit to the PKGARCH if enabled.
> +MBPKGARCH_SIZE = "${@bb.utils.contains("TUNE_FEATURES", "64-bit", "64", "", d)}"
> +
> # Package Architecture formatting
> -TUNE_PKGARCH = "microblaze${MBPKGARCH_ENDIAN}${MBPKGARCH_VERSION}${MBPKGARCH_TUNE}${MBPKGARCH_MATH}"
>  +TUNE_PKGARCH = "microblaze${MBPKGARCH_SIZE}${MBPKGARCH_ENDIAN}${MBPKGARCH_VERSION}${MBPKGARCH_TUNE}${MBPKGARCH_MATH}"
>  
> 
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic