diff mbox series

[U-Boot,v2,4/9] apalis-tk1: enable user debug by default

Message ID 20190801080639.4706-5-igor.opaniuk@gmail.com
State Superseded
Delegated to: Tom Warren
Headers show
Series apalis-tk1: fixes/updates for v2019.10 | expand

Commit Message

Igor Opaniuk Aug. 1, 2019, 8:06 a.m. UTC
From: Igor Opaniuk <igor.opaniuk@toradex.com>

Let the kernel print some debug messages when a user program
crashes due to an exception.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
---

 include/configs/apalis-tk1.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Oleksandr Suvorov Aug. 1, 2019, 1:13 p.m. UTC | #1
On Thu, Aug 1, 2019 at 11:11 AM Igor Opaniuk <igor.opaniuk@gmail.com> wrote:
>
> From: Igor Opaniuk <igor.opaniuk@toradex.com>
>
> Let the kernel print some debug messages when a user program
> crashes due to an exception.
>
> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>

Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>

> ---
>
>  include/configs/apalis-tk1.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h
> index 9c8c8979f0..e4b4f196e6 100644
> --- a/include/configs/apalis-tk1.h
> +++ b/include/configs/apalis-tk1.h
> @@ -94,7 +94,8 @@
>         "boot_file=uImage\0" \
>         "console=ttyS0\0" \
>         "defargs=lp0_vec=2064@0xf46ff000 core_edp_mv=1150 core_edp_ma=4000 " \
> -               "usb_port_owner_info=2 lane_owner_info=6 emc_max_dvfs=0\0" \
> +               "usb_port_owner_info=2 lane_owner_info=6 emc_max_dvfs=0 " \
> +               "user_debug=30\0" \
>         "dfu_alt_info=" DFU_ALT_EMMC_INFO "\0" \
>         EMMC_BOOTCMD \
>         "fdt_board=eval\0" \
> --
> 2.17.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
diff mbox series

Patch

diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h
index 9c8c8979f0..e4b4f196e6 100644
--- a/include/configs/apalis-tk1.h
+++ b/include/configs/apalis-tk1.h
@@ -94,7 +94,8 @@ 
 	"boot_file=uImage\0" \
 	"console=ttyS0\0" \
 	"defargs=lp0_vec=2064@0xf46ff000 core_edp_mv=1150 core_edp_ma=4000 " \
-		"usb_port_owner_info=2 lane_owner_info=6 emc_max_dvfs=0\0" \
+		"usb_port_owner_info=2 lane_owner_info=6 emc_max_dvfs=0 " \
+		"user_debug=30\0" \
 	"dfu_alt_info=" DFU_ALT_EMMC_INFO "\0" \
 	EMMC_BOOTCMD \
 	"fdt_board=eval\0" \