Skip to contentSkip to conversation

arm: ti: boot: Remove legacy Android partitions

PATCH In review Sam Protsenko 4 participants 4 messages Jan 4, 2019 – Jul 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: ti: boot: Remove legacy Android partitions

Remove unused Android partitions:
- efs, crypto, cache: we don't use it anymore (images are not built in AOSP
- ipu1, ipu2: IPU firmware is now a part of vendor image and doesn't reside as a separate partition

While at it, rename "reserved" partition to "uboot-env", as it's actually stores U-Boot environment.

---
 include/environment/ti/boot.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
include/environment/ti/boot.h +1 -6
index 86ff6d3ea7..05bdbbc23e 100644
@@ -35,17 +35,12 @@
 	"uuid_disk=${uuid_gpt_disk};" \
 	"name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
 	"name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \
-	"name=reserved,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
+	"name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
 	"name=misc,size=128K,uuid=${uuid_gpt_misc};" \
-	"name=efs,size=16M,uuid=${uuid_gpt_efs};" \
-	"name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
 	"name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \
 	"name=boot,size=10M,uuid=${uuid_gpt_boot};" \
 	"name=system,size=1024M,uuid=${uuid_gpt_system};" \
 	"name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \
-	"name=cache,size=256M,uuid=${uuid_gpt_cache};" \
-	"name=ipu1,size=1M,uuid=${uuid_gpt_ipu1};" \
-	"name=ipu2,size=1M,uuid=${uuid_gpt_ipu2};" \
 	VBMETA_PART \
 	"name=userdata,size=-,uuid=${uuid_gpt_userdata}"
 #endif /* PARTS_DEFAULT */
Signature · 1 line
2.19.2
#1 lore raw

PATCH 1/1 arm: ti: boot: Remove legacy Android partitions

Quoted 10 lines · Sam Protsenko

Remove unused Android partitions:
- efs, crypto, cache: we don't use it anymore (images are not built in AOSP
- ipu1, ipu2: IPU firmware is now a part of vendor image and doesn't reside as a separate partition

While at it, rename "reserved" partition to "uboot-env", as it's actually stores U-Boot environment.

Quoted 27 lines
---
  include/environment/ti/boot.h | 7 +------
  1 file changed, 1 insertion(+), 6 deletions(-)
include/environment/ti/boot.h +1 -6
index 86ff6d3ea7..05bdbbc23e 100644
@@ -35,17 +35,12 @@
  	"uuid_disk=${uuid_gpt_disk};" \
  	"name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
  	"name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \
-	"name=reserved,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
+	"name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
  	"name=misc,size=128K,uuid=${uuid_gpt_misc};" \
-	"name=efs,size=16M,uuid=${uuid_gpt_efs};" \
-	"name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
  	"name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \
  	"name=boot,size=10M,uuid=${uuid_gpt_boot};" \
  	"name=system,size=1024M,uuid=${uuid_gpt_system};" \
  	"name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \
-	"name=cache,size=256M,uuid=${uuid_gpt_cache};" \
-	"name=ipu1,size=1M,uuid=${uuid_gpt_ipu1};" \
-	"name=ipu2,size=1M,uuid=${uuid_gpt_ipu2};" \
  	VBMETA_PART \
  	"name=userdata,size=-,uuid=${uuid_gpt_userdata}"
  #endif /* PARTS_DEFAULT */
#2 lore raw
In reply to Sam Protsenko
Quoted 11 lines · Sam Protsenko

Remove unused Android partitions:
- efs, crypto, cache: we don't use it anymore (images are not built in AOSP
- ipu1, ipu2: IPU firmware is now a part of vendor image and doesn't reside as a separate partition

While at it, rename "reserved" partition to "uboot-env", as it's actually stores U-Boot environment.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20190109/7af49f99/attachment.sig>
#3 lore raw

PATCH 1/1 arm: ti: boot: Remove legacy Android partitions

In reply to Sam Protsenko
Quoted 10 lines · Sam Protsenko

Remove unused Android partitions:
- efs, crypto, cache: we don't use it anymore (images are not built in AOSP
- ipu1, ipu2: IPU firmware is now a part of vendor image and doesn't reside as a separate partition

While at it, rename "reserved" partition to "uboot-env", as it's actually stores U-Boot environment.

Thanks and regards,
Lokesh