summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorSumit Kumar <sumit_kumar@in.ibm.com>2019-05-06 03:54:49 -0500
committerSumit Kumar <sumit_kumar@in.ibm.com>2019-05-06 03:54:49 -0500
commit5086d51d705e5eb2d62806b118e399910aac62ef (patch)
treeb188ab2db2a49cb99b947d9684cab6e443be3898 /import
parent39145945224a882bcac4bcf0689317c1982e9102 (diff)
downloadtalos-hcode-5086d51d705e5eb2d62806b118e399910aac62ef.tar.gz
talos-hcode-5086d51d705e5eb2d62806b118e399910aac62ef.zip
Enablement of Axone support
Change-Id: I2340569cf32eed6ed52a81a84b0481c35b9fa0fb
Diffstat (limited to 'import')
-rw-r--r--import/chips/p9/procedures/ppe_closed/cme/cme_p9a10.mk85
-rw-r--r--import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/pstate_gpe_p9a10.mk70
-rw-r--r--import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/stop_gpe_p9a10.mk96
3 files changed, 251 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/cme_p9a10.mk b/import/chips/p9/procedures/ppe_closed/cme/cme_p9a10.mk
new file mode 100644
index 00000000..021e9017
--- /dev/null
+++ b/import/chips/p9/procedures/ppe_closed/cme/cme_p9a10.mk
@@ -0,0 +1,85 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: import/chips/p9/procedures/ppe_closed/cme/cme_p9a10.mk $
+#
+# OpenPOWER HCODE Project
+#
+# COPYRIGHT 2016,2019
+# [+] International Business Machines Corp.
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# permissions and limitations under the License.
+#
+# IBM_PROLOG_END_TAG
+
+CME_TARGET := cme_p9a10
+IMAGE := $(CME_TARGET)
+
+#Select KERNEL
+$(IMAGE)_KERNEL:=__IOTA__
+#$(IMAGE)_KERNEL:=__PK__
+
+# Options for Platforms specific
+$(IMAGE)_COMMONFLAGS = -DNIMBUS_DD_LEVEL=0
+$(IMAGE)_COMMONFLAGS+= -DCUMULUS_DD_LEVEL=0
+$(IMAGE)_COMMONFLAGS+= -DAXONE_DD_LEVEL=10
+
+$(IMAGE)_COMMONFLAGS+= -DPK_TRACE_LEVEL=1
+
+$(IMAGE)_COMMONFLAGS+= -DLAB_P9_TUNING=0
+$(IMAGE)_COMMONFLAGS+= -DEPM_P9_TUNING=0
+$(IMAGE)_COMMONFLAGS+= -DEPM_BROADSIDE_SCAN0=0
+
+$(IMAGE)_COMMONFLAGS+= -DSIMICS_TUNING=0
+$(IMAGE)_COMMONFLAGS+= -DUSE_SIMICS_IO=0
+
+include $(CME_SRCDIR)/cme_common.mk
+OBJS := $(CME_OBJS)
+
+$(call BUILD_PPEIMAGE)
+
+
+
+## ## Bin header
+ IMAGE=cpmr_header_p9a10
+ IMAGE_EDITOR=cmeImgEdit.exe
+##
+## # Target tool chain
+ $(IMAGE)_TARGET=PPE
+##
+## #linkscript to use
+ $(IMAGE)_LINK_SCRIPT=linkcpmr.cmd
+##
+ OBJS = stop_cme/p9_cme_cpmr.o
+
+$(call ADD_BINHEADER_INCDIR,$(IMAGE),\
+ $(CME_SRCDIR)/stop_cme \
+ $(CME_SRCDIR)/pstate_cme \
+ $(PK_SRCDIR)/kernel \
+ $(PK_SRCDIR)/ppe42 \
+ $(PK_SRCDIR)/trace \
+ $(PK_SRCDIR)/$(_PPE_TYPE) \
+ $(PM_LIBDIR)/include \
+ $(PM_LIBDIR)/include/registers \
+ $(PM_LIBDIR)/common \
+ $(HCODE_LIBDIR) \
+ $(HCODE_COMMON_LIBDIR) \
+ $(ROOTPATH)/chips/p9/procedures/hwp/lib/ \
+ $(ROOTPATH)/chips/p9/utils/imageProcs/ \
+ )
+
+gitsha := $(shell git log -1 --pretty=format:"%h")
+ $(call BUILD_BINHEADER,$(IMAGEPATH)/$(CME_TARGET)/$(CME_TARGET).bin, \
+ $(ROOTPATH)/chips/p9/procedures/utils/stopreg/selfRest.bin \
+ $(gitsha))
diff --git a/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/pstate_gpe_p9a10.mk b/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/pstate_gpe_p9a10.mk
new file mode 100644
index 00000000..f335989a
--- /dev/null
+++ b/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/pstate_gpe_p9a10.mk
@@ -0,0 +1,70 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/pstate_gpe_p9a10.mk $
+#
+# OpenPOWER HCODE Project
+#
+# COPYRIGHT 2016,2019
+# [+] International Business Machines Corp.
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# permissions and limitations under the License.
+#
+# IBM_PROLOG_END_TAG
+PSTATE_TARGET:=pstate_gpe_p9a10
+IMAGE:=$(PSTATE_TARGET)
+
+#Note: Flags are resolved later - so local variables can't be
+# used to build them
+$(IMAGE)_COMMONFLAGS+= -DNIMBUS_DD_LEVEL=0
+$(IMAGE)_COMMONFLAGS+= -DCUMULUS_DD_LEVEL=0
+$(IMAGE)_COMMONFLAGS+= -DAXONE_DD_LEVEL=10
+#$(IMAGE)_COMMONFLAGS+= -fstack-usage
+
+include $(PGPE_SRCDIR)/pstate_gpe/pstate_common.mk
+$(IMAGE)_COMMONFLAGS += $(PSTATE_COMMONFLAGS)
+OBJS := $(PSTATE_OBJS)
+
+$(call BUILD_PPEIMAGE)
+
+# PPMR header edit:
+IMAGE=ppmr_header_p9a10
+IMAGE_EDITOR=pstate_gpeImgEdit.exe
+
+# Target tool chain
+$(IMAGE)_TARGET=PPE
+
+#linkscript to use
+$(IMAGE)_LINK_SCRIPT=linkppmr.cmd
+
+OBJS = p9_pgpe_ppmr.o
+
+$(call ADD_BINHEADER_INCDIR,$(IMAGE),\
+ $(PK_SRCDIR)/kernel \
+ $(PK_SRCDIR)/ppe42 \
+ $(PK_SRCDIR)/trace \
+ $(PK_SRCDIR)/$(_PPE_TYPE) \
+ $(PM_LIBDIR)/include \
+ $(PM_LIBDIR)/include/registers \
+ $(PM_LIBDIR)/common \
+ $(PM_LIBDIR)/occlib \
+ $(HCODE_LIBDIR) \
+ $(HCODE_COMMON_LIBDIR) \
+ $(HCODE_UTILS_INCDIR) \
+ $(ROOTPATH)/chips/p9/procedures/hwp/lib/ \
+ )
+
+gitsha := $(shell git log -1 --pretty=format:"%h")
+$(call BUILD_BINHEADER,$(IMAGEPATH)/$(PSTATE_TARGET)/$(PSTATE_TARGET).bin, \
+ $(gitsha))
diff --git a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/stop_gpe_p9a10.mk b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/stop_gpe_p9a10.mk
new file mode 100644
index 00000000..d3a889bf
--- /dev/null
+++ b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/stop_gpe_p9a10.mk
@@ -0,0 +1,96 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/stop_gpe_p9a10.mk $
+#
+# OpenPOWER HCODE Project
+#
+# COPYRIGHT 2016,2019
+# [+] International Business Machines Corp.
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# permissions and limitations under the License.
+#
+# IBM_PROLOG_END_TAG
+#
+## IMAGE=qpmr_header
+##
+## # Target tool chain
+## $(IMAGE)_TARGET=PPE
+##
+## #linkscript to use
+## $(IMAGE)_LINK_SCRIPT=linkqpmr.cmd
+##
+## OBJS = p9_sgpe_qpmr.o
+## $(call BUILD_BINHEADER)
+
+STOP_TARGET := stop_gpe_p9a10
+IMAGE := $(STOP_TARGET)
+
+
+# Note: Flags are resolved very late,
+# so local variables can't be used to build them
+
+# Options for Platforms specific tuning
+
+$(IMAGE)_COMMONFLAGS+= -DNIMBUS_DD_LEVEL=0
+$(IMAGE)_COMMONFLAGS+= -DCUMULUS_DD_LEVEL=0
+$(IMAGE)_COMMONFLAGS+= -DAXONE_DD_LEVEL=10
+
+$(IMAGE)_COMMONFLAGS+= -DLAB_P9_TUNING=0
+
+$(IMAGE)_COMMONFLAGS+= -DEPM_P9_TUNING=0
+$(IMAGE)_COMMONFLAGS+= -DEPM_BROADSIDE_SCAN0=0
+
+$(IMAGE)_COMMONFLAGS+= -DSIMICS_TUNING=0
+$(IMAGE)_COMMONFLAGS+= -DUSE_SIMICS_IO=0
+
+
+include $(SGPE_SRCDIR)/stop_gpe/stop_common.mk
+$(IMAGE)_COMMONFLAGS += $(STOP_COMMONFLAGS)
+OBJS := $(STOP_OBJS)
+
+$(call BUILD_PPEIMAGE)
+
+# QPMR header edit:
+IMAGE=qpmr_header_p9a10
+IMAGE_EDITOR=stop_gpeImgEdit.exe
+
+# Target tool chain
+$(IMAGE)_TARGET=PPE
+
+#linkscript to use
+$(IMAGE)_LINK_SCRIPT=linkqpmr.cmd
+
+OBJS = p9_sgpe_qpmr.o
+
+
+$(call ADD_BINHEADER_INCDIR,$(IMAGE),\
+ $(PK_SRCDIR)/kernel \
+ $(PK_SRCDIR)/ppe42 \
+ $(PK_SRCDIR)/trace \
+ $(PK_SRCDIR)/$(_PPE_TYPE) \
+ $(PM_LIBDIR)/include \
+ $(PM_LIBDIR)/include/registers \
+ $(PM_LIBDIR)/common \
+ $(PM_LIBDIR)/occlib \
+ $(HCODE_LIBDIR) \
+ $(HCODE_COMMON_LIBDIR) \
+ $(HCODE_UTILS_INCDIR) \
+ $(ROOTPATH)/chips/p9/procedures/hwp/lib/ \
+ $(ROOTPATH)/chips/p9/utils/imageProcs/ \
+ )
+gitsha := $(shell git log -1 --pretty=format:"%h")
+$(call BUILD_BINHEADER,$(IMAGEPATH)/$(STOP_TARGET)/$(STOP_TARGET).bin, \
+ $(gitsha))
+
OpenPOWER on IntegriCloud