d8dd9b25 | 19-Aug-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Convert over to uint32_t for AttemptsLeft
I missed the fact that the type for the reboot attempts property changed when code was refactored to the new xyz.openbmc_project.Control.Boot.RebootAttempts
Convert over to uint32_t for AttemptsLeft
I missed the fact that the type for the reboot attempts property changed when code was refactored to the new xyz.openbmc_project.Control.Boot.RebootAttempts object
Resolves openbmc/openbmc#2178
Change-Id: I297d427b6fa5b9dc0077aab437548d53603c835f Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
d1df1e27 | 17-Aug-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Boot from sbe side 0 when boot count is greater than 0
Recent code changes now decrement the boot count at the start of every boot. The sbe side select design is to boot from side 0 twice, then side
Boot from sbe side 0 when boot count is greater than 0
Recent code changes now decrement the boot count at the start of every boot. The sbe side select design is to boot from side 0 twice, then side 1 on the last attempt. Now that the boot count is decremented at the start of the boot (and the total boot count is 3), the software needs to use side 0 when the boot count is greater than or equal to 1.
Resolves openbmc/openbmc#2169
Change-Id: Ic08bed34d58de3d40b742ce52ca83627976d8fee Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
bc7cdf48 | 07-Aug-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Move over to new AttempsLeft for reboot count
The reboot count sensor was moved to the xyz namespace and renamed. This commit moves over to using this new sensor for determining SBE boot side.
Cha
Move over to new AttempsLeft for reboot count
The reboot count sensor was moved to the xyz namespace and renamed. This commit moves over to using this new sensor for determining SBE boot side.
Change-Id: I482ad677272a76608da04f3c9a7807d28d453797 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
23763b1a | 06-Jul-2017 |
Edward A. James <eajames@us.ibm.com> |
Fix FSI hub path
Targeting wasn't picking up the second proc FSI master.
Resolves openbmc/openbmc#1901
Change-Id: I5571c2291e2c555b64ab1b20520a4bf686267c0f Signed-off-by: Edward A. James <eajames@
Fix FSI hub path
Targeting wasn't picking up the second proc FSI master.
Resolves openbmc/openbmc#1901
Change-Id: I5571c2291e2c555b64ab1b20520a4bf686267c0f Signed-off-by: Edward A. James <eajames@us.ibm.com>
show more ...
|
16e099a7 | 08-Jun-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Don't run vcs workaround on non-dd10 chips
The VCS workaround is only required (and only make sense) on P9 DD1.0 based systems. This code does a check of the chip level and does not run the workarou
Don't run vcs workaround on non-dd10 chips
The VCS workaround is only required (and only make sense) on P9 DD1.0 based systems. This code does a check of the chip level and does not run the workaround if the chip is not DD1.0.
The code will continue to run some of the other workarounds because although not required for non-dd10 chips, they do no harm.
Resolves openbmc/openbmc#1695
Change-Id: I1409ca359ccff7b78a186211e4cd447cd753eda7 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
2548c7a3 | 18-May-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Set SBE seeprom boot side
The default side for the SBE to boot from is side 0, which is indicated by a 0 in bit 17 of cfam 0x2808.
When the boot count goes to 1 (the last before giving up), the sta
Set SBE seeprom boot side
The default side for the SBE to boot from is side 0, which is indicated by a 0 in bit 17 of cfam 0x2808.
When the boot count goes to 1 (the last before giving up), the start_host logic will switch over to side 1 for the SBE to boot from.
Resolves openbmc/openbmc#1467
Change-Id: I61aa22939baa4cde38c8716429b6ca55f7c850bd Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
7ce535cb | 15-May-2017 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Replacing runtime exceptions with elog
Resolves openbmc/openbmc#1323
Change-Id: Ia93d1f0036341c26fdc6c5e3133d4a05346090be Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
18b0786a | 26-Apr-2017 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Replace error strings with logging errors in device operations
Change-Id: I0fc1c23e51a0233c18775ee712132dba7e4c7d7e Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
2de0cfa7 | 25-Apr-2017 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add error definitions for CFAM access fails.
Change-Id: I2089c74456fb5857759f8870ed6818996f16c2c4 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
8316b77b | 24-Apr-2017 |
Edward A. James <eajames@us.ibm.com> |
Change FSI behavior for 4.10
Latest FSI code changes paths and endianness, so we need to update Targeting and flip the CFAM data endian when necessary. Also update the test case to use the new 4.10
Change FSI behavior for 4.10
Latest FSI code changes paths and endianness, so we need to update Targeting and flip the CFAM data endian when necessary. Also update the test case to use the new 4.10 path style.
Change-Id: I35cdedf4b9723ee0f8291d0abf4467dbfd99b334 Signed-off-by: Edward A. James <eajames@us.ibm.com>
show more ...
|
be407166 | 30-Mar-2017 |
Michael Tritz <mtritz@us.ibm.com> |
P9 CFAM register override procedure
This new procedure will allow users to provide P9 CFAM register overrides before the P9 SBE is started.
Change-Id: If3658f9a6ede9a3682c4ed7888e9acb328c67709 Sign
P9 CFAM register override procedure
This new procedure will allow users to provide P9 CFAM register overrides before the P9 SBE is started.
Change-Id: If3658f9a6ede9a3682c4ed7888e9acb328c67709 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
show more ...
|
4bf58971 | 28-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
New procedure to set synchronous FSI clock mode
This procedure is required when switching to external cronus mode which needs synchronous FSI clock mode set as opposed to the asynchronous mode requi
New procedure to set synchronous FSI clock mode
This procedure is required when switching to external cronus mode which needs synchronous FSI clock mode set as opposed to the asynchronous mode required by the Open FSI driver.
Change-Id: I509d113bd5cdadedb64b0275628f95572c21b0a3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
b6542341 | 28-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
Fix jenkins compile failure
Jenkins just started complaining about a mismatch between an sprintf format and its type. This code will eventually be replaced by an elog, so is only temporary anyway.
Fix jenkins compile failure
Jenkins just started complaining about a mismatch between an sprintf format and its type. This code will eventually be replaced by an elog, so is only temporary anyway.
Also fixed unit test fails.
With the newest location of the FSI slave directory, the path had to be updated in the testcases that model its structure.
Change-Id: I46af324c25ea19d9ad31e9e9ce085b93f00cb1a9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
fabe92e8 | 17-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
Fix path for FSI slaves
The FSI path moved for the 2nd processor.
Change-Id: Ic462dc7648a68abc7de178e2312bc2368fc06d40 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
cc2403cb | 17-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
Pass source dir into makefile generator script
The script runs in build/, the source is in git/.
Change-Id: I3f6804f3a83013bc0afe7bfba8da585d2fd24413 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
29ddffdc | 10-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add README.md
Change-Id: I117a3ee6895cfc195d04a4704476a40d8bc10028 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
c3bffed7 | 10-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
Have the Target class manage the file descriptor
The sysfs file descriptor will now stay open from first use until the Target class is destroyed.
Change-Id: Ib9803a527115cc75ecc9a5351d1e748ccd54a99
Have the Target class manage the file descriptor
The sysfs file descriptor will now stay open from first use until the Target class is destroyed.
Change-Id: Ib9803a527115cc75ecc9a5351d1e748ccd54a993 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
12bdf058 | 09-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
Conditional compilation of procedures
Only compile in the procedures for chips specified during configure.
Change-Id: Ie069f472b86bfbe8ad5d00bc6db8def573f86b4b Signed-off-by: Matt Spinler <spinler@
Conditional compilation of procedures
Only compile in the procedures for chips specified during configure.
Change-Id: Ie069f472b86bfbe8ad5d00bc6db8def573f86b4b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
d9bdcf72 | 09-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
Register procedures
For a procedure to be available to run, it needs to have a call to a REGISTER_PROCEDURE macro. This macro wraps a call to a Register class that adds the procedure to the list al
Register procedures
For a procedure to be available to run, it needs to have a call to a REGISTER_PROCEDURE macro. This macro wraps a call to a Register class that adds the procedure to the list along with the name to call it.
Change-Id: I20d02e8f004c1c726228469465ae89b60ee52d66 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
83e37327 | 09-Mar-2017 |
Matt Spinler <spinler@us.ibm.com> |
Move procedures into separate files.
Procedures will now be in procedures/<chip>/.
The next commit will have the procedures register themselves so they won't be in a hardcoded list.
Change-Id: I0f
Move procedures into separate files.
Procedures will now be in procedures/<chip>/.
The next commit will have the procedures register themselves so they won't be in a hardcoded list.
Change-Id: I0ff90afe2b51aaff25b5c25bf87070c820323e30 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
6419b638 | 28-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Fill in startHost and vcsWorkaround procedures
These will replace /usr/bin/start_host.sh and /usr/bin/vcs_workaround.sh.
Change-Id: I799da6d6052e72fb05760a115dfeb202416dc34d Signed-off-by: Matt Spi
Fill in startHost and vcsWorkaround procedures
These will replace /usr/bin/start_host.sh and /usr/bin/vcs_workaround.sh.
Change-Id: I799da6d6052e72fb05760a115dfeb202416dc34d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
0c0eeff6 | 28-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add code to access P9 CFAM registers
Change-Id: Idd98d016f0d6a246b516b4850e887991c771ae16 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
4e97ebea | 28-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add FileDescriptor class
A simple class to wrap a file descriptor so it can be opened on construction and closed on destruction.
Change-Id: I16d481fdc91e99720acd9cabff3a3a4690d8a573 Signed-off-by:
Add FileDescriptor class
A simple class to wrap a file descriptor so it can be opened on construction and closed on destruction.
Change-Id: I16d481fdc91e99720acd9cabff3a3a4690d8a573 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
597e05c9 | 28-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add gtest for Targeting class
Change-Id: I10d00d56561c52c479052d2e04630cc326091aa0 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
2c05aa76 | 28-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add Target and Targeting classes
These classes are used to target certain processors for operations.
Change-Id: Iab7a9fc0f1b0a901963e4e899ded370435cfb418 Signed-off-by: Matt Spinler <spinler@us.ibm
Add Target and Targeting classes
These classes are used to target certain processors for operations.
Change-Id: Iab7a9fc0f1b0a901963e4e899ded370435cfb418 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|