Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.