diff --git a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/disable_watchdog.sh b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/disable_watchdog.sh old mode 100644 new mode 100755 index 07826d64cb7..c7d551c824a --- a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/disable_watchdog.sh +++ b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/disable_watchdog.sh @@ -1,4 +1,22 @@ #!/bin/sh +# +# Copyright 2019-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# . /usr/local/bin/openbmc-utils.sh diff --git a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/power-on.sh b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/power-on.sh old mode 100644 new mode 100755 index b04521c9e45..2849cb3c29c --- a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/power-on.sh +++ b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/power-on.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2018-present Facebook. All Rights Reserved. +# Copyright 2019-present Facebook. All Rights Reserved. # # This program file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the diff --git a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/reset_brcm.sh b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/reset_brcm.sh old mode 100644 new mode 100755 index 505baa2b921..9f679a70ce5 --- a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/reset_brcm.sh +++ b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/reset_brcm.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright 2018-present Facebook. All Rights Reserved. +# Copyright 2019-present Facebook. All Rights Reserved. # # This program file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -31,6 +31,7 @@ # There is another sysfs file, 'cpld_mac_pcie_perst_l', which can be used # to control the PCI reset pin separately. However, we don't use it for now # as we depend on the CPLD for the correct reset sequence. + echo 0 > $PWR_TH_RST_SYSFS sleep 1 echo 1 > $PWR_TH_RST_SYSFS diff --git a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_default_gpio.sh b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_default_gpio.sh old mode 100644 new mode 100755 index 9dc471ecfe4..31b34402b5c --- a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_default_gpio.sh +++ b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_default_gpio.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2018-present Facebook. All Rights Reserved. +# Copyright 2019-present Facebook. All Rights Reserved. # # This program file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the diff --git a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_emmc.sh b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_emmc.sh old mode 100644 new mode 100755 index 46755d1f5e7..dafd6f2532d --- a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_emmc.sh +++ b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_emmc.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2018-present Facebook. All Rights Reserved. +# Copyright 2019-present Facebook. All Rights Reserved. # # This program file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the diff --git a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_mgmt.sh b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_mgmt.sh old mode 100644 new mode 100755 index 307b08a39de..4d31248586e --- a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_mgmt.sh +++ b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/setup_mgmt.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2018-present Facebook. All Rights Reserved. +# Copyright 2019-present Facebook. All Rights Reserved. # # This program file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the diff --git a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/wedge_us_mac.sh b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/wedge_us_mac.sh old mode 100644 new mode 100755 index 6f7cec21fb9..da73cee1e64 --- a/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/wedge_us_mac.sh +++ b/meta-facebook/meta-wedge400/recipes-utils/openbmc-utils/files/wedge_us_mac.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright 2015-present Facebook. All Rights Reserved. +# Copyright 2019-present Facebook. All Rights Reserved. # # This program file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the