All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] siemens,at91: enable features for smartweb
Date: Thu, 28 Jan 2016 07:06:24 +0100	[thread overview]
Message-ID: <56A9AFE0.4060006@denx.de> (raw)
In-Reply-To: <1453906567-4652-1-git-send-email-samuel.egli@siemens.com>

Hello Samuel,

Am 27.01.2016 um 15:56 schrieb Samuel Egli:
> From: Matthias Michel <matthias.michel@siemens.com>
>
> New features for smartweb:
> * switch to hush command parser
> * change autoboot stop to <ESC><ESC>
> * allow to write ethaddr
>
> Signed-off-by: Matthias Michel <matthias.michel@siemens.com>
> Reviewed-by: Samuel Egli <samuel.egli@siemens.com>
> Cc: Roger Meier <r.meier@siemens.com>
> Cc: Heiko Schocher <hs@denx.de>
> ---
>   configs/smartweb_defconfig |  5 ++++-
>   include/configs/smartweb.h | 14 ++++++++++----
>   2 files changed, 14 insertions(+), 5 deletions(-)

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
>
> diff --git a/configs/smartweb_defconfig b/configs/smartweb_defconfig
> index ee4340f..654bb4b 100644
> --- a/configs/smartweb_defconfig
> +++ b/configs/smartweb_defconfig
> @@ -3,4 +3,7 @@ CONFIG_ARCH_AT91=y
>   CONFIG_TARGET_SMARTWEB=y
>   CONFIG_SPL=y
>   CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9260"
> -CONFIG_SYS_PROMPT="U-Boot> "
> +CONFIG_SYS_PROMPT="U-Boot# "
> +CONFIG_AUTOBOOT_KEYED=y
> +CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press \"<Esc><Esc>\" to stop\n"
> +CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
> diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
> index 44d1d5a..de7b6bc 100644
> --- a/include/configs/smartweb.h
> +++ b/include/configs/smartweb.h
> @@ -49,10 +49,18 @@
>   #define CONFIG_BOARD_EARLY_INIT_F	/* call board_early_init_f() */
>   #define CONFIG_DISPLAY_CPUINFO		/* display CPU Info at startup */
>
> +/* We set the max number of command args high to avoid HUSH bugs. */
> +#define CONFIG_SYS_MAXARGS    32
> +
>   /* setting board specific options */
> -# define CONFIG_MACH_TYPE		MACH_TYPE_SMARTWEB
> -#define CONFIG_CMDLINE_EDITING
> +#define CONFIG_MACH_TYPE		MACH_TYPE_SMARTWEB
> +#define CONFIG_AUTO_COMPLETE
> +#define CONFIG_ENV_OVERWRITE    1 /* Overwrite ethaddr / serial# */
> +#define CONFIG_SYS_HUSH_PARSER    /* use "hush" command parser */
> +#define CONFIG_SYS_PROMPT_HUSH_PS2  "> "
>   #define CONFIG_AUTO_COMPLETE
> +#define CONFIG_SYS_AUTOLOAD "yes"
> +#define CONFIG_RESET_TO_RETRY
>
>   /* The LED PINs */
>   #define CONFIG_RED_LED			AT91_PIN_PA9
> @@ -184,9 +192,7 @@
>   /* General Boot Parameter */
>   #define CONFIG_BOOTDELAY		3
>   #define CONFIG_BOOTCOMMAND		"run flashboot"
> -#define CONFIG_BOOT_RETRY_TIME          30
>   #define CONFIG_SYS_CBSIZE		512
> -#define CONFIG_SYS_MAXARGS		16
>   #define CONFIG_SYS_PBSIZE \
>   	(CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
>   #define CONFIG_SYS_LONGHELP
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2016-01-28  6:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27 14:56 [U-Boot] [PATCH] siemens,at91: enable features for smartweb Samuel Egli
2016-01-28  6:06 ` Heiko Schocher [this message]
2016-02-16 23:10 ` [U-Boot] " Andreas Bießmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56A9AFE0.4060006@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.