commit | 1d28a2c8c1feb3e776d7c2ced3d4dc92652754ca | [log] [tgz] |
---|---|---|
author | Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> | Wed Jun 16 14:47:15 2021 -0500 |
committer | Vivekanand Veeracholan <vveerach@google.com> | Thu Jun 17 23:18:13 2021 +0000 |
tree | 19200599697afffccba0a0094834160f44378078 | |
parent | 05571557254cddd1c6a87bf3abd612e405ac3280 [diff] |
meta-fii/meta-kudo: Increase obmc console logs size to 1M Increase the /var/log/obmc-console*.log file to 1M Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I07cecebb6fe9c1d8e2d123951c67b3d33ce0da3b
diff --git a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh index 2740778..7b131af 100644 --- a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh +++ b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh
@@ -18,13 +18,7 @@ # Usage: ampere_uartmux_ctrl.sh <CPU UART port number> <UARTx_MODE> # <UARTx_MODE> of 1 sets CPU To BSP # <UARTx_MODE> of 2 sets SCP1 to SI2 -function set_gpio_ctrl() { - echo $1 > /sys/class/gpio/export - echo $2 > /sys/class//gpio/gpio$1/direction - echo $3 > /sys/class/gpio/gpio$1/value - echo $1 > /sys/class/gpio/unexport -} - +source /usr/sbin/kudo-lib.sh if [ $# -lt 1 ]; then exit 1
diff --git a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/server.ttyS1.conf b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/server.ttyS1.conf index 1751a05..e93f078 100644 --- a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/server.ttyS1.conf +++ b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/server.ttyS1.conf
@@ -1,2 +1,3 @@ baud = 115200 logfile = /var/log/obmc-console-cpu.log +logsize = 1M
diff --git a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/server.ttyS3.conf b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/server.ttyS3.conf index c8a9d97..152c705 100644 --- a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/server.ttyS3.conf +++ b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/server.ttyS3.conf
@@ -1,3 +1,4 @@ baud = 115200 socket-id = ttyS3 logfile = /var/log/obmc-console-scp.log +logsize = 1M