Results 1 to 7 of 7

Thread: Recompiling with mipsel

  1. #1

    Recompiling with mipsel

    Hi,

    I'm newbie for recompiling firmware, what is the command line to compil with mipsel?

    i've read the documentation but when i made "make " in folder src, i've got these lines:

    Code:
    root@Biscotte:/home/siegfried/Desktop/broadcom/src # make
    make -C router all
    make[1]: entrant dans le répertoire « /home/siegfried/Desktop/broadcom/src/router »
    [ ! -d libcrypto ] || make -C libcrypto
    find: /home/siegfried/Desktop/broadcom/src/router/mipsel-uclibc/target: No such file or directory
    make[2]: Entering directory `/home/siegfried/Desktop/broadcom/src/router/libcrypto'
    mipsel-uclibc-ld -shared -o libcrypto.so /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/aes.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/aeskeywrap.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/rijndael-alg-fst.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/dh.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/bn.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/sha1.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/passhash.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/prf.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/md5.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/hmac.o /home/siegfried/Desktop/broadcom/src/router/libcrypto/prebuilt/rc4.o
    make[2]: mipsel-uclibc-ld: Command not found
    make[2]: *** [libcrypto.so] Error 127
    make[2]: Leaving directory `/home/siegfried/Desktop/broadcom/src/router/libcrypto'
    make[1]: *** [libcrypto] Erreur 2
    make[1]: quittant le répertoire « /home/siegfried/Desktop/broadcom/src/router »
    make: *** [all] Erreur 2
    Thanks for your help,

    Best regards

    Siegfried

  2. #2
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    You MUST have /opt/brcm/hndtools-mipsel-uclibc/bin and /opt/brcm/hndtools-mipsel-linux/bin in your path.
    Then :
    Code:
    make kernel
    in src/wl500g-1.9.2.7-4

    then

    Code:
    make
    in src/gateway

    then

    Code:
    make package-WLxxx
    where xxx is 500g, HDD, 500b, etc in src/gateway

    trx firmware is then created in src/gateway/mipsel-linux

    What I don't know is what to do for new firmware compilation.

    For now I do :
    make kernel-mrproper in src/wl500g-1.9.2.7-4
    make clean in src/wl500g-1.9.2.7-4
    rm -rf src/gateway
    make in src/wl500g-1.9.2.7-4 (no make kernel)

    I think there is a shorten way but get no information on this.
    By the way, such informations is available in details on oleg's homepage. Look at the 1.8.1.7 firmware compilation tips
    Last edited by Jean-Fabrice; 20-03-2005 at 19:32.

  3. #3
    Thanks a lot for your help,

    I'll try this !

    Best regards.

    Siegfried


    Ps: when you say "you Must have .. in your path", it means that i copy the folder found with asus GPL " /opt " in my folder wl500g?
    Last edited by smarechal; 21-03-2005 at 07:43.

  4. #4
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    Quote Originally Posted by smarechal
    Ps: when you say "you Must have .. in your path", it means that i copy the folder found with asus GPL " /opt " in my folder wl500g?
    No. Add those directories to your PATH variable

  5. #5
    Ok thank you

    And last question (sorry ) what is the command line to put it on PATH ?...

    Thanks thanks thanks

  6. #6
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    export PATH=$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin

  7. #7
    thank you, it's ok, now i'll try to change webcam configuration ...

    Best regards

    Siegfried

Posting Permissions

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