sturgix / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
0 stars 0 forks source link

Build problems #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Extract-ng to extract firmware. No erros!
2. Made some changes on rootfs in fmk folder. Leaving smaller file sizes and 
consequently the whole folder.
3. Build-ng or Build-ng -nopad

What is the expected output? What do you see instead?

Expected new_firmware.bin.

This message is showed in two commands.

ERROR: New firmware image will be larger than original image!
       Building firmware images larger than the original can brick your
device!
       Try re-running with the -min option, or remove any unnecessary
files from the file system.
       Refusing to create new firmware image.

       Original file size: 3968818
       Current file size:  3968818

       Quitting...

What version of the product are you using? On what operating system?

Use 0.78, the last in SVN link. Did the system installation tutorial at the 
site. I use CentOS 5.8 update at yesterday.

Please provide any additional information below.

Original issue reported on code.google.com by lablei...@gmail.com on 4 Feb 2013 at 10:39

GoogleCodeExporter commented 8 years ago
The only way you can get this message, when the original size equals the 
current size, is if extract-ng.sh detected a footer after the rootfs.img. So 
I'm guessing you have a footer.

Original comment by Anthony....@gmail.com on 4 Feb 2013 at 12:43

GoogleCodeExporter commented 8 years ago
If you provide a sample of the firmware, or let us know what the firmware is, 
then perhaps someone can take a closer look.

Original comment by jeremy.collake@gmail.com on 5 Feb 2013 at 5:44

GoogleCodeExporter commented 8 years ago

Original comment by jeremy.collake@gmail.com on 10 Apr 2013 at 6:34