Home
last modified time | relevance | path

Searched hist:"279 a0ee3" (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc/meta-facebook/recipes-fb/obmc_functions/files/
H A Dfb-common-functions279a0ee3 Thu Aug 22 12:14:29 CDT 2024 Potin Lai <potin.lai@quantatw.com> meta-facebook: catalina: catalina-sys-init: enhance i2c bind

We saw catalina-sys-init service failed at bind command somtimes due to
the device already bound.

Implement bind_12c_device() function, Enhance the bind_12c_device()
function to include a check that determines whether the device is
already bound. The function should only execute the bind command if the
device is not currently bound.

Test results:
catalina-sys-init finished successfully.
```
root@bmc:~# systemctl status catalina-sys-init
○ catalina-sys-init.service - Catalina Early System Init
Loaded: loaded (/usr/lib/systemd/system/catalina-sys-init.service; enabled; preset: enabled)
Active: inactive (dead) since Thu 2024-08-22 09:21:20 PDT; 25s ago
Process: 362 ExecStart=/usr/libexec/catalina/catalina-early-sys-init (code=exited, status=0/SUCCESS)
Main PID: 362 (code=exited, status=0/SUCCESS)
CPU: 770ms

Aug 22 09:21:17 bmc Catalina Early Init[364]: set_gpio: set stby_power_gd_cpld = 1 success
Aug 22 09:21:17 bmc Catalina Early Init[364]: set_gpio: can not find gpio, USB_HUB_RESET_L
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: can not find gpio, USB_HUB_RESET_L
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set HMC_PGOOD = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set EROT_FPGA_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set SEC_EROT_FPGA_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set HMC_EROT_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set SCM_HPM_STBY_RST_N = 1 success
Aug 22 09:21:20 bmc systemd[1]: catalina-sys-init.service: Deactivated successfully.
Aug 22 09:21:20 bmc systemd[1]: Finished Catalina Early System Init.
```

Change-Id: I5284b119ff0d6064f421ddb068132440967406d1
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-catalina/plat-svc/files/
H A Dcatalina-early-sys-init279a0ee3 Thu Aug 22 12:14:29 CDT 2024 Potin Lai <potin.lai@quantatw.com> meta-facebook: catalina: catalina-sys-init: enhance i2c bind

We saw catalina-sys-init service failed at bind command somtimes due to
the device already bound.

Implement bind_12c_device() function, Enhance the bind_12c_device()
function to include a check that determines whether the device is
already bound. The function should only execute the bind command if the
device is not currently bound.

Test results:
catalina-sys-init finished successfully.
```
root@bmc:~# systemctl status catalina-sys-init
○ catalina-sys-init.service - Catalina Early System Init
Loaded: loaded (/usr/lib/systemd/system/catalina-sys-init.service; enabled; preset: enabled)
Active: inactive (dead) since Thu 2024-08-22 09:21:20 PDT; 25s ago
Process: 362 ExecStart=/usr/libexec/catalina/catalina-early-sys-init (code=exited, status=0/SUCCESS)
Main PID: 362 (code=exited, status=0/SUCCESS)
CPU: 770ms

Aug 22 09:21:17 bmc Catalina Early Init[364]: set_gpio: set stby_power_gd_cpld = 1 success
Aug 22 09:21:17 bmc Catalina Early Init[364]: set_gpio: can not find gpio, USB_HUB_RESET_L
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: can not find gpio, USB_HUB_RESET_L
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set HMC_PGOOD = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set EROT_FPGA_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set SEC_EROT_FPGA_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set HMC_EROT_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set SCM_HPM_STBY_RST_N = 1 success
Aug 22 09:21:20 bmc systemd[1]: catalina-sys-init.service: Deactivated successfully.
Aug 22 09:21:20 bmc systemd[1]: Finished Catalina Early System Init.
```

Change-Id: I5284b119ff0d6064f421ddb068132440967406d1
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
H A Dstandby-power-enable279a0ee3 Thu Aug 22 12:14:29 CDT 2024 Potin Lai <potin.lai@quantatw.com> meta-facebook: catalina: catalina-sys-init: enhance i2c bind

We saw catalina-sys-init service failed at bind command somtimes due to
the device already bound.

Implement bind_12c_device() function, Enhance the bind_12c_device()
function to include a check that determines whether the device is
already bound. The function should only execute the bind command if the
device is not currently bound.

Test results:
catalina-sys-init finished successfully.
```
root@bmc:~# systemctl status catalina-sys-init
○ catalina-sys-init.service - Catalina Early System Init
Loaded: loaded (/usr/lib/systemd/system/catalina-sys-init.service; enabled; preset: enabled)
Active: inactive (dead) since Thu 2024-08-22 09:21:20 PDT; 25s ago
Process: 362 ExecStart=/usr/libexec/catalina/catalina-early-sys-init (code=exited, status=0/SUCCESS)
Main PID: 362 (code=exited, status=0/SUCCESS)
CPU: 770ms

Aug 22 09:21:17 bmc Catalina Early Init[364]: set_gpio: set stby_power_gd_cpld = 1 success
Aug 22 09:21:17 bmc Catalina Early Init[364]: set_gpio: can not find gpio, USB_HUB_RESET_L
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: can not find gpio, USB_HUB_RESET_L
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set HMC_PGOOD = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set EROT_FPGA_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set SEC_EROT_FPGA_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set HMC_EROT_RST_L = 1 success
Aug 22 09:21:18 bmc Catalina Early Init[364]: set_gpio: set SCM_HPM_STBY_RST_N = 1 success
Aug 22 09:21:20 bmc systemd[1]: catalina-sys-init.service: Deactivated successfully.
Aug 22 09:21:20 bmc systemd[1]: Finished Catalina Early System Init.
```

Change-Id: I5284b119ff0d6064f421ddb068132440967406d1
Signed-off-by: Potin Lai <potin.lai@quantatw.com>