Using 5.15.0-1056-bluefield, was able to see the rtc battery status using 
cat /sys/bus/platform/drivers/mlxbf-bootctl/MLNXBF04\:00/rtc_battery

svc-soc-ver@bu-lab64v1-oob:~$ cat /etc/mlnx-release
bf-bundle-2.9.0-64_24.10_ubuntu-22.04_dev
svc-soc-ver@bu-lab64v1-oob:~$ uname -r
5.15.0-1056-bluefield
svc-soc-ver@bu-lab64v1-oob:~$ sudo lsmod | grep bootctl
mlxbf_bootctl          28672  0
svc-soc-ver@bu-lab64v1-oob:~$ cat 
/sys/bus/platform/drivers/mlxbf-bootctl/rtc_battery
cat: /sys/bus/platform/drivers/mlxbf-bootctl/rtc_battery: No such file or 
directory
svc-soc-ver@bu-lab64v1-oob:~$ sudo cat 
/sys/bus/platform/drivers/mlxbf-bootctl/MLNXBF04\:00/rtc_battery
0x0

** Tags removed: verification-needed-jammy-linux-bluefield
** Tags added: verification-done-jammy-linux-bluefield

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078881

Title:
  mlx-bootctl: support RTC battery status read and clear

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2078881/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to