OpenWrt Forum Archive

Topic: Which target choice to linksys WAG54G2

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I want to run openWRT on linksys WAG54G2.
hardware description :
- CPU : conexant CX94610-11Z
- Flash : 4Mo
- SDRAM : 8 or 16Mo (I don't know the exact size)

This chip is an ARM processor. The box provide 4 ethernet ports, DSL modem and wifi.

I search a supported platform similar to this hardware. What target shoul I use?



ps : Linksys supply the GPL source code.

There is no support for this platform yet. I am working on it.

The datasheet of the cpu indicate that the wireless is include in this chip.

You are working for support WAG54G2 on openwrt?

I search a procedure to add a new platform on openWRT with the source of manufacturer. Do you have find it?

Yes, 100% certain that device.

Progress is slow. I'm still working on kernel patches at the moment, but there are a lot of diffs to sort through.

I've managed to strip the linksys kernel out of the binary image and netboot it over tftp, which is nice.

Thanks


slip

hey there,

i consider to buy one of those because i want to replace my thomson tg585v7 - do you know if this device is capable of both ADSL Annex A and Annex B?

greetz
berndg

i'd presume so, since both annex a and b firmwares are available on the linksys site. but, don't quote me on it.

and bear in mind, that at the moment there is no openwrt support for this platform.

Are you an official openWRT developper? Can you put your actual code on SVN?
Let me help you to accelerate the process.

I'd also really like to be able to run OpenWrt on the Linksys WAG54G2. Thanks for your efforts slippyr4, you're a legend!

bejo - I had the same concern about not being able to bind IP addresses to MAC addresses - but I found that if I just let Linksys' DHCP do it's thing, each device always gets the same IP address anyway... Unlike the crappy D-link router that I used to own :-)

(Last edited by david_nash on 27 Feb 2009, 01:22)

Hi,

I have just bought a wag54g2 an would love to run openwrt on it.  I am new to this forum, but would be willing to help out with any of the debugging or development that I can.

Thanks

Andy

Hi there all,

I have one of these units as well.  Just wondering, slippyr4, how the progress is going now?

david_nash wrote:

but I found that if I just let Linksys' DHCP do it's thing, each device always gets the same IP address anyway... Unlike the crappy D-link router that I used to own :-)

This is all well and good, but it can make portforwards a 'hit and miss' experience.  The one time you really need to be able to access something will be the one time it's IP has changed. Good old Murphy, eh?

Anyways, I'd love to hear how this is going and can't wait to see it up and running. smile

Cheers!

Hi.
Are there any news about WAG54G2 support? I'd like to join openWRT with my WAG54G2 smile

Thank you.

Any new progress on the WAG54G2 support?

Thanks.

bejo wrote:

Are you 100% positive that we are talking about this device: http://www.linksysbycisco.com/ANZ/en/support/WAG54G2

I'd love to see OpenWrt on that device, the original firmware doesn't even allow me to bind an IP addresses to hardware MAC addresses sad

The exact same reason I'm disappointed with this wonky router, and can't really depend on the firmware assigning the same IP's every time.

Here's hoping OpenWrt will be released for this device soon.

slippyr4 wrote:

There is no support for this platform yet. I am working on it.

Could you please share your experience / patches? :-) Thanks!

Is there any news on if/when this will be available please or if this router is infact going to be nothing for than a very basic switch on my network

Many thanks in advance

N

Any chance to see this modem getting supported by openwrt?

Recently i found a project called "ezbox" that ported the Conexant/Ikanos Solos-W CX94610 to OpenWRT. The target in witch they base their job was the Huawei HG522. In adition they have u-boot 1.1.4 for the Solos chipset.

The page is: https://code.google.com/p/ezbox/ and the code can be downloaded whith svn as described here https://code.google.com/p/ezbox/source/checkout

The Solos 4610 is based in the arm1026EJ (ARMv5tej) running at 264MHz and with MMU. Aditional features are an Analog Front End, wireless MAC/BB (i think is based in the Prism Crossbow) and a USB 2.0 host.

There are a lot of routers based in this chip, but mainly have the ATMOS/ISOS firmware developed by GlobespanVirata. Linksys WAG54G2, Huawei HG522 and Netgear have embedded linux as the firmware, and the others (Xavi 7968, ZTE ZXV10 h608b, Billion Bipac routers, Belkin F5D7634nt4A v1000, Zoom X6 5590c, Pirelli DRG A124G, AtlantisLand A02-RAU244-W300N, Intertex SurfinBird IX78 and some more) have the ISOS firmware.

The most of the models have 4MB flash and 16-32MB RAM, enough to run OpenWRT. The flash in the most of the routers is AMD/Fujitsu compatible.

The ethernet PHY in the linux based is the IC+ ip175 or the Realtek RTL8306. In the others can be found, in adition, the Marvell 88e6060 and the adm6996.

Information about hardware can be found here:
     http://oldwiki.openwrt.org/OpenWrtDocs( … G54G2.html
     http://en.wikipedia.org/wiki/Netgear_DG834
     http://www.ilpuntotecnicoeadsl.com/wiki … _DRG_A124G (in italian)
     http://forums.thinkbroadband.com/beunli … th-be.html (list of Billion solos based).
     http://www.alldatasheet.com/datasheet-p … 94610.html (Solos datasheet).

Source code:
     http://homesupport.cisco.com/en-us/gplcodecenter
     http://broadband.gennetsa.com/gpl/tellas-20090712/
     ftp://downloads.netgear.com/files/GPL/
Huawei GPL is not published, and maybe never will be.

There is also an u-boot source for the Solos. The native bootloader (PP Boot) is a bit poor.

Edit: Also the Netgear DG834Gv5 and the MBR624GU.

(Last edited by Pteridium on 26 Jan 2011, 22:37)

In this moment i have two Xavi 7968 routers for testing purposes. The firmware is based in ISOS and the bootloader, when i upload a firmware image based in linux througt netboot or xmodem tells that is not an ISOS image.

Hardware:
-CPU: CX94610 arm1026ej core.
-Flash: Spansion S29GL032 (4 Mbytes)
-SDRAM: two Etrontech EM638165TS-6G (16 Mbytes)
-Ethernet PHY: Marvell 88E6060 (configured through MII bus).
-Wireless RF: CX50321
-ADSL transceiver: BAZ-3882-NCAZ
-The board has a 8 pin socket for SPI EEPROM.

The flash is divided in 3 partitions:
Space for all FLASHFS partitions: 0x003d0000
found partition at 0x003e0000 ... 0x00400000, size 128kbytes  Bootloader
found partition at 0x000c0000 ... 0x003e0000, size 3200kbytes  Firmware
found partition at 0x00030000 ... 0x000c0000, size 576kbytes  Configuration files

This is the output of the bootloader and it's options:
FSB v0.06 PLL w ln p08 zi

Solos 461x PP boot v1.5

SDRAM size = 0x1000000
Processor clock speed 264.0MHz
Key pressed, stopping boot.

Entered console ... User request.
]help
Commands to the console are:
configeeprom             display EEPROM configuration information
configflash              display FLASH configuration information
        mac <address>               set MAC address
        networkboot {yes | auto}    boot auto-select Ethernet, USB or PCI
        networkboot ethernet        boot from Ethernet only
        networkboot usb             boot from USB only
        networkboot pci             boot from PCI only
        networkboot no              boot from FLASH
        networkboot ask             always prompt user for boot source
        copyimages {yes | no}       copy network booted image files
        flashfs {auto | emergency}  use automatic FLASHFS selection or
                                    force boot from emergency FLASHFS
        flashnetboot {yes | no}     flash boots auto network boots
        autolanrecover {yes | no}   attempt LAN recovery if flash corrupt
        initialise                  initialise configuration information
        listenv                     list environment variables
        setenv <key> <value>        set environment variable
        unsetenv <key>              unset environment variable
        pda read                    read PDA information
configpci                          display EEPROM PCI configuration
configpci set <idx> <addr> <data>  set PCI pair
dw <address> [<length>]  dump words (hex/ascii)
enter <address>          enter an image
erw <wrdaddress>         read a single word from EEPROM
eww <wrdaddress> <value> write a single word to EEPROM
fdw <address> [<length>] dump flash words (hex/ascii)
flash config             print flash configuration
help                     print this text
netboot [recover]        perform immediate network boot [in recovery mode]
quit                     leave the console
reset                    reset system
rw <address>             read a single word
why                      reason for console entry
ww <address> <value>     write a single word
xmodem [fast]            download mkflash image using X-Modem

I can't do this work because i'm not programmer. If someone wants to help all the users of Conexant based routers will apreciate it a lot.

(Last edited by Pteridium on 5 Dec 2010, 23:41)

I've  tried to build u-boot for solos but appeared this error:

arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x1F00000 -I/home/pepe/WAG54G2_v1.00.19_AnnexA/open-src/bootloader/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem /home/pepe/WAG54G2_v1.00.19_AnnexA/build_arm_nofpu/staging_dir/bin/../lib/gcc/arm-linux-uclibc/4.0.1/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes -c -o serial.o serial.c
serial.c: In function 'serial_putc':
serial.c:16: warning: implicit declaration of function 'uart_tx'
make[2]: *** No hay ninguna regla para construir el objetivo `uart.o', necesario para `libsolos.a'.  Alto.
make[2]: se sale del directorio `/home/pepe/WAG54G2_v1.00.19_AnnexA/open-src/bootloader/u-boot-1.1.4/board/solos'
make[1]: *** [board/solos/libsolos.a] Error 2
make[1]: se sale del directorio `/home/pepe/WAG54G2_v1.00.19_AnnexA/open-src/bootloader/u-boot-1.1.4'
make: *** [uboot] Error 2

The file "solos.h" is in /u-boot-1.1.4/include/configs and define uart_tx.
¿Why the crosscompiler ignore this file?

Pteridium wrote:

In this moment i have two Xavi 7968 routers for testing purposes. The firmware is based in ISOS and the bootloader, when i upload a firmware image based in linux througt netboot or xmodem tells that is not an ISOS image.

Hi Pteridium,
  try this tool http://code.google.com/p/ezbox/source/b … 2c%2Ftools
  Please use hg522c-bootpd to do Ethernet upload if the boot of your device support Ethernet booting.

The discussion might have continued from here.