Comments (5)
Yes, there's a reason build-ng refuses to build firmware images larger than the
original: it could very well end up bricking the device.
The issue here is not specific to the build-ng script, but to the compression
level used by mksquashfs. We use the same squashfs tools that dd-wrt makes
available via their code repository, so if dd-wrt can compress the file system
better than we can, it could very well be that they are using a different
version of mksquashfs than is available via their code repository.
Here's a question: can you re-build the firmware successfully without any
modifications?
Probably the only thing you can do here is to minimize the size of the squashfs
file system; if you can get rid of any files in there to make the file system
smaller, that will help, but BE CAREFUL! Deleting the wrong things can brick
your device.
Original comment by [email protected]
on 8 Oct 2011 at 11:52
from firmware-mod-kit.
OK, just tried this myself and without any modifications to the firmware image
it re-builds fine and build-ng reports that there are 0 free bytes available in
the firmware image. So if you want to add something to the file system, you're
probably going to have to remove other things.
Question though, if you're just adding some shell scripts to the firmware
image, can't you just drop them in the JFFS2 partition without having to modify
the firmware update file?
Original comment by [email protected]
on 9 Oct 2011 at 12:54
from firmware-mod-kit.
Closing as invalid; all tools are working as intended.
Original comment by [email protected]
on 9 Oct 2011 at 2:53
- Changed state: Invalid
from firmware-mod-kit.
Thanks for your comments. I also tried to rebuildi other dd-wrt firmwares for
netgear and tp-link, and met no any problems. It seems that only buffalo
firmwares have such issue. I hope someone can show how to customize buffalo
fireware.
My current solution is to choose Netgear as the testbed.
Original comment by [email protected]
on 10 Oct 2011 at 2:43
from firmware-mod-kit.
Well, you can modify the Buffalo firmware, just remove things that you don't
want/need and then you can add your scripts.
Original comment by [email protected]
on 10 Oct 2011 at 8:29
from firmware-mod-kit.
Related Issues (20)
- CRC update failed. Firmware header not supported; firmware checksums may be incorrect.
- Firmware header not supported; firmware checksums may be incorrect.
- wdr3600v1 firmware cannot be unpacked HOT 1
- Extracting 0 bytes of header image at offset 0 HOT 1
- Failure building image.
- Can this firmeware be extracted? HOT 2
- jffs2 big endian problem
- new binwalk HOT 1
- CramFS extraction failed due to missing cleaning up
- Can't unpack Zyxel NWA-3100 firmware HOT 1
- Wrong build
- uncramfs-lzma stops after successfully decoding the first block
- Extracted firmware and then tried to rebuild it and it became larger, probably because it didnt use lzma for recompress. HOT 1
- Image fault when builidng Tomato for RT-AC68U HOT 3
- Cannot extract firmware
- Issue in extracting squashfs filesystem
- Firmware Image Generated Different from Original when nothing changed for its extracted contents
- Failed to create new file system
- Can not extract Huawei HG655b-B025 firmware
- after edit ddwrt-gui's asp file,install error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware-mod-kit.