public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] arm: pxa: update LP-8x4x to boot DTS kernel
Date: Sat, 14 Dec 2013 13:32:09 +0100	[thread overview]
Message-ID: <201312141332.09157.marex@denx.de> (raw)
In-Reply-To: <1386999720-23460-5-git-send-email-ynvich@gmail.com>

On Saturday, December 14, 2013 at 06:42:00 AM, Sergei Ianovich wrote:
> The device has only 256 kiB for U-Boot binary.
> 
> Binary size exceeds 256 kiB after activating CONFIG_OF_LIBFDT, so
> we disable USB support which was not working anyway.
> 
> Disabled USD frees more space than libfdt requires, so activate
> long command line help.
> 
> Signed-off-by: Sergei Ianovich <ynvich@gmail.com>

Is this device not running from DRAM, which has about infinite (in the context 
of U-Boot) size ?

> ---
>  include/configs/lp8x4x.h | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/include/configs/lp8x4x.h b/include/configs/lp8x4x.h
> index 55658ab..16c8c03 100644
> --- a/include/configs/lp8x4x.h
> +++ b/include/configs/lp8x4x.h
> @@ -20,18 +20,18 @@
>  #define	CONFIG_SYS_MALLOC_LEN		(128*1024)
>  #define	CONFIG_ARCH_CPU_INIT
>  #define	CONFIG_BOOTCOMMAND		\
> -	"bootm 80000;"
> +	"bootm 80000 - 240000;"
> 
>  #define	CONFIG_BOOTARGS			\
>  	"console=ttySA0,115200 mem=128M root=/dev/mmcblk0p1 rw" \
> -	"init=/sbin/init rootfstype=ext3"
> +	"init=/sbin/init rootfstype=ext4 rootwait"
> 
>  #define	CONFIG_TIMESTAMP
>  #define	CONFIG_BOOTDELAY		2	/* Autoboot delay */
>  #define	CONFIG_CMDLINE_TAG
>  #define	CONFIG_SETUP_MEMORY_TAGS
>  #define	CONFIG_LZMA			/* LZMA compression support */
> -#undef	CONFIG_OF_LIBFDT
> +#define	CONFIG_OF_LIBFDT
> 
>  /*
>   * Serial Console Configuration
> @@ -50,7 +50,7 @@
>  #define	CONFIG_CMD_ENV
>  #undef	CONFIG_CMD_IMLS
>  #define	CONFIG_CMD_MMC
> -#define	CONFIG_CMD_USB
> +#undef	CONFIG_CMD_USB
>  #undef	CONFIG_LCD
>  #undef	CONFIG_CMD_IDE
> 
> @@ -101,7 +101,7 @@
>   */
>  #define	CONFIG_SYS_HUSH_PARSER		1
> 
> -#undef	CONFIG_SYS_LONGHELP
> +#define	CONFIG_SYS_LONGHELP
>  #ifdef	CONFIG_SYS_HUSH_PARSER
>  #define	CONFIG_SYS_PROMPT		"$ "
>  #else

Best regards,
Marek Vasut

  reply	other threads:[~2013-12-14 12:32 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-14  5:41 [U-Boot] [PATCH 0/4] fix and update LP-8x4x to boot DTS kernel Sergei Ianovich
2013-12-14  5:41 ` [U-Boot] [PATCH 1/4] ARM: pxa: prevent PXA270 occasional reboot freezes Sergei Ianovich
2013-12-14 12:29   ` Marek Vasut
2013-12-14 15:31     ` Sergei Ianovich
2013-12-14 17:14       ` Marek Vasut
2013-12-14 23:51         ` Sergei Ianovich
2013-12-15  5:17           ` Marek Vasut
2013-12-15  9:48             ` Sergei Ianovich
2013-12-15 15:04               ` Marek Vasut
2013-12-14  5:41 ` [U-Boot] [PATCH 2/4] arm: pxa: always init ethaddr for LP-8x4x Sergei Ianovich
2013-12-14 12:30   ` Marek Vasut
2013-12-14 15:39     ` Sergei Ianovich
2013-12-14 17:12       ` Marek Vasut
2013-12-14 20:53         ` Sergei Ianovich
2013-12-14 20:57           ` Marek Vasut
2013-12-14 23:53             ` Sergei Ianovich
2013-12-15  5:17               ` Marek Vasut
2013-12-15  9:44                 ` Sergei Ianovich
2013-12-15 15:05                   ` Marek Vasut
2013-12-15 18:43                     ` Sergei Ianovich
2013-12-14  5:41 ` [U-Boot] [PATCH 3/4] arm: pxa: fix 2nd flash chip address on LP-8x4x Sergei Ianovich
2013-12-14  5:42 ` [U-Boot] [PATCH 4/4] arm: pxa: update LP-8x4x to boot DTS kernel Sergei Ianovich
2013-12-14 12:32   ` Marek Vasut [this message]
2013-12-14 15:41     ` Sergei Ianovich
2013-12-14 17:05       ` Marek Vasut
2013-12-15  9:57         ` Sergei Ianovich
2013-12-15 15:06           ` Marek Vasut
2013-12-15 18:56             ` Sergei Ianovich
2013-12-15 19:22               ` Marek Vasut
2013-12-17  1:07                 ` Sergei Ianovich
2013-12-17  1:03 ` [U-Boot] [PATCH v2 0/5] fix and update LP-8x4x to boot DT kernel Sergei Ianovich
2013-12-17  1:03   ` [U-Boot] [PATCH v2 1/5] ARM: pxa: prevent PXA270 occasional reboot freezes Sergei Ianovich
2013-12-17  1:03   ` [U-Boot] [PATCH v2 2/5] arm: pxa: fix LP-8x4x USB support Sergei Ianovich
2013-12-18 15:01     ` Marek Vasut
2013-12-18 16:19     ` [U-Boot] [PATCH v3] " Sergei Ianovich
2013-12-18 17:15       ` Marek Vasut
2013-12-17  1:03   ` [U-Boot] [PATCH v2 3/5] arm: pxa: fix 2nd flash chip address on LP-8x4x Sergei Ianovich
2013-12-17  1:03   ` [U-Boot] [PATCH v2 4/5] arm: pxa: update LP-8x4x to boot DT kernel Sergei Ianovich
2013-12-17  1:03   ` [U-Boot] [PATCH v2 5/5] arm: pxa: init ethaddr for LP-8x4x using DT Sergei Ianovich
2013-12-18 15:01   ` [U-Boot] [PATCH v2 0/5] fix and update LP-8x4x to boot DT kernel Marek Vasut
2013-12-18 16:21     ` Sergei Ianovich

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=201312141332.09157.marex@denx.de \
    --to=marex@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox