[U-Boot] [PATCH 1/3] config: Update envs for trats and trats2 - new entries for new partitions
Lukasz Majewski
l.majewski at samsung.com
Tue Jan 14 08:02:24 CET 2014
This patch adds extra dfu_alt_info entries to support storing the whole BOOT
, DATA and UMS partitions.
This allows upgrade of uImage and device tree blob (dtb) files at once.
Now it is also possible to store ext4 rootfs prepared with well established
linux tools (like mkfs.ext4).
Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
---
Changes for v2:
- New partions added
Change-Id: I97aaa95e2745736de417bd07dbe2433dfff0f02c
---
include/configs/trats.h | 5 ++++-
include/configs/trats2.h | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/include/configs/trats.h b/include/configs/trats.h
index 6cd15c2..0bdfe86 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -143,7 +143,10 @@
"u-boot mmc 80 400;" \
"uImage ext4 0 2;" \
"exynos4210-trats.dtb ext4 0 2;" \
- ""PARTS_ROOT" part 0 5\0"
+ ""PARTS_BOOT" part 0 2;" \
+ ""PARTS_ROOT" part 0 5;" \
+ ""PARTS_DATA" part 0 6;" \
+ ""PARTS_UMS" part 0 7\0"
#define CONFIG_ENV_OVERWRITE
#define CONFIG_SYS_CONSOLE_INFO_QUIET
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index c9ce828..f335280 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -173,7 +173,10 @@
"u-boot mmc 80 800;" \
"uImage ext4 0 2;" \
"exynos4412-trats2.dtb ext4 0 2;" \
- ""PARTS_ROOT" part 0 5\0"
+ ""PARTS_BOOT" part 0 2;" \
+ ""PARTS_ROOT" part 0 5;" \
+ ""PARTS_DATA" part 0 6;" \
+ ""PARTS_UMS" part 0 7\0"
#define CONFIG_EXTRA_ENV_SETTINGS \
"bootk=" \
--
1.7.10.4
More information about the U-Boot
mailing list