From 9f1ff12060761de2b063c042a194d3030ef1e15a Mon Sep 17 00:00:00 2001 From: Howard Chiu Date: Mon, 2 Aug 2021 11:34:51 +0800 Subject: meta-bletchley: configure 57600 baudrate Specific patch for bletchley only Change-Id: Ic059caf023a305e137a01fda5b9cc6e6d9299849 Signed-off-by: Howard Chiu --- ...boot-ast2600-57600-baudrate-for-bletchley.patch | 31 ++++++++++++++++++++++ .../u-boot/u-boot-aspeed-sdk_%.bbappend | 5 ++++ .../u-boot/u-boot-fw-utils-aspeed-sdk_%.bbappend | 5 ++++ 3 files changed, 41 insertions(+) create mode 100644 meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch create mode 100644 meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend create mode 100644 meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-fw-utils-aspeed-sdk_%.bbappend (limited to 'meta-facebook/meta-bletchley') diff --git a/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch new file mode 100644 index 000000000..46f892908 --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch @@ -0,0 +1,31 @@ +From 12e9371e44b922e0383dba3a231a21b82ca03368 Mon Sep 17 00:00:00 2001 +From: Howard +Date: Wed, 4 Aug 2021 14:08:14 +0800 +Subject: [PATCH] u-boot: ast2600: 57600 baudrate for bletchley + +Specific patch for bletchley only +--- + configs/ast2600_openbmc_spl_defconfig | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/configs/ast2600_openbmc_spl_defconfig b/configs/ast2600_openbmc_spl_defconfig +index c1ed4f54d5..2257673e16 100644 +--- a/configs/ast2600_openbmc_spl_defconfig ++++ b/configs/ast2600_openbmc_spl_defconfig +@@ -35,7 +35,7 @@ CONFIG_ARMV7_PSCI_NR_CPUS=2 + CONFIG_NR_DRAM_BANKS=1 + CONFIG_FIT=y + CONFIG_USE_BOOTARGS=y +-CONFIG_BOOTARGS="console=ttyS4,115200n8 root=/dev/ram rw" ++CONFIG_BOOTARGS="console=ttyS4,57600n8 root=/dev/ram rw" + CONFIG_USE_BOOTCOMMAND=y + CONFIG_BOOTCOMMAND="bootm 20100000" + CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y +@@ -133,3 +133,4 @@ CONFIG_USE_TINY_PRINTF=y + CONFIG_TPM=y + CONFIG_SPL_TPM=y + # CONFIG_EFI_LOADER is not set ++CONFIG_BAUDRATE=57600 +-- +2.25.1 + diff --git a/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend new file mode 100644 index 000000000..2789df998 --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " \ + file://0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch \ + " diff --git a/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-fw-utils-aspeed-sdk_%.bbappend b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-fw-utils-aspeed-sdk_%.bbappend new file mode 100644 index 000000000..b7bdbd200 --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-fw-utils-aspeed-sdk_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-aspeed-sdk:" + +SRC_URI += " \ + file://0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch \ + " -- cgit v1.2.3