Age | Commit message (Collapse) | Author | Files | Lines |
|
Use virtual/bios-update instead of kudo-bios-update to make sure we
don't install multiple different BIOS update recipes.
Set virtual/bios-update to `kudo-bios-update` in kudo.conf to make
sure there are no regression.
Change-Id: I2eb7823e174daa06ededeb0ce72d361f80bf21d5
Signed-off-by: Willy Tu <wltu@google.com>
|
|
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 BOARDVER_PVT_LAST is used to indicate the last value of PVT version.
The GPIO line name (BACKUP_SCP_SEL) replaces GPIO number 168.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I9057371597996cdcf620cb79d94b7e72356a535b
|
|
Add the missing shellcheck source path to kudo-lib.sh for the
references to I2C_BMC_CPLD and I2C_MB_CPLD arrays.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I97606afdf59caea3695428839d8806a96198ee96
|
|
Adjust CPLD aux version by shifting byte from 2 to 5 to
1 to 4
cmd: kudo.sh fw
Before change: BMC_CPLD: 0.0.15.0
[5], [4], [3], [2]. the [5] is null
Post change: BMC_CPLD: 0.15.0.0
[4], [3], [2], [1]
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: I518ddb5e739fb73876f325b44b0104210a48c09c
|
|
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
|
|
Replaces the hardcoded board version limits with reference to name
in kudo-lib.sh for Kudo layer.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I69a2a157d5f49f474b06bbc15d15377371fffcf2
|
|
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
|
|
Replace append directive with += in kudo-scp-update bb recipe
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I3d207f3aae5a504ac570472d0848e40a4699cbe7
|
|
Replace append directive with += in kudo-cpld-updates bb recipe
Signed-off-by: Grant Williams <grant.williams@fii-na.com>
Change-Id: If5c63210a5195033b182aade3c995e39225a6597
|
|
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
|
|
Replace append directive with += in kudo-bmc-update bb recipe
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I91e02e7c671783a885015610a59e3383a2bf3f60
|
|
Replace append directives with += in kudo-bios-update bb recipe
Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com>
Change-Id: I9ced6841b6f9d68d3697bb51be5e36186262b0ce
|
|
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
|
|
Summary of changes:
1. Adjust start time of xyz.openbmc_project.State.Chassis.service
to fix initial chassis state
2. Add shutdown ack service
3. Remove reset ack service
4. Remove heartbeat mode
5. Remove sysreset pin control from power_control.exe
6. Remove all phosphor-fan services that caused power off during
a system reset
7. Adjustments to ampere_power_util.sh (See below)
ampere_power_util.sh:
1. Use GPIO instead of dbus for host state
2. Wait 3 seconds before checking power status for power on
3. Wait 6 seconds before checking power status for power off
4. Have force_off act GPIO while power_off sets Chassis state
5. Graceful shutdown acts GPIO
6. Check host status before issuing system reset
7. Set Watchdog Expire Action to None before power off and reset
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Ie2720ee60d489c4160165c6827a78a400ae4d30b
|
|
Corrects the nvparm to disable LPI mode NV_SI_CPU_LPI_FREQ_DISABLE
for SCP 1.07 and newer.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I43f4d090fae3ff202834d39c9161802f20e396e1
|
|
1. Based on newer version of Ampere's nvparm spec updated nvparm
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: I47a338fcb483c5c22f3a9799088c54de1a9a5153
|
|
1. Update both primary and backup SCP EEPROMS when updating the BIOS
Modify the
2. Switch the SCP mux correctly on EVT and DVT hw
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: Idd07f4b57bfd2eaa13795f60b653915f1cf7c161
|
|
Add PREFERRED_PROVIDER_virtual/bmc-update in kudo.conf to fix
bmc_update build conflict with gbmc's bmc_update.
Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com>
Change-Id: Ideb5cbde0f4c94c7197984c1641223da1583111d
|
|
Changing the syntax for various yocto files ie. (_ to :) changes to
bb, bbappend and conf files.
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: If25577ee9d98398c1a1ab7f85a0373c46af70245
|
|
Fix reading of CPLD versions
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I0557905dfa08080da19a0ff836a9014d6e54a9ac
Signed-off-by: Xiaopeng Chen <xiao-peng.chen@fii-na.com>
|
|
Modify kudo-fw.sh for better flash failure detection
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: Id9418a8fc162e1fa1dc8f8eb0714337785526972
|
|
add unbind adm1266 driver to support the flash
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I4221e646279b41b84c1d2be89ad3fb0df2220407
|
|
Add method to disable LPI mode for Ampere CPU when flash kudo bios
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: Ieec4b93bceceb9e809482b14686582d0b1cbc971
|
|
update the recipes-kudo files
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I2ecf2156c0f7533d6d228967f8075cc306af6e00
|
|
1. Modify kudo-boot.bb with latest sbin
2. Update init_once.sh with modified GPIO pins
3. Fix install for kudo-lib.sh for kudo-fw.bb
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: Id91d1325c70721bdc4e9fc7c541d43df33f05806
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
|
|
1. do initialize during BMC boot
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I5d3ff526a973152a96d00433eb86f7d7dd59e2d3
Signed-off-by: Mohaimen Alsamarai <Mohaimen.Alsamarai@fii-na.com>
|
|
1. add kudo-scp-update package to support scp update
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I30e23ad270b87f52dcbf5fae54ada5b8a846612a
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Signed-off-by: Mohaimen Alsamarai <Mohaimen.alsamarai@fii-na.com>
|
|
1. add kudo-cpld-update package to support cpld update
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: Idb0f676ac5a8cc214d65135924431d02bf971c75
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Signed-off-by: Mohaimen Alsamarai <Mohaimen.alsamarai@fii-na.com>
|
|
1. add kudo-bmc-update package to support bmc update
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I7889d5219fcf376cd5bbcbc92268104745d2c886
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Signed-off-by: Mohaimen Alsamarai <Mohaimen.alsamarai@fii-na.com>
|
|
1. add kudo-bios-update package to support bios update
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: Ic245828ed3bb0ddf6d7363e7c2c4d3b8b538aa88
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Signed-off-by: Mohaimen Alsamarai <Mohaimen.alsamarai@fii-na.com>
|