PD#SWPL-17483
Problem:
partition size is not enough
Solution:
1. add factory partition
2. change tee size to 32MB
Verify:
newton
Change-Id: I0a8cb2695fb67d1d6200f70864b31fcd7cee57bc
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
/ {
partitions: partitions{
- parts = <14>;
+ parts = <15>;
part-0 = <&logo>;
part-1 = <&recovery>;
part-2 = <&tee>;
- part-3 = <&misc>;
- part-4 = <&dtbo>;
- part-5 = <&cri_data>;
- part-6 = <¶m>;
- part-7 = <&boot>;
- part-8 = <&rsv>;
- part-9 = <&metadata>;
- part-10 = <&vbmeta>;
- part-11 = <&super>;
- part-12 = <&cache>;
- part-13 = <&data>;
+ part-3 = <&factory>;
+ part-4 = <&misc>;
+ part-5 = <&dtbo>;
+ part-6 = <&cri_data>;
+ part-7 = <¶m>;
+ part-8 = <&boot>;
+ part-9 = <&rsv>;
+ part-10 = <&metadata>;
+ part-11 = <&vbmeta>;
+ part-12 = <&super>;
+ part-13 = <&cache>;
+ part-14 = <&data>;
logo:logo{
pname = "logo";
};
tee:tee{
pname = "tee";
- size = <0x0 0x400000>;
+ size = <0x0 0x2000000>;
+ mask = <1>;
+ };
+ factory:factory{
+ pname = "factory";
+ size = <0x0 0x800000>;
mask = <1>;
};
misc:misc{
super:super
{
pname = "super";
- size = <0x0 0x78000000>;
+ size = <0x0 0x64000000>;
mask = <1>;
};
cache:cache
/ {
partitions: partitions{
- parts = <18>;
+ parts = <19>;
part-0 = <&logo>;
part-1 = <&recovery_a>;
part-2 = <&recovery_b>;
part-3 = <&tee>;
- part-4 = <&misc>;
- part-5 = <&dtbo_a>;
- part-6 = <&dtbo_b>;
- part-7 = <&cri_data>;
- part-8 = <¶m>;
- part-9 = <&boot_a>;
- part-10 = <&boot_b>;
- part-11 = <&rsv>;
- part-12 = <&metadata_a>;
- part-13 = <&metadata_b>;
- part-14 = <&vbmeta_a>;
- part-15 = <&vbmeta_b>;
- part-16 = <&super>;
- part-17 = <&data>;
+ part-4 = <&factory>;
+ part-5 = <&misc>;
+ part-6 = <&dtbo_a>;
+ part-7 = <&dtbo_b>;
+ part-8 = <&cri_data>;
+ part-9 = <¶m>;
+ part-10 = <&boot_a>;
+ part-11 = <&boot_b>;
+ part-12 = <&rsv>;
+ part-13 = <&metadata_a>;
+ part-14 = <&metadata_b>;
+ part-15 = <&vbmeta_a>;
+ part-16 = <&vbmeta_b>;
+ part-17 = <&super>;
+ part-18 = <&data>;
logo:logo{
pname = "logo";
};
tee:tee{
pname = "tee";
- size = <0x0 0x400000>;
+ size = <0x0 0x2000000>;
+ mask = <1>;
+ };
+ factory:factory{
+ pname = "factory";
+ size = <0x0 0x800000>;
mask = <1>;
};
misc:misc{
super:super
{
pname = "super";
- size = <0x0 0xF0800000>;
+ size = <0x0 0xC8800000>;
mask = <1>;
};
data:data
/ {
partitions: partitions{
- parts = <14>;
+ parts = <15>;
part-0 = <&logo>;
part-1 = <&recovery>;
part-2 = <&tee>;
- part-3 = <&misc>;
- part-4 = <&dtbo>;
- part-5 = <&cri_data>;
- part-6 = <¶m>;
- part-7 = <&boot>;
- part-8 = <&rsv>;
- part-9 = <&metadata>;
- part-10 = <&vbmeta>;
- part-11 = <&super>;
- part-12 = <&cache>;
- part-13 = <&data>;
+ part-3 = <&factory>;
+ part-4 = <&misc>;
+ part-5 = <&dtbo>;
+ part-6 = <&cri_data>;
+ part-7 = <¶m>;
+ part-8 = <&boot>;
+ part-9 = <&rsv>;
+ part-10 = <&metadata>;
+ part-11 = <&vbmeta>;
+ part-12 = <&super>;
+ part-13 = <&cache>;
+ part-14 = <&data>;
logo:logo{
pname = "logo";
};
tee:tee{
pname = "tee";
- size = <0x0 0x400000>;
+ size = <0x0 0x2000000>;
+ mask = <1>;
+ };
+ factory:factory{
+ pname = "factory";
+ size = <0x0 0x800000>;
mask = <1>;
};
misc:misc{
super:super
{
pname = "super";
- size = <0x0 0x78000000>;
+ size = <0x0 0x64000000>;
mask = <1>;
};
cache:cache
/ {
partitions: partitions{
- parts = <18>;
+ parts = <19>;
part-0 = <&logo>;
part-1 = <&recovery_a>;
part-2 = <&recovery_b>;
part-3 = <&tee>;
- part-4 = <&misc>;
- part-5 = <&dtbo_a>;
- part-6 = <&dtbo_b>;
- part-7 = <&cri_data>;
- part-8 = <¶m>;
- part-9 = <&boot_a>;
- part-10 = <&boot_b>;
- part-11 = <&rsv>;
- part-12 = <&metadata_a>;
- part-13 = <&metadata_b>;
- part-14 = <&vbmeta_a>;
- part-15 = <&vbmeta_b>;
- part-16 = <&super>;
- part-17 = <&data>;
+ part-4 = <&factory>;
+ part-5 = <&misc>;
+ part-6 = <&dtbo_a>;
+ part-7 = <&dtbo_b>;
+ part-8 = <&cri_data>;
+ part-9 = <¶m>;
+ part-10 = <&boot_a>;
+ part-11 = <&boot_b>;
+ part-12 = <&rsv>;
+ part-13 = <&metadata_a>;
+ part-14 = <&metadata_b>;
+ part-15 = <&vbmeta_a>;
+ part-16 = <&vbmeta_b>;
+ part-17 = <&super>;
+ part-18 = <&data>;
logo:logo{
pname = "logo";
};
tee:tee{
pname = "tee";
- size = <0x0 0x400000>;
+ size = <0x0 0x2000000>;
+ mask = <1>;
+ };
+ factory:factory{
+ pname = "factory";
+ size = <0x0 0x800000>;
mask = <1>;
};
misc:misc{
super:super
{
pname = "super";
- size = <0x0 0xF0800000>;
+ size = <0x0 0xC8800000>;
mask = <1>;
};
data:data