All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: ti: boot: Fix U-Boot environment partition address
@ 2018-11-15 20:26 Sam Protsenko
  2018-11-26 14:27 ` Sam Protsenko
  2018-11-27 18:47 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Sam Protsenko @ 2018-11-15 20:26 UTC (permalink / raw)
  To: u-boot

Recent removal of obsolete partition led to shifting of starting address
of "reserved" partition (which reflects U-Boot environment). Fix its
start address to keep it in sync with ENV_OFFSET and DFU environment.

This patch also provides fixed start address for "reserved" partition,
so that we can track when it's shifted next time.

While at it, move it before "misc" partition to keep all Android
partitions together.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
---
 include/environment/ti/boot.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
index 3c9c87f21b..5891009a5a 100644
--- a/include/environment/ti/boot.h
+++ b/include/environment/ti/boot.h
@@ -34,9 +34,9 @@
 	"partitions_android=" \
 	"uuid_disk=${uuid_gpt_disk};" \
 	"name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
-	"name=bootloader,size=1792K,uuid=${uuid_gpt_bootloader};" \
+	"name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \
+	"name=reserved,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
 	"name=misc,size=128K,uuid=${uuid_gpt_misc};" \
-	"name=reserved,size=256K,uuid=${uuid_gpt_reserved};" \
 	"name=efs,size=16M,uuid=${uuid_gpt_efs};" \
 	"name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
 	"name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \
-- 
2.19.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] arm: ti: boot: Fix U-Boot environment partition address
  2018-11-15 20:26 [U-Boot] [PATCH] arm: ti: boot: Fix U-Boot environment partition address Sam Protsenko
@ 2018-11-26 14:27 ` Sam Protsenko
  2018-11-26 15:08   ` Bajjuri, Praneeth
  2018-11-27 18:47 ` [U-Boot] " Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Sam Protsenko @ 2018-11-26 14:27 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Can you please pull this in? It fixes the regression I introduced by
accident earlier...

Thanks!

On Thu, Nov 15, 2018 at 10:26 PM Sam Protsenko
<semen.protsenko@linaro.org> wrote:
>
> Recent removal of obsolete partition led to shifting of starting address
> of "reserved" partition (which reflects U-Boot environment). Fix its
> start address to keep it in sync with ENV_OFFSET and DFU environment.
>
> This patch also provides fixed start address for "reserved" partition,
> so that we can track when it's shifted next time.
>
> While at it, move it before "misc" partition to keep all Android
> partitions together.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
>  include/environment/ti/boot.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
> index 3c9c87f21b..5891009a5a 100644
> --- a/include/environment/ti/boot.h
> +++ b/include/environment/ti/boot.h
> @@ -34,9 +34,9 @@
>         "partitions_android=" \
>         "uuid_disk=${uuid_gpt_disk};" \
>         "name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
> -       "name=bootloader,size=1792K,uuid=${uuid_gpt_bootloader};" \
> +       "name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \
> +       "name=reserved,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
>         "name=misc,size=128K,uuid=${uuid_gpt_misc};" \
> -       "name=reserved,size=256K,uuid=${uuid_gpt_reserved};" \
>         "name=efs,size=16M,uuid=${uuid_gpt_efs};" \
>         "name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
>         "name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \
> --
> 2.19.1
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] arm: ti: boot: Fix U-Boot environment partition address
  2018-11-26 14:27 ` Sam Protsenko
@ 2018-11-26 15:08   ` Bajjuri, Praneeth
  0 siblings, 0 replies; 4+ messages in thread
From: Bajjuri, Praneeth @ 2018-11-26 15:08 UTC (permalink / raw)
  To: u-boot


On 11/26/2018 8:27 AM, Sam Protsenko wrote:
> Hi Tom,
>
> Can you please pull this in? It fixes the regression I introduced by
> accident earlier...
>
> Thanks!
>
> On Thu, Nov 15, 2018 at 10:26 PM Sam Protsenko
> <semen.protsenko@linaro.org> wrote:
>> Recent removal of obsolete partition led to shifting of starting address
>> of "reserved" partition (which reflects U-Boot environment). Fix its
>> start address to keep it in sync with ENV_OFFSET and DFU environment.
>>
>> This patch also provides fixed start address for "reserved" partition,
>> so that we can track when it's shifted next time.
>>
>> While at it, move it before "misc" partition to keep all Android
>> partitions together.
>>
>> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Acked-By: Praneeth Bajjuri <praneeth@ti.com>
>> ---
>>   include/environment/ti/boot.h | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
>> index 3c9c87f21b..5891009a5a 100644
>> --- a/include/environment/ti/boot.h
>> +++ b/include/environment/ti/boot.h
>> @@ -34,9 +34,9 @@
>>          "partitions_android=" \
>>          "uuid_disk=${uuid_gpt_disk};" \
>>          "name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
>> -       "name=bootloader,size=1792K,uuid=${uuid_gpt_bootloader};" \
>> +       "name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \
>> +       "name=reserved,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \
>>          "name=misc,size=128K,uuid=${uuid_gpt_misc};" \
>> -       "name=reserved,size=256K,uuid=${uuid_gpt_reserved};" \
>>          "name=efs,size=16M,uuid=${uuid_gpt_efs};" \
>>          "name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
>>          "name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \
>> --
>> 2.19.1
>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] arm: ti: boot: Fix U-Boot environment partition address
  2018-11-15 20:26 [U-Boot] [PATCH] arm: ti: boot: Fix U-Boot environment partition address Sam Protsenko
  2018-11-26 14:27 ` Sam Protsenko
@ 2018-11-27 18:47 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2018-11-27 18:47 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 15, 2018 at 10:26:17PM +0200, Sam Protsenko wrote:

> Recent removal of obsolete partition led to shifting of starting address
> of "reserved" partition (which reflects U-Boot environment). Fix its
> start address to keep it in sync with ENV_OFFSET and DFU environment.
> 
> This patch also provides fixed start address for "reserved" partition,
> so that we can track when it's shifted next time.
> 
> While at it, move it before "misc" partition to keep all Android
> partitions together.
> 
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> Acked-By: Praneeth Bajjuri <praneeth@ti.com>

Applied to u-boot/master, thanks!

-- 
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/20181127/fda4a2c4/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-27 18:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-15 20:26 [U-Boot] [PATCH] arm: ti: boot: Fix U-Boot environment partition address Sam Protsenko
2018-11-26 14:27 ` Sam Protsenko
2018-11-26 15:08   ` Bajjuri, Praneeth
2018-11-27 18:47 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.