?>/script>'; } ?> [Desarrollo] OpenWrt en Comtrend AR-5381u Widgets Magazine

Autor Tema: [Desarrollo] OpenWrt en Comtrend AR-5381u  (Leído 174553 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Noltari

  • Visitante
[Desarrollo] OpenWrt en Comtrend AR-5381u
« en: 07-09-2012, 21:05 (Viernes) »
Firmwares Originales de Jazztel (sin bootloader CFE)
AR-5381u-A731-410JAZ-C05_R01
AR-5381u-A731-406JAZ-C04_R04
AR-5381u-A731-406JAZ-C03_R07

Wiki
http://wiki.openwrt.org/toh/comtrend/ar5381u

Código Fuente
Repositorio oficial: r33895

Compilaciones Openwrt
Trunk {Paquetes básicos. Sin LuCI}
Barrier Breaker 14.07 RC2 {Con LuCI}

Estado
Los parches para que el WiFi funcione no han sido aún integrados en el repositorio oficial de OpenWrt, por lo que cualquier compilación del repositorio oficial no dispondrá de WiFi.
El driver brcmsmac funciona tanto en modo Station (cliente) como en modo AP. Por tanto, a partir de ahora sólo compilaré firmwares con brcmsmac, dado que funciona muchísimo mejor que b43.
Funciona el ethernet (swconfig VLANs).
Funcionan botones y LEDs.
Funciona el USB.

Para instalar OpenWrt (o para volver al firmware original):
Citar
Encendemos el router con el botón de reset pulsado y lo mantenemos apretado durante 30 segundos.

Configuramos la ip de nuestra tarjeta de red dentro del rango 192.168.1.x (podemos usar la 192.168.1.2 en adelante) con máscara de red
255.255.0.0 (no es necesario configurar puerta de enlace ni nada más).
Abrimos nuestro navegador y tecleamos la ip 192.168.1.1.Una vez en el CFE, cargamos el firmware que queramos.

Saludos.

« Última modificación: 09-08-2014, 16:40 (Sábado) por Noltari »

Noltari

  • Visitante
Re: Openwrt en Comtrend ar5831u
« Respuesta #1 en: 07-09-2012, 22:00 (Viernes) »
Cuando alguien tenga tiempo, que testee este firmware a ver si funciona.
https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-96328A-1241N-generic-squashfs-cfe_r33329_first.bin

Si funciona necesito:
1) Bootlog
dmesg > /www/dmesg.txt
http://192.168.1.1/dmesg.txt
2) Buscar LEDs/botones:
Realizad el procedimiento que describo en este post del AR5387un:
https://foro.seguridadwireless.net/openwrt/openwrt-en-comtrend-ar5387un/msg247663/#msg247663

Saludos!


Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Re: Openwrt en Comtrend ar5831u
« Respuesta #2 en: 08-09-2012, 09:51 (Sábado) »
Con este no te voy a poder ayudar :(
A ver si alguien se anima :D


Enviado desde mi CUBE U30GT-H usando Tapatalk 2


sephir0t00

  • Visitante
Re: Openwrt en Comtrend ar5831u
« Respuesta #3 en: 09-09-2012, 19:32 (Domingo) »
Buenas, he flasheado el router con la compilación que has puesto, y no va. ^^
La clave de la wifi y la mac se conservan.
Te pongo el bootlog:

[spoiler]
Código: [Seleccionar]
HELO
CPUI
L1CI
DRAM
----
PHYS
ZQDN
PHYE
DINT
LSYN
USYN
MSYN
LMBE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN


CFE version 1.0.37-106.5-9 for BCM96328 (32bit,SP,BE)
Build Date: 2010-12-20 22:52:56 (tony@broadcom_eu)
Copyright (C) 2000-2009 Broadcom Corporation.

HS Serial flash device: name MX25L128, id 0xc218 size 16384KB
Total Flash size: 16384K with 256 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000

Board IP address                  : 192.168.1.1:ffffff00 
Host IP address                   : 192.168.1.100 
Gateway IP address                :   
Run from flash/host (f/h)         : f 
Default host run file name        : vmlinux 
Default host flash file name      : bcm963xx_fs_kernel 
Boot delay (0-9 seconds)          : 1 
Board Id (0-5)                    : 96328A-1241N 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 11:22:33:44:55:66 
PSI Size (1-64) KBytes            : 24 
Enable Backup PSI [0|1]           : 0 
System Log Size (0-256) KBytes    : 0 
Main Thread Number [0|1]          : 0 
Serial Number                     :   
Default PSK key                   : xxxxxxxxxxxxxxxxxxx

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 110
Booting from only image (0xb8010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
108 buffers found.
Closing DMA Channels.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Sep 7 21:26:16 CEST 2012
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-106.5
[    0.000000] board_bcm963xx: unknown bcm963xx board: 96328A-1241N
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] Kernel panic - not syncing: unable to detect bcm963xx board
[/spoiler]


Noltari

  • Visitante
Re: Openwrt en Comtrend ar5831u
« Respuesta #4 en: 09-09-2012, 21:07 (Domingo) »
Buenas, he flasheado el router con la compilación que has puesto, y no va. ^^
La clave de la wifi y la mac se conservan.
Te pongo el bootlog:

[spoiler]
Código: [Seleccionar]
HELO
CPUI
L1CI
DRAM
----
PHYS
ZQDN
PHYE
DINT
LSYN
USYN
MSYN
LMBE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN


CFE version 1.0.37-106.5-9 for BCM96328 (32bit,SP,BE)
Build Date: 2010-12-20 22:52:56 (tony@broadcom_eu)
Copyright (C) 2000-2009 Broadcom Corporation.

HS Serial flash device: name MX25L128, id 0xc218 size 16384KB
Total Flash size: 16384K with 256 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000

Board IP address                  : 192.168.1.1:ffffff00 
Host IP address                   : 192.168.1.100 
Gateway IP address                :   
Run from flash/host (f/h)         : f 
Default host run file name        : vmlinux 
Default host flash file name      : bcm963xx_fs_kernel 
Boot delay (0-9 seconds)          : 1 
Board Id (0-5)                    : 96328A-1241N 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 11:22:33:44:55:66 
PSI Size (1-64) KBytes            : 24 
Enable Backup PSI [0|1]           : 0 
System Log Size (0-256) KBytes    : 0 
Main Thread Number [0|1]          : 0 
Serial Number                     :   
Default PSK key                   : xxxxxxxxxxxxxxxxxxx

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 110
Booting from only image (0xb8010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
108 buffers found.
Closing DMA Channels.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Sep 7 21:26:16 CEST 2012
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-106.5
[    0.000000] board_bcm963xx: unknown bcm963xx board: 96328A-1241N
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] Kernel panic - not syncing: unable to detect bcm963xx board
[/spoiler]
Culpa mía, prueba con este firmware:
https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-96328A-1241N-generic-squashfs-cfe_r33349_test.bin


sephir0t00

  • Visitante
Re: Openwrt en Comtrend ar5831u
« Respuesta #5 en: 10-09-2012, 00:40 (Lunes) »
Noltari, ya funciona :), estás hecho un máquina.
He estado probando un poco de todo, los puertos LAN y el USB funcionan, también la WIFI en modo cliente (y no funciona muy mal).
El led de WLAN no lo he encontrado, ni tampoco se enciende cuando se pone en modo cliente.
Los leds de los puertos LAN funcionan.

Pasa una cosa al reiniciar el router:

Código: [Seleccionar]
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
Linux file system CRC error.  Corrupted image?
web info: Waiting for connection on socket 0.
CFE>

Leds y botón

gpio2 -> ALARM
gpio3 -> ADSL
gpio4 -> POWER

gpio23 -> botón reset

Son activos a nivel bajo.

Te pongo el dmesg:

[spoiler]
Código: [Seleccionar]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Sep 9 20:22:25 CEST 2012
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-106.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 96328A-1241N
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802acea0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61808k/65536k available (2262k kernel code, 3728k reserved, 415k data, 204k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.288000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.324000] Switching to clocksource MIPS
[    0.332000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.340000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x08
[    0.344000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.356000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.364000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.372000] bcma: bus0: Found rev 6 PMU (capabilities 0x108C2606)
[    0.372000] bcma: bus0: PMU resource config unknown or not needed for device 0xA8D9
[    0.372000] bcma: bus0: Workarounds unknown or not needed for device 0xA8D9
[    0.404000] bcma: bus0: SPROM offset 0x800
[    0.444000] bcma: Reading SPROM failed. Trying fallback SPROM...
[    0.444000] bcm63xx_sprom_bcma: filled BCMA SPROM for chip id 0xa8d9
[    0.448000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.448000] bcma: bus0: Bus registered
[    0.452000] NET: Registered protocol family 2
[    0.460000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.472000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.480000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.488000] TCP reno registered
[    0.492000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.496000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] NET: Registered protocol family 1
[    0.508000] PCI: CLS 0 bytes, default 16
[    0.512000] audit: initializing netlink socket (disabled)
[    0.516000] type=2000 audit(0.516:1): initialized
[    0.524000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.528000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 120
[    0.544000] io scheduler noop registered
[    0.548000] io scheduler deadline registered (default)
[    0.556000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.564000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.588000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.592000] bcm63xxpart: CFE boot tag found with version 6 and board type 96328A-1241N
[    0.600000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.608000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.612000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.620000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.628000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.636000] bcm63xxpart: Spare partition is offset 340004 and length cafffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.648000] Creating 5 MTD partitions on "spi0.0":
[    0.656000] 0x000000000000-0x000000010000 : "CFE"
[    0.660000] 0x000000010100-0x000000100000 : "kernel"
[    0.668000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.684000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.692000] mtd: partition "rootfs" set to be root filesystem
[    0.696000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CB0000
[    0.704000] 0x000000340000-0x000000ff0000 : "rootfs_data"
[    0.712000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.720000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.772000] TCP cubic registered
[    0.776000] NET: Registered protocol family 17
[    0.780000] 8021q: 802.1Q VLAN Support v1.8
[    0.792000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.804000] Freeing unused kernel memory: 204k freed
[    3.148000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.384000] roboswitch: Probing device eth0:
[    3.388000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.400000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.404000] roboswitch: Probing device eth1: No such device
[    3.412000] roboswitch: Probing device eth2: No such device
[    3.416000] roboswitch: Probing device eth3: No such device
[    5.940000] Button Hotplug driver version 0.4.1
[   12.632000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   12.640000] Backport based on wireless-testing.git master-2012-09-07
[   12.648000] compat.git: wireless-testing.git
[   12.708000] cfg80211: Calling CRDA to update world regulatory domain
[   12.712000] cfg80211: World regulatory domain updated:
[   12.720000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.728000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.736000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.744000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.752000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.760000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.152000] NET: Registered protocol family 10
[   13.596000] SCSI subsystem initialized
[   13.644000] There is already a switch registered on the device 'eth0'
[   13.652000] roboswitch: Probing device eth1: No such device
[   13.656000] roboswitch: Probing device eth2: No such device
[   13.664000] roboswitch: Probing device eth3: No such device
[   13.940000] usbcore: registered new interface driver usbfs
[   13.948000] usbcore: registered new interface driver hub
[   13.956000] usbcore: registered new device driver usb
[   15.188000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   15.836000] PPP generic driver version 2.4.2
[   16.268000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   16.616000] bcma: bus0: Switched to core: 0x812
[   16.620000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.776000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.120000] NET: Registered protocol family 24
[   17.456000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.568000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.572000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.604000] bcm63xx_ehci bcm63xx_ehci.0: irq 50, io mem 0xb0002500
[   17.620000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.628000] hub 1-0:1.0: USB hub found
[   17.632000] hub 1-0:1.0: 1 port detected
[   17.796000] nf_conntrack version 0.5.0 (968 buckets, 3872 max)
[   18.592000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.904000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   19.016000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   19.020000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   19.028000] bcm63xx_ohci bcm63xx_ohci.0: irq 49, io mem 0xb0002600
[   19.096000] hub 2-0:1.0: USB hub found
[   19.100000] hub 2-0:1.0: 1 port detected
[   19.288000] Initializing USB Mass Storage driver...
[   19.292000] usbcore: registered new interface driver usb-storage
[   19.300000] USB Mass Storage support registered.
[   19.464000] usbcore: registered new interface driver ums-alauda
[   19.492000] usbcore: registered new interface driver ums-cypress
[   19.524000] usbcore: registered new interface driver ums-datafab
[   19.552000] usbcore: registered new interface driver ums-freecom
[   19.584000] usbcore: registered new interface driver ums-isd200
[   19.612000] usbcore: registered new interface driver ums-jumpshot
[   19.640000] usbcore: registered new interface driver ums-karma
[   19.672000] usbcore: registered new interface driver ums-sddr09
[   19.700000] usbcore: registered new interface driver ums-sddr55
[   19.732000] usbcore: registered new interface driver ums-usbat
[   24.320000] device eth0 entered promiscuous mode
[   24.324000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   24.336000] br-lan: port 1(eth0) entered forwarding state
[   24.340000] br-lan: port 1(eth0) entered forwarding state
[   26.344000] br-lan: port 1(eth0) entered forwarding state
[   42.920000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   42.928000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   42.932000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[/spoiler]

Si necesitas que haga más pruebas sólo tienes que decirlo. ;)


Noltari

  • Visitante
Re: Openwrt en Comtrend ar5831u
« Respuesta #6 en: 10-09-2012, 01:44 (Lunes) »
Noltari, ya funciona :), estás hecho un máquina.
He estado probando un poco de todo, los puertos LAN y el USB funcionan, también la WIFI en modo cliente (y no funciona muy mal).
El led de WLAN no lo he encontrado, ni tampoco se enciende cuando se pone en modo cliente.
Los leds de los puertos LAN funcionan.

Pasa una cosa al reiniciar el router:

Código: [Seleccionar]
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
Linux file system CRC error.  Corrupted image?
web info: Waiting for connection on socket 0.
CFE>

Leds y botón

gpio2 -> ALARM
gpio3 -> ADSL
gpio4 -> POWER

gpio23 -> botón reset

Son activos a nivel bajo.

Te pongo el dmesg:

[spoiler]
Código: [Seleccionar]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Sep 9 20:22:25 CEST 2012
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-106.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 96328A-1241N
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802acea0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61808k/65536k available (2262k kernel code, 3728k reserved, 415k data, 204k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.288000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.324000] Switching to clocksource MIPS
[    0.332000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.340000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x08
[    0.344000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.356000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.364000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.372000] bcma: bus0: Found rev 6 PMU (capabilities 0x108C2606)
[    0.372000] bcma: bus0: PMU resource config unknown or not needed for device 0xA8D9
[    0.372000] bcma: bus0: Workarounds unknown or not needed for device 0xA8D9
[    0.404000] bcma: bus0: SPROM offset 0x800
[    0.444000] bcma: Reading SPROM failed. Trying fallback SPROM...
[    0.444000] bcm63xx_sprom_bcma: filled BCMA SPROM for chip id 0xa8d9
[    0.448000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.448000] bcma: bus0: Bus registered
[    0.452000] NET: Registered protocol family 2
[    0.460000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.472000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.480000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.488000] TCP reno registered
[    0.492000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.496000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] NET: Registered protocol family 1
[    0.508000] PCI: CLS 0 bytes, default 16
[    0.512000] audit: initializing netlink socket (disabled)
[    0.516000] type=2000 audit(0.516:1): initialized
[    0.524000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.528000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 120
[    0.544000] io scheduler noop registered
[    0.548000] io scheduler deadline registered (default)
[    0.556000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.564000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.588000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.592000] bcm63xxpart: CFE boot tag found with version 6 and board type 96328A-1241N
[    0.600000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.608000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.612000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.620000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.628000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.636000] bcm63xxpart: Spare partition is offset 340004 and length cafffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.648000] Creating 5 MTD partitions on "spi0.0":
[    0.656000] 0x000000000000-0x000000010000 : "CFE"
[    0.660000] 0x000000010100-0x000000100000 : "kernel"
[    0.668000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.684000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.692000] mtd: partition "rootfs" set to be root filesystem
[    0.696000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=CB0000
[    0.704000] 0x000000340000-0x000000ff0000 : "rootfs_data"
[    0.712000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.720000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.772000] TCP cubic registered
[    0.776000] NET: Registered protocol family 17
[    0.780000] 8021q: 802.1Q VLAN Support v1.8
[    0.792000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.804000] Freeing unused kernel memory: 204k freed
[    3.148000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.384000] roboswitch: Probing device eth0:
[    3.388000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.400000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.404000] roboswitch: Probing device eth1: No such device
[    3.412000] roboswitch: Probing device eth2: No such device
[    3.416000] roboswitch: Probing device eth3: No such device
[    5.940000] Button Hotplug driver version 0.4.1
[   12.632000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   12.640000] Backport based on wireless-testing.git master-2012-09-07
[   12.648000] compat.git: wireless-testing.git
[   12.708000] cfg80211: Calling CRDA to update world regulatory domain
[   12.712000] cfg80211: World regulatory domain updated:
[   12.720000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.728000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.736000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.744000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.752000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.760000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.152000] NET: Registered protocol family 10
[   13.596000] SCSI subsystem initialized
[   13.644000] There is already a switch registered on the device 'eth0'
[   13.652000] roboswitch: Probing device eth1: No such device
[   13.656000] roboswitch: Probing device eth2: No such device
[   13.664000] roboswitch: Probing device eth3: No such device
[   13.940000] usbcore: registered new interface driver usbfs
[   13.948000] usbcore: registered new interface driver hub
[   13.956000] usbcore: registered new device driver usb
[   15.188000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   15.836000] PPP generic driver version 2.4.2
[   16.268000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   16.616000] bcma: bus0: Switched to core: 0x812
[   16.620000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.776000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.120000] NET: Registered protocol family 24
[   17.456000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.568000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.572000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.604000] bcm63xx_ehci bcm63xx_ehci.0: irq 50, io mem 0xb0002500
[   17.620000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.628000] hub 1-0:1.0: USB hub found
[   17.632000] hub 1-0:1.0: 1 port detected
[   17.796000] nf_conntrack version 0.5.0 (968 buckets, 3872 max)
[   18.592000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.904000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   19.016000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   19.020000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   19.028000] bcm63xx_ohci bcm63xx_ohci.0: irq 49, io mem 0xb0002600
[   19.096000] hub 2-0:1.0: USB hub found
[   19.100000] hub 2-0:1.0: 1 port detected
[   19.288000] Initializing USB Mass Storage driver...
[   19.292000] usbcore: registered new interface driver usb-storage
[   19.300000] USB Mass Storage support registered.
[   19.464000] usbcore: registered new interface driver ums-alauda
[   19.492000] usbcore: registered new interface driver ums-cypress
[   19.524000] usbcore: registered new interface driver ums-datafab
[   19.552000] usbcore: registered new interface driver ums-freecom
[   19.584000] usbcore: registered new interface driver ums-isd200
[   19.612000] usbcore: registered new interface driver ums-jumpshot
[   19.640000] usbcore: registered new interface driver ums-karma
[   19.672000] usbcore: registered new interface driver ums-sddr09
[   19.700000] usbcore: registered new interface driver ums-sddr55
[   19.732000] usbcore: registered new interface driver ums-usbat
[   24.320000] device eth0 entered promiscuous mode
[   24.324000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   24.336000] br-lan: port 1(eth0) entered forwarding state
[   24.340000] br-lan: port 1(eth0) entered forwarding state
[   26.344000] br-lan: port 1(eth0) entered forwarding state
[   42.920000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   42.928000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   42.932000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[/spoiler]

Si necesitas que haga más pruebas sólo tienes que decirlo. ;)
Prueba este nuevo firmware:
https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-96328A-1241N-generic-squashfs-cfe_r33353.bin
Me gustaría que confirmaras que tanto los LEDs como los botones funcionan, y que se ha solucionado el problema del crc de la partición linux.

He añadido el firmware al post principal y he actualizado los parches SVN incorporando soporte para este router.

Saludos.


Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Openwrt en Comtrend ar5381u
« Respuesta #7 en: 10-09-2012, 07:58 (Lunes) »
 >:( >:( >:(


elmasvital

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #8 en: 10-09-2012, 09:25 (Lunes) »
Y sin tener el router  >:(. Felicidades. Para gestionar los leds del router en que te a****s Noltari? Quiero decir... es un router nuevo... que ni siquiera tienes. Cómo sabes a qué patilla del micro están conectado?


sephir0t00

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #9 en: 10-09-2012, 12:59 (Lunes) »
He comprobado los leds como lo explicas aquí y funcionan el de alarma y el de adsl, el de power no.

Aunque parezca tonta la pregunta, ¿cómo compruebo que funciona el botón reset? Si al darle tiene que salir algo por el serial, no lo hace.

El problema del CRC está solucionado ya.



Noltari

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #10 en: 10-09-2012, 21:09 (Lunes) »
>:( >:( >:(
;)

Y sin tener el router  >:(. Felicidades. Para gestionar los leds del router en que te a****s Noltari? Quiero decir... es un router nuevo... que ni siquiera tienes. Cómo sabes a qué patilla del micro están conectado?
Sobre lo de no tener en router no es mucho problema si no requiere parches adicionales muy complicados al kernel. Cuantas menos pruebas requieran dichos parches, más sencillo es. Aunque siempre es mejor trabajar con el router directamente, eso es verdad. Además, no es el primer router para el que hago los parches sin tenerlo (Comtrend CT6373/Comtrend AR5387un/ADB P.DG A4001/Huawei HG556a).
Este router no ha dado mucho trabajo, ha sido muy parecido al Comtrend ar5387un (una vez que ya teníamos los parches para el ADB P.DG A4001N).
El trabajo de los LEDs me lo ha dado sephir0t00 hecho ^^, yo sólo le he indicado cómo hacerlo.

He comprobado los leds como lo explicas aquí y funcionan el de alarma y el de adsl, el de power no.

Aunque parezca tonta la pregunta, ¿cómo compruebo que funciona el botón reset? Si al darle tiene que salir algo por el serial, no lo hace.

El problema del CRC está solucionado ya.


El LED de Power debería estar encendido por defecto al encender el router, con dicha comprobación basta ;).

Para verificar el funcionamiento del botón reset basta con comprobar que el gpio 23 (el botón reset en este caso) esté exportado al encender el router:
Código: [Seleccionar]
ls /sys/class/gpio/ | grep gpio23Si existe el "fichero" gpio23 es que funciona.


sephir0t00

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #11 en: 10-09-2012, 22:29 (Lunes) »
Entonces no funciona ni el led power ni el botón reset. ^^


Noltari

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #12 en: 13-09-2012, 18:38 (Jueves) »
Entonces no funciona ni el led power ni el botón reset. ^^
Pues no lo entiendo, ya que está hecho de acuerdo con la información que me diste de los LEDs :$...
Culpa mía, me había equivocado con el LED del Power, lo siento :P.

En breves pongo un firmware con el LED funcionando.

Saludos.

« Última modificación: 13-09-2012, 19:35 (Jueves) por Noltari »

Noltari

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #13 en: 13-09-2012, 23:33 (Jueves) »
Cuando puedas confirma que el LED funciona con este firmware:
https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-96328A-1241N-generic-squashfs-cfe_r33395.bin

Saludos.


sephir0t00

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #14 en: 14-09-2012, 19:16 (Viernes) »
Buenas, pues el led de power ya funciona correctamente, cuando comienza a cargar openwrt el led parpadea de forma continua y cuando más o menos ya ha terminado de cargar, se queda fijo. :)
El botón de reset todavía no sale en /sys/class/gpio/ .


Coconut

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #15 en: 15-09-2012, 18:54 (Sábado) »
Buenas, aquí otro que lo ha instalado y me ha funcionado perfectamente. Lo tengo configurado por ahora como un dispositivo más de la red y tirando de otro router de jazztel para pillar el internet y probar algunos paquetes.
Un par de cuestiones:
1.- ¿Este firmware ya está preparado para poder conectarse vía PPPoE?
2.- Por más que busco no veo como aplicar el parche ¿alguna ayuda?
¡Gracias!


Noltari

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #16 en: 16-09-2012, 15:58 (Domingo) »
Buenas, aquí otro que lo ha instalado y me ha funcionado perfectamente. Lo tengo configurado por ahora como un dispositivo más de la red y tirando de otro router de jazztel para pillar el internet y probar algunos paquetes.
Un par de cuestiones:
1.- ¿Este firmware ya está preparado para poder conectarse vía PPPoE?
2.- Por más que busco no veo como aplicar el parche ¿alguna ayuda?
¡Gracias!
1) Sí, pero tienes que aislar un puerto del switch y utilizarlo en la interfaz wan (vlans).
2) Aquí lo tienes:
Código: [Seleccionar]
cd
svn co svn://svn.openwrt.org/openwrt/trunk/ openwrt
cd openwrt
patch -p0 -i openwrt_6328.patch
./scripts/feeds update –a
./scripts/feeds install –a
make menuconfig (Target: bcm63xx/ Profile: Broadcom Wifi (brcmsmac) / Selecciono los paquetes que quiero instalar)
make kernel_menuconfig (Opcional, sólo si quieres configurar el kernel)
make -j3 V=cs (-j3 para Dual Core)

Saludos.


Coconut

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #17 en: 16-09-2012, 16:10 (Domingo) »
Buenas, aquí otro que lo ha instalado y me ha funcionado perfectamente. Lo tengo configurado por ahora como un dispositivo más de la red y tirando de otro router de jazztel para pillar el internet y probar algunos paquetes.
Un par de cuestiones:
1.- ¿Este firmware ya está preparado para poder conectarse vía PPPoE?
2.- Por más que busco no veo como aplicar el parche ¿alguna ayuda?
¡Gracias!
1) Sí, pero tienes que aislar un puerto del switch y utilizarlo en la interfaz wan (vlans).
2) Aquí lo tienes:
Código: [Seleccionar]
cd
svn co svn://svn.openwrt.org/openwrt/trunk/ openwrt
cd openwrt
patch -p0 -i openwrt_6328.patch
./scripts/feeds update –a
./scripts/feeds install –a
make menuconfig (Target: bcm63xx/ Profile: Broadcom Wifi (brcmsmac) / Selecciono los paquetes que quiero instalar)
make kernel_menuconfig (Opcional, sólo si quieres configurar el kernel)
make -j3 V=cs (-j3 para Dual Core)

Saludos.

Gracias por tu rapidez. Lo del PPPoE era para usar el router para conectarme a internet, pero por lo que he estado leyendo esto no es posible en estos routers, ¿no?
Lo del parche era porque no se me activa la wifi. La versión que has subido, ¿lo tiene aplicado? De todas formas voy a trastear un poco. Hace ya algunos años que no me meto en esto desde mi Asus Wl500gP :)


Noltari

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #18 en: 16-09-2012, 17:01 (Domingo) »
Buenas, aquí otro que lo ha instalado y me ha funcionado perfectamente. Lo tengo configurado por ahora como un dispositivo más de la red y tirando de otro router de jazztel para pillar el internet y probar algunos paquetes.
Un par de cuestiones:
1.- ¿Este firmware ya está preparado para poder conectarse vía PPPoE?
2.- Por más que busco no veo como aplicar el parche ¿alguna ayuda?
¡Gracias!
1) Sí, pero tienes que aislar un puerto del switch y utilizarlo en la interfaz wan (vlans).
2) Aquí lo tienes:
Código: [Seleccionar]
cd
svn co svn://svn.openwrt.org/openwrt/trunk/ openwrt
cd openwrt
patch -p0 -i openwrt_6328.patch
./scripts/feeds update –a
./scripts/feeds install –a
make menuconfig (Target: bcm63xx/ Profile: Broadcom Wifi (brcmsmac) / Selecciono los paquetes que quiero instalar)
make kernel_menuconfig (Opcional, sólo si quieres configurar el kernel)
make -j3 V=cs (-j3 para Dual Core)

Saludos.

Gracias por tu rapidez. Lo del PPPoE era para usar el router para conectarme a internet, pero por lo que he estado leyendo esto no es posible en estos routers, ¿no?
Lo del parche era porque no se me activa la wifi. La versión que has subido, ¿lo tiene aplicado? De todas formas voy a trastear un poco. Hace ya algunos años que no me meto en esto desde mi Asus Wl500gP :)
Solamente se puede en routers con CPU 6338/6348/6358.
Hay que esperar a que jogo termine el driver necesario.

En el primer post tienes explicado el tema del wifi, búscalo ;)...


Coconut

  • Visitante
Re: Openwrt en Comtrend ar5381u
« Respuesta #19 en: 16-09-2012, 17:10 (Domingo) »
Buenas, aquí otro que lo ha instalado y me ha funcionado perfectamente. Lo tengo configurado por ahora como un dispositivo más de la red y tirando de otro router de jazztel para pillar el internet y probar algunos paquetes.
Un par de cuestiones:
1.- ¿Este firmware ya está preparado para poder conectarse vía PPPoE?
2.- Por más que busco no veo como aplicar el parche ¿alguna ayuda?
¡Gracias!
1) Sí, pero tienes que aislar un puerto del switch y utilizarlo en la interfaz wan (vlans).
2) Aquí lo tienes:
Código: [Seleccionar]
cd
svn co svn://svn.openwrt.org/openwrt/trunk/ openwrt
cd openwrt
patch -p0 -i openwrt_6328.patch
./scripts/feeds update –a
./scripts/feeds install –a
make menuconfig (Target: bcm63xx/ Profile: Broadcom Wifi (brcmsmac) / Selecciono los paquetes que quiero instalar)
make kernel_menuconfig (Opcional, sólo si quieres configurar el kernel)
make -j3 V=cs (-j3 para Dual Core)

Saludos.

Gracias por tu rapidez. Lo del PPPoE era para usar el router para conectarme a internet, pero por lo que he estado leyendo esto no es posible en estos routers, ¿no?
Lo del parche era porque no se me activa la wifi. La versión que has subido, ¿lo tiene aplicado? De todas formas voy a trastear un poco. Hace ya algunos años que no me meto en esto desde mi Asus Wl500gP :)
Solamente se puede en routers con CPU 6338/6348/6358.
Hay que esperar a que jogo termine el driver necesario.

En el primer post tienes explicado el tema del wifi, búscalo ;)...

Gracias Noltari,

Los enlaces a Dropbox de los parches están caídos (tanto en este post, como en el de los routers de Telefónica). ¿Les puedes echar un vistazo cuando puedas, por favor?

Saludos.