Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# b6eaef49 18-Oct-2023 Chau Ly <chaul@amperecomputing.com>

meta-ampere: console: refactor configuration

Refactor console configuration for Mt.Jade and Mt.Mitchell to avoid
duplication and make the configuration files simpler.

Tested:
1. IPMI sol on Mt.Jade

meta-ampere: console: refactor configuration

Refactor console configuration for Mt.Jade and Mt.Mitchell to avoid
duplication and make the configuration files simpler.

Tested:
1. IPMI sol on Mt.Jade and Mt.Mitchell works
2. SOL SSH on Mt.Jade and Mt.Mitchell work for all console ports

Change-Id: I68d1a3c6be530ca93f8adc1dd61906ba8b206dc5
Signed-off-by: Chau Ly <chaul@amperecomputing.com>

show more ...


# e50b26fd 11-Jul-2023 Thu Nguyen <thu@os.amperecomputing.com>

meta-ampere: mtjade: update scripts with new gpio linename

Mt.Jade GPIO line-names are updated to follow naming convention at
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-nam

meta-ampere: mtjade: update scripts with new gpio linename

Mt.Jade GPIO line-names are updated to follow naming convention at
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md.
This commit updates related scripts to use the correct linenames.

Tested:
Check below features to work as before:
+ UEFI and SCP firmware update.
+ Host power control
+ Ampere UART mux switch
+ SCP failover

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I080f844047618327042a7742d3fa6423b62be744

show more ...


Revision tags: 2.14.0, 2.14.0-rc1, 2.15.0-dev
# 0a0f3482 13-Apr-2023 Chau Ly <chaul@amperecomputing.com>

meta-ampere: mtjade: Refactor obmc-console setup

This commit refactors obmc-console setup for mtjade

Tested:
1. Successfully connects to host consoles via ssh sol
$ ssh root@${bmc} -p 220*
2. Su

meta-ampere: mtjade: Refactor obmc-console setup

This commit refactors obmc-console setup for mtjade

Tested:
1. Successfully connects to host consoles via ssh sol
$ ssh root@${bmc} -p 220*
2. Successfully connects host consoles via ipmi sol
$ ipmitool -I lanplus -H ${bmc} -U root -P 0penBmc \
-C 17 sol activate
3. All the host console logs are in /var/log/

Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: Ie01361139644f5836646d1d98934cda52828ec70

show more ...


# 0731ef89 16-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

meta-ampere: shellcheck: fix up source locations

Many scripts in meta-ampere had `shellcheck source=/dev/null`, which
isn't as useful as putting the real sourced script. Fix up all of
these in the

meta-ampere: shellcheck: fix up source locations

Many scripts in meta-ampere had `shellcheck source=/dev/null`, which
isn't as useful as putting the real sourced script. Fix up all of
these in the meta-layer to point to the right script, which as a
side-effect allow a few global-disables to be removed.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Icb43dc76a19edbdada8b4caa6ced57ff07f42d27

show more ...


Revision tags: 2.13.0, 2.14.0-dev, 2.12.0, 2.12.0-rc1
# bddca602 29-Jul-2022 Thang Q. Nguyen <thang@os.amperecomputing.com>

meta-ampere: mtjade: update platform init

Set PSON to default value in AC power will prevent the Host ON
accidentally. This commit also configures some important GPIOs to
default value when A/C.

Te

meta-ampere: mtjade: update platform init

Set PSON to default value in AC power will prevent the Host ON
accidentally. This commit also configures some important GPIOs to
default value when A/C.

Tested:
1. Do A/C power and check if power and host state from "obmcutil status"
not Running.

Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Iba99a2dbef3b48a5d110e92c9167a69a603a8e54

show more ...


Revision tags: 2.13.0-dev
# ed818137 22-Feb-2022 Thang Q. Nguyen <thang@os.amperecomputing.com>

meta-ampere: use watchdog status to check A/C power

With the removal of u-boot patch that adds resetreason to /proc/cmdline
no information to check if the BMC is booted from A/C power or cold reboot

meta-ampere: use watchdog status to check A/C power

With the removal of u-boot patch that adds resetreason to /proc/cmdline
no information to check if the BMC is booted from A/C power or cold reboot.
This commit removes the dependency of resetreason on the
phosphor-discover-system-state application and updates the A/C power
check in the ampere_platform_init.sh script to use information from
/sys/class/watchdog/watchdog0/bootstatus.

Tested:
1. Check power restore policy feature work well.
2. Check ampere_platform_init.sh works properly in both A/C and D/C
power.

Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I4f2e7a241f9ddebf21b2b8c021b9ce87a1c8b26c

show more ...


Revision tags: 2.11.0, 2.12.0-dev
# dde1fede 04-Nov-2021 Thang Q. Nguyen <thang@os.amperecomputing.com>

meta-ampere: fix shellcheck issues

Fix all issues from the shellcheck checked on bash shells under
meta-ampere.

Tested: Verify the following features:
1. Power control (on,o

meta-ampere: fix shellcheck issues

Fix all issues from the shellcheck checked on bash shells under
meta-ampere.

Tested: Verify the following features:
1. Power control (on,off, cycle, graceful shutdown, hard reset).
2. UART switching.
3. UEFI firmware update.

Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Idabf839b7521ecadb642230cc8bb3472c787002e

show more ...


# 208c2ae8 23-Sep-2021 Thang Q. Nguyen <thang@os.amperecomputing.com>

meta-ampere: mtjade: clean up unused codes

There are some redundant codes inside meta-mtjade:
- ampere-reset-host-check@.service: no longer be used.
- redundant :mtjade in phosphor-s

meta-ampere: mtjade: clean up unused codes

There are some redundant codes inside meta-mtjade:
- ampere-reset-host-check@.service: no longer be used.
- redundant :mtjade in phosphor-software-manager_%.bbappend
- Incorrect GPIO function call in ampere_platform_init.sh
This commit fixes the above issues.

Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Iadde88ba6472815556a2c0839c1e3e127c2a04d4

show more ...


# 7d0f84a6 23-Sep-2021 Thang Q. Nguyen <thang@os.amperecomputing.com>

meta-ampere: mtjade: initialize GPIOs

Several GPIOs should be configured properly when booting BMC. Currently,
these GPIOs are configured in u-boot. However, some must be configured

meta-ampere: mtjade: initialize GPIOs

Several GPIOs should be configured properly when booting BMC. Currently,
these GPIOs are configured in u-boot. However, some must be configured
in Linux. For example, the BMC_READY GPIO should be set only after BMC
is ready to work.
This commit introduce platform-init service which starts after BMC boots
to configure GPIOs pins required by hardware design.

Tested:
1. Do A/C power, check GPIO227 is set to 0.
2. Reboot BMC, check GPIO227 is set to 0.
3. Run gpioinfo and check GPIO directions

Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ie0cfe171659ad740c6a25297f2fcce259870d43d

show more ...