| Submitter | Thomas Weber |
|---|---|
| Date | April 3, 2012, 10:37 a.m. |
| Message ID | <1333449424-7554-1-git-send-email-weber@corscience.de> |
| Download | mbox | patch |
| Permalink | /patch/150405/ |
| State | Accepted |
| Commit | 36f3aab2dd6e970244c555a858943747f97ab8f0 |
| Delegated to: | Tom Rini |
| Headers | show |
Comments
On Tue, Apr 03, 2012 at 12:37:03PM +0200, Thomas Weber wrote: > From: Bernhard Walle <walle@corscience.de> > > Since kernel should be in a ubifs partition, we need UBIFS. > The greater malloc size is needed for UBIFS. > > Signed-off-by: Bernhard Walle <walle@corscience.de> > > Squashed two commits (UBIFS enabled and malloc size increased) into one. > Signed-off-by: Thomas Weber <weber@corscience.de> This and 2/2 are now queued for u-boot-ti/master which I intend to PR on Friday. Thanks!
Patch
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index ba8847b..d826e19 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -71,7 +71,7 @@ /* Size of malloc() pool */ #define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */ /* Sector */ -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (512 << 10)) +#define CONFIG_SYS_MALLOC_LEN (1024*1024) /* Hardware drivers */ @@ -139,7 +139,9 @@ #define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */ #define CONFIG_CMD_NAND /* NAND support */ #define CONFIG_CMD_NAND_LOCK_UNLOCK /* nand (un)lock commands */ -#define CONFIG_CMD_UBI /* UBIFS commands */ +#define CONFIG_CMD_UBI /* UBI commands */ +#define CONFIG_CMD_UBIFS /* UBIFS commands */ +#define CONFIG_LZO /* LZO is needed for UBIFS */ #undef CONFIG_CMD_NET #undef CONFIG_CMD_NFS