SmartFirmware for EDB7312 FAQ

home
edb7312
smart firmware
contact

 
 
 
1.
My EDB7312's ethernet does not pass it's selftest. How do I fix this?
2.
I changed one of the NVRAM settings and now my EDB7312 doesn't come up, how do I recover?
3.
How do I load the new version of SmartFirmware onto my EDB7312?
4.
How do I make serial 1 the console?
5.
How do I make serial 2 the console?
6.
How do I make the Display and PS/2 keyboard the console?
7.
How does the console work by default?
8.
Can I use a different baud rate than 9600?
9.
How to I load and run an ELF image from the network.
10.
Can the ELF image be linked at the same address as the load base.
11.
What is the default value for the load base?
12.
What address should I link my program at so that SmartFirmware can load and run it?
13.
How much memory is available at the load base?
14.
Where can I find a TFTP Server for Windows?
15.
Why does the keypad say CDK238 and the Firmware says EDB7312?

 
 
Q.1
 My EDB7312's ethernet does not pass it's selftest. How do I fix
 this?
 

 

A.1
 The most likely cause for this problem is that the EtherLoop test
 program has been run on the board.  This test program will overwrite
 the EDB7312 ethernet's EEPROM with invalid data.  The EtherLoop test
 program sets the MAC address to 01:02:03:04:05:06.  This MAC address
 is problematic since the lower two bits of the first byte are not zero.
 The value 1 stored in these bits indicates that the MAC address is a
 multicast address instead of the unicast address that is required.
 To fix this problem follow the following proceedure.
 
        1.      Hold buttons User 6 and User 5 down and depress the reset
                button.  When SmartFirmware is booted release the User buttons.
 
        2.      Clear the serial EEPROM
 
                ok cd /ethernet
                ok format-eeprom
 
        3.      Program the ethernet interfaces MAC address
 
                ok set-mac-address 00:30:23:01:XX:XX
 
                If you don't know what XX:XX should be try 00:01
 
        4.      Resume normal operation
 
                ok reset-all
 

 

Q.2
 I changed one of the NVRAM settings and now my EDB7312 doesn't
 come up, how do I recover?
 

 

A.2
 While holding done the key labeled 'User 5' press and release
 the 'CPU POR' key.  This will cause SmartFirmware to revert
 to its default NVRAM settings.  You may see the message 
 'NVRAM is corrupt, reseting to default values'
 and can ignore it.
 

 

Q.3
 How do I load the new version of SmartFirmware onto my EDB7312?
 

 

A.3
 You must be running at least version 0.4b107 to update SmartFirmware
 over the network.
 
     ok load net of_X.Y.rom
     error: bootimage format is of an unknown format
     ok flash-update
     ok reset-all
 
 If you wish to load SmartFirmware over the serial port follow the
 instruction included with the download.exe utility and use the 
 following command.
 
     1)	Reset the EDB7312.  Hold down the CPU BROM button while
 	depressing and releasing the CPU POR button.
 
     2)	At the DOS prompt enter the command.
 	
 	C> download of_X.Y.rom 1 115200 bootcode.axf
 

 

Q.4
 How do I make serial 1 the console?
 

 

A.4
 ok setenv console-devices ttya
 ok reset-all
 

 

Q.5
 How do I make serial 2 the console?
 

 

A.5
 ok setenv console-devices ttyb
 ok reset-all
 

 

Q.6
 How do I make the Display and PS/2 keyboard the console?
 

 

A.6
 ok setenv console-devices screen+keyboard
 ok reset-all
 

 

Q.7
 How does the console work by default?
 

 

A.7
 The console by default sends output to the dislay and serial 1 at
 9600 baud.  Input is accepted from either the PS/2 keyboard or
 from Serial 1 at 9600 baud.  To return the default behavior:
 
     ok setenv console-devices ttya;screen+keyboard
     ok reset-all
 

 

Q.8
 Can I use a different baud rate than 9600?
 

 

A.8
 Yes. The UART drivers takes the following argument syntax.
 [buad],[data bits],[stop bits],[parity],[flow control]
 
 Buad can be any of the following:
 
        110   1200   2400   4800
       9600  14400  19200  28800
      38400  57600  76800 115200
 
 Data bits can be any of the following:
 
 	 5      6      7      8
 
 Stop bits can be any of the following:
 
 	1	1 stop bits
 	2	2 stop bits
 
 Parity can be any of the following:
 
 	N	No parity checking
 	E	Check even parity
 	O	Check odd parity
 
 Flow control can be any of the following:
 
 	-	No flow control
 	H	RTS/CTS flow control
 
 To set up a port for 8 bits no parity at 115200 baud use the following
 
     ok setenv console-devices ttya:11520,8,1,N,-
     ok reset-all
 

 

Q.9
 How to I load and run an ELF image from the network.
 

 

A.9
 ok boot net filename
 
 This will use the BOOTP protocol to determine the IP address for
 the EDB7312 and the IP address of the TFTP server.  SmartFirmware will
 then TFTP the file named `filename' and place it at the load base.  The
 image at the load base will then be copied to its load addresses and
 execution will begin at the entry point.
 

 

Q.10
 Can the ELF image be linked at the same address as the load base.
 

 

A.10
 Yes. For versions of SmartFirmware prior to 0.7 this is not possible
 however.  We recommend that you upgrade to version 0.7 so that you
 don't have to worry about this problem.
 

 

Q.11
 What is the default value for the load base?
 

 

A.11
 F000.0000
 

 

Q.12
 What address should I link my program at so that SmartFirmware can load
 and run it?
 

 

A.12
 If you are using SmartFirmware version 0.7 or later you should link
 your program for address F000.0000.
 
 If you are using an early version of SmartFirmware follow these
 steps.
 
 First, link your image for address F000.0000.  
 
 Next, determine the size of the load image.
 
 Next, add the load image size to F000.0000 and round up to give your
 self some room.  
 
 Last, relink your image for the address calculated above.
 

 

Q.13
 How much memory is available at the load base?
 

 

A.13
 15Mb
 

 

Q.14
 Where can I find a TFTP Server for Windows?
 

 

A.14
 http://www.solarwinds.net/Tools/Free_Tools/TFTP_Server/Download.htm
 

 

Q.15
 Why does the keypad say CDK238 and the Firmware says EDB7312?
 

 

A.15
 In June 2001, the keypad was changed so that it no longer has
 the Cogent Computer Systems part number CDK238.  All references
 to CDK238 will have been removed in revision 0.6 of SmartFirmware
 and changed to reference the Cirrus Logic part number EDB7312.
 

 
CodeGen, Inc.
PO Box 3357
Oakland, CA 94609
1-510-652-0151
info@codegen.com