All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: eMMC stuck in 4k sector mode
PostPosted: July 24th, 2022, 19:30 
Offline

Joined: July 24th, 2022, 19:20
Posts: 2
Location: Portugal
I wanted to try if using 4k sectore size instead of 512B emulated sectors makes any difference in terms of performance on my 008GB0 eMMC disk, so I set USE_NATIVE_SECTOR in EXT_CSD to 1.
The performance difference turned out to be negligible, but 4k sectors are problematic e.g. because they are not supported by U-Boot loader.
Hence I would like to return to use emulated 512B sectors (the factory state of the disk).
However, writing 0 to USE_NATIVE_SECTOR[62] register has no effect.
As newer versions of the eMMC specification are not (yet) public, I'd like to know if this register happens to be write-once -- if so, we should document that in mmc-utils to prevent other people doing stupid mistakes like me now...

Anyone?


Top
 Profile  
 
 Post subject: Re: eMMC stuck in 4k sector mode
PostPosted: July 26th, 2022, 19:29 
Offline
User avatar

Joined: April 22nd, 2015, 20:32
Posts: 413
Location: Portugal
Hi!
How are you interfacing to read and write from this device?

AFAIK this is a BGA 153 right?

_________________
BTC Wallet - 3AoQPTBsz9PbfoanCx44Lw76Y2TwtKa1x5
Instagram https://www.instagram.com/datarecovery_morde.pt/


Top
 Profile  
 
 Post subject: Re: eMMC stuck in 4k sector mode
PostPosted: July 28th, 2022, 11:48 
Offline

Joined: July 24th, 2022, 19:20
Posts: 2
Location: Portugal
Yes, this is a BGA chip and it's soldered onto a devboard (Bananapi R3) I've been given access to.
I can play with the eMMC because the board can also boot from SPI-NAND or SPI-NOR, hence not exclusively relying on eMMC for booting.
I don't fancy removing it from the board, but if that's the only way to reset that setting, well, I'll go to a nearby phone repair shop and have them do that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group