Results 1 to 5 of 5

Thread: HOW-TO: Compiling the firmware for version 1.0.4.6

  1. #1

    HOW-TO: Compiling the firmware for version 1.0.4.6

    It's only a short tut on how to compile your own firmware from the 1.0.4.6 GPL-sources.

    It's based on a clean Fedora Core 5 install:

    1. Download/Install ash as rpm. (the one for FC 3 does the job)
    2. Download and extract the GPL sources tar xzvf GPL-filename-1.0.4.6.tar.gz
    3. as root untar the toolchainfile in /opt => result /opt/brcm
    4. untar the new GPL file => result maybe /root/WL700g
    5. replace mkcramfs with /sbin/mkfs.cramfs in the Makefile in src/apps; /src/apps/pivot_root and /src/apps/mfg_digest (or similar, can't remember excatly)
    6. export PATH=$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin
    7. make clean && make rebuild in /src/apps will create a new firmware in /src/apps/mipsel/WLxxxxx.nas

    Notes: If you use make menuconfig in /src/apps you have to cp .config Config_ASUS else the old config will be used

    It's only a small updated tut for a linux experienced user. I'll extend it perhaps later :P
    Last edited by DaNawq; 30-09-2006 at 19:13.

  2. #2
    My progress so far:

    - updated hdparm 5.5 to 6.6
    - some small changes on the kernel (deactivated unnecessary options)
    - compiled dropbear ssh-server for mipsel
    - got twonkyvision 3.1 to work on my device
    - modifying busybox by adding vi login etc. works as long I use 1.0pre2
    - busybox 1.2.1 makes the sources very unstable. (I'm on that now)

  3. #3

    Thumbs up

    Quote Originally Posted by DaNawq View Post
    My progress so far:

    - updated hdparm 5.5 to 6.6
    - some small changes on the kernel (deactivated unnecessary options)
    - compiled dropbear ssh-server for mipsel
    - got twonkyvision 3.1 to work on my device
    - modifying busybox by adding vi login etc. works as long I use 1.0pre2
    - busybox 1.2.1 makes the sources very unstable. (I'm on that now)
    Fine fine... Some one his working and getting some results. I'm very excited...

    Keep the good work, and thanks for your GREAT contribution

  4. #4
    Nice tutorial, I was able to successfully (I hope, anyways) compile the firmware, which is pretty good for a Linux n00b like myself. I'm just afraid to test it now. lol

  5. #5
    I'd like to make some notes about what I needed to do... mainly so I can find them again next time. I've got 2.6.19 kernel headers so I bumped into the 'UTS_RELEASE' undeclared problem. First, as root...
    Code:
    mkdir /opt
    cd /bin
    ln -s bash ash
    cd /usr/bin
    ln -s ../../bin/install .
    cd /sbin
    ln -s mkfs.cramfs mkcramfs
    cd /opt
    wget http://dlsvr01.asus.com/pub/ASUS/wireless/WL-700g/GPL_WL700gE_1046.zip
    unzip GPL_WL700gE_1046.zip
    tar xzf toolchain_wl700ge.tar.gz
    tar xzf GPL_WL700gE_1.0.4.6.tar.gz
    chown -R user:group WL700g brcm
    cd WL700g
    chmod u+w -R *
    find -type d -exec chmod u+x {} \;
    nano /opt/WL700g/nasoc/src/apps/nfs-utils/tools/Makefile
    # remove "getiversion getkversion" from the SUBDIRS variable
    cd /opt/WL700g/nasoc/src/apps
    nano ez-ipupdate/Makefile
    # change "DESTDIR=" to "DESTDIR=$(INSTALLDIR)"
    su user
    export PATH=$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin
    make clean && make rebuild
    ls -ltr mipsel
    Notes: "user:group" is whatever you normal non-root user ID and group are. The nfs-tools Makefile edit step may need to be done after an initial "make rebuild". Thanks to kfurge, then follow the rest of http://home.comcast.net/~kfurge/wl700ge.html

    It's a great view from up on the shoulders of others.

Similar Threads

  1. Problem compiling programs requiring libstdc++
    By ptnemot in forum WL-500g Custom Development
    Replies: 2
    Last Post: 21-03-2007, 09:37
  2. enable telnet with 1.0.4.6
    By leonsio in forum WL-700g Q&A
    Replies: 14
    Last Post: 28-01-2007, 09:12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •