Projekat

Općenito

Profil

Akcije

Nove funkcije #17940

Zatvoren

nmraka-2, build tomato

Dodano od Ernad Husremović prije skoro 16 godina. Izmjenjeno prije skoro 15 godina.

Status:
Zatvoreno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
20.07.2009
Završetak:
% završeno:

0%

Procjena vremena:

Opis

build dependencies:

sudo apt-get install libncurses5-devel bison flex


Fajlovi

WRT54G_WRT54GL.bin (2,68 MB) WRT54G_WRT54GL.bin Ernad Husremović, 21.07.2009 14:00

Povezani tiketi 3 (0 otvoreno3 zatvorenih)

korelira sa router - Podrška #16894: wrt54gl firmware: tomatoZatvorenoErnad Husremović30.03.2009

Akcije
korelira sa router - Podrška #18016: router-wan-sa-1, tomato klonZatvorenoJasmin Beganović27.07.2009

Akcije
korelira sa router - Podrška #19869: build tomato with tomato-RT 1.27, kernel 2.6, pppoe with pppd, on desk-c3ZatvorenoErnad Husremović08.03.2010

Akcije
Akcije #1

Izmjenjeno od Ernad Husremović prije skoro 16 godina

bringout@nmraka-2:~/devel/work/tomato$ ls /opt/brcm

hndtools-mipsel-linux        hndtools-mipsel-uclibc
hndtools-mipsel-linux-3.2.3  hndtools-mipsel-uclibc-0.9.19
bringout@nmraka-2:~/devel/work/tomato$ ls /opt/brcm -l

~/.my_bash

export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin
export PATH=$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin

clone privatni tomato klon http://gitorious.bring.out.ba/~hernad/tomato/hernads-tomato

bringout@nmraka-2:~/devel/work/tomato/release/src/router$ source ~/.my_bash

bringout@nmraka-2:~/devel/work/tomato/release/src/router$ sudo ln -s /bin/bash /bin/sh

greška

ldd.c:96:2: warning: #warning "You really should add a MATCH_MACHINE() macro for your architecture" 
ldd.c: In function 'find_dependancies':
ldd.c:528: error: 'ELFCLASSM' undeclared (first use in this function)
ldd.c:528: error: (Each undeclared identifier is reported only once
ldd.c:528: error: for each function it appears in.)
ldd.c:529: warning: implicit declaration of function 'MATCH_MACHINE'
make[4]: *** [ldd] Error 1

bringout@nmraka-2:~/devel/work/tomato/release/src/router$ sudo apt-get install libncurses5-dev

Akcije #2

Izmjenjeno od Ernad Husremović prije skoro 16 godina

bringout@nmraka-2:~/devel/work/tomato/release/src/router$ make menuconfig

Akcije #3

Izmjenjeno od Ernad Husremović prije skoro 16 godina

bringout@nmraka-2:~/devel/work/tomato/tools-src/uClibc/ldso$ git diff .

diff --git a/tools-src/uClibc/ldso/util/ldd.c b/tools-src/uClibc/ldso/util/ldd.c
index 664f55a..0d521fe 100644
--- a/tools-src/uClibc/ldso/util/ldd.c
+++ b/tools-src/uClibc/ldso/util/ldd.c
@@ -49,6 +49,9 @@
 #include <dmalloc.h>
 #endif

+#define __mips__
+
+
 #if defined(__arm__)
 #define MATCH_MACHINE(x) (x == EM_ARM)
 #define ELFCLASSM      ELFCLASS32

Akcije #4

Izmjenjeno od Ernad Husremović prije skoro 16 godina

bringout@nmraka-2:~/devel/work/tomato/release/src$ make

...

make[2]: Leaving directory `/home/bringout/devel/work/tomato/release/src/linux/linux/scripts/squashfs'
Creating little endian 3.0 filesystem on /home/bringout/devel/work/tomato/release/src/router/mipsel-uclibc/target.image, block size 65536.

Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
Filesystem size 2086.26 Kbytes (2.04 Mbytes)
    26.26% of uncompressed filesystem size (7945.43 Kbytes)
Inode table size 3868 bytes (3.78 Kbytes)
    22.58% of uncompressed inode table size (17131 bytes)
Directory table size 4771 bytes (4.66 Kbytes)
    58.64% of uncompressed directory table size (8136 bytes)
Number of duplicate files found 0
Number of inodes 542
Number of files 377
Number of fragments 29
Number of symbolic links  133
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 32
Number of uids 1
    bringout (1000)
Number of gids 0
make[1]: Leaving directory `/home/bringout/devel/work/tomato/release/src/router'
make[1]: Entering directory `/home/bringout/devel/work/tomato/release/src/btools'
gcc -O3 -Wall -o fpkg fpkg.c
make[1]: Leaving directory `/home/bringout/devel/work/tomato/release/src/btools'

Creating TRX: image/tomato.trx
Creating Linksys W54G: image/WRT54G_WRT54GL.bin
Creating Linksys W54S: image/WRT54GS.bin
Creating Linksys W54s: image/WRT54GSv4.bin
Creating Linksys W54U: image/WRTSL54GS.bin
Creating Motorola 0x10577050: image/WR850G.bin

TRX Image:
 Total Size .... : 2805760 (2740.00K)
   Images ...... : 2804232
   Padding ..... : 1528
 CRC-32 ........ : 83AF6E4E
 128K Blocks ... : 22
 Offsets:
   0: 0x0000001C
   1: 0x000A2A08
   2: 0x00000000

-----------------
1.25.0000  ready
-----------------

bringout@nmraka-2:~/devel/work/tomato/release/src$ ls image -l
total 0

-rw-r--r-- 1 bringout bringout 2805760 2009-07-20 09:49 tomato.trx
-rw-r--r-- 1 bringout bringout 2805768 2009-07-20 09:49 WR850G.bin
-rw-r--r-- 1 bringout bringout 2806784 2009-07-20 09:49 WRT54GS.bin
-rw-r--r-- 1 bringout bringout 2806784 2009-07-20 09:49 WRT54GSv4.bin
-rw-r--r-- 1 bringout bringout 2806784 2009-07-20 09:49 WRT54G_WRT54GL.bin
-rw-r--r-- 1 bringout bringout 2806784 2009-07-20 09:49 WRTSL54GS.bin

Akcije #6

Izmjenjeno od Ernad Husremović prije skoro 15 godina

  • Status promijenjeno iz Dodijeljeno u Zatvoreno
Akcije

Također dostupno kao Atom PDF