u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* Changing eMMC boot partition size
@ 2022-11-08 17:34 Philip Oberfichtner
  2022-11-08 18:30 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Philip Oberfichtner @ 2022-11-08 17:34 UTC (permalink / raw)
  To: u-boot, Peng Fan, Jaehoon Chung

Hi everybody,

I have a question regarding changing the eMMC boot partition size.
According the the JEDEC eMMC spec it is read-only (BOOT_SIZE_MULT
register).

But we still have mmc_boot_partition_size_change() in
drivers/mmc/mmc_boot.c. It contains the comment

/* Only use this command for raw EMMC moviNAND. Enter backdoor mode */

What is moviNAND? My research pointed me to Samsung products only. So
is changing the boot partition size vendor specific or can it be used
more generally?

To be specific, I use the Kioxia THGBMJG6C1LBAB7 eMMC chip.


Thanks and best regards,
Philip Oberfichtner

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

* Re: Changing eMMC boot partition size
  2022-11-08 17:34 Changing eMMC boot partition size Philip Oberfichtner
@ 2022-11-08 18:30 ` Tom Rini
  2022-11-14  9:06   ` Jaehoon Chung
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2022-11-08 18:30 UTC (permalink / raw)
  To: Philip Oberfichtner; +Cc: u-boot, Peng Fan, Jaehoon Chung

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

On Tue, Nov 08, 2022 at 06:34:18PM +0100, Philip Oberfichtner wrote:
> Hi everybody,
> 
> I have a question regarding changing the eMMC boot partition size.
> According the the JEDEC eMMC spec it is read-only (BOOT_SIZE_MULT
> register).
> 
> But we still have mmc_boot_partition_size_change() in
> drivers/mmc/mmc_boot.c. It contains the comment
> 
> /* Only use this command for raw EMMC moviNAND. Enter backdoor mode */
> 
> What is moviNAND? My research pointed me to Samsung products only. So
> is changing the boot partition size vendor specific or can it be used
> more generally?
> 
> To be specific, I use the Kioxia THGBMJG6C1LBAB7 eMMC chip.

Yes, moviNAND was some Samsung technology that may or may not still be
used on some platforms. And yes, some eMMC parts do allow for boot
partitions to be resized but such information is often under NDA, so
contacting the hardware vendor or looking for eMMC chip documentation
may be helpful here.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

* Re: Changing eMMC boot partition size
  2022-11-08 18:30 ` Tom Rini
@ 2022-11-14  9:06   ` Jaehoon Chung
  0 siblings, 0 replies; 3+ messages in thread
From: Jaehoon Chung @ 2022-11-14  9:06 UTC (permalink / raw)
  To: Tom Rini, Philip Oberfichtner; +Cc: u-boot, Peng Fan, Jaehoon Chung

Hi,

On 11/9/22 03:30, Tom Rini wrote:
> On Tue, Nov 08, 2022 at 06:34:18PM +0100, Philip Oberfichtner wrote:
>> Hi everybody,
>>
>> I have a question regarding changing the eMMC boot partition size.
>> According the the JEDEC eMMC spec it is read-only (BOOT_SIZE_MULT
>> register).
>>
>> But we still have mmc_boot_partition_size_change() in
>> drivers/mmc/mmc_boot.c. It contains the comment
>>
>> /* Only use this command for raw EMMC moviNAND. Enter backdoor mode */
>>
>> What is moviNAND? My research pointed me to Samsung products only. So
>> is changing the boot partition size vendor specific or can it be used
>> more generally?
>>
>> To be specific, I use the Kioxia THGBMJG6C1LBAB7 eMMC chip.
> 
> Yes, moviNAND was some Samsung technology that may or may not still be
> used on some platforms. And yes, some eMMC parts do allow for boot
> partitions to be resized but such information is often under NDA, so
> contacting the hardware vendor or looking for eMMC chip documentation
> may be helpful here.

Thanks for replying this. As like Tom's comment, eMMC that is manufactured from Samsung was called MoviNand.
It's used with Reserved Command for manufacturer. 
So If you want to change your eMMC's boot partition size,  you need to check Kioxiz documentation.

Best Regards,
Jaehoon Chung

> 

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

end of thread, other threads:[~2022-11-14  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-08 17:34 Changing eMMC boot partition size Philip Oberfichtner
2022-11-08 18:30 ` Tom Rini
2022-11-14  9:06   ` Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).