[U-Boot,2/4] arm: dra7xx: Add vendor partition to Android GPT table for eMMC

Message ID 1507866425-10827-2-git-send-email-praneeth@ti.com
State Accepted
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot,1/4] arm: am57xx: Add vendor partition to Android GPT table for eMMC
Related show

Commit Message

Bajjuri, Praneeth Oct. 13, 2017, 3:47 a.m.
From: Vishal Mahaveer <vishalm@ti.com>

Add vendor partition to Android GPT table for eMMC.

A Vendor image contains SoC-specific code and configuration.

Prior to Android 8.0, the vendor partition was optional ;
files belonging to these images were placed in boot.img or system.img
with symlinks (such as /vendor >/system/vendor ) when absent.

Android 8.0 makes the vendor partition mandatory

The goal is to modularize Android partitions with standard interface between
the Android Platform (on system.img ) and vendor-provided code(on vendor.img).

This standard interface enables the Android Platform to be updated
without affecting the SoC partitions. This makes it possible to upgrade a
device system.img from Android 8.0 to Android P while other images (such as
vendor.img) remain at Android 8.0. This modularity enables timely
Android platform upgrades (such as monthly security updates )
without requiring SoC/ODM partners to update SoC- and device-specific code.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
---
 include/configs/dra7xx_evm.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Oct. 14, 2017, 2:34 a.m. | #1
On Thu, Oct 12, 2017 at 10:47:03PM -0500, Praneeth Bajjuri wrote:

> From: Vishal Mahaveer <vishalm@ti.com>
> 
> Add vendor partition to Android GPT table for eMMC.
> 
> A Vendor image contains SoC-specific code and configuration.
> 
> Prior to Android 8.0, the vendor partition was optional ;
> files belonging to these images were placed in boot.img or system.img
> with symlinks (such as /vendor >/system/vendor ) when absent.
> 
> Android 8.0 makes the vendor partition mandatory
> 
> The goal is to modularize Android partitions with standard interface between
> the Android Platform (on system.img ) and vendor-provided code(on vendor.img).
> 
> This standard interface enables the Android Platform to be updated
> without affecting the SoC partitions. This makes it possible to upgrade a
> device system.img from Android 8.0 to Android P while other images (such as
> vendor.img) remain at Android 8.0. This modularity enables timely
> Android platform upgrades (such as monthly security updates )
> without requiring SoC/ODM partners to update SoC- and device-specific code.
> 
> Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
Tom Rini Oct. 17, 2017, 12:48 a.m. | #2
On Thu, Oct 12, 2017 at 10:47:03PM -0500, Praneeth Bajjuri wrote:

> From: Vishal Mahaveer <vishalm@ti.com>
> 
> Add vendor partition to Android GPT table for eMMC.
> 
> A Vendor image contains SoC-specific code and configuration.
> 
> Prior to Android 8.0, the vendor partition was optional ;
> files belonging to these images were placed in boot.img or system.img
> with symlinks (such as /vendor >/system/vendor ) when absent.
> 
> Android 8.0 makes the vendor partition mandatory
> 
> The goal is to modularize Android partitions with standard interface between
> the Android Platform (on system.img ) and vendor-provided code(on vendor.img).
> 
> This standard interface enables the Android Platform to be updated
> without affecting the SoC partitions. This makes it possible to upgrade a
> device system.img from Android 8.0 to Android P while other images (such as
> vendor.img) remain at Android 8.0. This modularity enables timely
> Android platform upgrades (such as monthly security updates )
> without requiring SoC/ODM partners to update SoC- and device-specific code.
> 
> Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 717861f..3333e5e 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -66,6 +66,7 @@ 
 	"name=recovery,size=10M,uuid=${uuid_gpt_recovery};" \
 	"name=boot,size=10M,uuid=${uuid_gpt_boot};" \
 	"name=system,size=768M,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};" \