Results 1 to 11 of 11

Thread: How to compile firmware fro WL-HDD?

  1. #1

    How to compile firmware fro WL-HDD?

    I tryed to compile Oleg's firmware, but failed to upload it ...
    steps:

    1 Unarchive GPL 1.9.2.7
    2 Create link to /opt/brcm to make compiler and tools accessible
    3 Unarchive Oleg's sources in broadcom/src
    4 Run make kernel in broadcom/src/wl500.... to pathc kernel
    5 Run make in same dir to prepare src/gateway
    6 Unarchive lzma from Oleg's firmware in src and patched it
    7 Changed path in some Makefile from '/root/broadcom' to my path
    8 Run make from src/gateway ...
    9 Run make models in src/gateway and bingo - i have trx file ....
    10 Tryed to upload i my WL-HDD byt it say's what firmware is incorrect ...

    Help anyone ...

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by ezhikov
    6 Unarchive lzma from Oleg's firmware in src and patched it
    this should be done by makefile itself...

    7 Changed path in some Makefile from '/root/broadcom' to my path
    hm... where you've found this reference?
    9 Run make models in src/gateway and bingo - i have trx file ....
    make image-WLHDD

  3. #3
    I had to unzip lzma and patch it myself, other way build faild becouse couldn't find LZMA_Lib directory .

    broadcom/src/gateway/rcamdmips/Makefile contain hardcoded path -> LINUXKERNELSRC = /root/broadcom/src/linux/linux/

    Anyway i already build images for all models, and tryed to upload one for WLHDD ... WL-HDD said Firmware upgrade failed ....
    my WLHDD-1.9.2.7-3c.trx was few kbs smaller when your WLHDD-1.9.2.7-3c.trx.

  4. #4
    upload it using emergency firmware recovery mode, not web interface

  5. #5
    Join Date
    Jan 2005
    Location
    Vienna
    Posts
    41

    look for "addver"

    Take a look at the last lines of output after you typed
    "make install" in the src/gateway directory...(look for addver....)
    Had the same Prob...uploaded the file using Recoverymode...that did it

  6. #6
    Hmmm .....
    Olegs firmware load's with web-interface ! Why Oleg's firmware compiled by me can not be uploaded this way ?

  7. #7
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by ezhikov
    Hmmm .....
    Olegs firmware load's with web-interface ! Why Oleg's firmware compiled by me can not be uploaded this way ?
    Sometimes web iface works strange for updates.
    And, yes, please be sure, that you've addver executable (it's not included in the GPL_1927 tarball for some reason). Use one which I've posted to the forum.

  8. #8
    Oleg thanks, a tryied addver just before your answer
    my WL-HDD didn't boot - it's bad, but i found strange thing ...
    recover.sh tryed to use 182.168.1.1 byt my wl-hdd listen on 10.0.0.1 after reset .....
    Anyway addver helped to create loadable firmware .... i'l dig deeper ....

  9. #9
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by ezhikov
    recover.sh tryed to use 182.168.1.1 byt my wl-hdd listen on 10.0.0.1 after reset .....
    well, recover.sh was tested with wl500g only.
    also, there are several different tftp clients available for the linux and recover.sh works with one of them only.
    I'm already have 2 different recover script versions...

  10. #10
    Just one more question....
    Is it importamn to change MODEL in src/gateway/Makefile to my one ?

  11. #11
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    this is not needed unless you recompile packages manually. if you do so, then you need change both model and defaut flags to match wl-hdd.

Similar Threads

  1. How to compile ospfd ??
    By megy in forum WL-500g Custom Development
    Replies: 9
    Last Post: 19-07-2005, 13:34
  2. Having trouble to compile Olegs Firmware...
    By max2950 in forum WL-500g Custom Development
    Replies: 18
    Last Post: 08-03-2005, 14:27
  3. Can someone compile loop.o
    By xection in forum WL-500g Custom Development
    Replies: 1
    Last Post: 22-02-2005, 20:39
  4. Can't compile 1.9.2.7-2 for WL500g
    By dAF2000 in forum WL-500g Custom Development
    Replies: 4
    Last Post: 08-01-2005, 20:25
  5. Who will compile GPSD for me
    By erik_bies in forum WL-500g Custom Development
    Replies: 2
    Last Post: 23-12-2004, 17:22

Posting Permissions

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