diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-10-13 04:28:34 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-10-22 21:46:04 +0300 |
commit | 957bbed0f6dd76578dbf1d242e608cf7397982f6 (patch) | |
tree | 6e4966ed93615096677b95a5212662bcb52cf4e5 | |
parent | 6323cb3a4251c37d8ac2aabf9afc1dc22740c8a6 (diff) | |
download | openbmc-957bbed0f6dd76578dbf1d242e608cf7397982f6.tar.xz |
meta-hxt: remove unusable stardragon4800-rep2 machine
This machine is unbuildable and has not been updated in the requisite 2
months per https://lore.kernel.org/openbmc/YRUW7cazmCjW8VpP@heinlein/,
so it is being deleted.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie0d34a9c3146c60c5543e00a48f33aeb56ab419d
44 files changed, 0 insertions, 847 deletions
diff --git a/meta-hxt/MAINTAINERS b/meta-hxt/MAINTAINERS deleted file mode 100644 index 5a497df660..0000000000 --- a/meta-hxt/MAINTAINERS +++ /dev/null @@ -1,47 +0,0 @@ -How to use this list: - Find the most specific section entry (described below) that matches where - your change lives and add the reviewers (R) and maintainers (M) as - reviewers. You can use the same method to track down who knows a particular - code base best. - - Your change/query may span multiple entries; that is okay. - - If you do not find an entry that describes your request at all, someone - forgot to update this list; please at least file an issue or send an email - to a maintainer, but preferably you should just update this document. - -Description of section entries: - - Section entries are structured according to the following scheme: - - X: NAME <EMAIL_USERNAME@DOMAIN> <IRC_USERNAME!> - X: ... - . - . - . - - Where REPO_NAME is the name of the repository within the OpenBMC GitHub - organization; FILE_PATH is a file path within the repository, possibly with - wildcards; X is a tag of one of the following types: - - M: Denotes maintainer; has fields NAME <EMAIL_USERNAME@DOMAIN> <IRC_USERNAME!>; - if omitted from an entry, assume one of the maintainers from the - MAINTAINERS entry. - R: Denotes reviewer; has fields NAME <EMAIL_USERNAME@DOMAIN> <IRC_USERNAME!>; - these people are to be added as reviewers for a change matching the repo - path. - F: Denotes forked from an external repository; has fields URL. - - Line comments are to be denoted "# SOME COMMENT" (typical shell style - comment); it is important to follow the correct syntax and semantics as we - may want to use automated tools with this file in the future. - - A change cannot be added to an OpenBMC repository without a MAINTAINER's - approval; thus, a MAINTAINER should always be listed as a reviewer. - -START OF MAINTAINERS LIST -------------------------- - -M: Yuan Yao <yao.yuan@hxt-semitech.com> <yyaocs!> -M: Brad Bishop <bradleyb@fuzziesquirrel.com> <radsquirrel!> -R: Patrick Venture <venture@google.com> <venture!> diff --git a/meta-hxt/OWNERS b/meta-hxt/OWNERS deleted file mode 100644 index 55d6f16f52..0000000000 --- a/meta-hxt/OWNERS +++ /dev/null @@ -1,3 +0,0 @@ -owners: -- yao.yuan@hxt-semitech.com -- bradleyb@fuzziesquirrel.com diff --git a/meta-hxt/conf/layer.conf b/meta-hxt/conf/layer.conf deleted file mode 100644 index 96be31b7b0..0000000000 --- a/meta-hxt/conf/layer.conf +++ /dev/null @@ -1,7 +0,0 @@ -# We have a conf and classes directory, add to BBPATH -BBPATH .= ":${LAYERDIR}" - -BBFILE_COLLECTIONS += "hxt" -BBFILE_PATTERN_hxt = "" - -LAYERSERIES_COMPAT_hxt = "hardknott" diff --git a/meta-hxt/conf/machine/include/hxt.inc b/meta-hxt/conf/machine/include/hxt.inc deleted file mode 100644 index 976e2d09dc..0000000000 --- a/meta-hxt/conf/machine/include/hxt.inc +++ /dev/null @@ -1,3 +0,0 @@ -require conf/machine/include/arm.inc - -VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config" diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/bblayers.conf.sample b/meta-hxt/meta-stardragon4800-rep2/conf/bblayers.conf.sample deleted file mode 100644 index 9a25461b3d..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/conf/bblayers.conf.sample +++ /dev/null @@ -1,37 +0,0 @@ -# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf -# changes incompatibly -LCONF_VERSION = "8" - -BBPATH = "${TOPDIR}" -BBFILES ?= "" - -BBLAYERS ?= " \ - ##OEROOT##/meta \ - ##OEROOT##/meta-poky \ - ##OEROOT##/meta-openembedded/meta-oe \ - ##OEROOT##/meta-openembedded/meta-networking \ - ##OEROOT##/meta-openembedded/meta-perl \ - ##OEROOT##/meta-openembedded/meta-python \ - ##OEROOT##/meta-openembedded/meta-webserver \ - ##OEROOT##/meta-security \ - ##OEROOT##/meta-phosphor \ - ##OEROOT##/meta-aspeed \ - ##OEROOT##/meta-arm \ - ##OEROOT##/meta-hxt \ - ##OEROOT##/meta-hxt/meta-stardragon4800-rep2 \ - " -BBLAYERS_NON_REMOVABLE ?= " \ - ##OEROOT##/meta \ - ##OEROOT##/meta-poky \ - ##OEROOT##/meta-openembedded/meta-oe \ - ##OEROOT##/meta-openembedded/meta-networking \ - ##OEROOT##/meta-openembedded/meta-perl \ - ##OEROOT##/meta-openembedded/meta-python \ - ##OEROOT##/meta-openembedded/meta-webserver \ - ##OEROOT##/meta-security \ - ##OEROOT##/meta-phosphor \ - ##OEROOT##/meta-aspeed \ - ##OEROOT##/meta-arm \ - ##OEROOT##/meta-hxt \ - ##OEROOT##/meta-hxt/meta-stardragon4800-rep2 \ - " diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/conf-notes.txt b/meta-hxt/meta-stardragon4800-rep2/conf/conf-notes.txt deleted file mode 100644 index 9b3c01a556..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/conf/conf-notes.txt +++ /dev/null @@ -1,2 +0,0 @@ -Common targets are: - obmc-phosphor-image diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/layer.conf b/meta-hxt/meta-stardragon4800-rep2/conf/layer.conf deleted file mode 100644 index 1232072fe2..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/conf/layer.conf +++ /dev/null @@ -1,9 +0,0 @@ -# We have a conf and classes directory, add to BBPATH -BBPATH .= ":${LAYERDIR}" - -# We have recipes-* directories, add to BBFILES -BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ - ${LAYERDIR}/recipes-*/*/*.bbappend" - -BBFILE_COLLECTIONS += "stardragon4800-rep2" -BBFILE_PATTERN_stardragon4800-rep2 = "" diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/local.conf.sample b/meta-hxt/meta-stardragon4800-rep2/conf/local.conf.sample deleted file mode 100644 index b02199a66f..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/conf/local.conf.sample +++ /dev/null @@ -1,21 +0,0 @@ -MACHINE ??= "stardragon4800-rep2" -DISTRO ?= "openbmc-phosphor" -PACKAGE_CLASSES ?= "package_ipk" -SANITY_TESTED_DISTROS_append ?= " *" -EXTRA_IMAGE_FEATURES = "debug-tweaks" -USER_CLASSES ?= "buildstats image-prelink" -PATCHRESOLVE = "noop" -BB_DISKMON_DIRS = "\ - STOPTASKS,${TMPDIR},1G,100K \ - STOPTASKS,${DL_DIR},1G,100K \ - STOPTASKS,${SSTATE_DIR},1G,100K \ - STOPTASKS,/tmp,100M,100K \ - ABORT,${TMPDIR},100M,1K \ - ABORT,${DL_DIR},100M,1K \ - ABORT,${SSTATE_DIR},100M,1K \ - ABORT,/tmp,10M,1K" -CONF_VERSION = "1" -INHERIT += "extrausers" -EXTRA_USERS_PARAMS = " \ - usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \ - " diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/machine/stardragon4800-rep2.conf b/meta-hxt/meta-stardragon4800-rep2/conf/machine/stardragon4800-rep2.conf deleted file mode 100644 index fa39cc9cc9..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/conf/machine/stardragon4800-rep2.conf +++ /dev/null @@ -1,17 +0,0 @@ -KMACHINE = "aspeed" -KERNEL_DEVICETREE = "${KMACHINE}-ast2500-evb.dtb" - -UBOOT_MACHINE = "ast_g5_ncsi_config" - -FLASH_SIZE = "32768" - - -PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config= "" -require conf/machine/include/ast2500.inc -require conf/machine/include/obmc-bsp-common.inc -require conf/machine/include/hxt.inc - -IMAGE_INSTALL_append = " ir38163-workaround \ - stardragon4800-rep2-console-client \ - socupdate \ -" diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/obmc-console/obmc-console.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/obmc-console/obmc-console.conf deleted file mode 100644 index 85f35c190d..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/obmc-console/obmc-console.conf +++ /dev/null @@ -1,2 +0,0 @@ -local-tty = ttyS2 -local-tty-baud = 115200 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/obmc-console_%.bbappend b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/obmc-console_%.bbappend deleted file mode 100644 index 91909f1294..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/obmc-console_%.bbappend +++ /dev/null @@ -1,2 +0,0 @@ -FILESEXTRAPATHS_prepend_stardragon4800-rep2 := "${THISDIR}/${PN}:" -OBMC_CONSOLE_HOST_TTY = "ttyS2" diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client.bb b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client.bb deleted file mode 100644 index a0194c81b2..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client.bb +++ /dev/null @@ -1,10 +0,0 @@ -FILESEXTRAPATHS_prepend_stardragon4800-rep2 := "${THISDIR}/${PN}:" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -SRC_URI += "file://stardragon4800-rep2-console-client.sh" - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${WORKDIR}/stardragon4800-rep2-console-client.sh ${D}${bindir}/stardragon4800-rep2-console-client.sh -} diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh deleted file mode 100644 index a95c1a6565..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -e -#Control UART mux for obmc-console-client -echo 0 > /sys/class/gpio/gpio325/value -obmc-console-client -echo 1 > /sys/class/gpio/gpio325/value diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client@.service b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client@.service deleted file mode 100644 index 0e2772c7e0..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client@.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Control UART mux for obmc-console-client - -[Service] -ExecStart=/usr/bin/env stardragon4800-rep2-console-client.sh -SyslogIdentifier=stardragon4800-rep2-console-client.sh - -[Install] -WantedBy=multi-user.target diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@12.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@12.conf deleted file mode 100644 index e968f08e7d..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@12.conf +++ /dev/null @@ -1,7 +0,0 @@ -LABEL_temp1=SYS_SOC_TEMP_L -CRITLO_temp1=0 -CRITHI_temp1=100000 - -LABEL_temp2=SYS_SOC_TEMP_R -CRITLO_temp2=0 -CRITHI_temp2=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@42.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@42.conf deleted file mode 100644 index a1ba061964..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@42.conf +++ /dev/null @@ -1,5 +0,0 @@ -LABEL_in1=VREG_5P0 -WARNLO_in1=4758 -WARNHI_in1=5258 -CRITLO_in1=4507 -CRITHI_in1=5509 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@44.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@44.conf deleted file mode 100644 index 8edf80c69c..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@44.conf +++ /dev/null @@ -1,5 +0,0 @@ -LABEL_in1=VREG_3P3 -WARNLO_in1=3130 -WARNHI_in1=3474 -CRITLO_in1=2974 -CRITHI_in1=3631 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@46.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@46.conf deleted file mode 100644 index b083035d3d..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@46.conf +++ /dev/null @@ -1,5 +0,0 @@ -LABEL_in1=VREG_3P3_AUX -WARNLO_in1=3130 -WARNHI_in1=3474 -CRITLO_in1=2974 -CRITHI_in1=3631 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@48.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@48.conf deleted file mode 100644 index fc0896b0f5..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/ir38163@48.conf +++ /dev/null @@ -1,5 +0,0 @@ -LABEL_in1=VREG_5P0_USB -WARNLO_in1=4758 -WARNHI_in1=5258 -CRITLO_in1=4507 -CRITHI_in1=5509 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/pxm1310@02.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/pxm1310@02.conf deleted file mode 100644 index 91a38eec89..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/pxm1310@02.conf +++ /dev/null @@ -1,5 +0,0 @@ -LABEL_in1=PVDDQ_510 -WARNLO_in1=1144 -WARNHI_in1=1264 -CRITLO_in1=1080 -CRITHI_in1=1320 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/pxm1310@04.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/pxm1310@04.conf deleted file mode 100644 index d86a588904..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@180/pxm1310@04.conf +++ /dev/null @@ -1,5 +0,0 @@ -LABEL_in1=PVDDQ_423 -WARNLO_in1=1144 -WARNHI_in1=1264 -CRITLO_in1=1080 -CRITHI_in1=1320 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/nvt210@4c.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/nvt210@4c.conf deleted file mode 100644 index e968f08e7d..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/nvt210@4c.conf +++ /dev/null @@ -1,7 +0,0 @@ -LABEL_temp1=SYS_SOC_TEMP_L -CRITLO_temp1=0 -CRITHI_temp1=100000 - -LABEL_temp2=SYS_SOC_TEMP_R -CRITLO_temp2=0 -CRITHI_temp2=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@1d.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@1d.conf deleted file mode 100644 index 6a0bab5486..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@1d.conf +++ /dev/null @@ -1,7 +0,0 @@ -LABEL_temp1=SYS_INLET_0_L -CRITLO_temp1=0 -CRITHI_temp1=50000 - -LABEL_temp2=SYS_INLET_0_R -CRITLO_temp2=0 -CRITHI_temp2=50000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@1f.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@1f.conf deleted file mode 100644 index b856482220..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@1f.conf +++ /dev/null @@ -1,3 +0,0 @@ -LABEL_temp1=SYS_INLET_1 -CRITLO_temp1=0 -CRITHI_temp1=50000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@4d.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@4d.conf deleted file mode 100644 index 2ed024e342..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@4d.conf +++ /dev/null @@ -1,3 +0,0 @@ -LABEL_temp1=SYS_INLET_2 -CRITLO_temp1=0 -CRITHI_temp1=50000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@4f.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@4f.conf deleted file mode 100644 index ee3b5d5e5f..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@1c0/tmp421@4f.conf +++ /dev/null @@ -1,3 +0,0 @@ -LABEL_temp1=SYS_INLET_3 -CRITLO_temp1=0 -CRITHI_temp1=50000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/adm1278@10.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/adm1278@10.conf deleted file mode 100644 index 2805cadb20..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/adm1278@10.conf +++ /dev/null @@ -1,27 +0,0 @@ -LABEL_in1=HSC_AUX_VIN -WARNLO_in1=11431 -WARNHI_in1=12567 -CRITLO_in1=10792 -CRITHI_in1=13206 - -LABEL_in2=HSC_AUX_VOUT -WARNLO_in2=11431 -WARNHI_in2=12567 -CRITLO_in2=10792 -CRITHI_in2=13206 - -LABEL_curr1=HSC_AUX_IOUT -WARNLO_curr1=0 -WARNHI_curr1=50058 -CRITLO_curr1=0 -CRITHI_curr1=60021 - -LABEL_power1=HSC_AUX_PIN -WARNLO_power1=0 -WARNHI_power1=601520 -CRITLO_power1=0 -CRITHI_power1=721240 - -LABEL_temp1=HSC_AUX_TEMP -CRITLO_temp1=0 -CRITHI_temp1=105000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/adm1278@11.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/adm1278@11.conf deleted file mode 100644 index 3c4ebbae62..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@300/adm1278@11.conf +++ /dev/null @@ -1,27 +0,0 @@ -LABEL_in1=HSC_HDD_VIN -WARNLO_in1=11431 -WARNHI_in1=12567 -CRITLO_in1=10792 -CRITHI_in1=13206 - -LABEL_in2=HSC_HDD_VOUT -WARNLO_in2=11431 -WARNHI_in2=12567 -CRITLO_in2=10792 -CRITHI_in2=13206 - -LABEL_curr1=HSC_HDD_IOUT -WARNLO_curr1=0 -WARNHI_curr1=11993 -CRITLO_curr1=0 -CRITHI_curr1=15008 - -LABEL_power1=HSC_HDD_PIN -WARNLO_power1=0 -WARNHI_power1=143200 -CRITLO_power1=0 -CRITHI_power1=179200 - -LABEL_temp1=HSC_HDD_TEMP -CRITLO_temp1=0 -CRITHI_temp1=60000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/adm1278@12.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/adm1278@12.conf deleted file mode 100644 index 01b32101df..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/adm1278@12.conf +++ /dev/null @@ -1,27 +0,0 @@ -LABEL_in1=HSC_FAN_VIN -WARNLO_in1=11431 -WARNHI_in1=12567 -CRITLO_in1=10792 -CRITHI_in1=13206 - -LABEL_in2=HSC_FAN_VOUT -WARNLO_in2=11431 -WARNHI_in2=12567 -CRITLO_in2=10792 -CRITHI_in2=13206 - -LABEL_curr1=HSC_FAN_IOUT -WARNLO_curr1=0 -WARNHI_curr1=24948 -CRITLO_curr1=0 -CRITHI_curr1=29988 - -LABEL_power1=HSC_FAN_PIN -WARNLO_power1=0 -WARNHI_power1=298980 -CRITLO_power1=0 -CRITHI_power1=359380 - -LABEL_temp1=HSC_FAN_TEMP -CRITLO_temp1=0 -CRITHI_temp1=105000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/ds1100@58.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/ds1100@58.conf deleted file mode 100644 index 5a6fe7ec34..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/ds1100@58.conf +++ /dev/null @@ -1,17 +0,0 @@ -LABEL_fan1=PSU_FAN -CRITLO_fan1=535 -CRITHI_fan1=13054 - -LABEL_temp3=PSU_TEMP_AMB -CRITLO_temp3=0 -CRITHI_temp3=50000 - -LABEL_temp1=PSU_TEMP_HS -CRITLO_temp1=0 -CRITHI_temp1=100000 - -LABEL_in1=PSU_VIN -WARNLO_in1=96000 -WARNHI_in1=0 -CRITLO_in1=0 -CRITHI_in1=253000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@20.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@20.conf deleted file mode 100644 index 1e21d96d68..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@20.conf +++ /dev/null @@ -1,47 +0,0 @@ -LABEL_fan1=SYS_FAN_1_F -CRITLO_fan1=535 -CRITHI_fan1=26964 -GAIN_fan1=0.85 -OFFSET_fan1=0 - -LABEL_fan2=SYS_FAN_1_R -CRITLO_fan2=535 -CRITHI_fan2=26964 -GAIN_fan2=0.8 -OFFSET_fan2=0 - -LABEL_fan8=SYS_FAN_2_F -CRITLO_fan8=535 -CRITHI_fan8=26964 -GAIN_fan8=0.85 -OFFSET_fan8=0 - -LABEL_fan3=SYS_FAN_2_R -CRITLO_fan3=535 -CRITHI_fan3=26964 -GAIN_fan3=0.8 -OFFSET_fan3=0 - -LABEL_fan4=SYS_FAN_3_F -CRITLO_fan4=535 -CRITHI_fan4=26964 -GAIN_fan4=0.85 -OFFSET_fan4=0 - -LABEL_fan5=SYS_FAN_3_R -CRITLO_fan5=535 -CRITHI_fan5=26964 -GAIN_fan5=0.8 -OFFSET_fan5=0 - -LABEL_fan11=SYS_FAN_4_F -CRITLO_fan11=535 -CRITHI_fan11=26964 -GAIN_fan11=0.85 -OFFSET_fan11=0 - -LABEL_fan6=SYS_FAN_4_R -CRITLO_fan6=535 -CRITHI_fan6=26964 -GAIN_fan6=0.8 -OFFSET_fan6=0 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@23.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@23.conf deleted file mode 100644 index 20dad4b442..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@23.conf +++ /dev/null @@ -1,47 +0,0 @@ -LABEL_fan1=SYS_FAN_5_F -CRITLO_fan1=535 -CRITHI_fan1=26964 -GAIN_fan1=0.85 -OFFSET_fan1=0 - -LABEL_fan2=SYS_FAN_5_R -CRITLO_fan2=535 -CRITHI_fan2=26964 -GAIN_fan2=0.8 -OFFSET_fan2=0 - -LABEL_fan8=SYS_FAN_6_F -CRITLO_fan8=535 -CRITHI_fan8=26964 -GAIN_fan8=0.85 -OFFSET_fan8=0 - -LABEL_fan3=SYS_FAN_6_R -CRITLO_fan3=535 -CRITHI_fan3=26964 -GAIN_fan3=0.8 -OFFSET_fan3=0 - -LABEL_fan4=SYS_FAN_7_F -CRITLO_fan4=535 -CRITHI_fan4=26964 -GAIN_fan4=0.85 -OFFSET_fan4=0 - -LABEL_fan5=SYS_FAN_7_R -CRITLO_fan5=535 -CRITHI_fan5=26964 -GAIN_fan5=0.8 -OFFSET_fan5=0 - -LABEL_fan11=SYS_FAN_8_F -CRITLO_fan11=535 -CRITHI_fan11=26964 -GAIN_fan11=0.85 -OFFSET_fan11=0 - -LABEL_fan6=SYS_FAN_8_R -CRITLO_fan6=535 -CRITHI_fan6=26964 -GAIN_fan6=0.8 -OFFSET_fan6=0 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/tmp421@1d.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/tmp421@1d.conf deleted file mode 100644 index 1c85be91a1..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/tmp421@1d.conf +++ /dev/null @@ -1,7 +0,0 @@ -LABEL_temp1=FAN_BD_TEMP_L -CRITLO_temp1=0 -CRITHI_temp1=60000 - -LABEL_temp2=FAN_BD_TEMP_R -CRITLO_temp2=0 -CRITHI_temp2=60000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@1c.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@1c.conf deleted file mode 100644 index a7e74da325..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@1c.conf +++ /dev/null @@ -1,3 +0,0 @@ -LABEL_temp1=SYS_OUTLET_3 -CRITLO_temp1=0 -CRITHI_temp1=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@1e.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@1e.conf deleted file mode 100644 index 0bb21b236b..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@1e.conf +++ /dev/null @@ -1,7 +0,0 @@ -LABEL_temp1=SYS_OUTLET_0_L -CRITLO_temp1=0 -CRITHI_temp1=100000 - -LABEL_temp2=SYS_OUTLET_0_R -CRITLO_temp2=0 -CRITHI_temp2=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@2a.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@2a.conf deleted file mode 100644 index f794c0e7ba..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@2a.conf +++ /dev/null @@ -1,3 +0,0 @@ -LABEL_temp1=SYS_OUTLET_1 -CRITLO_temp1=0 -CRITHI_temp1=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@4e.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@4e.conf deleted file mode 100644 index 3834fc2dde..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@80/tmp421@4e.conf +++ /dev/null @@ -1,3 +0,0 @@ -LABEL_temp1=SYS_OUTLET_2 -CRITLO_temp1=0 -CRITHI_temp1=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/flash-controller@1e631000/spi2@0.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/flash-controller@1e631000/spi2@0.conf deleted file mode 100644 index 1311e52bb7..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/flash-controller@1e631000/spi2@0.conf +++ /dev/null @@ -1,73 +0,0 @@ -LABEL_temp1=SOC_TEMP -CRITLO_temp1=0 -CRITHI_temp1=94000 - -LABEL_temp2=PMF2432_TEMP -CRITLO_temp2=0 -CRITHI_temp2=103000 - -LABEL_temp3=PMF2433_TEMP -CRITLO_temp3=0 -CRITHI_temp3=103000 - -LABEL_temp4=CVR_APC_TEMP -CRITLO_temp4=0 -CRITHI_temp4=103000 - -LABEL_temp5=CVR_CBF_TEMP -CRITLO_temp5=0 -CRITHI_temp5=103000 - -LABEL_temp6=DIMM_C0D0_TEMP -CRITLO_temp6=0 -CRITHI_temp6=83000 - -LABEL_temp7=DIMM_C0D1_TEMP -CRITLO_temp7=0 -CRITHI_temp7=83000 - -LABEL_temp8=DIMM_C1D0_TEMP -CRITLO_temp8=0 -CRITHI_temp8=83000 - -LABEL_temp9=DIMM_C1D1_TEMP -CRITLO_temp9=0 -CRITHI_temp9=83000 - -LABEL_temp10=DIMM_C2D0_TEMP -CRITLO_temp10=0 -CRITHI_temp10=83000 - -LABEL_temp11=DIMM_C2D1_TEMP -CRITLO_temp11=0 -CRITHI_temp11=83000 - -LABEL_temp12=DIMM_C3D0_TEMP -CRITLO_temp12=0 -CRITHI_temp12=83000 - -LABEL_temp13=DIMM_C3D1_TEMP -CRITLO_temp13=0 -CRITHI_temp13=83000 - -LABEL_temp14=DIMM_C4D0_TEMP -CRITLO_temp14=0 -CRITHI_temp14=83000 - -LABEL_temp15=DIMM_C4D1_TEMP -CRITLO_temp15=0 -CRITHI_temp15=83000 - -LABEL_temp16=DIMM_C5D0_TEMP -CRITLO_temp16=0 -CRITHI_temp16=83000 - -LABEL_temp17=DIMM_C5D1_TEMP -CRITLO_temp17=0 -CRITHI_temp17=83000 - -LABEL_power1=SOC_PWR -WARNLO_power1=0 -WARNHI_power1=120000 -CRITLO_power1=0 -CRITHI_power1=130000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf deleted file mode 100644 index 86d33962dd..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf +++ /dev/null @@ -1,30 +0,0 @@ -LABEL_in1=SYS_3V3 -GAIN_in1=2.40 -WARNLO_in1=3132 -WARNHI_in1=3463 -CRITLO_in1=2975 -CRITHI_in1=3637 -LABEL_in2=SYS_5V0 -GAIN_in2=3.86 -WARNLO_in2=4744 -WARNHI_in2=5253 -CRITLO_in2=4502 -CRITHI_in2=5494 -LABEL_in3=SYS_12V0 -GAIN_in3=8.82 -WARNLO_in3=11408 -WARNHI_in3=12586 -CRITLO_in3=10850 -CRITHI_in3=13206 -LABEL_in6=SYS_3V3_AUX -GAIN_in6=2.40 -WARNLO_in6=3132 -WARNHI_in6=3463 -CRITLO_in6=2975 -CRITHI_in6=3637 -LABEL_in8=SYS_3V0_Battery -GAIN_in8=1.66 -WARNLO_in8=2849 -WARNHI_in8=3460 -CRITLO_in8=2701 -CRITHI_in8=3629 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend deleted file mode 100644 index 27d7ae2167..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ /dev/null @@ -1,34 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -NAMES = " apb/bus@1e78a000/i2c-bus@1c0/tmp421@1d \ - apb/bus@1e78a000/i2c-bus@1c0/tmp421@1f \ - apb/bus@1e78a000/i2c-bus@1c0/tmp421@4d \ - apb/bus@1e78a000/i2c-bus@1c0/tmp421@4f \ - apb/bus@1e78a000/i2c-bus@1c0/nvt210@4c \ - apb/bus@1e78a000/i2c-bus@180/ir38163@42 \ - apb/bus@1e78a000/i2c-bus@180/ir38163@44 \ - apb/bus@1e78a000/i2c-bus@180/ir38163@46 \ - apb/bus@1e78a000/i2c-bus@180/ir38163@48 \ - apb/bus@1e78a000/i2c-bus@180/pxm1310@02 \ - apb/bus@1e78a000/i2c-bus@180/pxm1310@04 \ - apb/bus@1e78a000/i2c-bus@80/tmp421@1c \ - apb/bus@1e78a000/i2c-bus@80/tmp421@1e \ - apb/bus@1e78a000/i2c-bus@80/tmp421@2a \ - apb/bus@1e78a000/i2c-bus@80/tmp421@4e \ - apb/bus@1e78a000/i2c-bus@300/adm1278@10 \ - apb/bus@1e78a000/i2c-bus@300/adm1278@11 \ - apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/adm1278@12 \ - apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@20 \ - apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@23 \ - apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/tmp421@1d \ - apb/bus@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/ds1100@58 \ - flash-controller@1e631000/spi2@0 \ -" - -ITEMSFMT = "ahb/{0}.conf" - -ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}" -ITEMS += "iio-hwmon.conf" - -ENVS = "obmc/hwmon/{0}" -SYSTEMD_ENVIRONMENT_FILE:${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/socupdate/files/socupdate.sh b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/socupdate/files/socupdate.sh deleted file mode 100644 index 640ad767b3..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/socupdate/files/socupdate.sh +++ /dev/null @@ -1,129 +0,0 @@ -#!/bin/sh -e -# SOC update tool, need two parameter(soc update file name and TFTP ip) - -if [ ! -n "$1" -o ! -n "$2" ] ;then - echo "Please enter SOC-ImageName and TFTP-IP." - echo "Format: socupdate.sh FileName IP" - echo "Example: socupdate.sh 0ACJAXXX.ROM 192.168.1.1" - exit -fi - -echo "SOC update start." - -echo "Check BMC status." -checkbmc='gpioutil -p Q4' -if $checkbmc = "1"; then - echo "BMC is ready." -else - echo "BMC isn't ready." - exit -fi - -echo "Check SOC image does it exist." -cd /tmp/ -FILEEXIST=0 -if [ -f "/tmp/$1" ]; then - GETFILE=`du -k $1 | awk '{print $1}'` - if [ "$GETFILE" -eq "65536" ]; then - FILEEXIST=1 - echo "SOC image is exist." - else - FILEEXIST=0 - fi -fi - -if [ $FILEEXIST -eq 0 ]; then - echo "Get SOC image from TFTP server." - echo "Please wait a few minutes." - tftp -g -r $1 $2 & - sleep 2 - LENGTH=0 - ERRCOUNT=0 - while true - do - echo -ne "\r[" - usleep 500000 - while [ $LENGTH -le 30 ] - do - usleep 500000 - echo -n ">" - LENGTH=$(($LENGTH+1)) - if [ -f "/tmp/$1" ]; then - GETFILE=`du -k $1 | awk '{print $1}'` - if [ $GETFILE -eq 65536 ]; then - echo -en "\r" - echo -en "--- Image download completed --- \n" - usleep 1000000 - break 2 - fi - else - ERRCOUNT=$(($ERRCOUNT+1)) - if [ $ERRCOUNT -le 10 ]; then - echo -en "\r" - echo -en "SOC-ImageName or TFTP-IP is ERROR. \n" - usleep 500000 - exit - fi - fi - done - echo -n "]" - LENGTH=0 - usleep 500000 - echo -en "\r " - done -fi -sleep 3 - -echo "Switch the host SPI bus to BMC." -cmd='gpioutil -p C7 -v 1' -if $cmd 1>/dev/null 2>&1; then - echo "Switch completed." -else - echo "Switch failed." -fi -echo "Load the ASpeed SMC driver" -echo 1e630000.flash-controller > /sys/bus/platform/drivers/aspeed-smc/bind -sleep 2 -chassisstate=$(obmcutil chassisstate | awk -F. '{print $NF}') -echo "---Current Chassisstate $chassisstate---" -if [ "$chassisstate" == 'On' ]; -then - echo "---Chassis on turning it off---" - obmcutil chassisoff - sleep 10 -fi - -echo "Flashcp to update SOC." -echo "Please wait a few minutes." -flashcp -v /tmp/$1 /dev/mtd6 -sleep 3 - -echo "Switch the host SPI bus to HOST." -cmd1='gpioutil -p C7 -v 0' -if $cmd1 1>/dev/null 2>&1; then - echo "Switch completed." -else - echo "Switch failed." -fi -echo "unLoad the ASpeed SMC driver" -echo 1e630000.flash-controller > /sys/bus/platform/drivers/aspeed-smc/unbind -echo -ne "SOC update steps is complete.\n" -if [ "$chassisstate" == 'On' ]; -then - echo "5 sec later will be power-on." - echo "If wantn't power-on, please CTRL + C leave script." - WAITSEC=5 - while [ $WAITSEC -ge 0 ] - do - echo -n "Countdown seconds:$WAITSEC" - sleep 1 - echo -en "\r" - WAITSEC=$(($WAITSEC-1)) - if [ $WAITSEC -eq 0 ]; then - echo -en "\r" - echo -en "--- Power-on --- \n" - obmcutil chassison - break 1 - fi - done -fi diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/socupdate/socupdate.bb b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/socupdate/socupdate.bb deleted file mode 100644 index 66a0755513..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/socupdate/socupdate.bb +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "HXT SOC update" -DESCRIPTION = "A sample script to help update the host(soc) firmware" -HOMEPAGE = "" -PR = "r1" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -SRC_URI += "file://socupdate.sh" - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${WORKDIR}/socupdate.sh ${D}${bindir}/socupdate.sh -} diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/workbook/stardragon4800-rep2-config.bb b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/workbook/stardragon4800-rep2-config.bb deleted file mode 100644 index ec8f0de131..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/workbook/stardragon4800-rep2-config.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "HXT Rep board wiring" -DESCRIPTION = "Board wiring information for the HXT Rep system." -PR = "r1" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -inherit allarch -inherit setuptools -inherit pythonnative - -PROVIDES += "virtual/obmc-inventory-data" -RPROVIDES_${PN} += "virtual-obmc-inventory-data" - -DEPENDS += "python" - -S = "${WORKDIR}" -SRC_URI += "file://Stardragon4800-rep2.py" - -python() { - machine = d.getVar('MACHINE', True).capitalize() + '.py' - d.setVar('_config_in_skeleton', machine) -} - -do_make_setup() { - cp ${S}/${_config_in_skeleton} \ - ${S}/obmc_system_config.py - cat <<EOF > ${S}/setup.py -from distutils.core import setup - -setup(name='${BPN}', - version='${PR}', - py_modules=['obmc_system_config'], - ) -EOF -} - -addtask make_setup after do_patch before do_configure - diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/workbook/stardragon4800-rep2-config/Stardragon4800-rep2.py b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/workbook/stardragon4800-rep2-config/Stardragon4800-rep2.py deleted file mode 100644 index 01cff570b2..0000000000 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/workbook/stardragon4800-rep2-config/Stardragon4800-rep2.py +++ /dev/null @@ -1,81 +0,0 @@ -## System states -## state can change to next state in 2 ways: -## - a process emits a GotoSystemState signal with state name to goto -## - objects specified in EXIT_STATE_DEPEND have started -SYSTEM_STATES = [ - 'BASE_APPS', - 'BMC_STARTING', - 'BMC_READY', - 'HOST_POWERING_ON', - 'HOST_POWERED_ON', - 'HOST_BOOTING', - 'HOST_BOOTED', - 'HOST_POWERED_OFF', -] - -EXIT_STATE_DEPEND = { - 'BASE_APPS' : { - '/org/openbmc/sensors': 0, - }, - 'BMC_STARTING' : { - '/org/openbmc/control/power0' : 0, - '/org/openbmc/control/host0' : 0, - '/org/openbmc/control/chassis0' : 0, - }, -} - -FRU_INSTANCES = { -'<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, -} -# I believe these numbers need to match the yaml file used to create the c++ ipmi map. -# the devices have types, but I don't believe that factors in here, I think these are -# just unique IDs. -ID_LOOKUP = { - 'FRU' : {}, - # The number at the end needs to match the FRU ID. - # https://github.com/openbmc/skeleton/blob/master/pysystemmgr/system_manager.py#L143 - # The paramter for it is of type 'y' (unsigned 8-bit integer) presumably decimal? - 'FRU_STR' : {}, - 'SENSOR' : {}, - 'GPIO_PRESENT' : {} -} - -GPIO_CONFIG = {} -GPIO_CONFIG['POWER_BUTTON'] = { 'gpio_pin': 'D3', 'direction': 'out' } -GPIO_CONFIG['PGOOD'] = { 'gpio_pin': 'E2', 'direction': 'in' } -GPIO_CONFIG['BMC_READY'] = { 'gpio_pin': 'Q4', 'direction': 'out' } -GPIO_CONFIG['HOST_SPI_SWITCH'] = { 'gpio_pin': 'C7', 'direction': 'out'} -GPIO_CONFIG['IMC_READY'] = { 'gpio_pin': 'O3', 'direction': 'both' } -GPIO_CONFIG['IMC_INTERRUPT'] = { 'gpio_pin': 'O4', 'direction': 'both' } -GPIO_CONFIG['RESET_BUTTON'] = { 'gpio_pin': 'G5', 'direction': 'both' } -GPIO_CONFIG['QDF_RAS_ERROR_0'] = { 'gpio_pin': 'D6', 'direction': 'in' } -GPIO_CONFIG['QDF_RAS_ERROR_1'] = { 'gpio_pin': 'D7', 'direction': 'in' } -GPIO_CONFIG['QDF_RAS_ERROR_2'] = { 'gpio_pin': 'F1', 'direction': 'in' } - -GPIO_CONFIGS = { - 'power_config' : { - 'power_good_in' : 'PGOOD', - 'power_up' : [ -#delay in ms - ('POWER_BUTTON', 'LOW_HIGH',1000), - ], - 'power_out' : [ - ('POWER_BUTTON', 'LOW_HIGH',8000), - ], - }} - 'host_config' : { - 'imc_ready' : 'IMC_READY', - 'imc_interrupt': 'IMC_INTERRUPT', - 'bmc_ready' : 'BMC_READY', - 'host_spi_switch' : 'HOST_SPI_SWITCH', - }, -} - -# Miscellaneous non-poll sensor with system specific properties. -# The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. - -MISC_SENSORS = { - -} - -# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |