For those curious, I've moved on from this project to another one I find more significant and interesting.
Nothing more to say?
db90h wrote:
There might be more updates to the Firmware Mod Kit, who knows, but I don't plan any. I had hoped to see people creating Firmware Mod Kit ready IPKs for DD-WRT to make the job of removing or adding common packages from the images more easily.. but I guess if I don't do it nobody will ;(.
Slow down, not everyone works at your pace. I'd be willing to bet that you'll see more in the future, it will just take time.
FWIW - I haven't messed with it much, but it looks to have some real potential. Give it a chance to mature some in its current state.
I also think it might help the less motivated if a pre-packaged VPC environment was available to give it a "test drive" of sorts.
So.... You tell me which Linux distro you think would be best (if it really makes a difference) and what (if any) packages beyond a basic (no gui) compiler/developer install are needed and I'll toss one off. I can't host it, but I'd be happy to help in this little way. _________________ WRT54GL modded to 32MB DRAM and 16MB Flash.
First, sorry for my lack of visiting this place lately. I have endeavored to stay away from forums of late, as part of my continuing effort to improve my mental health. Now, if I can just kick irc.... .
mbellot wrote:
Nothing more to say?
Sorry, I didn't want to offend anyone and wear out my welcome more than I already have.
Quote:
Slow down, not everyone works at your pace. I'd be willing to bet that you'll see more in the future, it will just take time.
You are right, I didn't mean to sound aggressive there. I was just trying to motivate people .
Quote:
I also think it might help the less motivated if a pre-packaged VPC environment was available to give it a "test drive" of sorts.
So.... You tell me which Linux distro you think would be best (if it really makes a difference) and what (if any) packages beyond a basic (no gui) compiler/developer install are needed and I'll toss one off. I can't host it, but I'd be happy to help in this little way.
I'd LOVE to see this done... and it would definitely help many people. Basically you just need the packages listed in the documentation. The requirements are very few. If you do work on this and run into any issues, just email me and I'll do what I can to figure them out. I'll host it, or find someone that will, if you build it. Brainslayer may even host it.
Posted: Tue Aug 22, 2006 0:03 Post subject: squashfs v3.2
squashfs v3.1 was released yesterday (08-20-06). I haven't looked, but have got reports that Brainslayer has updated to it (I would if I were him). I'll update the firmware modification kit some time when I get a chance. However, this introduces additional work as I want to support both version and the older file system driver may not work with the newer mksquashfs (even if it does, I shouldn't assume it will).
I'd LOVE to see this done... and it would definitely help many people. Basically you just need the packages listed in the documentation. The requirements are very few. If you do work on this and run into any issues, just email me and I'll do what I can to figure them out. I'll host it, or find someone that will, if you build it. Brainslayer may even host it.
Oh god, it involves readng the documentation?
_________________ WRT54GL modded to 32MB DRAM and 16MB Flash.
Joined: 06 Jun 2006 Posts: 7463 Location: Dresden, Germany
Posted: Tue Aug 22, 2006 0:41 Post subject: Re: squashfs v3.2
db90h wrote:
squashfs v3.1 was released yesterday (08-20-06). I haven't looked, but have got reports that Brainslayer has updated to it (I would if I were him). I'll update the firmware modification kit some time when I get a chance. However, this introduces additional work as I want to support both version and the older file system driver may not work with the newer mksquashfs (even if it does, I shouldn't assume it will).
For now, use builds of DD-WRT older than this..
no i havent. but i will if i found its worth todo so _________________ "So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
Posted: Tue Aug 22, 2006 2:35 Post subject: Re: squashfs v3.2
BrainSlayer wrote:
db90h wrote:
squashfs v3.1 was released yesterday (08-20-06). I haven't looked, but have got reports that Brainslayer has updated to it (I would if I were him). I'll update the firmware modification kit some time when I get a chance. However, this introduces additional work as I want to support both version and the older file system driver may not work with the newer mksquashfs (even if it does, I shouldn't assume it will).
For now, use builds of DD-WRT older than this..
no i havent. but i will if i found its worth todo so
Oh, I had a guy email me saying he had this issue with the squashfs minor version number, and I had assumed this was the reason.. he must have been using an older copy of DD-WRT that uses squashfs v2.x or something.. or maybe I should quit speculating and actually look this time. Assumptions, assumptions, ...
I'm in the process of doing a huge overhaul of the kit so that it can more easily be extended to support different firmware image types. It should be done very soon.
Also, TexHex has submitted a Samba package for DD-WRT.
I could probably have done a bit more polishing on this, but I wanted to throw it on out. From now on I will be releasing update notifications in the thread mentioned above, and also there is now a check_update.sh script that will automatically tell you if a new version is available.
one more question, I found I can extract file from cramfs image file by the tool "uncramfs" in src\cramfs, and I notice that it shows something like "-rw-r--r-- 500/244 209(207) abc.png", what does "500/244" mean? when modified something and use mkcramfs to compress it back, the "500/244" changed to "1000/232", what's the difference between them?
But when I look at the result everything *seems* correct, as far as I can tell but I didn't dare to go further.
I run the program on a debian testing.
The complete output of the command follows
Code:
guy@vl6 ~/dd-wrt/firmware-mod-kit $ ./extract_firmware
dd-wrt.v23_mini_wrt54g.bin wrk/
./extract_firmware v0.45 beta, (c)2006 Jeremy Collake
Checking for updates ...
You have the latest version of this kit.
LINUX system detected. Compatibility ok.
Testing file system of wrk/ ...
Building tools ...
Build seems successful.
Preparing working directory ...
Removing any previous files ...
Creating directories ...
Extracting firmware ...
untrx v0.45 beta - (c)2006 Jeremy Collake
Opening dd-wrt.v23_mini_wrt54g.bin
read 2417664 bytes
Writing wrk//image_parts/segment1
size 2248 from offset 28 ...
Writing wrk//image_parts/segment2
size 579724 from offset 2276 ...
SQUASHFS v3.0 image detected
Writing wrk//image_parts/squashfs_magic
Writing wrk//image_parts/squashfs-lzma-image-3_0
size 1835664 from offset 582000 ...
*** glibc detected *** free(): invalid pointer: 0xa7df0360 ***
./extract_firmware: line 91: 31791 Aborted "src/untrx"
"$1" "$2/image_parts" >>extract.log
Firmware appears extracted correctly!
Now make changes and run build_firmware.sh.
guy@vl6 ~/dd-wrt/firmware-mod-kit $
-- guy
Looks like maybe a pointer to some dynamically allocated memory is being deallocated twice or is getting over-written on the stack by a buffer overflow. Try v0.46. I'll look and see if I see any obvious problems when I get a chance. In v0.45 I rewrote untrx (was just thrown together crap before), so it's possible I made a mistake somewhere.