public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S
@ 2023-03-13  3:35 Tony Dinh
  2023-03-14  8:17 ` Pali Rohár
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tony Dinh @ 2023-03-13  3:35 UTC (permalink / raw)
  To: Stefan Roese, Pali Roh�r, U-Boot Mailing List
  Cc: Tom Rini, Tony Dinh, Luka Perkov

It's useful to enable Debug UART for future DM Serial regression tests
for Kirkwood boards.

Also, see background discussion in this thread:
https://lists.denx.de/pipermail/u-boot/2023-March/512010.html

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
---

 configs/nsa310s_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configs/nsa310s_defconfig b/configs/nsa310s_defconfig
index 76839e62dd..b936ae1b25 100644
--- a/configs/nsa310s_defconfig
+++ b/configs/nsa310s_defconfig
@@ -15,8 +15,11 @@ CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_OFFSET=0xE0000
 CONFIG_DEFAULT_DEVICE_TREE="kirkwood-nsa310s"
 CONFIG_SYS_PROMPT="NSA310s> "
+CONFIG_DEBUG_UART_BASE=0xf1012000
+CONFIG_DEBUG_UART_CLOCK=166666667
 CONFIG_IDENT_STRING="\nZyXEL NSA310S/320S 1/2-Bay Power Media Server"
 CONFIG_SYS_LOAD_ADDR=0x800000
+CONFIG_DEBUG_UART=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTDELAY=3
 CONFIG_USE_PREBOOT=y
@@ -50,6 +53,7 @@ CONFIG_MTD_RAW_NAND=y
 CONFIG_PHY_MARVELL=y
 CONFIG_MVGBE=y
 CONFIG_MII=y
+CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_UBIFS_SILENCE_MSG=y
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S
  2023-03-13  3:35 [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S Tony Dinh
@ 2023-03-14  8:17 ` Pali Rohár
  2023-03-16  9:02 ` Stefan Roese
  2023-03-24 14:42 ` Stefan Roese
  2 siblings, 0 replies; 4+ messages in thread
From: Pali Rohár @ 2023-03-14  8:17 UTC (permalink / raw)
  To: Tony Dinh; +Cc: Stefan Roese, U-Boot Mailing List, Tom Rini, Luka Perkov

On Sunday 12 March 2023 20:35:51 Tony Dinh wrote:
> It's useful to enable Debug UART for future DM Serial regression tests
> for Kirkwood boards.
> 
> Also, see background discussion in this thread:
> https://lists.denx.de/pipermail/u-boot/2023-March/512010.html
> 
> Signed-off-by: Tony Dinh <mibodhi@gmail.com>

Reviewed-by: Pali Rohár <pali@kernel.org>

> ---
> 
>  configs/nsa310s_defconfig | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/configs/nsa310s_defconfig b/configs/nsa310s_defconfig
> index 76839e62dd..b936ae1b25 100644
> --- a/configs/nsa310s_defconfig
> +++ b/configs/nsa310s_defconfig
> @@ -15,8 +15,11 @@ CONFIG_ENV_SIZE=0x20000
>  CONFIG_ENV_OFFSET=0xE0000
>  CONFIG_DEFAULT_DEVICE_TREE="kirkwood-nsa310s"
>  CONFIG_SYS_PROMPT="NSA310s> "
> +CONFIG_DEBUG_UART_BASE=0xf1012000
> +CONFIG_DEBUG_UART_CLOCK=166666667
>  CONFIG_IDENT_STRING="\nZyXEL NSA310S/320S 1/2-Bay Power Media Server"
>  CONFIG_SYS_LOAD_ADDR=0x800000
> +CONFIG_DEBUG_UART=y
>  CONFIG_DISTRO_DEFAULTS=y
>  CONFIG_BOOTDELAY=3
>  CONFIG_USE_PREBOOT=y
> @@ -50,6 +53,7 @@ CONFIG_MTD_RAW_NAND=y
>  CONFIG_PHY_MARVELL=y
>  CONFIG_MVGBE=y
>  CONFIG_MII=y
> +CONFIG_DEBUG_UART_SHIFT=2
>  CONFIG_USB=y
>  CONFIG_USB_EHCI_HCD=y
>  CONFIG_UBIFS_SILENCE_MSG=y
> -- 
> 2.30.2
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S
  2023-03-13  3:35 [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S Tony Dinh
  2023-03-14  8:17 ` Pali Rohár
@ 2023-03-16  9:02 ` Stefan Roese
  2023-03-24 14:42 ` Stefan Roese
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2023-03-16  9:02 UTC (permalink / raw)
  To: Tony Dinh, Pali Roh�r, U-Boot Mailing List; +Cc: Tom Rini, Luka Perkov

On 3/13/23 04:35, Tony Dinh wrote:
> It's useful to enable Debug UART for future DM Serial regression tests
> for Kirkwood boards.
> 
> Also, see background discussion in this thread:
> https://lists.denx.de/pipermail/u-boot/2023-March/512010.html
> 
> Signed-off-by: Tony Dinh <mibodhi@gmail.com>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
> 
>   configs/nsa310s_defconfig | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/configs/nsa310s_defconfig b/configs/nsa310s_defconfig
> index 76839e62dd..b936ae1b25 100644
> --- a/configs/nsa310s_defconfig
> +++ b/configs/nsa310s_defconfig
> @@ -15,8 +15,11 @@ CONFIG_ENV_SIZE=0x20000
>   CONFIG_ENV_OFFSET=0xE0000
>   CONFIG_DEFAULT_DEVICE_TREE="kirkwood-nsa310s"
>   CONFIG_SYS_PROMPT="NSA310s> "
> +CONFIG_DEBUG_UART_BASE=0xf1012000
> +CONFIG_DEBUG_UART_CLOCK=166666667
>   CONFIG_IDENT_STRING="\nZyXEL NSA310S/320S 1/2-Bay Power Media Server"
>   CONFIG_SYS_LOAD_ADDR=0x800000
> +CONFIG_DEBUG_UART=y
>   CONFIG_DISTRO_DEFAULTS=y
>   CONFIG_BOOTDELAY=3
>   CONFIG_USE_PREBOOT=y
> @@ -50,6 +53,7 @@ CONFIG_MTD_RAW_NAND=y
>   CONFIG_PHY_MARVELL=y
>   CONFIG_MVGBE=y
>   CONFIG_MII=y
> +CONFIG_DEBUG_UART_SHIFT=2
>   CONFIG_USB=y
>   CONFIG_USB_EHCI_HCD=y
>   CONFIG_UBIFS_SILENCE_MSG=y

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S
  2023-03-13  3:35 [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S Tony Dinh
  2023-03-14  8:17 ` Pali Rohár
  2023-03-16  9:02 ` Stefan Roese
@ 2023-03-24 14:42 ` Stefan Roese
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2023-03-24 14:42 UTC (permalink / raw)
  To: Tony Dinh, Pali Roh�r, U-Boot Mailing List; +Cc: Tom Rini, Luka Perkov

On 3/13/23 04:35, Tony Dinh wrote:
> It's useful to enable Debug UART for future DM Serial regression tests
> for Kirkwood boards.
> 
> Also, see background discussion in this thread:
> https://lists.denx.de/pipermail/u-boot/2023-March/512010.html
> 
> Signed-off-by: Tony Dinh <mibodhi@gmail.com>

Applied to u-boot-marvell/next

Thanks,
Stefan

> ---
> 
>   configs/nsa310s_defconfig | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/configs/nsa310s_defconfig b/configs/nsa310s_defconfig
> index 76839e62dd..b936ae1b25 100644
> --- a/configs/nsa310s_defconfig
> +++ b/configs/nsa310s_defconfig
> @@ -15,8 +15,11 @@ CONFIG_ENV_SIZE=0x20000
>   CONFIG_ENV_OFFSET=0xE0000
>   CONFIG_DEFAULT_DEVICE_TREE="kirkwood-nsa310s"
>   CONFIG_SYS_PROMPT="NSA310s> "
> +CONFIG_DEBUG_UART_BASE=0xf1012000
> +CONFIG_DEBUG_UART_CLOCK=166666667
>   CONFIG_IDENT_STRING="\nZyXEL NSA310S/320S 1/2-Bay Power Media Server"
>   CONFIG_SYS_LOAD_ADDR=0x800000
> +CONFIG_DEBUG_UART=y
>   CONFIG_DISTRO_DEFAULTS=y
>   CONFIG_BOOTDELAY=3
>   CONFIG_USE_PREBOOT=y
> @@ -50,6 +53,7 @@ CONFIG_MTD_RAW_NAND=y
>   CONFIG_PHY_MARVELL=y
>   CONFIG_MVGBE=y
>   CONFIG_MII=y
> +CONFIG_DEBUG_UART_SHIFT=2
>   CONFIG_USB=y
>   CONFIG_USB_EHCI_HCD=y
>   CONFIG_UBIFS_SILENCE_MSG=y

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-24 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-13  3:35 [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S Tony Dinh
2023-03-14  8:17 ` Pali Rohár
2023-03-16  9:02 ` Stefan Roese
2023-03-24 14:42 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox