From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 14 Dec 2013 13:32:09 +0100 Subject: [U-Boot] [PATCH 4/4] arm: pxa: update LP-8x4x to boot DTS kernel In-Reply-To: <1386999720-23460-5-git-send-email-ynvich@gmail.com> References: <1386999720-23460-1-git-send-email-ynvich@gmail.com> <1386999720-23460-5-git-send-email-ynvich@gmail.com> Message-ID: <201312141332.09157.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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