From 7e95d33136ac8a6652ae7af9fd391696651c65f1 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 4 Oct 2012 17:34:31 +1000 Subject: Added 'microblazeel' machine and tune configuration. Signed-off-by: Nathan Rossi --- conf/machine/include/tune-microblazeel.inc | 22 ++++++++++++++++++++++ conf/machine/microblazeel.conf | 12 ++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 conf/machine/include/tune-microblazeel.inc create mode 100644 conf/machine/microblazeel.conf diff --git a/conf/machine/include/tune-microblazeel.inc b/conf/machine/include/tune-microblazeel.inc new file mode 100644 index 00000000..f27dc5e1 --- /dev/null +++ b/conf/machine/include/tune-microblazeel.inc @@ -0,0 +1,22 @@ +# Tune options for microblaze endian little +DEFAULTTUNE ?= "microblazeel" + +#TUNEVALID[m32] = "Microblaze ELF32 standard ABI" +#TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m32", "", "", d)}" +TUNE_ARCH = "microblazeel" +#"${@bb.utils.contains("TUNE_FEATURES", "m32", "microblazeel", "", d)}" + +TUNEVALID[fpu-soft] = "Use software FPU." +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}" +TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}" + +TUNE_PKGARCH = "${TUNE_ARCH}" + +AVAILTUNES += "microblazeel" +TUNE_FEATURES_tune-microblazeel ?= "fpu-soft" +PACKAGE_EXTRA_ARCHS_tune-microblazeel = "" + +TARGET_FPU = "soft" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "microblazeel", "-mcpu=v8.30.a", "", d)}" + +#MACHINEOVERRIDES .= "microblaze" diff --git a/conf/machine/microblazeel.conf b/conf/machine/microblazeel.conf new file mode 100644 index 00000000..68cad246 --- /dev/null +++ b/conf/machine/microblazeel.conf @@ -0,0 +1,12 @@ +#@TYPE: Machine +#@NAME: microblazeel +#@DESCRIPTION: microblazeel + +TARGET_CPU = "microblazeel" +MACHINE_FEATURES := "" + +require conf/machine/include/tune-microblazeel.inc + +KERNEL_IMAGETYPE = "uImage" + +SERIAL_CONSOLE = "115200 ttyPS0" -- cgit v1.2.3-54-g00ecf