Skip to content

Commit

Permalink
Updated readme.md file
Browse files Browse the repository at this point in the history
Added period and question mark to improve consistency.
  • Loading branch information
piyush280599 authored Jan 20, 2023
1 parent f74f91b commit d19a4b5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Note: In the instruction set below, references to <platform> for some of the ste

* **u-boot.bin** - This is the u-boot image for the board.
* **uImage** - This the Linux kernel for the board.
* **<platform>-image-<platform>.cpio.lzma.u-boot** - This is the rootfs for the board
* **<platform>-image-<platform>.cpio.lzma.u-boot** - This is the rootfs for the board.
* **flash-<platform>** - This is the complete flash image including u-boot, kernel, and the rootfs.

## Kernel & U-Boot Development
Expand All @@ -90,17 +90,17 @@ $ devtool reset linux-aspeed
1- BMC will take care of the controlling the system / fan based on the sensor/device status (I assume it may even shutdown in case of multiple failures or high temperature). How can we debug such issues? Is there any event/critical logs maintained in the the BMC? Can we have list of files which we can be looked into in case of such issues?
Answer: To debug those issues, you will have to refer to the logs.
A: For Rest api related issues, please look at the rest logs under /tmp/ (example: /tmp/rest.log)
B: For FSCD related issues, please look at the fscd logs for /var/log/ (example: /var/log/fscd.log)
C: For mTerm log (data from the X86 CPU side), please look at /var/log/mTerm<something>.log (it's usually /var/log/mTerm_wedge.log on most platform)
D: Some persistent log also go to /mnt/data/ partition
E: For everything else, look at /var/log/messages
A: For Rest api related issues, please look at the rest logs under /tmp/ (example: /tmp/rest.log).
B: For FSCD related issues, please look at the fscd logs for /var/log/ (example: /var/log/fscd.log).
C: For mTerm log (data from the X86 CPU side), please look at /var/log/mTerm<something>.log (it's usually /var/log/mTerm_wedge.log on most platform).
D: Some persistent log also go to /mnt/data/ partition.
E: For everything else, look at /var/log/messages.
2) How do we configure the BMC sensor thresholds for fan / temp / others ? Do we have any command which can be used from the OpenBmc shell?
A- For fan RPM, you can run set_fan_speed.sh to change it (use get_fan_speed.sh to read the value back) from the OpenBMC shell. Some platforms, especially storage/compute ones, use fan-util. Those scripts are under /usr/local/bin on the BMC. Please keep in mind that fscd process will change the fan speed RPM based so your changed values won't stay for long unless you turn off the watchdog and kill fscd. if you want to change the temperature threshold, you will have to modify the codes and build a new BMC image.
## How can I contribute
## How can I contribute?
If you have an application that can be used by different BMCs, you can contribute your application to the OpenBMC common layer.
Expand Down

0 comments on commit d19a4b5

Please sign in to comment.