106862274-gw2342-gw2348-ixp-ikarus-install-16m
DESCRIPTION
vTRANSCRIPT
GW2342GW2348 IXP Ikarus Installation Guide
Antcor Ltd. Copyright © 2006 All rights reserved
DownBlack Bold Fonts : Description of each step of the procedureRed Fonts : The commands user should execute in every stepsmall 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 CtrlC continuously
+No devices on IDE controller 0
Trying NPEB...success. Using NPEB with PHY 0.Ethernet eth0: MAC address 00:d0:12:02:23:78IP: 192.168.3.2/255.255.255.0, Gateway: 0.0.0.0Default 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) BECopyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
RAM: 0x000000000x10000000, [0x000298800x03fc1000] availableFLASH: 0x50000000 0x51000000, 128 blocks of 0x00020000 bytes each.== Executing boot script in 1.000 seconds enter ^C to abort^CRedBoot> ^CRedBoot> ^C
Above you can see the ip address that is used by the device, as well as the tftpserver you should be connected to.
Antcor Ltd. Copyright © 2006 All rights reserved
RedBoot> fis listName FLASH addr Mem addr Length Entry pointRedBoot 0x50000000 0x50000000 0x00080000 0x00000000zimage 0x50080000 0x01600000 0x000C0000 0x00800000ramdisk 0x50140000 0x00800000 0x00300000 0x00800000FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000
Via above command, you can see the partition table of the device. If Redbootpartition's size is not equal to 0x80000 , please contact Antcor support department([email protected]) in order to obtain relevant support.
RedBoot> fis delete zimageDelete image 'zimage' continue (y/n)? y... Erase from 0x500800000x50140000: ......... Unlock from 0x50fe00000x51000000: .... Erase from 0x50fe00000x51000000: .... Program from 0x03fe00000x04000000 at 0x50fe0000: .... Lock from 0x50fe00000x51000000: .RedBoot> fis delete ramdiskDelete image 'ramdisk' continue (y/n)? y... Erase from 0x501400000x50440000: ........................... Unlock from 0x50fe00000x51000000: .... Erase from 0x50fe00000x51000000: .... Program from 0x03fe00000x04000000 at 0x50fe0000: .... Lock from 0x50fe00000x51000000: .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} zImageUsing default protocol (TFTP)Raw file loaded 0x00029c000x000dbbdf, assumed entry at 0x00029c00RedBoot> fis create l 0x200000 f 0x50080000 e 0x01600000 r 0x01600000 zImage... Erase from 0x500800000x50280000: ........... Program from 0x00029c000x000dbbe0 at 0x50080000: ......... Unlock from 0x50fe00000x51000000: .... Erase from 0x50fe00000x51000000: .
Antcor Ltd. Copyright © 2006 All rights reserved
... Program from 0x03fe00000x04000000 at 0x50fe0000: .
... Lock from 0x50fe00000x51000000: .RedBoot> load r b %{FREEMEMLO} ramdisk.gzUsing default protocol (TFTP)Raw file loaded 0x00029c000x00461902, assumed entry at 0x00029c00RedBoot> fis create l 0xA00000 f 0x50280000 e 0x00800000 r 0x00800000 ramdisk.gz... Erase from 0x502800000x50f40000: ................................................................................................................. Program from 0x00029c000x00461903 at 0x50280000: ..................................... Unlock from 0x50fe00000x51000000: .... Erase from 0x50fe00000x51000000: .... Program from 0x03fe00000x04000000 at 0x50fe0000: .... Lock from 0x50fe00000x51000000: .RedBoot>
The above series of commands upload the images from the tftp server and writethe new Ikarus images to flash.
RedBoot> fis listName FLASH addr Mem addr Length Entry pointRedBoot 0x50000000 0x50000000 0x00080000 0x00000000zImage 0x50080000 0x01600000 0x00200000 0x01600000ramdisk.gz 0x50280000 0x00800000 0x00A00000 0x00800000FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000RedBoot>
Via above command ,you can check that the partition table has changed.
RedBoot> RedBoot> fconfigRun script at boot: trueBoot script: .. fis load ramdisk.. fis load zimage.. exec 0x01600000Enter script, terminate with empty line>> fis load ramdisk.gz>> fis load zImage>> exec 0x01600000>> (just press enter)Boot script timeout (100ms resolution): 10Use BOOTP for network configuration: false
Antcor Ltd. Copyright © 2006 All rights reserved
Gateway IP address: Local IP address: 192.168.3.2Local IP address mask: 255.255.255.0Default server IP address: 192.168.3.1Console baud rate: 115200GDB connection port: 9000Force console for special debug messages: falseNetwork debug at boot time: falseDefault network device: npe_eth0Update RedBoot nonvolatile configuration continue (y/n)? y... Unlock from 0x50fe00000x51000000: .... Erase from 0x50fe00000x51000000: .... Program from 0x03fe00000x04000000 at 0x50fe0000: .... Lock from 0x50fe00000x51000000: .RedBoot> RedBoot>
Above series of commands configure the boot script needed for AutolaunchingIkarus.
RedBoot> fis unlock f 0x50FE0000 l 0x00020000... Unlock from 0x50fe00000x51000000: .
Fis Partition should be left unlocked (hardware locked by default), in order forIkarus 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 NPEB...success. Using NPEB with PHY 0.Ethernet eth0: MAC address 00:d0:12:02:23:78IP: 192.168.3.2/255.255.255.0, Gateway: 0.0.0.0Default 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) BECopyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
RAM: 0x000000000x10000000, [0x000298800x03fc1000] availableFLASH: 0x50000000 0x51000000, 128 blocks of 0x00020000 bytes each.== Executing boot script in 1.000 seconds enter ^C to abortRedBoot> fis load zImageRedBoot> fis load ramdisk.gzRedBoot> exec 0x01600000Using base address 0x00800000 and length 0x00437d04Uncompressing Linux....................................................... done, booting the kernel.Linux version 2.4.27uc1 (root@WLESS) (gcc version 3.3.2) #28 Thu Jan 12 14:54:41 EET 2006CPU: XScaleIXP4xx/IXC11xx revision 1Machine: Intel IXDP425 Development Platform[............................]
You can now launch Ikarus NMS and add a node with IP configured to192.168.1.3.Enjoy Ikarus IXP based software!
Antcor Ltd. Copyright © 2006 All rights reserved