* [U-Boot] [PATCH 1/2] configs: db410c: Set eMMC env partition to BOOT2
@ 2018-06-14 4:04 Ramon Fried
2018-06-14 4:04 ` [U-Boot] [PATCH 2/2] configs: dragonboard410c: remove env partition offset Ramon Fried
2018-06-19 18:43 ` [U-Boot] [U-Boot, 1/2] configs: db410c: Set eMMC env partition to BOOT2 Tom Rini
0 siblings, 2 replies; 4+ messages in thread
From: Ramon Fried @ 2018-06-14 4:04 UTC (permalink / raw)
To: u-boot
BOOT2 partition is empty and free for using to store the environment.
Use that instead of the default user partition.
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
---
include/configs/dragonboard410c.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
index 86fa735470..46a7179f1b 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -94,6 +94,7 @@ REFLASH(dragonboard/u-boot.img, 8)\
#define CONFIG_ENV_SIZE 0x2000
#define CONFIG_SYS_MMC_ENV_DEV 0 /* mmc0 = emmc, mmc1 = sd */
+#define CONFIG_SYS_MMC_ENV_PART 2 /* Set env partition to BOOT2 partition */
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_8M)
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 2/2] configs: dragonboard410c: remove env partition offset
2018-06-14 4:04 [U-Boot] [PATCH 1/2] configs: db410c: Set eMMC env partition to BOOT2 Ramon Fried
@ 2018-06-14 4:04 ` Ramon Fried
2018-06-19 18:43 ` [U-Boot] [U-Boot, " Tom Rini
2018-06-19 18:43 ` [U-Boot] [U-Boot, 1/2] configs: db410c: Set eMMC env partition to BOOT2 Tom Rini
1 sibling, 1 reply; 4+ messages in thread
From: Ramon Fried @ 2018-06-14 4:04 UTC (permalink / raw)
To: u-boot
BOOT2 is not partitioned, no need for partition offset.
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
---
arch/arm/dts/dragonboard410c-uboot.dtsi | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi b/arch/arm/dts/dragonboard410c-uboot.dtsi
index b968f5eb68..5675086c91 100644
--- a/arch/arm/dts/dragonboard410c-uboot.dtsi
+++ b/arch/arm/dts/dragonboard410c-uboot.dtsi
@@ -6,10 +6,6 @@
*/
/ {
- config {
- u-boot,mmc-env-partition = "boot";
- };
-
soc {
u-boot,dm-pre-reloc;
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [U-Boot] [U-Boot, 1/2] configs: db410c: Set eMMC env partition to BOOT2
2018-06-14 4:04 [U-Boot] [PATCH 1/2] configs: db410c: Set eMMC env partition to BOOT2 Ramon Fried
2018-06-14 4:04 ` [U-Boot] [PATCH 2/2] configs: dragonboard410c: remove env partition offset Ramon Fried
@ 2018-06-19 18:43 ` Tom Rini
1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2018-06-19 18:43 UTC (permalink / raw)
To: u-boot
On Thu, Jun 14, 2018 at 07:04:40AM +0300, Ramon Fried wrote:
> BOOT2 partition is empty and free for using to store the environment.
> Use that instead of the default user partition.
>
> Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180619/f9b2e839/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-06-19 18:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14 4:04 [U-Boot] [PATCH 1/2] configs: db410c: Set eMMC env partition to BOOT2 Ramon Fried
2018-06-14 4:04 ` [U-Boot] [PATCH 2/2] configs: dragonboard410c: remove env partition offset Ramon Fried
2018-06-19 18:43 ` [U-Boot] [U-Boot, " Tom Rini
2018-06-19 18:43 ` [U-Boot] [U-Boot, 1/2] configs: db410c: Set eMMC env partition to BOOT2 Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox