LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can anyone explain what is chunk size and spare size in unyaffs (https://www.linuxquestions.org/questions/linux-newbie-8/can-anyone-explain-what-is-chunk-size-and-spare-size-in-unyaffs-4175433415/)

chinabenjamin66 10-21-2012 09:13 PM

Can anyone explain what is chunk size and spare size in unyaffs
 
Hello friends,

I have learning GPL compliance engineering recently, one instrument is used to extract unyaffs image, I would like someone to explain what are chunk size and spare size, can anyone help me? Thanks.

Ztcoracat 10-22-2012 12:01 AM

Hi:

I found chunk size:

Chunk Size of 4096
http://code.google.com/p/unyaffs/issues/detail?id=9

Jun 22, 2011 – Chunk size is 4096 bytes in system.img. Spare size calculated to be 128 bytes.
http://www.androidtablets.net/forum/...t=13447&page=8

Creating working folder WORKING_062211_155053 ...
Copying boot.img and system.img ...

Adding an update-script ...(This is the example in the webpage not sure if the person who posted this actually ran it)

Chunk size is 4096 bytes in system.img
Spare size calculated to be 128 bytes
Setting chunk size = 4096 in unyaffs.c, line 20
Setting spare size = 128 in unyaffs.c, line 21
Compiling unyaffs ...
unyaffs successfully compiled

Extracting contents of system.img ...

Hope that helps


All times are GMT -5. The time now is 03:53 PM.