Age | Commit message (Collapse) | Author | Files | Lines |
|
Commit included.
- Release tag & head commit information updated for hw071421a.opmst10
- Gard the clock on CBS_NOT_IN_IDLE_STATE error
- SW528598 - Unmask MCFIR bit 5
- Supporing 48 bit target type for SBE FFDC
- RAS Review: p10_do_fw_hb_istep.xml
- RAS Review: p10_ram_errors.xml
- RAS Review: p10_block_wakeup_intr_errors.xml
- RAS Review: p10_qme_sram_access_errors.xml
- RAS Review: p10_query_core_stop_state.xml
- Release tag & head commit information updated for hw071221a.opmst10
- RAS Review: p10_scomt_errors.xml
- p10_fbc_eff_config -- calculate tsnoop based on core, mc, pau freqs
- RAS Review: p10_query_host_meminfo_errors.xml
- p10_sbe_scrach_regs -- raise DD2 PAU frequency to support high frequency sorts
- Define ATTR_MRW_FREQ_SYSTEM_CORE_FLOOR_MHZ for per system control
- RAS Review: p10_qme_customize_errors.xml
- RAS Review - p10_tod
- Release tag & head commit information updated for hw070921a.opmst10
- Change MFG OMI screen test to use x4 downgrade
- Add null pointer check to FFDC gathering functions
- Release tag & head commit information updated for hw070721a.opmst10
- Minor attribute cleanup
- Minor attribute cleanup
- Add type for MDS Media Controller Device
- Allow multicast targets for target ffdc in fapi error xml
- Add correct FFDC info for RNG regs
- Release tag & head commit information updated for hw070521a.opmst10
- p10_frequency_buckets -- adjust DDR 2933 mesh clock speed constant
- p10_mss_eff_grouping RAS updates
- Release tag & head commit information updated for hw063021a.opmst10
- Using uint8_t variable for CLOCK_POS FFDC
- p10.pci.scan.initfile -- updates for HW 507934
- P10 Dynamic VIO Setpoint
- Release tag & head commit information updated for hw062821a.opmst10
- Adding simple clock detector check
- Fix for defect SW521078
- QME: enable MMA dynamic mode
- Release tag & head commit information updated for hw062521a.opmst10
- PPB HWP: Bug fix in handling unsorted parts
- P10 RAS Review io_init_done, io_lib, io_power, omi_init, omi_train_check
- DD2 updates. For meas seeprom use bkp for all errors as upd is not possible
- Release tag & head commit information updated for hw062321a.opmst10
- p10_sbe_gptr_time_initf -- swap PAUC DTS constants
- Release tag & head commit information updated for hw062121a.opmst10
- Release tag & head commit information updated for hw061821a.opmst10
- DD2 ABUS CCM updates
- RCS Setup Updates
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ic5b7eb3eca9236d26979fc2e60d498f5e27d6032
|
|
Service to collect r/w devtree attribute data from the
devtree and save to known location. This is data
collected prior to concurrent software update and applied
to new device tree in the reboot followed by concurrent
software update.
Version bump to enable service back-end support.
tested:
Jul 30 14:27:35 xxx phal-export-devtree[2624]: Software path
interface add signal received
Jul 30 14:27:35 xxx phal-export-devtree[2624]: Successfully
exported devtree attribute data
root@xx:~# ls /var/lib/phal/
exportdevtree
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ic2462f596a7ffcc716254577dc693d580111b766
|
|
Service to override r/w devtree attribute data to the
newer version of devtree from older version. This is used
in concurrent software update followed BMC reboot.
This service will only run in the following condition:
- Chassis power is on when the BMC comes out of reset
- version bump to enable service back-end support
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I352c60ba254cfcf50a2339224eab9fa418491cc7
|
|
Amitay Isaacs (4)
attribute: Improve usage message for attribute tool
attribute: Fix argument check for export command
configure: Update version
scripts: genDTS: Fix to handle uint16 type attributes
Ilya Smirnov (1)
data: p10: Add SECURE_VERSION_NUM attribute
Jayanth Othayoth (1)
Add devtree preserve attribute list
Ramesh Iyyar (4)
scripts: Updated MRW xml processing scripts
data: p10: Added the lcard-dimm-ddimm4u
scripts: Add FAPI attributes in more than one MRW target type.
scripts: Updated MRW xml processing scripts
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ie0029444a733bdeb8ced62af77d0f375c085b4da
|
|
Reverting the changes in
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/45725
and adding `honister` to LAYERSERIES_COMPAT for the next Yocto release.
Change-Id: I32c138127dc3508d6925c990643b9efce2bda0b6
Signed-off-by: Willy Tu <wltu@google.com>
|
|
George Hung (1):
Filter meaningless characters for reading NVMe model name
Change-Id: Ia234010e85a4b5c965e925f95a6a89a205c1a95f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (1):
watchdog: Add signal for timeout event
Change-Id: Ib1c65311ebfd6719df0d82513da45e48871e0972
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (1):
build: Remove cmake
Change-Id: I3ce79e7bb3cc4c0e4c93374e053374f44b802115
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Rashmica Gupta (1):
match: Add new PropertiesChanged rule
Change-Id: I32b8757931b31b2327306bf5b94129723827a9aa
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayaprakash Mutyala (1):
Fix for getSystemBootOptions for unsupported param
Change-Id: I2b189fe0f679e67139c79b78942d17e0c294dc43
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayaprakash Mutyala (1):
rakp12: Clear security sensitive data
sunitakx (1):
Log Redfish event for invalid login via RMCPP interface
Change-Id: I6a3ee827e3ea43bb67fd707fd8e29d2c385994a1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Sumit Kumar (1):
PEL: Guard against hostboot sending down duplicate PEL Ids
Change-Id: Ib33fc7ef179d3718778bdf03635c3eca23860e4d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Abhishek Patel (1):
Fix event_service privileges
Sunitha Harish (1):
Event subscriber persistency: Fix restoring subscribers
Change-Id: I60099ac59cbf86d0cd7ab24e0d5837944820963b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Manojkiran Eda (1):
Update OWNERS file to match the format in docs
Tom Joseph (1):
tools: Fix bug in pldm_fwup_pkg_creator.py
Change-Id: Iaf8296676804d34886a3613d109aff9d8305a020
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (6):
PHAL: add phal-export-devtree app
PHAL: export devtree attribute support
PHAL: import devtree tool support
PHAL: remove devtree import data file in genesis boot
PHAL: add devtree import service
PHAL: add devtree data export service
Change-Id: I3710ecd40a35af626ae5e685f86cad7bf5ace506
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
For JSON data file validation.
Change-Id: I46fce804d0481e7f245e1b4e690e83482172f524
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
|
|
Update `_google-layer` to `:google-layer`.
Change-Id: I3443c265aa3ff3bb711f65c016942bfd53ecf153
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Run convert-overrides.py meta-ampere and update missing changes as
below:
- Change all _mtjade to :mtjade
- Change all _${PN} to :${PN}
Tested:
1. Check compilation without problem.
2. Check basic functions like switch UART mux, power control.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I42038b2a98ed1951d6c770bdf49f5fc440f8163e
|
|
Signed-off-by: Zhenfei Tai <ztai@google.com>
Change-Id: I10ca13b80eaa9259a72c1d1957bebe2fb2eb2978
|
|
Signed-off-by: Jie Yang <jjy@google.com>
Change-Id: I98f40cbbb412028330201d174e9624410529d1f6
|
|
```
convert-overrides.py meta-google
git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb"
git grep -l _gbmc -- meta-google | grep ".bb" \
| xargs sed -i 's/_gbmc/:gbmc/'
git grep -l _prod -- meta-google | grep ".bb" \
| xargs sed -i 's/_prod/:prod/'
git grep -l _dev -- meta-google | grep ".bb" \
| xargs sed -i 's/_dev/:dev/'
git grep -l _hoth -- meta-google | grep ".bb" \
| xargs sed -i 's/_hoth/:hoth/'
git grep -l _bandaid -- meta-google | grep ".bb" \
| xargs sed -i 's/_bandaid/:bandaid/'
```
Some small fix includes
```
platforms_gbmc_bringup
platforms_gbmc_secure
```
Tested:
```
$ git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb"
meta-google/recipes-connectivity/avahi/avahi_%.bbappend:do_install:append:gbmc() {
meta-google/recipes-core/dropbear/dropbear_%.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-core/dropbear/dropbear_%.bbappend: echo ' chain gbmc_br_pub_input {' >>"$rules"
meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake checker
meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake install
meta-google/recipes-extended/networking/mstpd_git.bb:do_install:append() {
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake distclean
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake sslh-conf.h
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake install
meta-google/recipes-google/ipmi/ipmi-fru-sh.bb:do_install:append() {
meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb:do_install:append() {
meta-google/recipes-google/networking/gbmc-bridge.bb:do_rm_work:prepend() {
meta-google/recipes-google/networking/gbmc-bridge.bb: # HACK: Work around broken do_rm_work not properly calling rm with `--`
meta-google/recipes-google/networking/gbmc-ip-monitor.bb:do_install:append() {
meta-google/recipes-google/networking/gbmc-iperf3.bb:do_install:append:dev() {
meta-google/recipes-google/networking/gbmc-iperf3.bb: echo ' chain gbmc_br_pub_input {' >>"$rules"
meta-google/recipes-google/networking/gbmc-mac-config.bb:do_install:append() {
meta-google/recipes-google/networking/network-sh.bb:do_install:append() {
meta-google/recipes-google/ssh/authorized-keys-comp.bb:SUMMARY = "Compiles a set of authorized_keys files into a single file"
meta-google/recipes-google/ssh/authorized-keys-comp.bb:do_install:append() {
meta-google/recipes-google/systemd/gbmc-systemd-config.bb:do_install:append:dev() {
meta-google/recipes-google/test/test-sh.bb:do_install:append() {
meta-google/recipes-phosphor/flash/inplace-gbmc-update.bb:do_install:prepend:dev() {
meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:prod() {
meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend:do_install:append:gbmc() {
meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend: overlapping="$(jq '."${GBMCBR_IPMI_CHANNEL}" | .is_valid and .name != "gbmcbr"' $chjson)"
```
Change-Id: I9d610c664bd44e8bd81fb8f7e76249a0b43b9ffd
Signed-off-by: Willy Tu <wltu@google.com>
|
|
This is not used in the installed output and is breaking the build
non-deterministically.
Change-Id: I3f7193e9f0aac5e5cdcd45d4c736c3d31bb2858b
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and
fixed up a few by hand that were missed.
Tested: Built bletchley and tiogapass.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
|
|
This switches from the CMake build to the meson one.
Change-Id: I24ca927bcb02ca60250400ae44266b72911c0737
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (3):
sel_logger: Fix temporary int creation
sel_logger: Annotate unused variables
build: Add meson
Change-Id: I81ba810121c92b94aeff2cb3678d18237e09829a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Currently the build will break if the patch already applied
as the return value of "test ! -f $@" is not 0, so make sure
to return 0 if the patch already applied.
Fixes:
$ bitbake perl-native
Make a change as below
$ git diff
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
index b77bbd1fd4..4c5e35ab80 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
@@ -33,6 +33,7 @@ do_compile () {
do_install_class-native() {
mkdir -p ${D}/${datadir}/perl-cross/
cp -rf ${S}/* ${D}/${datadir}/perl-cross/
+ echo "test" > ${D}/${datadir}/perl-cross/testfile
}
$ bitbake perl-native
NOTE: make -j 40
make crosspatch
make[1]: Entering directory '/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0'
test ! -f cnf/diffs/perl5-5.34.0/posix-makefile.applied && (patch -p1 -i cnf/diffs/perl5-5.34.0/posix-makefile.patch && touch cnf/diffs/perl5-5.34.0/posix-makefile.applied)
test ! -f cnf/diffs/perl5-5.34.0/dynaloader.applied && (patch -p1 -i cnf/diffs/perl5-5.34.0/dynaloader.patch && touch cnf/diffs/perl5-5.34.0/dynaloader.applied)
make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/posix-makefile.applied] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/dynaloader.applied] Error 1
make[1]: Leaving directory '/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0'
make: *** [Makefile:78: all] Error 2
(From OE-Core rev: 354163db5588d87941f53a2763be62b2430cc1fc)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd5ebf4fdd3ccbe937001a777ad7fcc1e1319e94)
Change-Id: I5ff726eb777d5efcfe0cab7364763c646cab1ecb
|
|
Modify i2cool_1 sensor UCT to 75C according to thermal
requirement
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I48fb5cada8e893688e450207985fe8466119bb3b
|
|
These files sometimes get checked into the repo and we don't want
non-determinism around their generation. Ensure they are cleaned up and
regenerated for every build since that is very fast.
Change-Id: If20c79f8308c117a20983c8cb54c3420d872d64b
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Using IMAGE_INSTALL in mtjade.conf makes other Ampere recipes not
included in the build. This commit fixes the issue by enabling the
mtd-utils in OBMC_IMAGE_EXTRA_INSTALL_append instead.
Tested:
1. Check if all Ampere services and scripts available.
2. Check power control operations
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I17293ba520c05a7b5a438767c790f00220156d3f
|
|
Uptream moved from PCRE to PCRE2
Change-Id: I62434762a7e0485f4fe49ad6f181290cf6d34844
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: Ia4843efa02ed9f3f7587580e4cb83711054637cb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
PriyangaRamasamy (1):
Vpd-tool defect fix:data not shown for primed objects
Change-Id: I1bdfc7ddc5126817ddc47d0cacf936442dc6dc62
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (1):
Revert "config: update the dbus-sdr flag to remove underscores"
Change-Id: Ib085cbad635d90dab53614eea48e556d3db4c5bb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Lukasz Kazmierczak (1):
Extending meson build system to support fast compilation during development stage
Change-Id: I1d8a22ded36c5003a8feb879ed7940308d1bb239
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (2):
Enable pycodestyle
Rearrange mtls code
Ravi Teja (1):
Fix PATCH on hypervisor IPv4Addresses
Change-Id: I02412dc678c46bef52f7b9056f758f0d76b14b9d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Paul Fertser (1):
docs: guide: fix broken links to guidelines and customization
Change-Id: Ibbd6e916d2761944eef1fd90b5eca4cc76b94916
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (1):
make pldmd a dbus systemd service
George Liu (2):
Remove getBitfieldCount method
Fix enum_attrs.json error
Manojkiran Eda (1):
Owners file for pldm
Pavithra Barithaya (2):
BMC RR : Read and update the status for BMC reset
PLDM: Implement host-condition interface
Sampa Misra (1):
Avoid redundant entity association PDRs after merge
sampmisr (1):
BMC RR: check whether the Host is running
Change-Id: I137c88f92c70898a1f71b8c566db436532a6ef11
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Add recipe for bringing up USB ECM network devices.
The recipe generates
* network configuration file for the interface;
* systemd service that starts(stops) the USB Gadget
The ECM gadget, as well as the network interface are expected
to be fully configured in the bbappend file.
Signed-off-by: Maksym Sloyko <maxims@google.com>
Change-Id: Ibb57584ce2bfd838e650eae7a4d3935c9580e502
|
|
Specific patch for bletchley only
Change-Id: Ic059caf023a305e137a01fda5b9cc6e6d9299849
Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
|
|
The OCP module in Mt.Jade platform supports the GPIO pins to set the
power state. The SPI0 module also supports the GPIO pins to config SPI
mode. These gpio pins have to be set to the right states before power
off/on. The mtjade-gpio-config package will support that.
Tested:
1. Power off/on the host.
2. The OCP and SPI0 gpio pins should be in the corrected states.
Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
Change-Id: I46bca50222b0428f73aa9c05003f650f6ec0cc0b
|
|
The power functions are failed to work. There is one mistake in
merging ampere_power_utils.sh script. This commit fixes the mistake.
Tested:
1. Power off the host when it is on.
2. The host state should be changed to off.
Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
Change-Id: Iaa253e4b8d0f645a2b7097501e8c602d693cb37a
|
|
When BMC boots, phosphor-host-check uses the software interfaces(IPMI
inband Hearbeat command or PLDM interface) to verify the host state
and creates the host on indicator file. Ampere Altra SoCs do not
support those software interfaces. They use the GPIO interface. GPIO
pin S0_FW_BOOT_OK go high when the host is on. This commit appends
ampere-reset-host-check@.service to phosphor-state-manager This
service will replaces the role of phosphor-reset-host-check@.service.
Tested:
1. Boot up BMC with the host is off/on.
2. Verify the CurrentHostState.
Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
Change-Id: Ie4f73538266fff7d8c5fd40b437ffebc82cb12c5
|
|
When phosphor-state-manager handles the power action to turn on the
host, phosphor-state-manager does not use the software interfaces to
verify the host state. It set the host state to running after all of
required services of the power action target are done. The power on
watchdog is used to verify the host state and handle the failure in
the host state changing. But Mt.Jade platforms do not handle power on
watchdog. This causes the CurrentHostState dbus property is Running
before the host is ready.
In Mt.Jade platform, the SCP drives S0_FW_BOOT_OK to high when the
host is already on. This GPIO can be used to identify the host state.
One service should be added to the required list. This service checks
the host state in power on and triggers obmc-host-quiesce@%i.target
when the host is failed to boot. ampere-host-check package adds
ampere-host-on-host-check@.service for that purpose.
Tested:
1. Boot up BMC with the host is off/on. Check CurrentHostState.
2. Call Ipmitool power off/on. Check the CurrentHostState.
3. Call Ipmitool chassis power off/on. Check the CurrentHostState.
4. Call Ipmitool power cycle. Check the CurrentHostState.
5. Call Ipmitool chassis power cycle. Check the CurrentHostState.
6. Power off the host. Set power policty to Always-on. AC power.
The host should be on. And CurrentHostState should be Running.
7. Power on the host. Set power policty to Always-off. AC power.
The host should be off. And CurrentHostState should be Off.
Change-Id: I9b0b346883a5f0203bf078453065c18ae4603311
Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
|
|
ampere-hostctrl package includes the generic codes and the platform
specific codes. The generic sources are applied for all of the Ampere
platforms, they are the service files and the scripts to setting the
GPIO pins. The platform specific sources are the GPIO pin config file
and the gpio monitor config files.
This commit moves the platform specific files to the platform code.
Tested:
1. Do the power control actions use ipmitool, BMC web and Redfish.
2. Make sure the server states are changed as expected.
Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
Change-Id: Ic0e261109f7a5dfaf38c883bff0afedab763a0b6
|
|
Refactor the Mt.Jade Host power control operations to support Altra
CPU following the Altra SoC BMC Interface specification which still
satisfying the OpenBMC power control framework.
Tested: check the below cases and ensure Host state report correctly:
1. Run "reboot" from Host Linux. Check the Host is graceful
shutdown, then SYS_RESET is asserted and the Host is booted.
2. Run "shutdown" from Host Linux. Check the Host is graceful
shutdown then the chassis power is turned OFF.
3. Run "ipmitool chassis power soft". Check the Host is graceful
shutdown
4. Execute Redfish GracefulShutdown. Check the Host is graceful
shutdown then the chassis power is turned OFF.
5. Execute Redfish GracefulRestart. Check the Host is graceful
shutdown then turned ON.
6. Check other IPMI chassis power and Redfish Reset actions work.
Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
Change-Id: I3a9716f37d7e80bdc1a1d0422e561c8fc51ad040
|
|
UEFI firmware for Ampere Altra-based platform starts at offset 0x400000
but currently the firmware image is flashed start at offset 0. This
makes the Host fail to boot.
This commit supports offset option for the mtd-util's flashcp utility
and update the script to flash UEFI firmware starting at offset
0x400000.
Tested:
1. Turn on the Host.
2. Flash UEFI firmware. Wait for the flash complete and check if Host
can boot successfully.
4. Turn off the Host.
5. Flash UEFI firmware. Wait for the flash complete.
6. Turn on the Host and check if Host can boot successfully.
Signed-off-by: Tung Nguyen <tung.nguyen@amperecomputing.com>
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I0d48bfd0a7b7350b46a98bf10fe4de3887f09f02
|
|
The current ampere-hostctl package removes the power off/on services
of phosphor-state-manager and uses Ampere services. This solution is
not correct. Ampere platform should use power control functions of
phosphor-state-manager. And only appends or overides the default
services by Ampere's services if need.
By default, to handle power soft action, phosphor-state-manager will
trigger obmc-host-shutdown@0.target. This target then call
xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service to request OS
shutdown. When the host OS shutdown is already done, the target will
trigger obmc-chassis-poweroff@0.target to turn off the chassis. The
default xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service uses
Ipmi inband to communicate with the host. It is different with Ampere
Mt.Jade platform. We use the GPIO pin SHD_REQ to request shutdown the
host OS. The host will trigger SHD_ACK when shutdown is done. So
*.Ipmi.Internal.SoftPowerOff.service will be overide by Ampere service
named ampere.*.Ipmi.Internal.SoftPowerOff.service. This service will
trigger SHD_REQ pin and wait for SHD_ACK before start
obmc-chassis-poweroff@0.target.
This commit removes ampere-chassis-poweroff, ampere-host-shutdown
serives which handle power off/soft actions and restore
phosphor-state-manager's services. It also supports
ampere.xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service which
will overide xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service.
Tested:
1. Create "power soft" actions use ipmitool, redfish and BMC web.
2. Make sure the power order will be shutdown the host then power
of the chassis.
3. Create "power off" actions use ipmitool, redfish and BMC web.
4. Make sure the power action will be power off the chassis.
Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
Change-Id: Ibc0dc8c62408e8282520c9b70e41ab75c10137f6
|
|
Ampere Mt.Jade power control involves different action during the
course of action which does not involve rebooting the Host. Thus
disable the use of Host Power-On watchdog.
Tested:
1. Power on host.
2. In bmc console call "journalctl -f".
3. "ipmitool power reset" make sure there are no
phosphor-watchdog messages.
Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com>
Change-Id: Iaedd120f203b4222bf57e5fbdc7be84cd22d2e2e
|
|
Tejas Patil (1):
Network: Add support for MTU propery
Vijay Lobo (1):
PEL.Entry: Add Subsystem property
Willy Tu (1):
Drive: Add Drive Type for Item.Drive Interface
Change-Id: Iaa16ee058b8231a9d463d6e86584b6aac8720b09
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Lei YU (1):
core_manager: Handle dbus exceptions
Change-Id: I7071c6a2ae409e7272dbecd0f578a36f320127ac
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|