Ciao a tutti, a casa ho un Alice Gate Wi-Fi 2 plus sul quale vorrei mettere l'Openwrt.
Allego le foto del circuito. Procediamo con ordine. La board che ho io è la AliceAGW2+, nome in codice AGA mi pare, cioé il Alice Gate wifi plus 2 mi sono scaricato il trunk è ho fatto le modifiche necessarie affinché la board riconosca l'immagine di openwrt. Ho il collegamento seriale tramite un adattatore usb-uart. Per flasharla di solito faccio così: - ponticello il pin RX della seriale a massa (cioé sulla board si fa un corto tra il pin 5 e 6) - imposto la porta eth0 del pc su 192.168.1.100 - collego il cavo ethernet sulla porta 2 dell'Alice e al pc - apro firefox sul http://192.168.1.1 - su apre un uploader http per le immagini - scarico e upload-o l'immagine - guardo su minicom l'output Al momento ho messo su un firmware beta che si basa sul quello della US Robotics fatto da roleo più precisamente: http://beghiero.myftp.org/firmware/roleo/pirelli_alice_gate_2_plus_wifi%28AGA%29/fw/beta/ il USRAGW2-PLUS_fs_kernel_3.04L.01.-091113_2200 questo è il log: CFE version 1.0.37-3.1 P12 for BCM96348 (32bit,SP,BE) Build Date: mar set 26 15:13:11 CEST 2006 (r...@ranmalinux) Copyright (C) 2000-2005 Broadcom Corporation. Boot Address 0xbf000000 Initializing Arena. Initializing Devices. cfi_flash_get_device_id Parallel flash device: name AM29LV640MT, id 0x2201, size 8192KB CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz Total memory: 16777216 bytes (16MB) Total memory used by CFE: 0x80401000 - 0x80525DD0 (1199568) Initialized Data: 0x8041D5E0 - 0x8041F560 (8064) BSS Area: 0x8041F560 - 0x80423DD0 (18544) Local Heap: 0x80423DD0 - 0x80523DD0 (1048576) Stack Area: 0x80523DD0 - 0x80525DD0 (8192) Text (code) segment: 0x80401000 - 0x8041D5D8 (116184) Boot area (physical): 0x00526000 - 0x00566000 Relocation Factor: I:00000000 - D:00000000 Board IP address : 192.168.1.1:ffffff00 Host IP address : 192.168.1.100 Gateway IP address : Run from flash/host (f/h) : f Default host run file name : vmlinux Default host flash file name : bcm963xx_fs_kernel Boot delay (0-9 seconds) : 1 Boot image (0=latest, 1=previous) : 0 Board Id Name : AliceAGW2+ Psi size in KB : 24 Number of MAC Addresses (1-32) : 13 Base MAC Address : 00:19:3e:11:40:8c Ethernet PHY Type : Internal Memory size in MB : 16 *** Press any key to stop auto run (1 seconds) *** Auto run second count down: 1 web info: Waiting for connection on socket 0. web info: Waiting for connection on socket 1. web info: Waiting for connection on socket 0. CFE> Tag pointer 808000C0 web info: Upload 4059618 bytes, Broadcom image format. CFE> Tag pointer 808000C0 CRC from tag b0888558 - CRC from image b0888558 pre-existent copy in partition -> 1 Flashing root file system and kernel at 0xbf400000 remaining to flash ....... 00061922 . *** Image flash done *** ! Resetting board... CFE version 1.0.37-3.1 P12 for BCM96348 (32bit,SP,BE) Build Date: mar set 26 15:13:11 CEST 2006 (r...@ranmalinux) Copyright (C) 2000-2005 Broadcom Corporation. Boot Address 0xbf000000 Initializing Arena. Initializing Devices. cfi_flash_get_device_id Parallel flash device: name AM29LV640MT, id 0x2201, size 8192KB CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz Total memory: 16777216 bytes (16MB) Total memory used by CFE: 0x80401000 - 0x80525DD0 (1199568) Initialized Data: 0x8041D5E0 - 0x8041F560 (8064) BSS Area: 0x8041F560 - 0x80423DD0 (18544) Local Heap: 0x80423DD0 - 0x80523DD0 (1048576) Stack Area: 0x80523DD0 - 0x80525DD0 (8192) Text (code) segment: 0x80401000 - 0x8041D5D8 (116184) Boot area (physical): 0x00526000 - 0x00566000 Relocation Factor: I:00000000 - D:00000000 Board IP address : 192.168.1.1:ffffff00 Host IP address : 192.168.1.100 Gateway IP address : Run from flash/host (f/h) : f Default host run file name : vmlinux Default host flash file name : bcm963xx_fs_kernel Boot delay (0-9 seconds) : 1 Boot image (0=latest, 1=previous) : 0 Board Id Name : AliceAGW2+ Psi size in KB : 24 Number of MAC Addresses (1-32) : 13 Base MAC Address : 00:19:3e:11:40:8c Ethernet PHY Type : Internal Memory size in MB : 16 *** Press any key to stop auto run (1 seconds) *** Auto run second count down: 0 Booting from latest image (0xbf400000) ... Code Address: 0x80010000, Entry Address: 0x801e3018 8192 size flash memory detected starting image at [BF400100] image length 3df0e2 CRC from tag b0888558 - CRC image calculated b0888558 Decompression OK! Entry at 0x801e3018 Closing network. Starting program at 0x801e3018 Linux version 2.6.8.1 (r...@debian) (gcc version 3.4.2) #1 Fri Nov 13 22:13:04 CET 2009 Parallel flash device: name AM29LV320MT, id 0x2201, size 8192KB Total Flash size: 8192K with 135 sectors ***Board is not initialized****: Using the default PSI size: 24 AliceAGW2+ prom init CPU revision is: 00029107 mpi: No Card is in the PCMCIA slot Determined physical RAM map: memory: 00fa0000 @ 00000000 (usable) On node 0 totalpages: 4000 DMA zone: 4000 pages, LIFO batch:1 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: root=31:0 ro noinitrd brcm mips: enabling icache and dcache... Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes. Primary data cache 8kB 2-way, linesize 16 bytes. PID hash table entries: 64 (order 6: 512 bytes) Using 128.000 MHz high precision timer. Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 13696k/16000k available (1622k kernel code, 2284k reserved, 241k data, 80k init, 0k highmem) Calibrating delay loop... 255.59 BogoMIPS Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Checking for 'wait' instruction... unavailable. NET: Registered protocol family 16 Can't analyze prologue code at 801a4274 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub Initializing Cryptographic API PPP generic driver version 2.4.2 NET: Registered protocol family 24 Using noop io scheduler bcm963xx_mtd driver v1.0 PCI: Enabling device 0000:00:02.2 (0000 -> 0002) ehci_hcd 0000:00:02.2: EHCI Host Controller PCI: Setting latency timer of device 0000:00:02.2 to 64 ehci_hcd 0000:00:02.2: irq 32, pci mem b0030000 ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 0.95, driver 2004-May-10 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ehci_hcd 0000:00:02.2: SCAN SetPortFeature wIndex=1 ports=2 ehci_hcd 0000:00:02.2: SCAN wValue =8 ehci_hcd 0000:00:02.2: SCAN SetPortFeature wIndex=2 ports=2 ehci_hcd 0000:00:02.2: SCAN wValue =8 ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd: block sizes: ed 64 td 64 PCI: Enabling device 0000:00:02.0 (0000 -> 0002) ohci_hcd 0000:00:02.0: OHCI Host Controller PCI: Setting latency timer of device 0000:00:02.0 to 64 ohci_hcd 0000:00:02.0: irq 32, pci mem b0010000 ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected PCI: Enabling device 0000:00:02.1 (0000 -> 0002) ohci_hcd 0000:00:02.1: OHCI Host Controller PCI: Setting latency timer of device 0000:00:02.1 to 64 ohci_hcd 0000:00:02.1: irq 32, pci mem b0020000 ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3 hub 3-0:1.0: USB hub found hub 3-0:1.0: 1 port detected PCI: Enabling device 0000:00:09.0 (0000 -> 0002) ohci_hcd 0000:00:09.0: OHCI Host Controller PCI: Setting latency timer of device 0000:00:09.0 to 64 ohci_hcd 0000:00:09.0: irq 20, pci mem c0000b00 ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 4 ohci_hcd 0000:00:09.0: init err ohci_hcd 0000:00:09.0: can't start ohci_hcd 0000:00:09.0: init error -16 ohci_hcd 0000:00:09.0: remove, state 0 iounmap: bad address c0000b00 ohci_hcd 0000:00:09.0: USB bus 4 deregistered ohci_hcd: probe of 0000:00:09.0 failed with error -16 usbcore: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver usbcore: registered new driver usbnet brcmboard: brcm_board_init entry Confirm button interrupt has been configured bcm963xx_serial driver v2.0 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 512 bind 1024) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 Ebtables v2.0 registered NET: Registered protocol family 8 NET: Registered protocol family 20 802.1Q VLAN Support v1.8 Ben Greear <gree...@candelatech.com> All bugs added by David S. Miller <da...@redhat.com> VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 80k freed init started: BusyBox v1.00 (2009.11.13-21:16+0000) multi-call binary Algorithmics/MIPS FPU Emulator v1.5 BusyBox v1.00 (2009.11.13-21:16+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. Loading drivers and kernel modules... atmapi: module license 'Proprietary' taints kernel. blaadd: blaa_detect entry adsl: adsl_init entry Broadcom BCMPROCFS v1.0 initialized Broadcom BCM6348B0 Ethernet Network Device v0.3 Mar 22 2006 13:46:12 Config Internal PHY Through MDIO BCM63xx_ENET: Auto-negotiation timed-out BCM63xx_ENET: 10 MB Half-Duplex (assumed) eth0: MAC Address: 00:19:3E:11:40:8C Broadcom BCM6348B0 Ethernet Network Device v0.3 Mar 22 2006 13:46:12 Config Ethernet Switch Through SPI Slave Select 0 eth1: MAC Address: 00:19:3E:11:40:8D dgasp: kerSysRegisterDyingGaspHandler: eth1 registered Broadcom BCM6348B0 USB Network Device v0.4 May 16 2006 15:44:12 usb0: MAC Address: 00 19 3E 11 40 8E usb0: Host MAC Address: 00 19 3E 11 40 8F PCI: Setting latency timer of device 0000:00:01.0 to 64 PCI: Enabling device 0000:00:01.0 (0004 -> 0006) wl: srom not detected, using main memory mapped srom info (wombo board) wl0: wlc_attach: using main board MAC address base in NVRAM (wombo board) wl0 MAC Address: 00:19:3E:11:40:90 wl0: Broadcom BCM4318 802.11 Wireless Controller 3.131.35.0.cpe0.0 dgasp: kerSysRegisterDyingGaspHandler: wl0 registered fuse init (API version 7.5) fuse distribution version: 2.5.3 eth1 Link UP. Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. wlctl: wlctl: BcmAdsl_Initialize=0xC0058218, g_pFnNotifyCallback=0xC006DB14 pSdramPHY=0xA0FFFFF8, 0xDEFEFFDD 0xDDFFFEFD AdslCoreHwReset: AdslOemDataAddr = 0xA0FF68B0 dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.1 (125 buckets, 0 max) - 368 bytes per conntrack ip_conntrack_pptp version 2.1 loaded ip_nat_pptp version 2.0 loaded ip_conntrack_h323: init ip_nat_h323: initialize the module! Executing adslctl... ip_conntrack_rtsp v0.01 loading adslctl configuration done ip_nat_rtsp v0.01 loading ==> Bcm963xx Software Version: 1350_032206-3.04L.01.A2pB020a.d17f <== device usb0 entered promiscuous mode br0: port 1(usb0) entering learning state br0: topology change detected, propagating br0: port 1(usb0) entering forwarding state device eth0 entered promiscuous mode br0: port 2(eth0) entering learning state br0: topology change detected, propagating br0: port 2(eth0) entering forwarding state device eth1 entered promiscuous mode br0: port 3(eth1) entering learning state br0: topology change detected, propagating br0: port 3(eth1) entering forwarding state Country stored in PSI is IT Setting SSID "USR9108" wlctl: Not Found SIOCGIFFLAGS: No such device Setting country code using abbreviation: "IT" wlctl: wl0 current channel 11 device wl0 entered promiscuous mode br0: port 4(wl0) entering learning state br0: topology change detected, propagating br0: port 4(wl0) entering forwarding state device wl0.1 entered promiscuous mode 421 Unable to open configuration file. br0: port 2(eth0) entering disabled state br0: port 1(usb0) entering disabled state Setting ip_conntrack... Verifying rsitree... rsitree found rsitree modified rsitree check done Starting mini_httpd... Configuring Extra Settings web pages access... Configuring udhcpd... udhcpd configuration done Restarting udhcpd... Configuring bftpd... ftpd configuration done Restarting bftpd... killall: bftpd: no process killed Configuring samba... Missing parameters killall: smbd: no process killed killall: nmbd: no process killed cat: /var/samba/samba_enabled: No such file or directory test: 1: unknown operand Configuring antenna diversity antenna diversity configuration done Executing p910nd Missing parameters Executing webcam_server Missing parameters Executing profile script... Missing parameters Starting custom programs... Questo kernel ha un bel po' di servizi: tipo ftpd, print server ecc. mentre se carico su un firmware fatto da me con openwrt mi crash-a, con il seguente log: CFE version 1.0.37-3.1 P12 for BCM96348 (32bit,SP,BE) Build Date: mar set 26 15:13:11 CEST 2006 (r...@ranmalinux) Copyright (C) 2000-2005 Broadcom Corporation. Boot Address 0xbf000000 Initializing Arena. Initializing Devices. cfi_flash_get_device_id Parallel flash device: name AM29LV640MT, id 0x2201, size 8192KB CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz Total memory: 16777216 bytes (16MB) Total memory used by CFE: 0x80401000 - 0x80525DD0 (1199568) Initialized Data: 0x8041D5E0 - 0x8041F560 (8064) BSS Area: 0x8041F560 - 0x80423DD0 (18544) Local Heap: 0x80423DD0 - 0x80523DD0 (1048576) Stack Area: 0x80523DD0 - 0x80525DD0 (8192) Text (code) segment: 0x80401000 - 0x8041D5D8 (116184) Boot area (physical): 0x00526000 - 0x00566000 Relocation Factor: I:00000000 - D:00000000 Board IP address : 192.168.1.1:ffffff00 Host IP address : 192.168.1.100 Gateway IP address : Run from flash/host (f/h) : f Default host run file name : vmlinux Default host flash file name : bcm963xx_fs_kernel Boot delay (0-9 seconds) : 1 Boot image (0=latest, 1=previous) : 0 Board Id Name : AliceAGW2+ Psi size in KB : 24 Number of MAC Addresses (1-32) : 13 Base MAC Address : 00:19:3e:11:40:8c Ethernet PHY Type : Internal Memory size in MB : 16 *** Press any key to stop auto run (1 seconds) *** Auto run second count down: 0 Booting from latest image (0xbf010000) ... Code Address: 0x80010000, Entry Address: 0x80010000 8192 size flash memory detected starting image at [BF010100] image length 33ff04 CRC from tag b974d0f7 - CRC image calculated b974d0f7 Decompression OK! Entry at 0x80010000 Closing network. Starting program at 0x80010000 Linux version 2.6.30.10 (jos...@joskic-laptop) (gcc version 4.3.3 (GCC) ) #2 Sun Jan 17 20:07:42 CET 2010 Detected Broadcom 0x6348 CPU revision b0 CPU frequency is 256000000 Hz 16MB of RAM installed registering 37 GPIOs board_bcm963xx: CFE version: 1.0.37-3.1 console [early0] enabled CPU revision is: 00029107 (Broadcom BCM6348) board_bcm963xx: board name: AliceAGW2+ Determined physical RAM map: memory: 01000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00001000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00001000 Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes. Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes NR_IRQS:128 PID hash table entries: 64 (order: 6, 256 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory: 13268k/16384k available (2073k kernel code, 3116k reserved, 428k data, 132k init, 0k highmem) Calibrating delay loop... 254.97 BogoMIPS (lpj=509952) Mount-cache hash table entries: 512 net_namespace: 532 bytes NET: Registered protocol family 16 registering PCI controller with io_map_base unset bio: create slab <bio-0> at 0 pci 0000:00:02.0: PME# supported from D1 D3hot D3cold pci 0000:00:02.0: PME# disabled pci 0000:00:02.1: PME# supported from D1 D3hot D3cold pci 0000:00:02.1: PME# disabled pci 0000:00:02.2: PME# supported from D0 D1 D2 D3hot D3cold pci 0000:00:02.2: PME# disabled PCI: Enabling device 0000:00:01.0 (0000 -> 0002) ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) TCP reno registered NET: Registered protocol family 1 audit: initializing netlink socket (disabled) type=2000 audit(0.352:1): initialized squashfs: version 4.0 (2009/01/31) Phillip Lougher Registering mini_fo version $Id$ JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. msgmni has been set to 25 alg: No test for stdrng (krng) io scheduler noop registered io scheduler deadline registered (default) gpiodev: gpio device registered with major 254 gpiodev: gpio platform device registered with access mask FFFFFFFF bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart console handover: boot [early0] -> real [ttyS0] bcm63xx_enet MII bus: probed bcm963xx_flash: 0x01000000 at 0x1f000000 bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank Data bus error, epc == 8017647c, ra == 8017679c Oops[#1]: Cpu 0 $ 0 : 00000000 10008400 bf800020 00800020 $ 4 : 00000001 00000002 00000001 00000002 $ 8 : 00000002 00000001 00000001 8027b110 $12 : 00800000 00000000 00000000 00000000 $16 : 8027b110 00800000 80323d70 00800000 $20 : 80323d70 80c1f380 80c1f380 8027b110 $24 : 00000018 80188770 $28 : 80322000 80323cf0 00000000 8017679c Hi : 00000000 Lo : 00000002 epc : 8017647c 0x8017647c Not tainted ra : 8017679c 0x8017679c Status: 10008403 KERNEL EXL IE Cause : 0080001c PrId : 00029107 (Broadcom BCM6348) Modules linked in: Process swapper (pid: 1, threadinfo=80322000, task=80321928, tls=00000000) Stack : 10008403 00000000 000000aa 00000051 00000052 00000059 0000002c 80323d68 00000002 00000025 00000001 80323d70 8027b110 801758b8 80322000 8024c8d0 00000001 00000010 00000000 00000010 00000001 80323d70 00000001 80323d70 8027ae88 80c1f380 00000002 80186f34 80321928 80270000 7fffffff 00000000 00000000 00000000 00000001 00000002 00000001 00000000 00000000 00000000 ... Call Trace:[<801758b8>] 0x801758b8 [<80186f34>] 0x80186f34 [<801757f0>] 0x801757f0 [<80188858>] 0x80188858 [<800e76ec>] 0x800e76ec [<800b2bf4>] 0x800b2bf4 [<800e8a34>] 0x800e8a34 [<801631bc>] 0x801631bc [<8012c794>] 0x8012c794 [<80163300>] 0x80163300 [<8012ce70>] 0x8012ce70 [<80163294>] 0x80163294 [<80162940>] 0x80162940 [<8012cf00>] 0x8012cf00 [<801620a0>] 0x801620a0 [<80029a40>] 0x80029a40 [<802920a8>] 0x802920a8 [<801636b0>] 0x801636b0 [<80292004>] 0x80292004 [<802920a8>] 0x802920a8 [<8001b680>] 0x8001b680 [<80063828>] 0x80063828 [<80291b10>] 0x80291b10 [<80282304>] 0x80282304 [<8001e100>] 0x8001e100 Code: 24020004 8d62000c 00431021 <94420000> 0805d927 3042ffff 55020005 afa20000 8d62000c Disabling lock debugging due to kernel taint Kernel panic - not syncing: Attempted to kill init! ps. inoltre sul sito http://beghiero.myftp.org/firmware/roleo/ ci sono un paio di cose utili: tipo come aggiungere la seconda usb. Qualcuno ha qualche idea? il mio scopo è di far funzionare su questo router anche le pennine UMTS. Ciao a tutti Aljosa
_______________________________________________ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless