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

Firmware Image Generated Different from Original when nothing changed for its extracted contents #142

Open
GoogleCodeExporter opened this issue May 30, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. ./extract_firmware.sh tl-wr842ndv2-webflash-r23838.bin wkdir
2. ./build_firmware.sh wkdir
3.

What is the expected output? What do you see instead?
It is expected the generated firmware (wkdir/new-firmware.bin) is the same as 
the original bin file.

Instead the size are the same. However, when doing the "cmp -l" test,
they proved to different from each other.


What version of the product are you using? On what operating system?
OS: Fedora16
Firmware Modification Kit Ver: 0.82
Firmware tested :  TPLink  tl-wr842ndv2-webflash-r23838.bin


Please provide any additional information below.

config.log - generated during extract

[root@localhost logs]# more config.log
FW_SIZE='8126492'
HEADER_TYPE='trx'
HEADER_SIZE='28'
HEADER_IMAGE_SIZE='983068'
HEADER_IMAGE_OFFSET='0'
FOOTER_SIZE='224'
FOOTER_OFFSET='8126268'
FS_TYPE='squashfs'
FS_OFFSET='983068'
FS_COMPRESSION='gzip'
FS_BLOCKSIZE='131072'
ENDIANESS='-be'
MKFS="./src/squashfs-3.0-lzma-damn-small-variant/mksquashfs-lzma"



Original issue reported on code.google.com by fct1...@gmail.com on 14 Dec 2014 at 1:55

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

No branches or pull requests

1 participant