Anda di halaman 1dari 16

The black art of LOLA

The LOLA tool is used to reformat the CPU’s of the OxO in the event of a corruption or
major change of software level.

What follows will hopefully make using it less frustrating than normal.

Pre requisites.

1. Make sure that you have the latest release (LoLa400 2.1 at time of writing)

2. Once installed I would suggest that you modify the registry entry so that LoLa does
not try and use your wireless or other connections this is done by changing the entries
for the IpAddress and COCPU_IP in the registry
CURRENT_USER/Software/PCXTools/LoLa400_2.1/Lola/Config

I run my laptop with an alternate IP addressing scheme of 192.168.92.245/24 to fit in


with the OxO’s native IP range but that is just my way.

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
3. Unpack the software distribution that you need to load and share the directory (this
seems to get around the issue with LoLa not setting up the samba share properly)

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
At this point you should be ready to use LoLa.

Before you start back up the current config from the OxO, I would suggest that you do a save
to flash from within PM5/OMC as well as saving the .cdb to your laptop, just remember
that if you are upgrading the SW on the system you will need to save the database with
the PM5/OMC version that is correct for the new software level i.e. if you are going
from V3.1 to V5.1 then save the database with OMC 510.XX.X.x as you will need to use
this version to reload it after the change.

If you wish to watch what is going on in the OxO while LoLa is running then using the V24
login type the following from the prompt on a terminal program (hyperterm, Procomm etc
@115200 8 n 1)

>swap_serial
>alcatel

This will change the V24 port from a login to trace, it requires a reboot to work but you will
be doing that anyway for the LoLa, just remember to change it back if the V24 login is
required in normal working.

Once you have saved the database, shut the system down and change the position of the dip
switch into LoLa mode. The dip switch position changes depending on the CPU type.
On the standard CPU it is the four switch block central to the board, on the CPUe-x it is the
block closest to the right hand edge of the board, then restart the system. The dip switch
settings are shown in the LoLa help file [F1].

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
Start LoLa if you haven’t already and select the relevant options in the main screen

LoLa should select the relevant packages but not always, also just to make things awkward
the country code in the OxO is AU, the software keys can be selected @ this point or loaded
later, then proceed to next.

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
As you can see there are four options on this screen the usual one is ‘Installation’ the middle
two are something that I will have to learn about in my next spare moment and the last one
does not seem to work @ least not for me.

Next >

You will get a warning message asking you to check to make sure that you have half a brain
and have switched things on!

The programmers have been indoctrinated into the Microsoft® way of thinking so do the

opposite of Yul Brynner and just say YES!

LoLa will now start the TFTP and BOOTP servers, which will go do their thing.

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
Once the CPU has downloaded the (now in V5.1) 6 files LoLa will take over and start.

This interesting screen will tell you as little as possible about what is going on and you will
hopefully get the following screen at the end of the process, if you don’t then whatever you
do don’t think you are special ;-)

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
There cam be a significant pause at the end of the process which is the system flashing the
bios on the CPU (recently done in most versions to cater for 40G HDD) this can take a while
but don’t worry it will get there in the end.

Once you have this you can shut down LoLa, switch off the OxO, reset the dip switch and
then switch the system back on, I would suggest that you go through the initial setup wizard
let the system reset and then load the saved database back in.

That’s it problem LoLa’rd

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
The following is a trace from the V24 port if you are interested in the
output.
ALIZE Start
1Mo RAM OK
memory test started lng=66060288 with 0
running flash(soldered=1 socket=0)=1,BIOScase:4,BIOSv24:0,verrou=1,algoNOR=1,size=1,base=3FF80000
DIMM characteristics->: JEDEC Manu ID:.,ÿÿÿÿÿÿ
Memory type(EDO,FPM..):0x 4
# of row address:12
# of col address 9
# of module row 1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI:scan_bus for bus 0
PCI:bus=00h,devfn=00h ,[vendor:device]=[1022h/3000h]
PCI:bus=00h,devfn=60h ,[vendor:device]=[100Bh/0020h]
PCI:bus=00h,devfn=98h ,[vendor:device]=[1064h/2101h]
PCI:scan_buses with 00h secondary buses
PCI:command = 3FFH for device 00:00
PCI: Assigning I/O space FC00-FCFF for 00:60 BAR= 10
PCI:Assign memory space BFFFF000H to BFFFFFFFH for device 00:60
PCI:command = 3FFH for device 00:60
PCI:Assign memory space BFFFD000H to BFFFDFFFH for device 00:98
PCI: Assigning I/O space FD00-FD1F for 00:98 BAR= 14
PCI: Unable to handle I/O allocation for 00:98 (FF04) BAR= 18
PCI:command = 3FFH for device 00:98
assigning irq10 to xchange
B0 = 17
DRCTMCTL = 1E
DRCCTL = 18
DBCTL = 11
LOLA mode processing new eth address
Set external RTC
Set Internal RTC
No external RTC detected
gpbus sig timing : 0-2-1-2-1-2!

CMOS is available
Xchange PCI mem base OK: 0,mbx= BFFFD000
dsp_accesses.stat_ctrl= FD00
Xchange PCI IO base OK: 0
Xchange irq OK: A
eth dynamic address used
PCI command read for natsemi : 347
PCI Master Bit Setting...
pci_command set to: 357
0 80 9F 2E 4 AC ,IRQ 12.on interrupt pin:2
eth0: Transceiver status 0x 7869 advertising 5E1
Hard Disk #0 : TOSHIBA MK2023GAS 19077 Mo
Parameters :
Type 0
Extended Type 255
Sectors / track 63
Landing Zone 0
Control Byte 0
Write Precomp 0
Heads 16
Nb of Cylinders 16383
HD size(cyl*sec by track*head*sector size) 8455 MO(decimal)
Flashfx version:600.010.500

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
NAND Flash Comfiguration:
CPU size : 64 MBytes
free spare blocks: 77
NAND Flash Details:
chip #0 : Type= Id=9876H Size=64(MBytes) Unit size=16384 Page Size=512
eth dynamic address used
time :sec=49,min= 6,hour= 8,DoW= 7,date=22,Month= 3,year= 7
time :sec=53,min= 6,hour= 8,DoW= 7,date=22,Month= 3,year= 7

ALIZE informations :
Memory Detected : 65536 Ko
Flash Detected
DaughterBoard Not Detected
XCHANGE Detected
XCHANGE Chip Initialization OK
Ethernet Found : 1
Ethernet Chip Initialization OK
Hard Disk Detected
Hard Disk Found : 1
PCM11 selected
No HD trace

CPU at 133 mhz


check lock RTC
value of DIL switch B

YOU CAN strike Ctrl B to enter in BIOS monitor during several seconds from NOW !

BATMODE testing
Static Boot from Bootp + flash NAND mother(6)
eth0: Setting 1 (0 half 1 full) based on negotiated link capability.
eth dynamic address used

IP address determination
============================

BOOTP request in progress ->0:80:9F:2E:4:AC

*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIP
Rcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,
Connection timed out: BOOTP server not responding.
eth dynamic address used

IP address determination
============================

BOOTP request in progress ->0:80:9F:2E:4:AC

*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIP
Rcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,
Connection timed out: BOOTP server not responding.
unable to boot on Ethernet link
Static Boot from ethernet(4)
eth dynamic address used

IP address determination
============================

BOOTP request in progress ->0:80:9F:2E:4:AC

*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIP
Rcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,*RcvTO,TOIPRcv,bp_chaddr(eth client address):0:80:9F:2E:4:AC

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
Bootp resp IP addr src:192.168.92.245
bootp server and TFTP server are the same

TFTP server IP addr ( siaddr): 192.168.92.245


eth source address=0:15:C5:46:D3:CE
bootfile = install_flash.tftp
0:15:C5:46:D3:CE

Our Hostname: downloadl (192.168.92.246)

Netmask: 255.255.255.0
My IP address
192.168.92.246
My SUBNET mask
255.255.255.0
TFTPLOAD STARTED using ip=192.168.92.245 -New ethernet address TFTP server (or gateway)
:0:15:C5:46:D3:CE
- Bootp Server intg02897ld.integ.net.au - File Name install_flash.tftp
size of last packet: 103

TFTPLOAD COMPLETE - file size 103


cmd received: vmlinux.bin;1099648;BIN;1048576;1048576
initrd_inst.gz;6559490;RAMDISK;4194304;0
boot;0;BOOT;0;1048576

size of file loaded: 67H at 661CH


j= 0 file-fct type= 7 ,file name= vmlinux.bin ,length= 1099648 ,address=1048576 start=1048576
j= 1 file-fct type= 1 ,file name= initrd_inst.gz ,length= 6559490 ,address=4194304 start=0
j= 2 file-fct type= 5 ,file name= boot ,length= 0 ,address=0 start=1048576
j= 3 file-fct type= 0 ,file name= ,length= 0 ,address=0 start=0
j= 4 file-fct type= 0 ,file name= ,length= 0 ,address=0 start=0
j= 5 file-fct type= 0 ,file name= ,length= 0 ,address=0 start=0
j= 6 file-fct type= 0 ,file name= ,length= 0 ,address=0 start=0
j= 7 file-fct type= 0 ,file name= ,length= 0 ,address=0 start=0
j= 8 file-fct type= 0 ,file name= ,length= 0 ,address=0 start=0
j= 9 file-fct type= 0 ,file name= ,length= 0 ,address=0 start=0
config action number=3

TFTPLOAD STARTED using ip=192.168.92.245 -New ethernet address TFTP server (or gateway)
:0:15:C5:46:D3:CE
- Bootp Server intg02897ld.integ.net.au - File Name vmlinux.bin
................................................................................
......................................................size of last packet: 384

TFTPLOAD COMPLETE - file size 1099648

TFTPLOAD STARTED using ip=192.168.92.245 -New ethernet address TFTP server (or gateway)
:0:15:C5:46:D3:CE
- Bootp Server intg02897ld.integ.net.au - File Name initrd_inst.gz
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
size of last packet: 258

TFTPLOAD COMPLETE - file size 6559490


15067=total packets received

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
14995=total packets transmitted
8360061=total bytes received
975466=total bytes transmitted
0=bad packets received
0=packet transmit problems
0=no space in linux buffers
0=no space available in linux
0=multicast packets received
0=collisions
0=length_errors
0=receiver ring buff overflow
0=recved pkt with crc error
0=recv'd frame alignment error
0=recv'r fifo overrun
0=receiver missed packet
0=tx_aborted_errors
0=tx_carrier_errors
0=tx_fifo_errors
0=tx_heartbeat_errors
0=tx_window_errors
0=rx_compressed
0=tx_compressed
start kernel at 100000
Shutdown of the interface 0 = 0
init ethernet interface 1 not done
new console=ttyS0
Bootinfo src = 0x0 Bootinfo dst = 0xc0105000
Linux version 2.4.17-rt3.1 (cc_prod@frillsrd02p) (gcc version 2.95.3 20010315 (release)) #4 Mon Nov 28
15:51:15 MET 2005
BIOS-provided physical RAM map with chipset constraints 3 :
BIOS-e820: 0000000000000000 - 00000000000fffff (usable)
BIOS-e820: 0000000000100000 - 0000000004000000 (usable)
final contents of e820: 0000000000000000 - 00000000000fffff (usable)
final contents of e820: 0000000000100000 - 0000000004000000 (usable)
On node 0 totalpages: 16384
zone(0): 4096 pages.
zone(1): 12288 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0
Initializing CPU#0
Calibrating delay loop... 65.74 BogoMIPS
Memory: 56796k/65536k available (784k kernel code, 8736k reserved, 199k data, 64k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Cpu type: 0x67
DIL switch: 0xb
mmcr aliases are enabled
ASPEN : MMCR mapped at 0xC4800000
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: AMD 486 DX/4-WB stepping 04
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
Serial port Fifo trigger forced to 4 Bytes
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
cryptoapi: loaded
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 6405k freed
EXT2-fs warning: checktime reached, running e2fsck is recommended
e2compr 0.4.43 (2002-04-12) loading.
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 64k freed
init started: BusyBox v1.00 (2006.05.24-13:22+0000) multi-call binary
Starting pid 9, console /dev/ttyS0: '/etc/rcS'
Remounting root filesystem in read-write mode
Finding module dependencies
###########################################################################
# Installation stage !!! #
###########################################################################
IP config in /mnt/soft/ds/
/mnt/soft/ds/alznet.cnf Test !
Cold reset,bootp ok
/mnt/soft/ds/alznet.cnf no VLAN used
Write /etc/sysconfig/network-scripts/ifcfg-eth network file successfully.
Network configured successfully.
modprobe: Can't locate module alz_misc
modprobe: Can't locate module watchdog
Starting system loggers....
IP config in /mnt/soft/ds/
Cold reset,bootp ok
/mnt/soft/ds/alznet.cnf no VLAN used
Write /etc/sysconfig/network-scripts/ifcfg-eth network file successfully.
Network configured successfully.
Setting hostname....
IPv4 packet forwarding is disabled....
Bringing up interface lo....
SIOCADDRT: Invalid argument
Bringing up interface eth0....
PCI: Setting latency timer of device 00:0c.0 to 64
SIOCADDRT: Invalid argument
albagw: error in loading shared libraries: libservice_tools.so: cannot open shared object file: No such file or
directory
Starting portmapper....
Starting INET services for LOLA board....
not yet Starting SAMBA services on LOLA CPU ....
-----: Extended flash (XMEM) not present.
-----: Hard-disk detected (19077Mo).
-----: Disabling watchdog...
-----: LOLA mode found
-----: TFTP Download request for target.conf succeed
-----: Loading target.conf file.
-----: Boot device mount point is /MNT/FLASH
Flashfx revision number 600.010.500
-----: Flash driver loaded successfully
Flashfx revision number 600.010.500

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
-----: Flash detected.
-----: No XMEM detected.
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA MK2023GAS, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
-----: Ide driver loaded successfully
0-----: Licences request.
-----: Tftp download of main software licence succeeded.
-----: Tftp download of cti software licence succeeded.
-----: Mounting samba devices.
-----: Samba mount //intg02897ld/CurDeliv /delivery -N -U LoLa300_R10.1%#LoLa_R3_10.1 -W intg02897ld -
I 192.168.92.245 succeeded.
************************
* Installation profile *
************************

--- General Configuration ---


Install software version: 03/09/05
Installation Mode: start
Download Base: /delivery
Main Licence downloaded: 00055201.msl
Cti Licence downloaded: 00055201.csl
Pari downloaded: none
Country: au
Install several targets: no
TFTP server: 192.168.92.245
Root fs mount point is: /mnt/hd
Reboot system if start failed: yes
Update bios if needed: yes
Security disabled: no
PhD dev: yes
Force wall mounted: no
X-Mem card ignored: yes
Backup software on flash: no
Reboot at end of install: no

--- Services ---


Call-Handling: yes
Internet Access: no
Remote Access Server: no
Voice Over IP: no
ACD: yes
IA on co-CPU: no
RAS on co-CPU: no
Bios for INTEL PentiumIII: no
Bios for AMD SC520: yes

--- Hardware ---


Flash on board: yes
X-Mem card: no
Hard Disk: yes

-----: Looking for langages:


-----: Adding langage: gb
-----: Adding langage: fr
-----: Adding langage: de
-----: Adding langage: it
-----: Looking for timezone:
-----: Adding file: ./timezo/Canberra
-----: Formating device /dev/fla ...
Argument "fxfmt /dev/fla -c" isn't numeric in en.tersub at /usr/l.ib/perl//i486-li.nux/POSIX.pm lin.e 207.
....................................................................................................................................................................................

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
....................................................................................................................................................................................
........................................................................................................................................
-----: Building ext2 fs on /dev/fla ...
Flashfx revision number 600.010.500
-----: Formating hard-disk ...
-----: Marking devices as not bootable.
-----: Mounting /dev/hda8 on /mnt/mail
-----: Mounting /dev/hda1 on /mnt/hd
-----: Mounting /dev/hda10 on /mnt/intranet
-----: Mounting /dev/hda5 on /mnt/hdext
-----: Mounting /dev/hda11 on /mnt/file_server
-----: Mounting /dev/fla on /mnt/flash
....................................................................................................................................................................................
....................................................................................................................................................................................
............................................................................................................................................
-----: Mounting /dev/hda9 on /mnt/shared
-----: Mounting /dev/hda6 on /mnt/proxy
-----: killing the XMEM nand flash
-----: Start to copy items.
-----: Treating item timezo
-----: Treating item linpac
-----: Treating item mpac
-----: Treating item apppac
-----: Treating item bios
-----: Treating item allo
-----: Treating item kernel
-----: Treating item ramdsk
-----: Treating item libalc
-----: Treating item dsp
-----: Treating item rt_sig
-----: Treating item dasig
-----: Treating item uanoe
-----: Treating item luanoe
-----: Treating item tele
-----: Treating item dacm
-----: Treating item lang
-----: Treating item cti
-----: Treating item acd
-----: Treating item vprmpt
-----: Treating item notif
-----: Treating item xmlsrv
-----: Treating item prvdrs
-----: Treating item ibs
-----: Treating item ibs_ng
-----: Treating item ibspwt
-----: Treating item mlt_ua
-----: Treating item misc
-----: Disable ATA66 mode for ide0
-----: Copy done successfully
-----: Installing grub
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
-----: Making backup of software on flash
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
invalidate: busy buffer
-----: Check for upgrading bios software
-----: Checking installed items of /mnt/hd.
-----: Checking installed items of flash backup
-----: Checking installed items of hdext
invalid DIL SWITCH : assuming A42CH_VM_ASPEN !!!
.~.
/V\
// \\ --- Linux Inside Now ! ---
/( )\
^~^

-----: End of installation.

You can log on now.

<4>found nmi cause = BUTTON


dispatching POWERBUTTON nmi
POWERBUTTON end
Starting pid 5440, console /dev/ttyS0: '/etc/rc.reboot'
Starting pid 5443, console /dev/ttyS0: '/etc/rc.shutdown'
[Saving random seed]

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com
[Turning off swap]
[Kill All processes]
[Unmounting loopbacks]
[unmounting flash]...[OK]
[unmounting HD partitions]...[OK]
[Forcing all remaining loopbacks in read only mode]
[stoping eth0]
eth0 : chip stopping...
[End of rc.shutdown]
The system is going down NOW !!
Sending SIGTERM to all processes.
Sending SIGKILL to all processes.
Please stand by while rebooting the system.
Restarting system.

Krusty65@alcatelunleashed.com http://www.alcatelunleashed.com

Anda mungkin juga menyukai