4358
Commento:
|
4555
|
Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
Linea 131: | Linea 131: |
Load Address: 08040000 Entry Point: 08040000 |
Load Address: 80010000 Entry Point: 802b7000 |
Linea 136: | Linea 136: |
davvero uno schifo.... | insomma davvero deludente. |
Linea 142: | Linea 143: |
**7 febbraio 2011** **** OPENWRT is cooming **** Ok ci siamo, dopo 3 gg di intenso lavoro ecco il primo repository per ikanos: http://test.ninux.org/~claudyus/alice_agif/openwrt/ |
Telecom italia agif modem con openwrt
Byte sparsi sull'hack per info contatti @ ninux.org
L'agif ha un soc analog device architettura fusiv v180, il che non è upstream nel kernel ma sul sito di zoobab si è trovato un kernel moddato da cui ho estratto una leggerissima patch di 50MB (http://test.ninux.org/~claudyus/agif/livebox_diff_small.patch) e il cui lavoro di vivisezione è in corso
Boot log:
FUSIV-DIALFACE # printenv author=Leo@analog devices bootcmd=jboot bootdelay=1 baudrate=57600 preboot=echo;echo Type "h" for HELP. Have fun!;echo verify=n bootdelay=1 resetdelay=15 ipaddr=192.168.1.199 serverip=192.168.1.100 ethaddr=00:17:37:da:b1:de netboot=dhcp;tftp;run netargs; bootm nfsargs=setenv bootargs root=/dev/nfs ip=dhcp localargs=setenv bootargs root=/dev/mtdblock2 ip=dhcp addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) read-only=readonly netargs=run nfsargs addmisc flash_nfs=run nfsargs addmisc;bootm $(kernel_addr) flash_local=run localargs addmisc;bootm $(kernel_addr) netboot_initrd=dhcp;tftp;tftp 80600000 initrd;setenv bootargs root=/dev/ram ramdisk_size=8192 ip=dhcp;run addmisc;bootm 80400000 80600000 rootpath=/export/miniroot-mipsel autoload=no myfs_start=0xbfd40000 kernel_addr=BFC60000 ramdisk_addr=B0100000 u-boot=u-boot.bin bootfile=kernel.img load=dhcp;tftp 80400000 $(u-boot) resetcmd=erase BFF80000 BFFDFFFF ; reset load_kernel=dhcp;tftp 80400000 $(bootfile) update_uboot=tftp 80400000 $(u-boot); protect off BF000000 BF03FFFF; erase BF000000 BF03FFFF; cp.b 80400000 BF000000 $(filesize) update_kernel=run load_kernel;erase BFC60000 BFD5FFFF;cp.b 80400000 BFC60000 $(filesize) initenv=erase BF040000 BF05FFFF stdin=serial stdout=serial stderr=serial ethact=voxEmac Environment size: 1287/131068 bytes U-Boot 1.1.4 for FUSIV chipset by Ikanos(Jun 16 2009 - 15:49:51) CPU: IKANOS Fusiv 160 Family Ethernet Switch hardware reset DRAM: 64 MB Flash: 16 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: voxEmac Type "h" for HELP. Have fun! Hit any key to stop autoboot: 0 getting active image........active image seems to be 0 ## Booting image at bf080094 ... Image Name: openrg_AGIF_1.2.0d-cfif_linux-2. Created: 2009-12-21 14:23:39 UTC Image Type: MIPS Linux Kernel Image (LZMA compressed) Data Size: 2049385 Bytes = 2 MB Load Address: 80010000 Entry Point: 802b7000 CRAMFS start: bf274680 CRAMFS size: 4c0980 Uncompressing Kernel Image ... OK Starting kernel ...
**6 febbraio 2011**
Praticamente usando la toolchain del livebox2 e compilando il kernel 2.6.15 che in realtà è un 2.6.25-rc5 si ottiene un kernel da 29MB e un po di cavoli
a questo punto si riduce con objbump e si tagga con mkimage
Su uboot ho usato:
setenv bootargs console=ttyS0,57600 rootwait tftp 80400000 kimage.cla
con questi risultati:
FUSIV-DIALFACE # Using voxEmac device TFTP from server 192.168.1.100; our IP address is 192.168.1.199 Filename 'kimage.cla'. Load address: 0x80400000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# done Bytes transferred = 2993168 (2dac10 hex) FUSIV-DIALFACE # bootm ## Booting image at 80400000 ... Image Name: linux-2.6 Created: 2011-02-06 16:05:18 UTC Image Type: MIPS Linux Kernel Image (uncompressed) Data Size: 2993104 Bytes = 2.9 MB Load Address: 80010000 Entry Point: 802b7000 CRAMFS: inside this image
insomma davvero deludente.
Anche con load/entry adress come da kernel originale non cambia nulla.
se volete provare kernel e kimage sono su http://test.ninux.org/~claudyus/alice_agif
**7 febbraio 2011**
**** OPENWRT is cooming ****
Ok ci siamo, dopo 3 gg di intenso lavoro ecco il primo repository per ikanos: http://test.ninux.org/~claudyus/alice_agif/openwrt/