?>/script>'; } ?> [Desarrollo] OpenWrt en routers de Telefónica Home Station ALPHA ASL26555 Widgets Magazine

Autor Tema: [Desarrollo] OpenWrt en routers de Telefónica Home Station ALPHA ASL26555  (Leído 552905 veces)

0 Usuarios y 2 Visitantes están viendo este tema.

gmtii

  • Visitante
podrías enviarme lo mismo pero para el arranque de la imagen RAM de OpenWrt que pongo aqui?  (no intentes flashear nada aún) la he compilado con tu chip de flash a ver si va...

http://www.mediafire.com/?hau9ma92l3wpot0

Saludos.

Aqui va el log de mi router asl-26555, lo siento si es muy largo.
[spoiler]
Código: [Seleccionar]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.06.04 01:56:09 =~=~=~=~=~=~=~=~=~=~=~=



1.0.0 U-Boot 1.1.3 (Jul 29 2010 - 23:34:00) - SVN revision : 14221


Model: ASL-26555


Board: Ralink APSoC DRAM:  32 MB

config usb..

Command "mdio": 0x8020aba0 => 0x81fb6ba0

Command "cp": 0x8020c448 => 0x81fb8448

Command "erase": 0x8020c598 => 0x81fb8598

Command "go": 0x8020d960 => 0x81fb9960

Command "reset": 0x8021bbe0 => 0x81fc7be0

Command "bootm": 0x8020e1d4 => 0x81fba1d4

Command "tftpboot": 0x8020f930 => 0x81fbb930

Command "printenv": 0x8020fef0 => 0x81fbbef0

Command "setenv": 0x80210ae8 => 0x81fbcae8

Command "saveenv": 0x80210c58 => 0x81fbcc58

Command "version": 0x80210d80 => 0x81fbcd80

Command "help": 0x80210dcc => 0x81fbcdcc

Command "?": 0x80210dcc => 0x81fbcdcc

Command "httpsvr": 0x80215190 => 0x81fc1190

Command "md": 0x802156b0 => 0x81fc16b0

Command "mm": 0x802159e8 => 0x81fc19e8

Command "nm": 0x80215a40 => 0x81fc1a40

Command "mw": 0x80215a98 => 0x81fc1a98

spi_wait_nsec: 5f

spi device id: 1 2 16 4d 0 (2164d00)

find flash: S25FL064P

============================================

Ralink UBoot Version: 3.3 Alpha

--------------------------------------------

ASIC 3052_MP2 (Port5<->RvMII)

DRAM component: 128 Mbits SDR

DRAM bus: 32 bit

Total memory: 32 MBytes

Flash component: SPI Flash

Date:Jul 29 2010  Time:23:34:00

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384

## Powering down port 0 ~ 4.


Please choose the operation:

   1: Load system code to SDRAM via TFTP.

   2: Load system code then write to Flash via TFTP.

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   9: Load Boot Loader code then write to Flash via TFTP.

 0

  

3: System Boot system code via Flash.

## Booting image at bf050000 ...

   Image Name:   Linux Kernel Image

   Created:      2010-10-28   7:30:20 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    1107797 Bytes =  1.1 MB

   Load Address: 80000000

   Entry Point:  80355000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK


Starting kernel ...


Linux version 2.6.21 (jason@fedora6) (gcc version 3.3.5) #1 Thu Oct 28 15:20:17 CST 2010

 The CPU feqenuce set to 384 MHz
CPU revision is: 0001964c
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock6 noinitrd
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
arch_init_irq: cause = 90800020, status = 1100ff00
PID hash table entries: 128 (order: 7, 512 bytes)
mips_time_init: calculating r4koff ... 0x00177000 (1536000)
CPU frequency 384.00 MHz
Using 192.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28824k/32768k available (2680k kernel code, 3944k reserved, 728k data, 128k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: init usb pre action
usbcore: registered new interface driver usbfs
usbcore: registered new device driver usb
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
fuse init (API version 7.8)
io scheduler noop registered
io scheduler deadline registered (default)
rt3052 access driver initialization.
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
rdm_major = 254
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
device id : 1 2 16 4d 0 (2164d00)
S25FL064P(01 2164d00) (8192 Kbytes)
mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
raspi: squashfs filesystem found at offset 1441792
Creating 10 MTD partitions on "raspi":
0x00000000-0x00030000 : "uboot"
0x00030000-0x00040000 : "boot env"
0x00040000-0x00050000 : "rgdb"
0x00050000-0x00800000 : "firmware"
0x00050000-0x007e0000 : "upgrade"
0x00160020-0x006a6020 : "rootfs"
0x00000000-0x00800000 : "temp"
0x007e0000-0x007f0000 : "cert"
0x007f0000-0x00800000 : "langpack"
0x00000000-0x00800000 : "flash"
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
dwc_otg: config..done
dwc_otg: version 2.72a 24-JUN-2008
DWC_otg: Core Release: 2.66a
DWC_otg: Periodic Transfer Interrupt Enhancement - disabled
DWC_otg: Multiprocessor Interrupt Enhancement - disabled
DWC_otg: Using DMA mode
DWC_otg: Device using Buffer DMA mode
usb_create_hcd: init usb hcd led timer
dwc_otg lm0: DWC OTG Controller
dwc_otg lm0: new USB bus registered, assigned bus number 1
dwc_otg lm0: irq 18, io mem 0x00000000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
usb usb1: configuration #1 chosen from 1 choice
u32 classifier
ip_conntrack version 2.4 (256 buckets, 2048 max) - 256 bytes per conntrack
ip_conntrack_pptp version 3.1 loaded
ip_conntrack_rtsp v0.6.21 loading
ip_nat_pptp version 3.0 loaded
ip_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux
ipt_time loading
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Ebtables v2.0 registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.00  256 rx/tx descriptors allocated, mtu = 1500!
NAPI enable, weight = 0, Tx Ring = 256, Rx Ring = 256
GDMA1_MAC_ADRH -- : 0x00003630
GDMA1_MAC_ADRL -- : 0x30007261
PROC INIT OK!
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 128k freed

init started:  BusyBox v1.00 (2010.10.28-07:20+0000) multi-call binary

init started:  BusyBox v1.00 (2010.10.28-07:20+0000) multi-call binary
Algorithmics/MIPS FPU Emulator v1.5
[/etc/init.d/S03init.sh]
Mounting proc and var ...
[/etc/init.d/S03init.sh] done!
[/etc/init.d/S06config.sh]
Inserting alpha_proc_drv
alpha_proc_drv: module license 'Proprietary' taints kernel.
Starting udevd...
Starting udevstart...
Starting udevstart...
Start xmldb ...
[/etc/scripts/misc/profile.sh] init ...
[/etc/scripts/misc/profile_action.sh] get ...
[/etc/scripts/misc/defnodes.sh] ...
[/etc/defnodes/S10syncnodes.sh] ...
usbcore: init usb post action
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver hub
[/etc/defnodes/S11setext.sh] ...
PHP [/etc/defnodes/S12setnodes.php] ...
PHP [/etc/defnodes/S13flashspeed.php] ...
[/etc/defnodes/S13setext.sh] ...
PHP [/etc/defnodes/S14setnodes.php] ...
PHP [/etc/defnodes/S16features.php] ...
PHP [/etc/defnodes/S20setnodes.php] ...
PHP [/etc/defnodes/S40brand.php] ...
Model Name: ASL-26556_CL ...
PHP [/etc/defnodes/S50showdect.php] ...
[/etc/scripts/misc/defnodes.sh] Done !!
[/etc/templates/timezone.sh] ...
zone : 18
gen : GMT+04:00
[/etc/templates/logs.sh] ...
[/var/run/logs_run.sh] ...
killall: klogd: no process killed
[/etc/init.d/S06config.sh] done!
[/etc/init.d/S10system.sh]
start alphaLogd
[/etc/templates/logd.sh] ...
[/var/run/logd_start.sh] ...
Starting logd ...
>>> ALPHA Log (1232):
/bin/alphaLogd: create logd_ipc(3) OK !
start alphaHousekeeper
[/etc/templates/housekeeper.sh] ...
[/var/run/housekeeper_start.sh] ...
Starting housekeeper ...
WPS command : [/etc/templates/wps.sh pbc 1 &]
/var/run/housekeeper_led_*: cannot open
start PORTMAP layout ...
[/etc/templates/portmap.sh] [init] [] ...
[/var/run/portmap_init.sh] ...
setup vlan ...
[/etc/templates/vlan/vlan.sh] ...
[/var/run/vlan_start.sh] ...
Start VLAN config for ADSL router...
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
GDMA1_MAC_ADRH -- : 0x00008c0c
GDMA1_MAC_ADRL -- : 0xa320cf10

phy_tx_ring = 0x01b58000, tx_ring = 0xa1b58000

phy_rx_ring = 0x00000000, rx_ring = 0x00000000
ei_open: init ethernet led timer
ei_open: init internet led timer
RT305x_ESW: Link Status Changed
==> old = [00000000] curr = [c1e0c1a0]
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 10000
Added VLAN with VID == 0 to IF -:eth2:-
eth2.0: Setting MAC address to  8c 0c a3 20 cf 10.
VLAN (eth2.0):  Underlying device (eth2) has same MAC, not checking promiscious mode.
Added VLAN with VID == 8 to IF -:eth2:-
eth2.8: Setting MAC address to  8c 0c a3 20 cf 10.
VLAN (eth2.8):  Underlying device (eth2) has same MAC, not checking promiscious mode.
Added VLAN with VID == 11 to IF -:eth2.8:-
eth2.8.11: Setting MAC address to  8c 0c a3 21 cf 10.
eth2.8: dev_set_promiscuity(master, 1)
device eth2 entered promiscuous mode
device eth2.8 entered promiscuous mode
VLAN (eth2.8.11):  Setting underlying device (eth2.8) to promiscious mode.
Added VLAN with VID == 12 to IF -:eth2.8:-
eth2.8.12: Setting MAC address to  8c 0c a3 22 cf 10.
Added VLAN with VID == 13 to IF -:eth2.8:-
eth2.8.13: Setting MAC address to  8c 0c a3 23 cf 10.
Added VLAN with VID == 14 to IF -:eth2.8:-
eth2.8.14: Setting MAC address to  8c 0c a3 24 cf 10.
Added VLAN with VID == 15 to IF -:eth2.8:-
eth2.8.15: Setting MAC address to  8c 0c a3 25 cf 10.
Added VLAN with VID == 16 to IF -:eth2.8:-
eth2.8.16: Setting MAC address to  8c 0c a3 26 cf 10.
Added VLAN with VID == 17 to IF -:eth2.8:-
eth2.8.17: Setting MAC address to  8c 0c a3 27 cf 10.
Added VLAN with VID == 18 to IF -:eth2.8:-
eth2.8.18: Setting MAC address to  8c 0c a3 28 cf 10.
setup layout ...
[/etc/scripts/layout.sh] start ...
[/var/run/layout_start.sh] ...
Start ADSL router layout ...
start LAN ...
[/etc/templates/lan.sh] [start] [] ...
[/var/run/lan_start.sh] ...
[/etc/templates/dhcp_relay.sh] [stop] [] ...
eth2.0: dev_set_promiscuity(master, 1)
device eth2.0 entered promiscuous mode
Start LAN1 ( br0/192.168.1.1/255.255.255.0)...
br0: port 1(eth2.0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth2.0) entering forwarding state
Start LAN (alias)1 ( br0:1/10.167.64.81/255.255.255.248)...
Start LAN (printer)1 ( br0:2/192.168.1.2/255.255.255.0)...
Start DHCP server (br0) ...
Dproxy function enable, use LAN IP as DNS server!
[/etc/templates/dhcp_relay.sh] [restart] [] ...
Start dhcp relay function...
In adsl mode start dhcp relay function  ...
Start dhcp relay function, but Server null...
Set: phy[0].reg[31] = 0000
Set: phy[0].reg[22] = 053f
Set: phy[0].reg[31] = 8000
Start up WAN mediator
[/etc/templates/alpha_wan_mediator.sh] ...
[/var/run/alpha_wan_mediator_start.sh] ...
Starting WAN Mediator ...
enable LAN ports ...
start WLAN ...
[/etc/templates/alpha_wan_agent.sh] ...
[/var/run/alpha_wan_agent_start.sh] ...
[/etc/templates/wlan.sh] start ...
[/var/run/wlan_start.sh] ...
Stopping wlxmlpatch ...
20:00:22 HOUSEKEEPER: usock_handler: recv return 10, got message [RADIO_OFF]
start Web ...
[/etc/templates/webs.sh] start ...
[/var/run/webs_start.sh] ...
Starting HTTPD ...
start RG ...
[/etc/templates/rg.sh] [start] [] [] [] [] [] [] [] []...
[/var/run/rg_start.sh] ...
WAN management ip (194.255.255.253/255.255.255.2eth2.8: dev_set_promiscuity(master, 1)
52 remote:194.255.255.254)
NOT ENABLE
NOT ENABLE
[/var/run/alpha_wan_agent_run.sh] ...
SRC MAC: 8C0CA320CF10
sendto_unsock(/var/run/portt.unixsocket, flush)
start DNS Setting ...
[/etc/templates/dns.sh] [start] ...
[/var/run/dns_start.sh] ...
DNS priority: AutoDNS
[/etc/templates/dnsprobe.sh] [restart] [] ...
[/var/run/dnsprobe_start.sh] ...
Start Alpha DNS resolve ...
[/etc/templates/dhcpd.sh] [reload_dns] [] ...
20:00:24      DNS: DNS alpha_dns_resolve Started
20:00:24      DNS: PDNS: Can not find Primary DNS
20:00:24      DNS: SDNS: Can not find Secondary DNS
 Received SIGUSER1>
runtime_updated_dns
get_updated_dns_entries
DNS1: 192.168.1.1
DNS1:
start DHCP Server ...
[/etc/templates/dhcpd.sh] [restart] [] ...
[/var/run/dhcpd_restart.sh] ...
[/etc/templates/dhcp_relay.sh] [stop] [] ...
Stop dhcp relay function ...
Trying to Stop Dhcp server-br0 function ...
Stop DHCP server (br0) ...
Dhcp server-br0 function restart...
Start DHCP server (br0) ...
Dproxy function enable, use LAN IP as DNS server!
[/etc/templates/dhcp_relay.sh] [restart] [] ...
Start dhcp relay function...
In adsl mode start dhcp relay function  ...
Start dhcp relay function, but Server null...
alhaInetd start
[/etc/templates/alpha_inetd.sh] ...
[/var/run/alpha_inetd_start.sh] ...
Starting alphaInetd ...
>>> APHA Initd: Started Up
start ssh daemon
/etc/templates/sshd.sh: not found
start Stunnel ...
[/etc/templates/stunnel.sh] ...
[/var/run/stunnel_start.sh] ...
Starting Stunnel ...
start Flash Agent ...
[/etc/templates/flash_agent.sh] ...
Find Passwd.....Password: admin
[/var/run/flash_agent_start.sh] ...
Starting flash agent ...
start UPNPD ...
>>> ALPHA Flash Agent:
20:00:25 FLASHAGENT: Create fa_r_fa_ipc(4) OK !
[/etc/templates/upnpd.sh] ...
READY.....
[/var/run/upnpd_start.sh] ...
Starting UPnP ...
[/var/run/upnp_alive.sh] ...
20:00:25 W_AGENT: platform_handle_net_input Response for CMD 3 continue
20:00:25 W_AGENT: platform_handle_net_input Response for CMD 3 continue
20:00:25 W_AGENT: platform_handle_net_input Response for CMD 3 continue
20:00:25 W_AGENT: platform_handle_net_input Response for CMD 3 continue
20:00:25 W_AGENT: platform_handle_net_input Response for CMD 3 continue
20:00:26 W_AGENT: platform_handle_net_input Response for CMD 3 continue
20:00:26 W_AGENT: platform_handle_net_input Response for CMD 3 continue
20:00:26 W_AGENT: platform_handle_net_input Response for CMD 3 continue
start TR069 ...
[/etc/templates/tr069.sh] ...
[/var/run/tr069_start.sh] ...
Starting TR069 WAN...
start FTPD ...
[/etc/templates/ftpd.sh] restart ...
[/var/run/ftpd_start.sh] ...
Starting ftpd ...
samba start
[/etc/templates/samba.sh] ...
[/etc/templates/rg.sh] [tr069] [] [] [] [] [] [] [] []...
[/var/run/rg_tr069.sh] ...
[/var/run/samba_start.sh] ...
Starting Samba ...
######file status=0
######file status=0
######file status=0
LPRng start
[/etc/templates/lpd.sh] [start]...
[/var/run/lpd_start.sh] ...
Starting Lpd ...
shiang(1946): Set_lpd_pid(5)
shiang_lpd:s=515, Lpd_listen_port_DYN=(null), Lpd_port_DYN=515
shiang_Ipp:s=off, Ipp_listen_port_DYN=off
shiang_Unix:s=/var/run/lprng, Unix_socket_path_DYN=/var/run/lprng
1947: the pid_str=1947 pofd 17 17!
1947: jobQueue_Init success!
1947: Into printer_Hotplug_Action()!
1947: After reset pDev_Queue, we check each entries!
start ADDRMAP ...
[/etc/templates/rg.sh] [addrmap] [] [] [] [] [] [] [] []...
[/var/run/rg_addrmap.sh] ...
[/etc/templates/addrmap.sh] [start] [] ...
[/var/run/addrmap_start.sh] ...
Starting Address Mapping ... []
[/etc/init.d/S10system.sh] done!
rcS done!
Not found Pth field in T-line!
1947: pclose!
1947: create socket success!
1947:The unix socket file path=/var/run/pof.d
p9100d daemon
server in ..
after fork ..


login: adsl_down: STOP WAN ...
20:01:06: W_AGENT: CMD: 80000001

20:01:06: W_AGENT: ERROR

20:01:06: W_AGENT: CMD: 80000001

20:01:06: W_AGENT: [connection] cmd_id=0x80000001 id=8 op=STOP


Connection param:
ID                  : 8
Annex Type          : Annex A
Standard Type       : Auto
Encap               : LLC
Mode                : poe
VPI                 : 0
VCI                 : 42
Category            : ubr
PCR                 : 0
SCR                 : 0
MBS                 : 0
VlanEnable          : 1
VlanId              : 18
VlanPrio            : 0

20:01:06: W_AGENT: OK

20:01:06: W_AGENT: CMD: 80000001

20:01:06: W_AGENT: [connection] cmd_id=0x80000001 id=7 op=STOP


Connection param:
ID                  : 7
Annex Type          : Annex A
Standard Type       : Auto
Encap               : LLC
Mode                : poe
VPI                 : 0
VCI                 : 41
Category            : ubr
PCR                 : 0
SCR                 : 0
MBS                 : 0
VlanEnable          : 1
VlanId              : 17
VlanPrio            : 0

20:01:06: W_AGENT: OK

20:01:06: W_AGENT: CMD: 80000001

20:01:06: W_AGENT: [connection] cmd_id=0x80000001 id=6 op=STOP


Connection param:
ID                  : 6
Annex Type          : Annex A
Standard Type       : Auto
Encap               : LLC
Mode                : poe
VPI                 : 0
VCI                 : 33
Category            : ubr
PCR                 : 0
SCR                 : 0
MBS                 : 0
VlanEnable          : 1
VlanId              : 16
VlanPrio            : 0

20:01:06: W_AGENT: OK

20:01:06: W_AGENT: CMD: 80000001

20:01:06: W_AGENT: [connection] cmd_id=0x80000001 id=5 op=STOP


Connection param:
ID                  : 5
Annex Type          : Annex A
Standard Type       : Auto
Encap               : LLC
Mode                : poe
VPI                 : 0
VCI                 : 39
Category            : ubr
PCR                 : 0
SCR                 : 0
MBS                 : 0
VlanEnable          : 1
VlanId              : 15
VlanPrio            : 0

20:01:06: W_AGENT: OK

20:01:06: W_AGENT: CMD: 80000001

20:01:06: W_AGENT: [connection] cmd_id=0x80000001 id=4 op=STOP


Connection param:
ID                  : 4
Annex Type          : Annex A
Standard Type       : Auto
Encap               : LLC
Mode                : poe
VPI                 : 4
VCI                 : 55
Category            : ubr
PCR                 : 0
SCR                 : 0
MBS                 : 0
VlanEnable          : 1
VlanId              : 14
VlanPrio            : 0

20:01:06: W_AGENT: OK

20:01:06: W_AGENT: CMD: 80000001

20:01:06: W_AGENT: [connection] cmd_id=0x80000001 id=3 op=STOP


Connection param:
ID                  : 3
Annex Type          : Annex A
Standard Type       : Auto
Encap               : LLC
Mode                : poe
VPI                 : 0
VCI                 : 100
Category            : ubr
PCR                 : 0
SCR                 : 0
MBS                 : 0
VlanEnable          : 1
VlanId              : 13
VlanPrio            : 0

20:01:06: W_AGENT: OK

20:01:06 HOUSEKEEPER: usock_handler: recv return 9, got message [INET_OFF]
adsl_down: Notify alphaWANMediator
20:01:06 W_MEDIATOR: Dev Type: DSL Dev ID: 0 Event: Primary Down State: INIT
20:01:06    TR069: WANPortMap_notify_edit_loop: /runtime/wan/defaultroute=9
20:01:06 W_MEDIATOR: secondary_action: Defaultroute is changed to 9
send USER1 to 1637
20:01:06      DNS: Catch USER1
20:01:06      DNS: Default RT connection: DOWN
20:01:06      DNS: Connection Down
[/etc/templates/wan_3g.sh] [start] ...
wan_3g.sh: Notify alphaWanMediator
[/var/run/wan_3g_start.sh] ...
20:01:07 W_MEDIATOR: Dev Type: 3G Dev ID: 0 Event: SetDefaultnode
20:01:07 W_MEDIATOR: secondary_action: Defaultroute is changed to 9
20:01:39      DNS: Primary DNS down switch to Secondary DNS
[/spoiler]
« Última modificación: 04-06-2012, 23:36 (Lunes) por gmtii »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #41 en: 05-06-2012, 18:58 (Martes) »
He dividido el antiguo hilo (el que incluía los dos routers) en dos.
Así todo está organizado y claro.
Desgraciadamente, algunas respuestas se han desvirtuado algo, así que aquí tenéis el otro hilo por si tenéis dudas: https://foro.seguridadwireless.net/openwrt/openwrt-en-routers-de-telefonica-home-station-alpha-asl26555-y-adb-p-dg-a4001n1//

necsud

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #42 en: 06-06-2012, 00:04 (Miércoles) »
Este es el output para el nuevo firmware que mandaste.

[spoiler]
Código: [Seleccionar]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.06.05 17:51:42 =~=~=~=~=~=~=~=~=~=~=~=



1.0.1 U-Boot 1.1.3 (Nov  1 2010 - 12:17:34) - SVN revision : 14941


Model: ASL-26555


Board: Ralink APSoC DRAM:  32 MB

config usb..

Command "mdio": 0x8020ab80 => 0x81fb6b80

Command "cp": 0x8020c428 => 0x81fb8428

Command "erase": 0x8020c578 => 0x81fb8578

Command "go": 0x8020d940 => 0x81fb9940

Command "reset": 0x8021bbc0 => 0x81fc7bc0

Command "bootm": 0x8020e1b4 => 0x81fba1b4

Command "tftpboot": 0x8020f910 => 0x81fbb910

Command "printenv": 0x8020fed0 => 0x81fbbed0

Command "setenv": 0x80210ac8 => 0x81fbcac8

Command "saveenv": 0x80210c38 => 0x81fbcc38

Command "version": 0x80210d60 => 0x81fbcd60

Command "help": 0x80210dac => 0x81fbcdac

Command "?": 0x80210dac => 0x81fbcdac

Command "httpsvr": 0x80215170 => 0x81fc1170

Command "md": 0x80215690 => 0x81fc1690

Command "mm": 0x802159c8 => 0x81fc19c8

Command "nm": 0x80215a20 => 0x81fc1a20

Command "mw": 0x80215a78 => 0x81fc1a78

spi_wait_nsec: 5f

spi device id: 1 2 16 4d 0 (2164d00)

find flash: S25FL064P

============================================

Ralink UBoot Version: 3.3 Alpha

--------------------------------------------

ASIC 3052_MP2 (Port5<->RvMII)

DRAM component: 128 Mbits SDR

DRAM bus: 32 bit

Total memory: 32 MBytes

Flash component: SPI Flash

Date:Nov  1 2010  Time:12:17:34

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384

## Powering down port 0 ~ 4.


Please choose the operation:

   1: Load system code to SDRAM via TFTP.

   2: Load system code then write to Flash via TFTP.

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   9: Load Boot Loader code then write to Flash via TFTP.



You choosed 1


 0

## Powering up port 0 ~ 4.



   

1: System Load Linux to SDRAM via TFTP.

 Please Input new ones /or Ctrl-C to discard

Input device IP (192.168.1.1) ==:192.168.1.1

Input server IP (192.168.1.33) ==:192.168.1.33

Input Linux Kernel filename (firmwareRAM.bin) ==:firmwareRAM.bin


 netboot_common, argc= 3


 KSEG1ADDR(NetTxPacket) = 0xA1FE7480


 NetLoop,call eth_halt !


 NetLoop,call eth_init !


 Waitting for RX_DMA_BUSY status Start... done


 Header Payload scatter function is Disable !!


 ETH_STATE_ACTIVE!!

Using Eth0 (10/100-M) device

TFTP from server 192.168.1.33; our IP address is 192.168.1.1

Filename 'firmwareRAM.bin'.


 TIMEOUT_COUNT=10,Load address: 0x80500000

Loading: *Got ARP REPLY, set server/gtwy eth addr (00:1f:16:56:68:8e)

Got it

#

 first block received 

################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

##################

done

Bytes transferred = 2420914 (24f0b2 hex)

NetBootFileXferSize= 0024f0b2

Automatic boot of image at addr 0x80500000 ...

## Booting image at 80500000 ...

   Image Name:   MIPS OpenWrt Linux-3.2.9

   Created:      2012-03-19  22:30:29 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    2420850 Bytes =  2.3 MB

   Load Address: 80000000

   Entry Point:  80000000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK


Starting kernel ...


[    0.000000] Linux version 3.2.9 (chisco@chisco-desktop) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #5 Mon Mar 19 22:30:23 WET 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=ASL26555 console=ttyS1,57600 mtdparts=spi0.0:192k(u-boot)ro,64k(boot-env)ro,64k(factory)ro,896k(kernel),14976k(rootfs),15872k@0x50000(firmware),64k@0xff0000(devdata)ro,64k@0xfd0000(cert)ro,64k@0xfe0000(langpack)ro console=ttyS1,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=0002400f
[    0.000000] Readback ErrCtl register=0002400f
[    0.000000] Memory: 28448k/32768k available (1883k kernel code, 4320k reserved, 313k data, 1704k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Alpha ASL26555
[    0.140000] bio: create slab <bio-0> at 0
[    0.150000] Switching to clocksource MIPS
[    0.160000] NET: Registered protocol family 2
[    0.170000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.190000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.200000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.210000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.230000] TCP reno registered
[    0.230000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.240000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260000] NET: Registered protocol family 1
[    3.770000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.780000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    3.800000] msgmni has been set to 55
[    3.810000] io scheduler noop registered
[    3.820000] io scheduler deadline registered (default)
[    3.830000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.840000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    3.860000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    3.880000] m25p80 spi0.0: found s25sl064a, expected s25sl12801
[    3.890000] m25p80 spi0.0: s25sl064a (8192 Kbytes)
[    3.900000] mtd: spi0.0: partitioning exceeds flash size, truncating
[    3.910000] 4 cmdlinepart partitions found on MTD device spi0.0
[    3.920000] Creating 4 MTD partitions on "spi0.0":
[    3.930000] 0x000000000000-0x000000030000 : "u-boot"
[    3.950000] 0x000000030000-0x000000040000 : "boot-env"
[    3.960000] 0x000000040000-0x000000050000 : "factory"
[    3.980000] 0x000000050000-0x000000130000 : "kernel"
[    4.000000] TCP westwood registered
[    4.000000] NET: Registered protocol family 17
[    4.010000] 8021q: 802.1Q VLAN Support v1.8
[    4.040000] Freeing unused kernel memory: 1704k freed
[    4.830000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    4.860000] Button Hotplug driver version 0.4.1
ASL26555: (06_set_iface_mac) mac is
ASL26555: (06_set_iface_mac) Setting wan_mac
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -

Please press Enter to activate this console. [    8.510000] Compat-wireless backport release: compat-wireless-2012-02-27-1-r30958
[    8.520000] Backport based on wireless-testing.git master-2012-02-27
[    8.560000] cfg80211: Calling CRDA to update world regulatory domain
[    8.720000] cfg80211: World regulatory domain updated:
[    8.730000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.750000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.760000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.780000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.790000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.810000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.890000] SCSI subsystem initialized
[    8.940000] usbcore: registered new interface driver usbfs
[    8.950000] usbcore: registered new interface driver hub
[    8.970000] usbcore: registered new device driver usb
rt2x00 eeprom: extracting eeprom for asl26555.
rt2x00 eeprom:  no mtd device fo[    9.200000] phy0 -> rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
und for partitio[    9.220000] rt2800_wmac: probe of rt2800_wmac.0 failed with error -2
n devdata
[    9.370000] PPP generic driver version 2.4.2
[    9.460000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.630000] NET: Registered protocol family 24
[    9.700000] nf_conntrack version 0.5.0 (471 buckets, 1884 max)
[    9.980000] dwc_otg: version 2.72a 24-JUN-2008
[    9.990000] dwc_otg: Core Release: 2.66a
[   10.200000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[   10.210000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[   10.220000] dwc_otg: Using DMA mode
[   10.230000] dwc_otg: Device using Buffer DMA mode
[   10.240000] dwc_otg dwc_otg.0: DWC OTG Controller
[   10.250000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   10.260000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[   10.270000] dwc_otg: Init: Port Power? op_state=1
[   10.280000] dwc_otg: Init: Power Port (0)
[   10.290000] hub 1-0:1.0: USB hub found
[   10.300000] hub 1-0:1.0: 1 port detected
[   10.350000] Initializing USB Mass Storage driver...
[   10.360000] usbcore: registered new interface driver usb-storage
[   10.370000] USB Mass Storage support registered.
[   13.250000] ramips-wdt: timeout value 60 must be 0 < timeout < 33
[   19.240000] device eth0.1 entered promiscuous mode
[   19.250000] device eth0 entered promiscuous mode
[   19.310000] br-lan: port 1(eth0.1) entering forwarding state
[   19.320000] br-lan: port 1(eth0.1) entering forwarding state



BusyBox v1.19.3 (2012-03-18 14:02:26 WET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 ATTITUDE ADJUSTMENT (bleeding edge, r30958) ----------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/#
[/spoiler]

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #43 en: 06-06-2012, 00:11 (Miércoles) »
hola,

nada, veo que la flash si la reconoce bien, lo que pasa que el particionado esta hecho para 16M y ahí esta el error, que se queda a medias :-)

prueba este otro firmware que si tiene el particionado clavado a tu flash

http://www.mediafire.com/?1jj1i3et1fms9aa


luego tenemos que resolver la extracción de MACs que como ves un poco más abajo falla porque no tienes particion devdata...


necsud

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #44 en: 07-06-2012, 00:49 (Jueves) »
probe el firmware y anda mucho mejor, crea bien las particiones en mtd, pero como dices me da un error al leer la mac de la wan, este es el log del uboot

[spoiler]
Código: [Seleccionar]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.06.06 18:42:43 =~=~=~=~=~=~=~=~=~=~=~=



1.0.1 U-Boot 1.1.3 (Nov  1 2010 - 12:17:34) - SVN revision : 14941


Model: ASL-26555


Board: Ralink APSoC DRAM:  32 MB

config usb..

Command "mdio": 0x8020ab80 => 0x81fb6b80

Command "cp": 0x8020c428 => 0x81fb8428

Command "erase": 0x8020c578 => 0x81fb8578

Command "go": 0x8020d940 => 0x81fb9940

Command "reset": 0x8021bbc0 => 0x81fc7bc0

Command "bootm": 0x8020e1b4 => 0x81fba1b4

Command "tftpboot": 0x8020f910 => 0x81fbb910

Command "printenv": 0x8020fed0 => 0x81fbbed0

Command "setenv": 0x80210ac8 => 0x81fbcac8

Command "saveenv": 0x80210c38 => 0x81fbcc38

Command "version": 0x80210d60 => 0x81fbcd60

Command "help": 0x80210dac => 0x81fbcdac

Command "?": 0x80210dac => 0x81fbcdac

Command "httpsvr": 0x80215170 => 0x81fc1170

Command "md": 0x80215690 => 0x81fc1690

Command "mm": 0x802159c8 => 0x81fc19c8

Command "nm": 0x80215a20 => 0x81fc1a20

Command "mw": 0x80215a78 => 0x81fc1a78

spi_wait_nsec: 5f

spi device id: 1 2 16 4d 0 (2164d00)

find flash: S25FL064P

============================================

Ralink UBoot Version: 3.3 Alpha

--------------------------------------------

ASIC 3052_MP2 (Port5<->RvMII)

DRAM component: 128 Mbits SDR

DRAM bus: 32 bit

Total memory: 32 MBytes

Flash component: SPI Flash

Date:Nov  1 2010  Time:12:17:34

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384

## Powering down port 0 ~ 4.


Please choose the operation:

   1: Load system code to SDRAM via TFTP.

   2: Load system code then write to Flash via TFTP.

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   9: Load Boot Loader code then write to Flash via TFTP.



You choosed 1


 0

## Powering up port 0 ~ 4.



   

1: System Load Linux to SDRAM via TFTP.

 Please Input new ones /or Ctrl-C to discard

Input device IP (192.168.1.1) ==:192.168.1.1

Input server IP (192.168.1.33) ==:192.168.1.33

Input Linux Kernel filename (firmwareRAM.bin) ==:firmwareRAM.bin


 netboot_common, argc= 3


 KSEG1ADDR(NetTxPacket) = 0xA1FE7480


 NetLoop,call eth_halt !


 NetLoop,call eth_init !


 Waitting for RX_DMA_BUSY status Start... done


 Header Payload scatter function is Disable !!


 ETH_STATE_ACTIVE!!

Using Eth0 (10/100-M) device

TFTP from server 192.168.1.33; our IP address is 192.168.1.1

Filename 'firmwareRAM.bin'.


 TIMEOUT_COUNT=10,Load address: 0x80500000

Loading: *Got ARP REPLY, set server/gtwy eth addr (00:1f:16:56:68:8e)

Got it

#

 first block received 

###############################################################checksum bad

#

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

###########################################

done

Bytes transferred = 2879683 (2bf0c3 hex)

NetBootFileXferSize= 002bf0c3

Automatic boot of image at addr 0x80500000 ...

## Booting image at 80500000 ...

   Image Name:   MIPS OpenWrt Linux-3.3.7

   Created:      2012-06-05  22:02:06 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    2879619 Bytes =  2.7 MB

   Load Address: 80000000

   Entry Point:  80000000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK


Starting kernel ...


[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #6 Tue Jun 5 23:01:57 WEST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=ASL26555 console=ttyS1,57600 mtdparts=spi0.0:192k(uboot)ro,64k(boot_env)ro,64k(rgbd)ro,896k(kernel),6848k(rootfs),64k(cert)ro,64k(langpack)ro,7744k@0x50000(linux) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=0000400f
[    0.000000] Readback ErrCtl register=0000400f
[    0.000000] Memory: 27996k/32768k available (1907k kernel code, 4772k reserved, 324k data, 2140k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Alpha ASL26555
[    0.130000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[    0.140000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[    0.150000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[    0.170000] bio: create slab <bio-0> at 0
[    0.180000] Switching to clocksource MIPS
[    0.190000] NET: Registered protocol family 2
[    0.200000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.220000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260000] TCP reno registered
[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.290000] NET: Registered protocol family 1
[    4.490000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.500000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    4.520000] msgmni has been set to 54
[    4.530000] io scheduler noop registered
[    4.540000] io scheduler deadline registered (default)
[    4.550000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.560000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    4.580000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    4.600000] m25p80 spi0.0: s25sl064p (8192 Kbytes)
[    4.610000] 8 cmdlinepart partitions found on MTD device spi0.0
[    4.620000] Creating 8 MTD partitions on "spi0.0":
[    4.630000] 0x000000000000-0x000000030000 : "uboot"
[    4.640000] 0x000000030000-0x000000040000 : "boot_env"
[    4.660000] 0x000000040000-0x000000050000 : "rgbd"
[    4.670000] 0x000000050000-0x000000130000 : "kernel"
[    4.680000] 0x000000130000-0x0000007e0000 : "rootfs"
[    4.700000] mtd: partition "rootfs" set to be root filesystem
[    4.710000] split_squashfs: no squashfs found in "spi0.0"
[    4.720000] 0x0000007e0000-0x0000007f0000 : "cert"
[    4.730000] 0x0000007f0000-0x000000800000 : "langpack"
[    4.750000] 0x000000050000-0x0000007e0000 : "linux"
[    4.770000] TCP westwood registered
[    4.780000] NET: Registered protocol family 17
[    4.780000] 8021q: 802.1Q VLAN Support v1.8
[    4.820000] Freeing unused kernel memory: 2140k freed
[    5.700000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    5.730000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -

Please press Enter to activate this console. [    9.390000] Compat-wireless backport release: compat-wireless-2012-04-17-2-r31855
[    9.400000] Backport based on wireless-testing.git master-2012-04-17
[    9.450000] cfg80211: Calling CRDA to update world regulatory domain
[    9.590000] cfg80211: World regulatory domain updated:
[    9.600000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.610000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.630000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.650000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.660000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.680000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.790000] SCSI subsystem initialized
[    9.850000] usbcore: registered new interface driver usbfs
[    9.860000] usbcore: registered new interface driver hub
[    9.880000] usbcore: registered new device driver usb
rt2x00 eeprom:  no mtd device fo[   10.170000] phy0 -> rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
und for partitio[   10.190000] rt2800_wmac: probe of rt2800_wmac.0 failed with error -2
n devdata
[   10.360000] RPC: Registered named UNIX socket transport module.
[   10.370000] RPC: Registered udp transport module.
[   10.380000] RPC: Registered tcp transport module.
[   10.390000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.730000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   10.800000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.010000] nf_conntrack version 0.5.0 (470 buckets, 1880 max)
[   11.320000] dwc_otg: version 2.72a 24-JUN-2008
[   11.330000] dwc_otg: Core Release: 2.66a
[   11.540000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[   11.550000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[   11.570000] dwc_otg: Using DMA mode
[   11.570000] dwc_otg: Device using Buffer DMA mode
[   11.580000] dwc_otg dwc_otg.0: DWC OTG Controller
[   11.590000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   11.610000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[   11.620000] dwc_otg: Init: Port Power? op_state=1
[   11.630000] dwc_otg: Init: Power Port (0)
[   11.640000] hub 1-0:1.0: USB hub found
[   11.640000] hub 1-0:1.0: 1 port detected
[   11.690000] usbcore: registered new interface driver cdc_acm
[   11.700000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   11.760000] usbcore: registered new interface driver snd-usb-audio
[   11.800000] usbcore: registered new interface driver usbserial
[   11.810000] USB Serial support registered for generic
[   11.820000] usbcore: registered new interface driver usbserial_generic
[   11.840000] usbserial: USB Serial Driver core
[   11.870000] Initializing USB Mass Storage driver...
[   11.880000] usbcore: registered new interface driver usb-storage
[   11.900000] USB Mass Storage support registered.
[   11.940000] USB Serial support registered for cp210x
[   11.950000] usbcore: registered new interface driver cp210x
[   11.960000] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
[   11.990000] USB Serial support registered for pl2303
[   12.000000] usbcore: registered new interface driver pl2303
[   12.010000] pl2303: Prolific PL2303 USB to serial adaptor driver
[   14.520000] device eth0.1 entered promiscuous mode
[   14.530000] device eth0 entered promiscuous mode
[   14.550000] br-lan: port 1(eth0.1) entered forwarding state
[   14.560000] br-lan: port 1(eth0.1) entered forwarding state
[   16.560000] br-lan: port 1(eth0.1) entered forwarding state
[   26.970000] ramips-wdt: timeout value 60 must be 0 < timeout < 33
[/spoiler]


gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #45 en: 07-06-2012, 20:57 (Jueves) »
hola,

estupendo; te adjunto la versión para flashear ... entiende que al flashear vamos a borrar el firm original y perderás la ADSL a parte de cosas peores  ^-^

http://www.mediafire.com/?nezks85p99q66id

Si que antes debes hacer copia de todas las particiones por si acaso. Hazlo en un pendrive formateado en VFAT o EXT3/4. Mira la tabla con cat /proc/mtd y vas guardando copia de cada una con el comando

dd if=/dev/mtd0 of=/mnt/sda1/uboot

La partición linux coincide con el firmware original; deberíamos poder volver a este flasheandola desde el firmware de arranque en RAM, pero no lo he probado la verdad.

Las comprimes y las pones en algún sitio para descargar para ver dónde están las MAC.


Saludos.

probe el firmware y anda mucho mejor, crea bien las particiones en mtd, pero como dices me da un error al leer la mac de la wan, este es el log del uboot

[spoiler]
Código: [Seleccionar]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.06.06 18:42:43 =~=~=~=~=~=~=~=~=~=~=~=



1.0.1 U-Boot 1.1.3 (Nov  1 2010 - 12:17:34) - SVN revision : 14941


Model: ASL-26555


Board: Ralink APSoC DRAM:  32 MB

config usb..

Command "mdio": 0x8020ab80 => 0x81fb6b80

Command "cp": 0x8020c428 => 0x81fb8428

Command "erase": 0x8020c578 => 0x81fb8578

Command "go": 0x8020d940 => 0x81fb9940

Command "reset": 0x8021bbc0 => 0x81fc7bc0

Command "bootm": 0x8020e1b4 => 0x81fba1b4

Command "tftpboot": 0x8020f910 => 0x81fbb910

Command "printenv": 0x8020fed0 => 0x81fbbed0

Command "setenv": 0x80210ac8 => 0x81fbcac8

Command "saveenv": 0x80210c38 => 0x81fbcc38

Command "version": 0x80210d60 => 0x81fbcd60

Command "help": 0x80210dac => 0x81fbcdac

Command "?": 0x80210dac => 0x81fbcdac

Command "httpsvr": 0x80215170 => 0x81fc1170

Command "md": 0x80215690 => 0x81fc1690

Command "mm": 0x802159c8 => 0x81fc19c8

Command "nm": 0x80215a20 => 0x81fc1a20

Command "mw": 0x80215a78 => 0x81fc1a78

spi_wait_nsec: 5f

spi device id: 1 2 16 4d 0 (2164d00)

find flash: S25FL064P

============================================

Ralink UBoot Version: 3.3 Alpha

--------------------------------------------

ASIC 3052_MP2 (Port5<->RvMII)

DRAM component: 128 Mbits SDR

DRAM bus: 32 bit

Total memory: 32 MBytes

Flash component: SPI Flash

Date:Nov  1 2010  Time:12:17:34

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384

## Powering down port 0 ~ 4.


Please choose the operation:

   1: Load system code to SDRAM via TFTP.

   2: Load system code then write to Flash via TFTP.

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   9: Load Boot Loader code then write to Flash via TFTP.



You choosed 1


 0

## Powering up port 0 ~ 4.



  

1: System Load Linux to SDRAM via TFTP.

 Please Input new ones /or Ctrl-C to discard

Input device IP (192.168.1.1) ==:192.168.1.1

Input server IP (192.168.1.33) ==:192.168.1.33

Input Linux Kernel filename (firmwareRAM.bin) ==:firmwareRAM.bin


 netboot_common, argc= 3


 KSEG1ADDR(NetTxPacket) = 0xA1FE7480


 NetLoop,call eth_halt !


 NetLoop,call eth_init !


 Waitting for RX_DMA_BUSY status Start... done


 Header Payload scatter function is Disable !!


 ETH_STATE_ACTIVE!!

Using Eth0 (10/100-M) device

TFTP from server 192.168.1.33; our IP address is 192.168.1.1

Filename 'firmwareRAM.bin'.


 TIMEOUT_COUNT=10,Load address: 0x80500000

Loading: *Got ARP REPLY, set server/gtwy eth addr (00:1f:16:56:68:8e)

Got it

#

 first block received  

###############################################################checksum bad

#

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

###########################################

done

Bytes transferred = 2879683 (2bf0c3 hex)

NetBootFileXferSize= 002bf0c3

Automatic boot of image at addr 0x80500000 ...

## Booting image at 80500000 ...

   Image Name:   MIPS OpenWrt Linux-3.3.7

   Created:      2012-06-05  22:02:06 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    2879619 Bytes =  2.7 MB

   Load Address: 80000000

   Entry Point:  80000000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK


Starting kernel ...


[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #6 Tue Jun 5 23:01:57 WEST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=ASL26555 console=ttyS1,57600 mtdparts=spi0.0:192k(uboot)ro,64k(boot_env)ro,64k(rgbd)ro,896k(kernel),6848k(rootfs),64k(cert)ro,64k(langpack)ro,7744k@0x50000(linux) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=0000400f
[    0.000000] Readback ErrCtl register=0000400f
[    0.000000] Memory: 27996k/32768k available (1907k kernel code, 4772k reserved, 324k data, 2140k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Alpha ASL26555
[    0.130000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[    0.140000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[    0.150000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[    0.170000] bio: create slab <bio-0> at 0
[    0.180000] Switching to clocksource MIPS
[    0.190000] NET: Registered protocol family 2
[    0.200000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.220000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260000] TCP reno registered
[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.290000] NET: Registered protocol family 1
[    4.490000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.500000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    4.520000] msgmni has been set to 54
[    4.530000] io scheduler noop registered
[    4.540000] io scheduler deadline registered (default)
[    4.550000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.560000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    4.580000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    4.600000] m25p80 spi0.0: s25sl064p (8192 Kbytes)
[    4.610000] 8 cmdlinepart partitions found on MTD device spi0.0
[    4.620000] Creating 8 MTD partitions on "spi0.0":
[    4.630000] 0x000000000000-0x000000030000 : "uboot"
[    4.640000] 0x000000030000-0x000000040000 : "boot_env"
[    4.660000] 0x000000040000-0x000000050000 : "rgbd"
[    4.670000] 0x000000050000-0x000000130000 : "kernel"
[    4.680000] 0x000000130000-0x0000007e0000 : "rootfs"
[    4.700000] mtd: partition "rootfs" set to be root filesystem
[    4.710000] split_squashfs: no squashfs found in "spi0.0"
[    4.720000] 0x0000007e0000-0x0000007f0000 : "cert"
[    4.730000] 0x0000007f0000-0x000000800000 : "langpack"
[    4.750000] 0x000000050000-0x0000007e0000 : "linux"
[    4.770000] TCP westwood registered
[    4.780000] NET: Registered protocol family 17
[    4.780000] 8021q: 802.1Q VLAN Support v1.8
[    4.820000] Freeing unused kernel memory: 2140k freed
[    5.700000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    5.730000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -

Please press Enter to activate this console. [    9.390000] Compat-wireless backport release: compat-wireless-2012-04-17-2-r31855
[    9.400000] Backport based on wireless-testing.git master-2012-04-17
[    9.450000] cfg80211: Calling CRDA to update world regulatory domain
[    9.590000] cfg80211: World regulatory domain updated:
[    9.600000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.610000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.630000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.650000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.660000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.680000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.790000] SCSI subsystem initialized
[    9.850000] usbcore: registered new interface driver usbfs
[    9.860000] usbcore: registered new interface driver hub
[    9.880000] usbcore: registered new device driver usb
rt2x00 eeprom:  no mtd device fo[   10.170000] phy0 -> rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
und for partitio[   10.190000] rt2800_wmac: probe of rt2800_wmac.0 failed with error -2
n devdata
[   10.360000] RPC: Registered named UNIX socket transport module.
[   10.370000] RPC: Registered udp transport module.
[   10.380000] RPC: Registered tcp transport module.
[   10.390000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.730000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   10.800000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.010000] nf_conntrack version 0.5.0 (470 buckets, 1880 max)
[   11.320000] dwc_otg: version 2.72a 24-JUN-2008
[   11.330000] dwc_otg: Core Release: 2.66a
[   11.540000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[   11.550000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[   11.570000] dwc_otg: Using DMA mode
[   11.570000] dwc_otg: Device using Buffer DMA mode
[   11.580000] dwc_otg dwc_otg.0: DWC OTG Controller
[   11.590000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   11.610000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[   11.620000] dwc_otg: Init: Port Power? op_state=1
[   11.630000] dwc_otg: Init: Power Port (0)
[   11.640000] hub 1-0:1.0: USB hub found
[   11.640000] hub 1-0:1.0: 1 port detected
[   11.690000] usbcore: registered new interface driver cdc_acm
[   11.700000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   11.760000] usbcore: registered new interface driver snd-usb-audio
[   11.800000] usbcore: registered new interface driver usbserial
[   11.810000] USB Serial support registered for generic
[   11.820000] usbcore: registered new interface driver usbserial_generic
[   11.840000] usbserial: USB Serial Driver core
[   11.870000] Initializing USB Mass Storage driver...
[   11.880000] usbcore: registered new interface driver usb-storage
[   11.900000] USB Mass Storage support registered.
[   11.940000] USB Serial support registered for cp210x
[   11.950000] usbcore: registered new interface driver cp210x
[   11.960000] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
[   11.990000] USB Serial support registered for pl2303
[   12.000000] usbcore: registered new interface driver pl2303
[   12.010000] pl2303: Prolific PL2303 USB to serial adaptor driver
[   14.520000] device eth0.1 entered promiscuous mode
[   14.530000] device eth0 entered promiscuous mode
[   14.550000] br-lan: port 1(eth0.1) entered forwarding state
[   14.560000] br-lan: port 1(eth0.1) entered forwarding state
[   16.560000] br-lan: port 1(eth0.1) entered forwarding state
[   26.970000] ramips-wdt: timeout value 60 must be 0 < timeout < 33
[/spoiler]


« Última modificación: 07-06-2012, 21:03 (Jueves) por gmtii »

necsud

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #46 en: 09-06-2012, 04:41 (Sábado) »
Antes de flashear con tu rom, copie todos los mtd. Este es el link donde los puse para que los veas.
Tengo una consulta, ¿como es que ves de donde se leen las macs? me gustaria aprender.

http://www.mediafire.com/?vif9nw2af62b66y,yc46q7ik00bhf1c,x6mrk7bb3dhj7fi,m8g2m2o85mze609,do5deuu1dbhe86d,c9vmt219wx5hmlu,7cu91fe14y00kym,hm31ap6627jou2x

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #47 en: 10-06-2012, 12:49 (Domingo) »
buenas,

la cosa es que el RT3052F necesita un fichero de eeprom donde se encuentras las MAC del WIFI y demás ajustes; en mi router está en devdata y en el tuyo en boot_env, offset 0x4000. Si miras el dump con un editor hex veras que en 0x4004 aparecen 6 bytes de tu MAC.

Para inicializar el wifi necesitamos pues la eeprom entera (272 bytes) de 0x4000 a 0x4110. Eso se hace el script 10-rt2x00-eeprom y uci-defaults/network qu eestán en ~/trunk/target/linux/ramips/base-files/etc.

Fijate en los respectivos códigos:

para la MAC

Código: [Seleccionar]
asl26555 | \
lan_mac=$(ramips_get_mac_binary devdata 16388)
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)

y para la eeprom:

Código: [Seleccionar]
case $board in
asl26555 | \
[...]
rt2x00_eeprom_extract "devdata" 16384 272
;;

En fin, que he cambiado el mapa de particiones para llamar a tu boot_env por devdata y listo; borro el firmware anterior y te subo una nueva compilación que debería funcionar 100%!

Manda el log de arranque en cuanto lo pruebes por favor.

http://www.mediafire.com/?1e47dr7lpe71huu

Saludos.


Antes de flashear con tu rom, copie todos los mtd. Este es el link donde los puse para que los veas.
Tengo una consulta, ¿como es que ves de donde se leen las macs? me gustaria aprender.

]http://www.mediafire.com/?1e47dr7lpe71huu]

Saludos.


Antes de flashear con tu rom, copie todos los mtd. Este es el link donde los puse para que los veas.
Tengo una consulta, ¿como es que ves de donde se leen las macs? me gustaria aprender.

http://www.mediafire.com/?1e47dr7lpe71huu


« Última modificación: 10-06-2012, 12:51 (Domingo) por gmtii »

necsud

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #48 en: 11-06-2012, 21:15 (Lunes) »
este es el log del firmware con las particiones mtd corregidas

[spoiler]
Código: [Seleccionar]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.06.10 15:41:09 =~=~=~=~=~=~=~=~=~=~=~=



1.0.1 U-Boot 1.1.3 (Nov  1 2010 - 12:17:34) - SVN revision : 14941


Model: ASL-26555


Board: Ralink APSoC DRAM:  32 MB

config usb..

Command "mdio": 0x8020ab80 => 0x81fb6b80

Command "cp": 0x8020c428 => 0x81fb8428

Command "erase": 0x8020c578 => 0x81fb8578

Command "go": 0x8020d940 => 0x81fb9940

Command "reset": 0x8021bbc0 => 0x81fc7bc0

Command "bootm": 0x8020e1b4 => 0x81fba1b4

Command "tftpboot": 0x8020f910 => 0x81fbb910

Command "printenv": 0x8020fed0 => 0x81fbbed0

Command "setenv": 0x80210ac8 => 0x81fbcac8

Command "saveenv": 0x80210c38 => 0x81fbcc38

Command "version": 0x80210d60 => 0x81fbcd60

Command "help": 0x80210dac => 0x81fbcdac

Command "?": 0x80210dac => 0x81fbcdac

Command "httpsvr": 0x80215170 => 0x81fc1170

Command "md": 0x80215690 => 0x81fc1690

Command "mm": 0x802159c8 => 0x81fc19c8

Command "nm": 0x80215a20 => 0x81fc1a20

Command "mw": 0x80215a78 => 0x81fc1a78

spi_wait_nsec: 5f

spi device id: 1 2 16 4d 0 (2164d00)

find flash: S25FL064P

============================================

Ralink UBoot Version: 3.3 Alpha

--------------------------------------------

ASIC 3052_MP2 (Port5<->RvMII)

DRAM component: 128 Mbits SDR

DRAM bus: 32 bit

Total memory: 32 MBytes

Flash component: SPI Flash

Date:Nov  1 2010  Time:12:17:34

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384

## Powering down port 0 ~ 4.


Please choose the operation:

   1: Load system code to SDRAM via TFTP.

   2: Load system code then write to Flash via TFTP.

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   9: Load Boot Loader code then write to Flash via TFTP.

 0

   

3: System Boot system code via Flash.

## Booting image at bf050000 ...

   Image Name:   MIPS OpenWrt Linux-3.3.8

   Created:      2012-06-10  10:41:45 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    832954 Bytes = 813.4 kB

   Load Address: 80000000

   Entry Point:  80000000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK


Starting kernel ...


[    0.000000] Linux version 3.3.8 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Sun Jun 10 11:41:32 WEST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=ASL26555 console=ttyS1,57600 mtdparts=spi0.0:192k(uboot)ro,64k(devdata)ro,64k(rgdb)ro,896k(kernel),6848k(rootfs),64k(cert)ro,64k(langpack)ro,7744k@0x50000(linux) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=0002400f
[    0.000000] Readback ErrCtl register=0002400f
[    0.000000] Memory: 29964k/32768k available (1908k kernel code, 2804k reserved, 322k data, 172k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Alpha ASL26555
[    0.130000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[    0.140000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[    0.150000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[    0.170000] bio: create slab <bio-0> at 0
[    0.180000] Switching to clocksource MIPS
[    0.190000] NET: Registered protocol family 2
[    0.200000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.220000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260000] TCP reno registered
[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.290000] NET: Registered protocol family 1
[    0.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.350000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.370000] msgmni has been set to 58
[    0.380000] io scheduler noop registered
[    0.380000] io scheduler deadline registered (default)
[    0.400000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.410000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.420000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.440000] m25p80 spi0.0: found s25sl064a, expected s25sl12801
[    0.460000] m25p80 spi0.0: s25sl064a (8192 Kbytes)
[    0.470000] 8 cmdlinepart partitions found on MTD device spi0.0
[    0.480000] Creating 8 MTD partitions on "spi0.0":
[    0.490000] 0x000000000000-0x000000030000 : "uboot"
[    0.500000] 0x000000030000-0x000000040000 : "devdata"
[    0.510000] 0x000000040000-0x000000050000 : "rgdb"
[    0.530000] 0x000000050000-0x000000130000 : "kernel"
[    0.540000] 0x000000130000-0x0000007e0000 : "rootfs"
[    0.560000] mtd: partition "rootfs" set to be root filesystem
[    0.570000] mtd: partition "rootfs_data" created automatically, ofs=350000, len=490000
[    0.580000] 0x000000350000-0x0000007e0000 : "rootfs_data"
[    0.600000] 0x0000007e0000-0x0000007f0000 : "cert"
[    0.610000] 0x0000007f0000-0x000000800000 : "langpack"
[    0.620000] 0x000000050000-0x0000007e0000 : "linux"
[    0.650000] TCP westwood registered
[    0.650000] NET: Registered protocol family 17
[    0.660000] 8021q: 802.1Q VLAN Support v1.8
[    0.680000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.700000] Freeing unused kernel memory: 172k freed
[    3.720000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    3.990000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    8.020000] JFFS2 notice: (379) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
[    9.270000] SCSI subsystem initialized
[    9.750000] usbcore: registered new interface driver usbfs
[    9.770000] usbcore: registered new interface driver hub
[    9.780000] usbcore: registered new device driver usb
[   10.560000] dwc_otg: version 2.72a 24-JUN-2008
[   10.570000] dwc_otg: Core Release: 2.66a
[   10.780000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[   10.790000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[   10.800000] dwc_otg: Using DMA mode
[   10.810000] dwc_otg: Device using Buffer DMA mode
[   10.820000] dwc_otg dwc_otg.0: DWC OTG Controller
[   10.830000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   10.840000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[   10.860000] dwc_otg: Init: Port Power? op_state=1
[   10.860000] dwc_otg: Init: Power Port (0)
[   10.870000] hub 1-0:1.0: USB hub found
[   10.880000] hub 1-0:1.0: 1 port detected
[   11.020000] Initializing USB Mass Storage driver...
[   11.030000] usbcore: registered new interface driver usb-storage
[   11.040000] USB Mass Storage support registered.
switching to jffs2
- init -

Please press Enter to activate this console. [   32.280000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[   32.300000] Backport based on wireless-testing.git master-2012-05-29
[   32.310000] compat.git: wireless-testing.git
[   32.400000] cfg80211: Calling CRDA to update world regulatory domain
[   32.410000] cfg80211: World regulatory domain updated:
[   32.420000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   32.440000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   32.450000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   32.470000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   32.480000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   32.500000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.470000] cfg80211: World regulatory domain updated:
[   33.480000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   33.490000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.510000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   33.520000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   33.540000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.560000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   34.320000] RPC: Registered named UNIX socket transport module.
[   34.330000] RPC: Registered udp transport module.
[   34.340000] RPC: Registered tcp transport module.
[   34.350000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   35.710000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   35.970000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   36.300000] nf_conntrack version 0.5.0 (470 buckets, 1880 max)
[   36.840000] usbcore: registered new interface driver cdc_acm
[   36.850000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   37.030000] usbcore: registered new interface driver snd-usb-audio
[   37.180000] usbcore: registered new interface driver usbserial
[   37.190000] USB Serial support registered for generic
[   37.200000] usbcore: registered new interface driver usbserial_generic
[   37.210000] usbserial: USB Serial Driver core
[   37.290000] USB Serial support registered for cp210x
[   37.300000] usbcore: registered new interface driver cp210x
[   37.310000] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
[   37.450000] USB Serial support registered for pl2303
[   37.460000] usbcore: registered new interface driver pl2303
[   37.470000] pl2303: Prolific PL2303 USB to serial adaptor driver
[   41.040000] device eth0.1 entered promiscuous mode
[   41.050000] device eth0 entered promiscuous mode
[   41.060000] br-lan: port 1(eth0.1) entered forwarding state
[   41.070000] br-lan: port 1(eth0.1) entered forwarding state
[   43.070000] br-lan: port 1(eth0.1) entered forwarding state
[   52.400000] ramips-wdt: timeout value 60 must be 0 < timeout < 33



BusyBox v1.19.4 (2012-06-05 23:31:30 WEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r32117)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/#
[/spoiler]

Algo que no me queda claro es cual de las puettas rj45 es la wan y ademas en la lista de ifconfig solo aparece eth0, eth0.1 y eth0.2 cuando tiene 4 puertas.

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #49 en: 12-06-2012, 08:51 (Martes) »
échale un ojo a esto: http://wiki.openwrt.org/doc/uci/network

y para configurar el wifi aquí: http://entrechips.blogspot.com.es/2012/05/configuracion-wifi-asl26555-openwrt.html

generalmente tu red WAN será el wifi, y la lan el switch ethernet.

Saludos.

este es el log del firmware con las particiones mtd corregidas

[spoiler]
Código: [Seleccionar]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.06.10 15:41:09 =~=~=~=~=~=~=~=~=~=~=~=



1.0.1 U-Boot 1.1.3 (Nov  1 2010 - 12:17:34) - SVN revision : 14941


Model: ASL-26555


Board: Ralink APSoC DRAM:  32 MB

config usb..

Command "mdio": 0x8020ab80 => 0x81fb6b80

Command "cp": 0x8020c428 => 0x81fb8428

Command "erase": 0x8020c578 => 0x81fb8578

Command "go": 0x8020d940 => 0x81fb9940

Command "reset": 0x8021bbc0 => 0x81fc7bc0

Command "bootm": 0x8020e1b4 => 0x81fba1b4

Command "tftpboot": 0x8020f910 => 0x81fbb910

Command "printenv": 0x8020fed0 => 0x81fbbed0

Command "setenv": 0x80210ac8 => 0x81fbcac8

Command "saveenv": 0x80210c38 => 0x81fbcc38

Command "version": 0x80210d60 => 0x81fbcd60

Command "help": 0x80210dac => 0x81fbcdac

Command "?": 0x80210dac => 0x81fbcdac

Command "httpsvr": 0x80215170 => 0x81fc1170

Command "md": 0x80215690 => 0x81fc1690

Command "mm": 0x802159c8 => 0x81fc19c8

Command "nm": 0x80215a20 => 0x81fc1a20

Command "mw": 0x80215a78 => 0x81fc1a78

spi_wait_nsec: 5f

spi device id: 1 2 16 4d 0 (2164d00)

find flash: S25FL064P

============================================

Ralink UBoot Version: 3.3 Alpha

--------------------------------------------

ASIC 3052_MP2 (Port5<->RvMII)

DRAM component: 128 Mbits SDR

DRAM bus: 32 bit

Total memory: 32 MBytes

Flash component: SPI Flash

Date:Nov  1 2010  Time:12:17:34

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384

## Powering down port 0 ~ 4.


Please choose the operation:

   1: Load system code to SDRAM via TFTP.

   2: Load system code then write to Flash via TFTP.

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   9: Load Boot Loader code then write to Flash via TFTP.

 0

   

3: System Boot system code via Flash.

## Booting image at bf050000 ...

   Image Name:   MIPS OpenWrt Linux-3.3.8

   Created:      2012-06-10  10:41:45 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    832954 Bytes = 813.4 kB

   Load Address: 80000000

   Entry Point:  80000000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK


Starting kernel ...


[    0.000000] Linux version 3.3.8 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Sun Jun 10 11:41:32 WEST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=ASL26555 console=ttyS1,57600 mtdparts=spi0.0:192k(uboot)ro,64k(devdata)ro,64k(rgdb)ro,896k(kernel),6848k(rootfs),64k(cert)ro,64k(langpack)ro,7744k@0x50000(linux) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=0002400f
[    0.000000] Readback ErrCtl register=0002400f
[    0.000000] Memory: 29964k/32768k available (1908k kernel code, 2804k reserved, 322k data, 172k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Alpha ASL26555
[    0.130000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[    0.140000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[    0.150000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[    0.170000] bio: create slab <bio-0> at 0
[    0.180000] Switching to clocksource MIPS
[    0.190000] NET: Registered protocol family 2
[    0.200000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.220000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260000] TCP reno registered
[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.290000] NET: Registered protocol family 1
[    0.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.350000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.370000] msgmni has been set to 58
[    0.380000] io scheduler noop registered
[    0.380000] io scheduler deadline registered (default)
[    0.400000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.410000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.420000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.440000] m25p80 spi0.0: found s25sl064a, expected s25sl12801
[    0.460000] m25p80 spi0.0: s25sl064a (8192 Kbytes)
[    0.470000] 8 cmdlinepart partitions found on MTD device spi0.0
[    0.480000] Creating 8 MTD partitions on "spi0.0":
[    0.490000] 0x000000000000-0x000000030000 : "uboot"
[    0.500000] 0x000000030000-0x000000040000 : "devdata"
[    0.510000] 0x000000040000-0x000000050000 : "rgdb"
[    0.530000] 0x000000050000-0x000000130000 : "kernel"
[    0.540000] 0x000000130000-0x0000007e0000 : "rootfs"
[    0.560000] mtd: partition "rootfs" set to be root filesystem
[    0.570000] mtd: partition "rootfs_data" created automatically, ofs=350000, len=490000
[    0.580000] 0x000000350000-0x0000007e0000 : "rootfs_data"
[    0.600000] 0x0000007e0000-0x0000007f0000 : "cert"
[    0.610000] 0x0000007f0000-0x000000800000 : "langpack"
[    0.620000] 0x000000050000-0x0000007e0000 : "linux"
[    0.650000] TCP westwood registered
[    0.650000] NET: Registered protocol family 17
[    0.660000] 8021q: 802.1Q VLAN Support v1.8
[    0.680000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.700000] Freeing unused kernel memory: 172k freed
[    3.720000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    3.990000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    8.020000] JFFS2 notice: (379) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
[    9.270000] SCSI subsystem initialized
[    9.750000] usbcore: registered new interface driver usbfs
[    9.770000] usbcore: registered new interface driver hub
[    9.780000] usbcore: registered new device driver usb
[   10.560000] dwc_otg: version 2.72a 24-JUN-2008
[   10.570000] dwc_otg: Core Release: 2.66a
[   10.780000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[   10.790000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[   10.800000] dwc_otg: Using DMA mode
[   10.810000] dwc_otg: Device using Buffer DMA mode
[   10.820000] dwc_otg dwc_otg.0: DWC OTG Controller
[   10.830000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   10.840000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[   10.860000] dwc_otg: Init: Port Power? op_state=1
[   10.860000] dwc_otg: Init: Power Port (0)
[   10.870000] hub 1-0:1.0: USB hub found
[   10.880000] hub 1-0:1.0: 1 port detected
[   11.020000] Initializing USB Mass Storage driver...
[   11.030000] usbcore: registered new interface driver usb-storage
[   11.040000] USB Mass Storage support registered.
switching to jffs2
- init -

Please press Enter to activate this console. [   32.280000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[   32.300000] Backport based on wireless-testing.git master-2012-05-29
[   32.310000] compat.git: wireless-testing.git
[   32.400000] cfg80211: Calling CRDA to update world regulatory domain
[   32.410000] cfg80211: World regulatory domain updated:
[   32.420000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   32.440000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   32.450000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   32.470000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   32.480000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   32.500000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.470000] cfg80211: World regulatory domain updated:
[   33.480000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   33.490000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.510000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   33.520000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   33.540000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.560000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   34.320000] RPC: Registered named UNIX socket transport module.
[   34.330000] RPC: Registered udp transport module.
[   34.340000] RPC: Registered tcp transport module.
[   34.350000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   35.710000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   35.970000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   36.300000] nf_conntrack version 0.5.0 (470 buckets, 1880 max)
[   36.840000] usbcore: registered new interface driver cdc_acm
[   36.850000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   37.030000] usbcore: registered new interface driver snd-usb-audio
[   37.180000] usbcore: registered new interface driver usbserial
[   37.190000] USB Serial support registered for generic
[   37.200000] usbcore: registered new interface driver usbserial_generic
[   37.210000] usbserial: USB Serial Driver core
[   37.290000] USB Serial support registered for cp210x
[   37.300000] usbcore: registered new interface driver cp210x
[   37.310000] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
[   37.450000] USB Serial support registered for pl2303
[   37.460000] usbcore: registered new interface driver pl2303
[   37.470000] pl2303: Prolific PL2303 USB to serial adaptor driver
[   41.040000] device eth0.1 entered promiscuous mode
[   41.050000] device eth0 entered promiscuous mode
[   41.060000] br-lan: port 1(eth0.1) entered forwarding state
[   41.070000] br-lan: port 1(eth0.1) entered forwarding state
[   43.070000] br-lan: port 1(eth0.1) entered forwarding state
[   52.400000] ramips-wdt: timeout value 60 must be 0 < timeout < 33



BusyBox v1.19.4 (2012-06-05 23:31:30 WEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r32117)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/#
[/spoiler]

Algo que no me queda claro es cual de las puettas rj45 es la wan y ademas en la lista de ifconfig solo aparece eth0, eth0.1 y eth0.2 cuando tiene 4 puertas.

barrisl65

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #50 en: 10-07-2012, 09:36 (Martes) »
saludos compañeros aunque acabo de llegar a este gran foro y despues de hacer mi presentacion,

1 comentar tengo un router asl26555, el cual presenta algunos problemas a la hora de  navegar varios usuarios a la vez tango por cable y wifi, su particionado es este:


Creating 11 MTD partitions on "raspi":
0x00000000-0x00030000 : "uboot"
0x00030000-0x00040000 : "boot env"
0x00040000-0x00050000 : "rgdb"
0x00050000-0x01000000 : "firmware"
0x00050000-0x00810000 : "upgrade"
0x00160020-0x00674020 : "rootfs"
0x00810000-0x00fd0000 : "upgrade2"
0x00fd0000-0x00fe0000 : "cert"
0x00fe0000-0x00ff0000 : "langpack"
0x00ff0000-0x01000000 : "devdata"
0x00000000-0x01000000 : "flash"

esto es parte del arranque consguido siguendo vuestras informacion aqui posteada,

mi pregunta hay algun forma de que quitar esa pagina que se coloca en todos los ordenadores en que esta instalado el router para poder navegar con varios ordenadores como hasta ahora realizaba con el router de contrem CT 5361 el cual ya a pasado a mejor vida despues de muchos años funcionando perfectamente.

tambier comunicar aunque no se si sera de ayuda, que este rouer tiene otro puerto serie el JP2, (RX  3,3VCC   GND  TX ) ( 115200 /8N1 sin control de flujo)el cual presenta este arranque:

Bootbase Version: VTC_SPI_BR1.1 | 2009/5/26 14:28:26
RAM: Size = 2048 Kbytes
DRAM POST: Testing:  2048K
OK
Found SPI Flash 512KiB W25X40 at 0xbfc00000

RAS Version: v2.1
System   ID: #3.6.17.0(BE0.C3)3.12.8.128| 2010/12/28

Press any key to enter debug mode within 3 seconds.

................................................................

Copyright (c) 2001 - 2006 TrendChip Technologies Corp.
initialize ch = 0, ethernet address: 00:aa:bb:01:23:45
Wan Channel init ........ done
Initializing ADSL F/W ........ done
Telefonica SET ADSL2PLUS_FIRST!
ANNEXAIJLM
US bitswap on,DS bitswap on
OlrON
SRAOFF
Press ENTER to continue...
Testlab 23
largeD flag=2 (0:maxD=64, 1:maxD=128, 2:maxD=511)
model check flag: on.

product/customer number: 222/6

Copyright (c) 2001 - 2006 TrendChip Technologies Corp.
tc> sys tpget sys show adsl
adslmode=6,adsltype=4,bitswap=0tc> sys tpget wan atm pvc disp
index=0,active=1,encap=0,mode=0,vid=11,vpi=8,vci=35,qostype=0,pcr=0,scr=0,mbs=0index=1,active=1,encap=0,mode=0,vid=12,vpi=8,vci=36,qostype=0,
pcr=301,scr=0,mbs=0index=2,active=0,encap=0,mode=0,vid=4095,vpi=0,vci=0,qostype=0,pcr=0,scr=0,mbs=0index=3,active=0,encap=0,mode=0,vid=4095,
vpi=0,vci=0,qostype=0,pcr=0,scr=0,mbs=0index=4,active=0,encap=0,mode=0,vid=4095,vpi=0,vci=0,qostype=0,pcr=0,scr=0,mbs=0index=5,active=0,encap=0,
mode=0,vid=4095,vpi=0,vci=0,qostype=0,pcr=0,scr=0,mbs=0index=6,active=0,encap=0,mode=0,vid=4095,vpi=0,vci=0,qostype=0,pcr=0,scr=0,mbs=0index=7,
active=0,encap=0,mode=0,vid=4095,vpi=0,vci=0,qostype=0,pcr=0,scr=0,mbs=0COMPLETEtc> sys tpget sys verinfo
Bootbase=VTC_SPI_BR1.1 | 2009/5/26,RAS=v2.1,System=#3.6.17.0(BE0.C3)3.12.8.128[Dec 30 2010 14:43:51],FwVer=3.12.8.128_TC3086,HwVer=T14.F7_6.0,Standard=Multi-Mode,Country Code=255,MAC Address=00:aa:bb:01:23:45tc> sys tpget wan adsl status
current modem status: down
tc> sys tpget wan adsl status
current modem status: down
tc> help
Main commands:
                sys             led             ether
etherd          tcephydbg       bridge          ip
wan             exit            ?               help
tc> sys tpget wan adsl status
current modem status: down
tc> sys tpget wan adsl status
current modem status: down


tc> sys help
valid subcommands:
hostname        password        default         reboot
memutil         view            edit            version
wdog            resetreboot     modelcheck      tpget
tpset           tpprintflag     show            consolemac
verinfo         wan2lan         cpu

tc> sys version
Bootbase Version: VTC_SPI_BR1.1 | 2009/5/26
RAS F/W Version : v2.1                                                          
System  F/W  ID : #3.6.17.0(BE0.C3)3.12.8.128[Dec 30 2010 14:43:51]
DSL FW Version  : FwVer:3.12.8.128_TC3086 HwVer:T14.F7_6.0
Standard        : Multi-Mode
Country Code    : 255
MAC Address     : 00:aa:bb:01:23:45

como se puede observar he estado trasteando un poco pero me da yuyu trastear con el bootbase ,  se podria  sacar copia de este bootbase para tenerlo asi segura la recuperacion ????

realizado busquedas en google con  HWVer: T14.7_6.0, y salen varios que llevan este hardware esto significa que son clones en su totalidad o solo en pa parte del adsl???
« Última modificación: 10-07-2012, 11:58 (Martes) por Noltari »

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #51 en: 10-07-2012, 10:14 (Martes) »
buenas,

qué problemas tienes al navegar?

lo que estás viendo es la parte de la ADSL basada en los chips TC3162LEH y TC3086 ... creo que este router
tiene posibilidades porque al contrario que los comtrend de los que no hay código abierto para el soporte
de ADSL en sus SOC, la parte de la ADSL en el ASL26555 es totalmente independiente de la CPU principal
RT3052 y se comunican vía ethernet (el soc tiene un puerto ethernet 5 conectado al TC3162?) y quizás con
usando algún gpio ¿?

tengo pendiente lograr comunicar la CPU  RT3052 con el TC3162LEH y ver cómo configura el firmware original
la ADSL...

Saludos.

barrisl65

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #52 en: 10-07-2012, 11:33 (Martes) »
hola compañero mil grs por tu rapidisima respuesta:

Citar
buenas,

qué problemas tienes al navegar?

lo que estás viendo es la parte de la ADSL basada en los chips TC3162LEH y TC3086 ... creo que este router
tiene posibilidades porque al contrario que los comtrend de los que no hay código abierto para el soporte
de ADSL en sus SOC, la parte de la ADSL en el ASL26555 es totalmente independiente de la CPU principal
RT3052 y se comunican vía ethernet (el soc tiene un puerto ethernet 5 conectado al TC3162?) y quizás con
usando algún gpio ¿?

tengo pendiente lograr comunicar la CPU  RT3052 con el TC3162LEH y ver cómo configura el firmware original
la ADSL.

bueno como preguntas mis problemas aunque aun no los tengo muy contrastados y lo estoy provando en una linea diferente proveedor  jaztel que quizas sea eso no me deja navegar ordenadores diferente al mismo tiempo tengo uno por cable este funciona bastante bien pero los de wifi nada no hay problemas y eso que he entrado al routes por su pagina de configuracion directa 192.168.1.1/8000, y la configuro pero bien o es problema del tipo de wifi que tenemos o no lo se configurar bien alguna sugerencia, ademas se implanta una pagina creo que la llaman alejandra de telefonica  y no hay manera de quitarla??

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #53 en: 10-07-2012, 11:59 (Martes) »
barrisl65 espero que no te importe, pero te he editado el post con los datos del router porque afectaba al ancho de la página.

Un saludo.

barrisl65

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #54 en: 10-07-2012, 12:24 (Martes) »
pues te lo agradezco efectivamente yo tambien tenia ese problema y estaba consultando con mi pareja habersi sabia como solucionarlo y en cuanto a editarlo tienes todo mi permiso para acerlo no hay ningun problema y repito grs por tu ayuda un saludo

como puedo sacar copia por rs232 del bootbase  sabrias guiarme un poco pues para estos menesteres no estoy muy ducho el en tema?? eso si en principio si se puede pedir que sea paso a paso

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #55 en: 12-07-2012, 19:58 (Jueves) »
hola,

curiosidad, para qué quieres el 'bootbase' del TC3162?

saludos.

barrisl65

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #56 en: 13-07-2012, 00:37 (Viernes) »
saludos compañero gmtil dice:


Citar
hola,

curiosidad, para qué quieres el 'bootbase' del TC3162?

pues quizas como tu bien dices por curiosear un poco y si de paso se aprehenda algo mejor, en como bien digo ya tengoel bootbas o por lo menos eso creo no se si correcto o no . aqui pongo como lo he realizado no encuentro la forma de adjuntar un txt espero no romper el tamaño de la pagina.

Citar
Bootbase Version: VTC_SPI_BR1.1 | 2009/5/26 14:28:26
RAM: Size = 2048 Kbytes
DRAM POST: Testing:  2048K
OK
Found SPI Flash 512KiB W25X40 at 0xbfc00000

RAS Version: v2.1
System   ID: #3.6.17.0(BE0.C3)3.12.8.128| 2010/12/28

Press any key to enter debug mode within 3 seconds.
..
Enter Debug Mode:

(una vez situados en esta posicion y para liberar los comandos y poder realizar su funcion debemos seguir algunos tutoriales que hay en la red para por ejemplo router zyxel con bootbase, aunque no siempre los comandos estan deletreados exactamente como en el tutorial por ejmplo aquí el comando ante,   no lleva el numero uno que llevan en el tutorial que he seguido  nose si este link es correctos si no podieas borrarlo compañeros .

Tutorial a seguir: buscar en google esto: Actualización del ZyXEL 660HW-61 de firmware de Telefónica a firmware original.
Y os sale el tutorial que he seguido para obtener el bootbase de este router, otra cosa es que lo tenga bien realizado pues he puesto como inicion la direccion que sale en el arranque y dos opiciones de tamaño del fichero de 80000, si creeis que debo hacerlo con otra direccion y tamaños pues adelante comentarlo que asi lo realizare,

Comando : atse
Sale este numero : 0199BF012345
Ok ( despues utilizamos el  exe que aconseja en el tutorial  - ZynPass 1.2 en el enlace no esta pero buscandolo por la red sale sin problemas y el  nos da la clave que necesitamos  tecleamos el comando : y la cable tal cual esta aqui:


aten,10860846
OK
Ahora ya estan liberados los comandos y podemos ejecutarlos con su extensiones que sale con el comando help

atdo bfc00000,80000
Starting XMODEM download...
Total 524288 bytes received
Ok
Este comando ejecutado anteriormente esta explicado en su totalidad como bajar el fichero con teratem lo he seguido al pie de la letra.

Comentar que he mirado dentro del fichero que he sacado con 524 k  sale algo asi :

Buffer can't be programmed!.netgear.zyxel...d-link

Esto queire decir que hay modelos de esta marcas que llevan este bootbase ???



LISTADO DE COMANDOS AT QUE CONTIENE EL BOOTBASE:

Enter Debug Mode
athe
======= Debug Command Listing =======
AT          just answer OK
ATHE          print help
ATBAx         change baudrate. 1:38.4k, 2:19.2k, 3:9.6k 4:57.6k 5:115.2k
ATENx,(y)     set BootExtension Debug Flag (y=password)
ATSE          show the seed of password generator
ATTI(h,m,s)   change system time to hour:min:sec or show current time
ATDA(y,m,d)   change system date to year/month/day or show current date
ATDS          dump RAS stack
ATDT          dump Boot Module Common Area
ATDUx,y       dump memory contents from address x for length y
ATRBx         display the  8-bit value of address x
ATRWx         display the 16-bit value of address x
ATRLx         display the 32-bit value of address x
ATGO(x)       run program at addr x or boot router
ATGR          boot router
ATGT          run Hardware Test Program
ATRTw,x,y(,z) RAM test level w, from address x to y (z iterations)
ATSH          dump manufacturer related data in ROM
ATDOx,y       download from address x for length y to PC via XMODEM
ATTD          download router configuration to PC via XMODEM
ATUR          upload router firmware to flash ROM
 

Aqui os podeis fijar como utilizar la ayuda
AYUDA:

ATDT HELP
Flash type = 0x0
Reboot Cnt = 0x0
Debug Flag = 0x0
DRAM size  = 0x200000
Stack Ptr  = 0x0

perdudet

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #57 en: 30-08-2012, 13:36 (Jueves) »
Hola Buenas!

no sé si este es el sitio idoneo para solventar mi duda... pero es que ya no sé ni donde ni a quien preguntar y en movistar no me hacen mucho caso :(

el caso es que antes tenía un zyxel y todo genial... 0 problemas... hasta que un día el wifi murió y me lo cambiaron por un home station amper... y aquí llegó el calvario...

con la ps3 todo perfecto... con el macbook todo perfecto... el problema está en los iphone's que tenemos en casa... y es que cada 2 por 3 el whatsapp no envia ni recibe mensajes... o deja de funcionar la navegación...

contacté con movistar e investigué un poco en la web de apple... y configuré todo tal y como me recomendaron pero el problema persiste y ya no sé que hacer... les pedí que me cambiaran el router pero ni caso...

espero que me podáis ayudar y disculpas si este no es el lugar idóneo...

saludos y gracias!

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #58 en: 30-08-2012, 14:13 (Jueves) »
Si instalas OpenWrt en el router, pierdes la posibilidad de usarlo como módem ADSL.
Así que la única solución es una actualización del firmware por parte de telefónica, o un cambio de router.

Enviado desde mi U30GT-H usando Tapatalk 2

RafaC

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555
« Respuesta #59 en: 11-09-2012, 11:48 (Martes) »
Hola,

Estoy empezando con openwrt en el router ASL26555 y tengo algún problema. El caso es que he instalado los ficheros de gmtii y he conseguido generar la partición jffs2, montar la swap y el sistema de ficheros en un pendrive y alguna cosa mas. El problema es que no soy capaz de generar el fichero "openwrt-ramips-rt305x-asl26555-squashfs-sysupgrade.bin", solo consigo generar el "openwrt-ramips-rt305x-asl26555-initramfs-uImage.bin" que es el de ramfs. El caso es que he aplicado el parche de gmtii pero cuando hago el make con el "Target Images" con "jffs2" y "squashfs" no me genera el squashfs-sysupgrade y solo puedo flashear el ramimage pero ya no puedo generar la particion jffs2 y no puedo guardar cambios. Quiero poder generar el sysupgrade para tener mas control de mis imagenes. ¿Tengo que modificar algo mas  de lo que aparece en el parche para que me genere el sysupgrade?

Gracias.