forked from ogra1/hummingboard-gadget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuboot.patch
31 lines (28 loc) · 1 KB
/
uboot.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
index 446b3bc..6da20b0 100644
--- a/include/configs/mx6cuboxi.h
+++ b/include/configs/mx6cuboxi.h
@@ -43,6 +43,7 @@
#define CONFIG_VIDEO_BMP_LOGO
#define CONFIG_IMX_HDMI
#define CONFIG_CMD_HDMIDETECT
+#define CONFIG_CMD_BMP
#define CONFIG_IMX_VIDEO_SKIP
/* USB */
@@ -143,8 +144,15 @@
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
/* Environment organization */
-#define CONFIG_ENV_SIZE (8 * 1024)
-#define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_ENV_OFFSET (8 * 64 * 1024)
+#undef CONFIG_ENV_IS_NOWHERE
+#undef CONFIG_ENV_IS_IN_NAND
+#undef CONFIG_ENV_IS_IN_MMC
+#define CONFIG_FAT_WRITE
+#define CONFIG_ENV_IS_IN_FAT
+#define CONFIG_ENV_SIZE (128 * 1024)
+#define FAT_ENV_DEVICE_AND_PART "0:1"
+#define FAT_ENV_INTERFACE "mmc"
+#define FAT_ENV_FILE "uboot.env"
+#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
#endif /* __MX6CUBOXI_CONFIG_H */