GW2342-GW2348 IXP Ikarus Installation Guide
Antcor Ltd. Copyright
©
2006 All rights reserved
DownBlack Bold Fonts : Description of each step of the procedure Red Fonts : The commands user should execute in every step small regular fonts : output of serial console
Preparation: 1)Download images from Antcor site' s download area. 2)Setup a TFTP server on a PC, configuring IP address to 192.168.3.1. Copy the downloaded images to correspondant tftp directory. 3)Connect via serial to target platform. (115200 8N1, no flow control) 4)Launch HyperTerminal
Upgrading to Ikarus: POWER UP Device. While running HyperTerminal, press Ctrl-C continuously +No devices on IDE controller 0 Trying NPE-B...success. Using NPE-B with PHY 0. Ethernet eth0: MAC address 00:d0:12:02:23:78 IP: 192.168.3.2/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.3.1 RedBoot(tm) bootstrap and debug environment [ROM] Red Hat certified release, version 2.01 - built 09:47:47, Aug 30 2005 Platform: Gateworks Avila Family (XScale) BE Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. RAM: 0x00000000-0x10000000, [0x00029880-0x03fc1000] available FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each. == Executing boot script in 1.000 seconds - enter ^C to abort ^C RedBoot> ^C RedBoot> ^C
Above you can see the ip address that is used by the device, as well as the tftp server you should be connected to. Antcor Ltd. Copyright
©
2006 All rights reserved
RedBoot> fis list Name FLASH addr Mem addr Length Entry point RedBoot 0x50000000 0x50000000 0x00080000 0x00000000 zimage 0x50080000 0x01600000 0x000C0000 0x00800000 ramdisk 0x50140000 0x00800000 0x00300000 0x00800000 FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000 RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000
Via above command, you can see the partition table of the device. If Redboot partition' s size is not equal to 0x80000 , please contact Antcor support department (
[email protected]) in order to obtain relevant support. RedBoot> fis delete zimage Delete image ' zimage' - continue (y/n)? y ... Erase from 0x50080000-0x50140000: ...... ... Unlock from 0x50fe0000-0x51000000: . ... Erase from 0x50fe0000-0x51000000: . ... Program from 0x03fe0000-0x04000000 at 0x50fe0000: . ... Lock from 0x50fe0000-0x51000000: . RedBoot> fis delete ramdisk Delete image ' ramdisk' - continue (y/n)? y ... Erase from 0x50140000-0x50440000: ........................ ... Unlock from 0x50fe0000-0x51000000: . ... Erase from 0x50fe0000-0x51000000: . ... Program from 0x03fe0000-0x04000000 at 0x50fe0000: . ... Lock from 0x50fe0000-0x51000000: . RedBoot>
The above two commands delete the images that had already been stored in flash. Next step of the procedure is to flash the new images. RedBoot> RedBoot> load -r -b %{FREEMEMLO} zImage Using default protocol (TFTP) Raw file loaded 0x00029c00-0x000dbbdf, assumed entry at 0x00029c00 RedBoot> fis create -l 0x200000 -f 0x50080000 -e 0x01600000 -r 0x01600000 zImage ... Erase from 0x50080000-0x50280000: ........ ... Program from 0x00029c00-0x000dbbe0 at 0x50080000: ...... ... Unlock from 0x50fe0000-0x51000000: . ... Erase from 0x50fe0000-0x51000000: . Antcor Ltd. Copyright
©
2006 All rights reserved
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: . ... Lock from 0x50fe0000-0x51000000: . RedBoot> load -r -b %{FREEMEMLO} ramdisk.gz Using default protocol (TFTP) Raw file loaded 0x00029c00-0x00461902, assumed entry at 0x00029c00 RedBoot> fis create -l 0xA00000 -f 0x50280000 -e 0x00800000 -r 0x00800000 ramdisk.gz ... Erase from 0x502800000x50f40000: .............................................................................................................. ... Program from 0x00029c00-0x00461903 at 0x50280000: .................................. ... Unlock from 0x50fe0000-0x51000000: . ... Erase from 0x50fe0000-0x51000000: . ... Program from 0x03fe0000-0x04000000 at 0x50fe0000: . ... Lock from 0x50fe0000-0x51000000: . RedBoot>
The above series of commands upload the images from the tftp server and write the new Ikarus images to flash. RedBoot> fis list Name FLASH addr Mem addr Length Entry point RedBoot 0x50000000 0x50000000 0x00080000 0x00000000 zImage 0x50080000 0x01600000 0x00200000 0x01600000 ramdisk.gz 0x50280000 0x00800000 0x00A00000 0x00800000 FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000 RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000 RedBoot>
Via above command ,you can check that the partition table has changed. RedBoot> RedBoot> fconfig Run script at boot: true Boot script: .. fis load ramdisk .. fis load zimage .. exec 0x01600000 Enter script, terminate with empty line >> fis load ramdisk.gz >> fis load zImage >> exec 0x01600000 >> (just press enter) Boot script timeout (100ms resolution): 10 Use BOOTP for network configuration: false Antcor Ltd. Copyright
©
2006 All rights reserved
Gateway IP address: Local IP address: 192.168.3.2 Local IP address mask: 255.255.255.0 Default server IP address: 192.168.3.1 Console baud rate: 115200 GDB connection port: 9000 Force console for special debug messages: false Network debug at boot time: false Default network device: npe_eth0 Update RedBoot non-volatile configuration - continue (y/n)? y ... Unlock from 0x50fe0000-0x51000000: . ... Erase from 0x50fe0000-0x51000000: . ... Program from 0x03fe0000-0x04000000 at 0x50fe0000: . ... Lock from 0x50fe0000-0x51000000: . RedBoot> RedBoot>
Above series of commands configure the boot script needed for Auto-launching Ikarus. RedBoot> fis unlock -f 0x50FE0000 -l 0x00020000 ... Unlock from 0x50fe0000-0x51000000: .
Fis Partition should be left unlocked (hardware locked by default), in order for Ikarus modules to be able to change it.
RedBoot> RedBoot> reset ... Resetting.
Executing a system reset, Ikarus OS should be launched.
+No devices on IDE controller 0 Trying NPE-B...success. Using NPE-B with PHY 0. Ethernet eth0: MAC address 00:d0:12:02:23:78 IP: 192.168.3.2/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.3.1 RedBoot(tm) bootstrap and debug environment [ROM] Antcor Ltd. Copyright
©
2006 All rights reserved
Red Hat certified release, version 2.01 - built 09:47:47, Aug 30 2005 Platform: Gateworks Avila Family (XScale) BE Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. RAM: 0x00000000-0x10000000, [0x00029880-0x03fc1000] available FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each. == Executing boot script in 1.000 seconds - enter ^C to abort RedBoot> fis load zImage RedBoot> fis load ramdisk.gz RedBoot> exec 0x01600000 Using base address 0x00800000 and length 0x00437d04 Uncompressing Linux....................................................... done, booting the kernel. Linux version 2.4.27-uc1 (root@WLESS) (gcc version 3.3.2) #28 Thu Jan 12 14:54:41 EET 2006 CPU: XScale-IXP4xx/IXC11xx revision 1 Machine: Intel IXDP425 Development Platform [............................]
You can now launch Ikarus NMS and add a node with IP configured to 192.168.1.3.Enjoy Ikarus IXP based software!
Antcor Ltd. Copyright
©
2006 All rights reserved