summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor/console/obmc-console/fb-compute-multihost
AgeCommit message (Collapse)AuthorFilesLines
2024-03-06fb-compute-multihost: rename logfile of ttyS8Delphine CC Chiu1-1/+1
To make log files' name of multihost to be identical, rename log file of ttyS8 to "obmc-console-host8.log" Tested: List log files under /var/volatile/log/: pass Change-Id: Ief7d091aef3ed12d4d08c54a56aa4289608ff5f9 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-03-06meta-facebook: Config larger log size for obmc-consoleDelphine CC Chiu8-0/+8
The default log size is set as 16k and it is too small for yosemite4. Increase log size to 256k. Tested: Check if the log rotated at 256k - pass ``` root@bmc:~# ls -l /var/log/ -rw-rw-r-- 1 root utmp 292 Jan 24 23:41 lastlog -rw-r--r-- 1 root root 0 Jan 24 23:39 obmc-console-host1.log -rw-r--r-- 1 root root 0 Jan 24 23:39 obmc-console-host2.log -rw-r--r-- 1 root root 0 Jan 24 23:39 obmc-console-host3.log -rw-r--r-- 1 root root 0 Jan 24 23:39 obmc-console-host4.log -rw-r--r-- 1 root root 163851 Jan 25 00:08 obmc-console-host5.log -rw-r--r-- 1 root root 262144 Jan 25 00:06 obmc-console-host5.log.1 -rw-r--r-- 1 root root 0 Jan 24 23:39 obmc-console-host6.log -rw-r--r-- 1 root root 0 Jan 24 23:39 obmc-console-host7.log -rw-r--r-- 1 root root 0 Jan 24 23:39 obmc-console8.log drwx------ 2 root root 40 Dec 15 07:36 private -rw-r--r-- 1 root root 151253 Jan 25 00:08 redfish -rw-r--r-- 1 root root 122 Jan 25 00:08 state -rw-rw-r-- 1 root utmp 1152 Jan 24 23:41 wtmp ``` Change-Id: Id765ae87e84fd86539b835ca500ca2e8d6f8fb01 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-02-06meta-facebook: simplify obmc-console configPatrick Williams8-80/+0
We not longer plan to support the SSH console ports for obmc-console on our servers and want to use OpenSSH. A lot of the obmc-console bbappend can therefore be simplified (and we don't even need a distinction between multi-host and single-host). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I86269eb1fcb45a8e43271204bd303e50a8dcbaf1
2024-01-24meta-facebook: obmc-console: match console-id to OBMC_HOST_INSTANCESAmithash Prasasd8-16/+16
Ensure that we are using host numbering as specified in OBMC_HOST_INSTANCES so that there is consistency across other interfaces (Power control/Etc) where single-host uses host0 and multi-host systems use host1-hostN. This change also renames /var/log/obmc-console0.log to /var/log/obmc-console-host0.log to make it more explicit. Change-Id: I5e189a7d49075d91b8292ed2fdfddf7decaf641e Signed-off-by: Amithash Prasasd <amithash@meta.com>
2023-10-25obmc-console: Support 8 slots for Yosemite 4Delphine CC Chiu12-0/+104
Support ttyS5~ttyS8 if multi-host is needed. Support server/client conf 2204~2207 for console redirection. Support ttyS5~ttyS8 host-logger. Tested: - Do obmc-console to link from uart1 to uart9 - List log of lost-logger Change-Id: I558f71992f2cdab6c2a6338f728cdf5d476bcff2 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-06-06obmc-console: Convert configs from socket-id to console-idAndrew Jeffery8-8/+8
As of 9a8f30ec5b58 ("obmc-console: Introduce console-id, deprecate socket-id") in obmc-console `console-id` is preferred over `socket-id`. Convert all in-tree configurations to `console-id` to enable removal of support for the deprecated `socket-id` configuration option. Change-Id: Ifd50603c378cfed5eb793b829b8296b7964e4194 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-02-02greatlakes: support SoL on multi-hostDelphine CC Chiu16-0/+169
Description: - Support Meta greatlakes SoL on multi-host Design: - We designed by 4 clients on port 2200~2203 represents Host1 ~ Host4, and 4 clients on port 2300~2303 represents BIC1 ~ BIC4, the clients will use socket-id to connect to corresponding server. - For switching between Host/BIC, each client will manipulate the UART mux by the cpld driver before connect to the server. The script for switching the mux can be implemented in project layer. Limitation: - Since the CPLD device driver is not ready yet, we currently use raw commands (i2ctransfer) to manipulate the register value, we will adapt to the interface on CPLD device drvier when it's ready. Issue: - None Test Case: 1. Check ssh -p 2200 ${ip} should successfully connect to Slot 1 Host. - pass 2. Check ssh -p 2300 ${ip} should successfully connect to Slot 1 BIC. - pass 3. Check ssh -p 2201 ${ip} should successfully connect to Slot 2 Host. - pass 4. Check ssh -p 2301 ${ip} should successfully connect to Slot 2 BIC. - pass 5. Check ssh -p 2202 ${ip} should successfully connect to Slot 3 Host. - pass 6. Check ssh -p 2302 ${ip} should successfully connect to Slot 3 BIC. - pass 7. Check ssh -p 2203 ${ip} should successfully connect to Slot 4 Host. - pass 8. Check ssh -p 2303 ${ip} should successfully connect to Slot 4 BIC. - pass Change-Id: I3ebe12d4cabb01b401220c053cced089141e79e8 Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com>
2022-06-28meta-facebook: console: Add support for YV3.5 platform.Kumar Thangavel8-0/+20
Added obmc-console multi host support for yosemiteV3.5 platform. Tested : Verified this on Yosemite V3.5 platform by launching all 4 server instance and verified SoL output from hosts. Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: Iefca7af84e2f442575e29f0634d2d7e6612686d3