Arbeitsgruppe Hardware OSBRiDGE 5GXi: Unterschied zwischen den Versionen

Aus FunkFeuer Wiki
Wechseln zu: Navigation, Suche
K (Änderungen von Rebeca6543 (Diskussion) rückgängig gemacht und letzte Version von Runout wiederhergestellt)
 
Zeile 219: Zeile 219:
 
# Connect the OSBRiDGE device to the computer via cross-over cable or via network switch
 
# Connect the OSBRiDGE device to the computer via cross-over cable or via network switch
 
# Turn on the OSBRiDGE device, it should initiate the transfer automaticaly, automaticaly reflash and reboot itself.
 
# Turn on the OSBRiDGE device, it should initiate the transfer automaticaly, automaticaly reflash and reboot itself.
# [http://www.mightystudents.com/catalog/creative_writing writing essay]
+
 
 
=== GPL Violation ===
 
=== GPL Violation ===
 
siehe [[OSLiNK_GPL_violation|hier]]
 
siehe [[OSLiNK_GPL_violation|hier]]

Aktuelle Version vom 4. März 2012, 01:59 Uhr

OSBRiDGE 5GXi

Es handelt sich um eine Lösung rund um den Infinion Adm5120 mit:

  • Speicher: 16MB Ram. Als SDRam Chip kommen zwei Stück IS42S32200C1 zum Einsatz, das sind 512K Bits x 32 Bits x 4 Banks (64-MBIT) Chips (Datasheet)
  • Flash: 16mbit/2MByte. Der Flashchip ist ein MX29lv160CBTC-70G (Datasheet)
  • WLAN: WLM54AG Atheros 802.11a/b/g mPCI Adapter mit AR5414 Chipset (Datasheet)
  • RS232 line driver: Links neben dem miniPCI Steckplatz ist ein MAX2343. Das ist ein 3V to 5V Multichannel RS232 line driver/receiver (Datasheet)

Serielle Konsole

Pinbelegung der J2 Pinleiste:

J2
3V3 1 x x 10
      x x
      x x    GND
      x x    TX
 RX 5 x x 6
Pin 5: rx  connect to pin 3 on 9-pin rs232
Pin 7: tx  connect to pin 2 on 9-pin rs232
Pin 8: gnd connect to pin 5 on 9-pin rs232

Einstellungen:

  • Baud: 115200, 8bit, 1 Stopbit, keine Flußsteuerung

Bootloader

Ausgabe des bootloaders:

ADM5120 Boot:: 3387E1F3   


Copyright 2002-2004  Infineon-ADMtek, Inc.
CPU: ADM5120-175MHz
SDRAM: 16MB  Flash: NOR-2MB
Boot System: OSBRiDGE 5XLi/5GXi/900XL
Boot Version 2.10, Programmed: 02.00  HWRev: 03.00
Creation Date: 2006.06.22

Press <space> key tree times to enter boot menu..
0
Booting Linux... 
Kernel decompress ...
Check age image..... 001D55B9
Find new image.
Allocalte memory CRC: YES
CRC sum: E17DE2C5
CRC size: 001D55B9
CRC calculate: E17DE2C5
Kernel size: 001D55B9
Kernel address: A0002000
Kernel address: 100001B5
CRC config sum: 3387E1F3
CRC config size: 00006BF6
CRC config calculate: 3387E1F3 OK
PASS

Sieht ähnlich dem Edimax Bootloader aus (3x <space>...)

Ausgabe, wenn man 3x die Leertaste drückt:

ADM5120 Boot:


Copyright 2002-2004  Infineon-ADMtek, Inc.
CPU: ADM5120-175MHz
SDRAM: 16MB  Flash: NOR-2MB
Boot System: OSBRiDGE 5XLi/5GXi/900XL
Boot Version 2.10, Programmed: 02.00  HWRev: 03.00
Creation Date: 2006.06.22 

Press <space> key tree times to enter boot menu..
0 

Loader Menu
==================================
[1] Xmodem Download
[2] TFTP Client Download
[3] Print Boot Params
[4] Set Boot Params
[5] Update bootloader
[6] Exit

Please enter your number:3

Print Boot Parameters.
========================== 

Serial number:
Hardware version:
Mac addres:00-0B-6B-2A-04-05
Number of Mac address:0
IP address for this board:192.168.1.7 

Loader Menu
==================================
 [1] Xmodem Download
 [2] TFTP Client Download
 [3] Print Boot Params
 [4] Set Boot Params
 [5] Update bootloader
 [6] Exit

Please enter your number:

Menue [2]:

TFTP Client Menu
===============================
 [D]: start download
 [S]: set parameters
 [X]: exit
Enter your option:

Default ist tftp Server IP: 192.168.1.23 file name: osbridge_5xli.bin

Flasht man mit den Defaulteinstellungen, so gibt es zwischen

Programming flash....

und

Write flash....PASS

ein

Decode....

Original OSBRiDGE Firmware funktioniert nur, wenn sie mit den Default-Einstellungen geflasht wird. Hier der Output eines erfolgreichen Flash-Vorgangs der original OSBRiDGE Firmware (v3.54R) (dauert weniger als eine Minute)

Remote File: osbridge_5xli.bin

TFTP Client Menu
=============c==================
 [D]: start download
 [S]: set parameters
 [X]: exit
Enter your option:d
Starting the TFTP download(ESC to stop)...............................PASS 

Eraseing flash.......PASS
Programming flash....
Decode....
Write flash....PASS

Server IP: 192.168.1.23
Remote File: osbridge_5xli.bin

TFTP Client Menu
===============================
 [D]: start download
 [S]: set parameters
 [X]: exitccc
Enter your option:

Images mit dem csys header header "booten" wie unten angefügt bis zu einem "CRC calculate -> fail", ohne csys header bleibt der Bootvorgang schon bei "Find new image." stecken.

Bootversuch mit einem Image von http://www.student.tue.nl/Q/t.f.a.wilms/adm5120/files/fw/fw-20050809.img (via [2] tftp Client Download eingespielt):

ADM5120 Boot:


Copyright 2002-2004  Infineon-ADMtek, Inc.
CPU: ADM5120-175MHz
SDRAM: 16MB  Flash: NOR-2MB
Boot System: OSBRiDGE 5XLi/5GXi/900XL
Boot Version 2.10, Programmed: 02.00  HWRev: 03.00
Creation Date: 2006.06.22

Press <space> key tree times to enter boot menu..
0
Booting Linux...
Kernel decompress ...
Check age image..... 00181CFB
Find new image.
Allocalte memory CRC: YES
CRC sum: FFFFFF00
CRC size: 00181CFB
CRC calculate: 7C60B344 FAIL

TFTP Firmware upgrade

Aus dem OSBRiDGE Manual

Firmware download

Each OSBRiDGE device allows firmware upgrade via TFTP.

From the Windows DOS box you need to enter following command:

X:\>tftp -i -s 192.168.1.251 PUT OSBRiDGE_5XLi_4.00R.bin admin_public

WinAgents TFTP Client version 1.3 Copyright (c)2004-2005 by Tandem Systems,Ltd. http://www.winagents.com - Software for network administrators

Transfering file OSBRiDGE_5XLi_3.35R.bin to server in octet mode... Using blocksize = 512 Using TFTP timeout = 10s File OSBRiDGE_5XLi_3.35R.bin was transferred successfully. 1964844 bytes transfered for 63 seconds, 31188 bytes/second

X:\>

Please note that username (admin) and password (public in this case) required for authorization are sent to the device as remote file name (admin_public).

The device will accept firmware, reflash and reboot automaticaly.

Emergency firmware restore procedure

Aus dem OSBRiDGE Manual

Should the OSBRiDGE device fail or loose power during firmware upgrade the built-in bootloader allows easy firmware restore.

Indication of the device requiring firmware restore is WLAN and Ethernet LEDs blinking subsequentialy for 10 seconds immediately after device power up. Please note however that the LEDs may not always blink when firmware restore is required.

This is the step by step procedure required to perform:

  1. You need to obtain tftp server software, the free one is available at http://tftpd32.jounin.net/
  2. Install tftpd32.exe into the catalog where firmware files are located
  3. Rename the firmware file into osbridge_5xli.bin
  4. Change your computer IP address to 192.168.1.23 netmask 255.255.255.0
  5. Connect the OSBRiDGE device to the computer via cross-over cable or via network switch
  6. Turn on the OSBRiDGE device, it should initiate the transfer automaticaly, automaticaly reflash and reboot itself.

GPL Violation

siehe hier