From: Bajjuri, Praneeth Date: Fri, 14 Dec 2018 12:38:33 -0600 Subject: [U-Boot] [PATCH] arm: ti: boot: Increase system partition size In-Reply-To: References: <20181211162021.760-1-semen.protsenko@linaro.org> <21d35858-cebe-af67-35db-86f288f901fa@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On 12/14/2018 7:15 AM, Sam Protsenko wrote: > Hi Praneeth, > > On Fri, Dec 14, 2018 at 1:37 AM Bajjuri, Praneeth wrote: >> Sam, >> >> On 12/11/2018 10:26 AM, Bajjuri, Praneeth wrote: >>> On 12/11/2018 10:20 AM, Sam Protsenko wrote: >>>> Android code base is growing, so since Android "Pie" the size of >>>> system.img grew up to be about 740 MiB. Let's increase system.img to >>>> 1 GiB to accommodate for those changes and leave some margin for future >>>> changes. We don't want to make it more than 1 GiB, because we should >>>> keep userdata partition big enough (for user files, like media etc.), >>>> and eMMC size on BeagleBoard-X15 is only 3.5 GiB. >>>> >>>> Signed-off-by: Sam Protsenko >>> Acked-by: Praneeth Bajjuri >>>> --- >>>> include/environment/ti/boot.h | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/include/environment/ti/boot.h >>>> b/include/environment/ti/boot.h >>>> index 5891009a5a..86ff6d3ea7 100644 >>>> --- a/include/environment/ti/boot.h >>>> +++ b/include/environment/ti/boot.h >>>> @@ -41,7 +41,7 @@ >>>> "name=3Dcrypto,size=3D16K,uuid=3D${uuid_gpt_crypto};" \ >>>> "name=3Drecovery,size=3D40M,uuid=3D${uuid_gpt_recovery};" \ >>>> "name=3Dboot,size=3D10M,uuid=3D${uuid_gpt_boot};" \ >>>> - "name=3Dsystem,size=3D768M,uuid=3D${uuid_gpt_system};" \ >>>> + "name=3Dsystem,size=3D1024M,uuid=3D${uuid_gpt_system};" \ >> while at it, >> >> Can you remove the legacy partitions which are not applicable anymore >> for X15. >> >> remove : reserved, efs,crypto,cache,ipu1,ipu2. This will give more >> storage for userdata >> > Actually this file is also used for DRA7 and OMAP5 boards. Do you know > if we need ipu* partitions on DRA7? Can be removed for DRA7. IPU firmware is part of vendor image and doesnt reside as a separate=20 partition > > "reserved" is actually used to mark U-Boot environment, so I guess I > will rename it rather them remove. > > As for the other partitions, like cache, I think you're right. We > shouldn't try and support old Androids in new U-Boot, we have older > release tags for this. But I'd prefer to send that change in a > separate patch, due to commit message and atomicity. the current fix itself for increasing system image size=C2=A0 is fine. Ok on cleaning up legacy partitions with a patch on top > > Thanks. > >> we can still use misc for reboot reason storage for the purpose of >> fastboot reboot to (bootloader or recovery) >> >>>> "name=3Dvendor,size=3D256M,uuid=3D${uuid_gpt_vendor};" \ >>>> "name=3Dcache,size=3D256M,uuid=3D${uuid_gpt_cache};" \ >>>> "name=3Dipu1,size=3D1M,uuid=3D${uuid_gpt_ipu1};" \