summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot/u-boot-mkimage-openmoko-native/raise-limits.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/uboot/u-boot-mkimage-openmoko-native/raise-limits.patch')
-rw-r--r--meta/packages/uboot/u-boot-mkimage-openmoko-native/raise-limits.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage-openmoko-native/raise-limits.patch b/meta/packages/uboot/u-boot-mkimage-openmoko-native/raise-limits.patch
new file mode 100644
index 0000000000..a1c381a2cf
--- /dev/null
+++ b/meta/packages/uboot/u-boot-mkimage-openmoko-native/raise-limits.patch
@@ -0,0 +1,31 @@
1include/configs/neo1973.h: increase heap from 128 kB to 400 kB, for BMP image
2 decompression
3 [ note: increasing it to 512 kB trips over something. note sure what.
4 find out. ]
5include/configs/neo1973.h: raise number of command line arguments from 16 to 64
6
7- Werner Almesberger <werner@openmoko.org>
8
9Index: u-boot/include/configs/neo1973_gta01.h
10===================================================================
11--- u-boot.orig/include/configs/neo1973_gta01.h
12+++ u-boot/include/configs/neo1973_gta01.h
13@@ -54,7 +54,8 @@
14 /*
15 * Size of malloc() pool
16 */
17-#define CFG_MALLOC_LEN (CFG_ENV_SIZE + 128*1024)
18+#define CFG_MALLOC_LEN (CFG_ENV_SIZE + 400*1024)
19+ /* >> CFG_VIDEO_LOGO_MAX_SIZE */
20 #define CFG_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */
21
22 /*
23@@ -142,7 +143,7 @@
24 #endif
25 #define CFG_CBSIZE 256 /* Console I/O Buffer Size */
26 #define CFG_PBSIZE (CFG_CBSIZE+sizeof(CFG_PROMPT)+16) /* Print Buffer Size */
27-#define CFG_MAXARGS 16 /* max number of command args */
28+#define CFG_MAXARGS 64 /* max number of command args */
29 #define CFG_BARGSIZE CFG_CBSIZE /* Boot Argument Buffer Size */
30
31 #define CFG_MEMTEST_START 0x30000000 /* memtest works on */