summary refs log tree commit diff
path: root/pkgs/misc/uboot/guruplug-file-systems.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-10-04 22:23:57 +0000
committerLudovic Courtès <ludo@gnu.org>2010-10-04 22:23:57 +0000
commitbcba3664d9b57bb15cc27928236e445b0b83846e (patch)
tree202fd0d5d417291c14a7b4da223ad2793d9e02c8 /pkgs/misc/uboot/guruplug-file-systems.patch
parent05b8ee73c4b08084899ed14d81533b7e17454462 (diff)
downloadnixlib-bcba3664d9b57bb15cc27928236e445b0b83846e.tar
nixlib-bcba3664d9b57bb15cc27928236e445b0b83846e.tar.gz
nixlib-bcba3664d9b57bb15cc27928236e445b0b83846e.tar.bz2
nixlib-bcba3664d9b57bb15cc27928236e445b0b83846e.tar.lz
nixlib-bcba3664d9b57bb15cc27928236e445b0b83846e.tar.xz
nixlib-bcba3664d9b57bb15cc27928236e445b0b83846e.tar.zst
nixlib-bcba3664d9b57bb15cc27928236e445b0b83846e.zip
Add U-Boot for the GuruPlug.
svn path=/nixpkgs/trunk/; revision=24060
Diffstat (limited to 'pkgs/misc/uboot/guruplug-file-systems.patch')
-rw-r--r--pkgs/misc/uboot/guruplug-file-systems.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/guruplug-file-systems.patch b/pkgs/misc/uboot/guruplug-file-systems.patch
new file mode 100644
index 000000000000..76734456c2fb
--- /dev/null
+++ b/pkgs/misc/uboot/guruplug-file-systems.patch
@@ -0,0 +1,34 @@
+Add support for the various file systems as found in `sheevaplug.h'.
+In addition, increase the malloc area size to allow compilation of UbiFS.
+
+--- u-boot/include/configs/guruplug.h	1970-01-01 01:00:01.000000000 +0100
++++ u-boot/include/configs/guruplug.h	2010-09-29 18:59:52.000000000 +0200
+@@ -145,7 +145,7 @@
+ /*
+  * Size of malloc() pool
+  */
+-#define CONFIG_SYS_MALLOC_LEN	(1024 * 128) /* 128kB for malloc() */
++#define CONFIG_SYS_MALLOC_LEN	(1024 * 1024) /* 1 MiB for malloc() */
+ /* size in bytes reserved for initial data */
+ #define CONFIG_SYS_GBL_DATA_SIZE	128
+ 
+@@ -195,4 +195,18 @@
+ 
+ #define CONFIG_SYS_ALT_MEMTEST
+ 
++/*
++ * File system
++ */
++#define CONFIG_CMD_EXT2
++#define CONFIG_CMD_FAT
++#define CONFIG_CMD_JFFS2
++#define CONFIG_CMD_UBI
++#define CONFIG_CMD_UBIFS
++#define CONFIG_RBTREE
++#define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
++#define CONFIG_MTD_PARTITIONS
++#define CONFIG_CMD_MTDPARTS
++#define CONFIG_LZO
++
+ #endif /* _CONFIG_GURUPLUG_H */
+