NEW: Firmware Modification Kit (beta testing)

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 12, 13, 14
Author Message




Joined: 01 Jan 1970
Posts:

PostPosted: Mon Sep 04, 2006 6:50    Post subject: Reply with quote
db90h wrote:

Code:
*** glibc detected *** free(): invalid pointer: 0xa7df0360 ***
./extract_firmware: line 91: 31791 Aborted                 "src/untrx"
"$1" "$2/image_parts" >>extract.log



Btw, I fixed this. It was simply an uninitialized pointer was being deallocated during the cleanup at exit. It had no affect of functionality.
Sponsor
foxsky
DD-WRT Novice


Joined: 01 Jan 2007
Posts: 4

PostPosted: Mon Jan 01, 2007 15:22    Post subject: Default NVRAM Reply with quote
How I can change a default NVRAM in the extracted firmware ?
dsforsaken
DD-WRT Novice


Joined: 30 Jul 2007
Posts: 9

PostPosted: Mon Jul 30, 2007 21:02    Post subject: Reply with quote
any idea where i can download this?
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 10917
Location: Wherever the wind blows- North America

PostPosted: Mon Jul 30, 2007 21:50    Post subject: Reply with quote
http://www.bitsum.com/openwiking/owbase/ow.asp?Firmware%5FModification%5FKit
_________________
I currently test dd-wrt on Asus, Buffalo, Linksys, and Netgear. Too many to list.

Looking for more test units (newer models) for the project...got a brick?...PM me to make a donation. (USA) A donation is not a debricking service....it is a way to "Give back" to the dd-wrt project.

I do NOT provide personal assistance through chat or phone....so please don't ask.
onlinespending
DD-WRT User


Joined: 05 Dec 2008
Posts: 70

PostPosted: Sat Dec 06, 2008 20:12    Post subject: Reply with quote
I want to trim down a recent Eko build to remove Kaid but keep OpenVPN from the openvpn build. After extracting the image using the firmware modification kit, how can I actually know what packages or parts can be removed from this firmware. There are no files listed in the installed_packages directory under the working directory. Does this mean that I am out of luck, since this particular image did install Kaid by means of a package?
RyeBrye
DD-WRT Novice


Joined: 20 Dec 2008
Posts: 14

PostPosted: Mon Dec 29, 2008 18:10    Post subject: Does the firmware mod kit work against the latest eko blds? Reply with quote
I tried a trivial extract / build with no changes to the underlying image - but the resulting custom_image.trx sent my router into an endless reboot cycle.

Does this work? Here's what I did to build the firmware:


Code:

./extract_firmware.sh ../../dd-wrt.v24-11218_NEWD_std-nokaid_usb.bin ../../standard_working_dir/
./build_firmware.sh ../../output_dir/ ../../standard_working_dir/


Does the firmware mod kit repack these images improperly, or did I do something wrong?[/code]

As a basic test, I also tried to run extract_firmware on the image that I built - and it resulted in an error:
Code:

 Firmware Mod Kit (extract) v0.62 beta, (c)2008 Jeremy Collake
 http://www.bitsum.com
 Checking for updates ...
  You have the latest version of this kit.
 LINUX system detected. Compatibility ok.
 Testing file system of ../../test_working_dir/ ...
 Building tools ...
 Build seems successful.
 Preparing working directory ...
 Removing any previous files ...
 Creating directories ...
 Extracting firmware
 Attempting squashfs 3.0 lzma ...
 Trying 'damn small' variant - used by DD-WRT v24 ...
*** glibc detected *** src/squashfs-3.0-lzma-damn-small-variant/unsquashfs-lzma: free(): invalid next size (fast): 0x0000000000d245a0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fba0de3bcb8]
/lib/libc.so.6(cfree+0x76)[0x7fba0de3e276]
src/squashfs-3.0-lzma-damn-small-variant/unsquashfs-lzma[0x401c6c]
src/squashfs-3.0-lzma-damn-small-variant/unsquashfs-lzma[0x4047ae]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fba0dde2586]
src/squashfs-3.0-lzma-damn-small-variant/unsquashfs-lzma[0x400f99]
======= Memory map: ========
00400000-00407000 r-xp 00000000 08:16 1217763014                         /data/openwrt/firmware_mod_kit/firmware-mod-kit-read-only/trunk/src/squashfs-3.0-lzma-damn-small-variant/unsquashfs-lzma
00606000-00607000 r--p 00006000 08:16 1217763014                         /data/openwrt/firmware_mod_kit/firmware-mod-kit-read-only/trunk/src/squashfs-3.0-lzma-damn-small-variant/unsquashfs-lzma
00607000-00608000 rw-p 00007000 08:16 1217763014                         /data/openwrt/firmware_mod_kit/firmware-mod-kit-read-only/trunk/src/squashfs-3.0-lzma-damn-small-variant/unsquashfs-lzma
00608000-00739000 rw-p 00608000 00:00 0
00d23000-00d45000 rw-p 00d23000 00:00 0                                  [heap]
7fba08000000-7fba08021000 rw-p 7fba08000000 00:00 0
7fba08021000-7fba0c000000 ---p 7fba08021000 00:00 0
7fba0ddc4000-7fba0df2c000 r-xp 00000000 08:12 294686                     /lib/libc-2.9.so
7fba0df2c000-7fba0e12c000 ---p 00168000 08:12 294686                     /lib/libc-2.9.so
7fba0e12c000-7fba0e130000 r--p 00168000 08:12 294686                     /lib/libc-2.9.so
7fba0e130000-7fba0e131000 rw-p 0016c000 08:12 294686                     /lib/libc-2.9.so
7fba0e131000-7fba0e136000 rw-p 7fba0e131000 00:00 0
7fba0e136000-7fba0e14c000 r-xp 00000000 08:12 293883                     /lib/libgcc_s.so.1
7fba0e14c000-7fba0e34c000 ---p 00016000 08:12 293883                     /lib/libgcc_s.so.1
7fba0e34c000-7fba0e34d000 r--p 00016000 08:12 293883                     /lib/libgcc_s.so.1
7fba0e34d000-7fba0e34e000 rw-p 00017000 08:12 293883                     /lib/libgcc_s.so.1
7fba0e34e000-7fba0e3d2000 r-xp 00000000 08:12 294690                     /lib/libm-2.9.so
7fba0e3d2000-7fba0e5d1000 ---p 00084000 08:12 294690                     /lib/libm-2.9.so
7fba0e5d1000-7fba0e5d2000 r--p 00083000 08:12 294690                     /lib/libm-2.9.so
7fba0e5d2000-7fba0e5d3000 rw-p 00084000 08:12 294690                     /lib/libm-2.9.so
7fba0e5d3000-7fba0e6c4000 r-xp 00000000 08:12 693676                     /usr/lib/libstdc++.so.6.0.10
7fba0e6c4000-7fba0e8c4000 ---p 000f1000 08:12 693676                     /usr/lib/libstdc++.so.6.0.10
7fba0e8c4000-7fba0e8cb000 r--p 000f1000 08:12 693676                     /usr/lib/libstdc++.so.6.0.10
7fba0e8cb000-7fba0e8cd000 rw-p 000f8000 08:12 693676                     /usr/lib/libstdc++.so.6.0.10
7fba0e8cd000-7fba0e8e0000 rw-p 7fba0e8cd000 00:00 0
7fba0e8e0000-7fba0e8f7000 r-xp 00000000 08:12 294842                     /lib/libpthread-2.9.so
7fba0e8f7000-7fba0eaf6000 ---p 00017000 08:12 294842                     /lib/libpthread-2.9.so
7fba0eaf6000-7fba0eaf7000 r--p 00016000 08:12 294842                     /lib/libpthread-2.9.so
7fba0eaf7000-7fba0eaf8000 rw-p 00017000 08:12 294842                     /lib/libpthread-2.9.so
7fba0eaf8000-7fba0eafc000 rw-p 7fba0eaf8000 00:00 0
7fba0eafc000-7fba0eb1c000 r-xp 00000000 08:12 294219                     /lib/ld-2.9.so
7fba0ecb2000-7fba0ed18000 rw-p 7fba0ecb2000 00:00 0
7fba0ed18000-7fba0ed1b000 rw-p 7fba0ed18000 00:00 0
7fba0ed1b000-7fba0ed1c000 r--p 0001f000 08:12 294219                     /lib/ld-2.9.so
7fba0ed1c000-7fba0ed1d000 rw-p 00020000 08:12 294219                     /lib/ld-2.9.so
7fff16d07000-7fff16d1c000 rw-p 7ffffffea000 00:00 0                      [stack]
7fff16dfe000-7fff16dff000 r-xp 7fff16dfe000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
 Error: filesystem not extracted properly.
  firmware image format not compatible?
soulstace
DD-WRT Guru


Joined: 04 Aug 2007
Posts: 6427

PostPosted: Mon Dec 29, 2008 21:29    Post subject: Reply with quote
many people report problems when rebuilding v24 using that version of the kit

try the new firmware mod kit from Tornado's directory, it should work

ftp://www.dd-wrt.com/others/tornado/firmwaremodkit2-new-LZMA/
Goto page Previous  1, 2, 3 ... 12, 13, 14 Display posts from previous:    Page 14 of 14
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum