Skip to content

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

Description

@GoogleCodeExporter
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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions