Age | Commit message (Collapse) | Author | Files | Lines |
|
1. Fix syntax error resulting in "command not found" when calling
"kudo.sh usb"
2. Correct device address typo in print statement
3. Display only the udc that exist
Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
Change-Id: Ic9446eccf864fc518043fc0f1f16098d50415202
|
|
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.)kudo-fw.sh
- Modify call to ADM1266 to pass I2C bus
2.)kudo.sh
- Modify call to ADM1266 to pass I2C bus
Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
Change-Id: I266818d3d57dd019ca0b8a78638e0f5f5a1d60b9
|
|
The version value used to be interpreted as hexadecimal for IPMI
and then was changed to decimal to match Redfish.
This will change the interpretation to decimal and increment to
the next version.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I9e3513c7e51186bdbdbc2f3526a8e1dd0edf808d
|
|
kudo.sh: Show which SCP EEPROM is used in (fw) option
kudo-lib.sh: Added get_scp_eeprom() function
Signed-off-by: Karthikeyan Sundaram <karthikeyan.sundaram@fii-na.com>
Change-Id: I686ff6b3bf9ab8ef7434ab44f0668912bfffb9b2
|
|
Adds the I2C bus and address in array form to kudo-lib.sh, and
replaces the hardcoded values with references across Kudo layer.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I69bbff444e013e61d7f7fd5051612a6d4adc8ded
|
|
Replaces hard-coded GPIO throughout the Kudo layer with a reference
to its line name from DTS.
The process to dynamically obtain the GPIO number for Get is added
to kudo-lib.sh,
1. Use `gpiofind <Line Name>` to obtain gpiochip# and pin#
2. If the gpiochip# exceeds the number of GPIO banks of Nuvoton,
then it is an I/O Expander.
a. Use `gpiodetect` and extract the I2C bus-addr
b. Obtain GPIO base value from sysfs using bus-addr
c. The GPIO number is then the (base + pin#)
3. If the gpiochip# is within Nuvoton GPIO banks, then calculate
the GPIO number as ((gpiochip#)*32 + pin#)
Then the GPIO number can be used in the export to obtain the value.
Tested with Nuvoton:
- Can read/set Nuvoton GPIO with defined line names
- Can read/set GPIO from I/O Expanders with defined line names
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I651c0707a8bbc170d3c5a5fc261e5f9c62453e9f
|
|
Fixes bash shellcheck errors so that the exemptions in run-repotest
can be removed.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I6afb059cf1151c871ddfcaf67efc6a63183f7130
|
|
Fix an issue where the SubMajor version was not converted
correctly from Hex to Dec.
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I38d9d7e93652696b9674a8719d751325160b4f13
|
|
According to
https://github.com/openbmc/docs/blob/master/anti-patterns.md,
/usr/sbin is reserved for system administration executables. The
executables called by services or internal use are placed in
/usr/libexec/<package>.
Executables kept in /usr/sbin,
- kudo.sh
- kudo-ras.sh
- kudo-fw.sh
Executables moved to /usr/libexec,
- ampere-hostctrl/ampere_power_util.sh
- kudo-fw/kudo-fw-ver.sh
- kudo-fw/kudo-lib.sh
- kudo-boot/init_once.sh
- usb-network/usb_network.sh
- obmc-console/kudo_uart_mux_ctrl.sh
- pwm-init/pwm_init.sh
- phosphor-virtual-sensor/tla2024-enable.sh
Also removed /usr/bin/env from service files.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I270eee5cb9c0ca248f1b84a87d1cff5c6dc129f3
|
|
Modify the kudo.sh fw to display BMC version format in decimal
Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com>
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: Ifdc18e4b417bd764794750a2f7a28db849c17eca
|
|
1. Update to support DVT board
2. Support command for console redirection
3. Disable 2nd CPU clock when only 1 CPU is installed
4. Set HPM_STBY_RST_N to High to match dcscm spec
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I300b272587ddc2c7d82aa76196e5db100d02aae2
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
|
|
add unbind adm1266 driver to support the flash
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I4221e646279b41b84c1d2be89ad3fb0df2220407
|
|
1. Add Kudo.sh, a script for display and controlling kudo system
2. Add kudo-ras.sh for debug Ampere system errors on kudo system
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: I5763e0de4be942b9b851b910448d15135ca9db16
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
|