diff mbox series

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

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

Commit Message

Praneeth Bajjuri Oct. 13, 2017, 3:47 a.m. UTC
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: Praneeth Bajjuri <praneeth@ti.com>
---
 include/configs/am57xx_evm.h | 1 +
 1 file changed, 1 insertion(+)

Comments

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

> 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: Praneeth Bajjuri <praneeth@ti.com>

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

> 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: Praneeth Bajjuri <praneeth@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index 5427974..ebb0474 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -59,6 +59,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};" \