Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My block size on my RockChip device is not 512 bytes, it's 2048 bytes #4

Open
bvstraalen opened this issue Jan 22, 2016 · 2 comments
Open

Comments

@bvstraalen
Copy link

rkflashtool: info: Flash Info:
Manufacturer: Micron (4)
Flash Size: 8192MB
Block Size: 2048KB
Page Size: 8KB
ECC Bits: 40
Access Time: 32
Flash CS: <0> <1>

but I see blocksize being assumed to be 512 bytes in lots of places. Is that going to work?

Everything in the device space is in terms of blocks

CMDLINE:androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00008000@0x00004000(kernel),0x00008000@0x0000C000(boot),0x0001000@0x00014000(recovery),0x00001000@0x00015000(backup),0x00001000@0x00016000(cache),0x00001000@0x00017000(userdata),0x00002000@0x00018000(kpanic),0x00001000@0x0001A000(system),0x00001000@0x0001B000(user),-@0x0001C000(linux)

so, counting by blocks should work perfectly fine. Hard to follow the code.

@julienchauveau
Copy link
Contributor

I guess the size of 512 bytes is the logical block size while the 2048 Kb is the physical memory block size. These values are pretty common…

Do you have some issues using the software?

@bvstraalen
Copy link
Author

The tool seems to work OK. I do not quite know how to use it properly, but it does read my RK3188 device properly.

I’m just now trying to figure out how to use a Cloudsto firmware image file with the tool. I don’t know if I have to rkunpack or not. Just trying to think things through before pulling the trigger on things ;-)

Brian

On Jan 22, 2016, at 5:46 PM, Julien Chauveau [email protected] wrote:

I guess the size of 512 bytes is the logical block size while the 2048 Kb is the physical memory block size. These values are pretty common…

Do you have some issues using the software?


Reply to this email directly or view it on GitHub #4 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants