summaryrefslogtreecommitdiff
path: root/meta-fii/meta-mori/recipes-mori/mori-sys-utility/mori-cmd/mori.sh
AgeCommit message (Collapse)AuthorFilesLines
2023-07-21meta-fii: meta-mori: Add usblist supportJonico Eustaquio1-0/+12
Add the usblist support in mori. Change-Id: Ie503ec73496cdc4f0927060cb668fec38061030c Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
2023-07-01meta-fii: meta-mori: flock during flashing processJonico Eustaquio1-6/+0
Added flock during flashing process of BIOS, CPLDs, and power sequencer instead of using flock over the whole init_once script. Removed mori.sh rst hotswap to be replaced. Change-Id: I29bd364b307178abed19b542ce4737e4ef14d06d Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
2023-07-01meta-fii: meta-mori: Update unit power behaviorKyle Nieman1-3/+2
1) Remove unwanted dependencies for the warm reboot targets. 2) Set the power policy to always on to prevent unwanted host power off. 3) Change user reset command to use ipmitool command Change-Id: Ie87296a48349219860c79f6275133595f3501e43 Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
2023-06-30meta-fii: meta-mori: Add installation check for firmware utilitiesKyle Nieman1-1/+5
Check that utilities used for flashing and version retrieval are installed prior to being used to prevent unintended behavior. Change-Id: I0d4547c43d78f03462e9e05ae465162cccb21f46 Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
2023-06-30meta-fii: meta-mori: Get BMC version from os-releaseCharles Boyer1-8/+6
This will parse the Major, sub-Major, and Minor versions from the /etc/os-release file VERSION_ID line. The version will be presented with the pattern <Major>.<sub-Major>.<Minor>. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I6cfebf16b840cb88216c3b8f3aeb4c295abc3e05
2023-04-04meta-fii: meta-mori: Update script to retrieve BIOS versionJonico Eustaquio1-2/+3
An OpenBMC subtree update looks to have removed how dbus properties could be seen from just using busctl introspect. To get the actual value of the BIOS Version property, the script now uses busctl get-property instead. Change-Id: I3c6079026e9ea3193461fb86739892b178327fed Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
2023-03-23meta-fii: meta-mori: Add command for controlling GPIOsKyle Nieman1-0/+24
Add command to allow user to control GPIOs using mori.sh instead of having to source mori-lib.sh and use functions. Change-Id: I3cce175a41ca13bf3e14cea49495cde561348980 Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
2023-03-01meta-fii: meta-mori: Add command for controlling host access to RTCKyle Nieman1-4/+39
Add command to allow user to enable or disable access for the host to the RTC. Change-Id: I0887cc18ed804191ffd80e5c6034d8ed1a0c3b66 Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
2022-11-09meta-fii: meta-mori: Generalize I2C bus for ADM1266Kyle Nieman1-1/+1
ADM1266 executables now take I2C bus as a command line argument instead of being hardcoded, so they can be utilized by additional projects. Overview of changes: 1.)mori-fw.sh - Modify call to ADM1266 to pass I2C bus 2.)mori.sh - Modify call to ADM1266 to pass I2C bus Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com> Change-Id: Id9d5e7d829557a30d929dad119326ac16e901c9b
2022-07-20meta-fii: meta-mori: Add mori-boot and mori-cmdCharles Boyer1-0/+266
Summary of Changes: - Add basic mori.sh tool - Add mori-boot for host and switch initialization Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I2cee6a2b6a15a1e2f9a53baf331fb452f73f080d