EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: tftp Booting of mvme2700
From: Detlef Vermeulen <[email protected]>
To: Andy Foster <[email protected]>, [email protected]
Date: Fri, 12 Mar 1999 15:36:52 +0100
Hi Andy,
    we run 2300 boards, but I assume they are similar to the 2700. I further assume
you have vxWorks set up on
your system. So here's what I have done:

  - in the bsp directory
    $ make bootrom_uncmp
    $ elfToBin < bootrom_uncmp > mv2300.boot

  - copy mv2300.boot to the /tftpboot directory. ( tftp deamon must be running )
  - the mv2300 board comes with two flash memory banks A and B switchable through
jumper J15.
    Factory setting is bank A ( pins 1 and 2  are jumpered ). Both banks come with
Motorola's PPCBug loaded.
    Jumper pin 2 and 3 to select bank B. Power up the crate.

    -  set the time  ( necessary: in my case it didn't work without)
      ( following a log of a session, input is in brackets )

      PPC1-Bug>  <set 0115991705>             # FRI JAN 15 17:05:00.00 1999

    -  run niot to configure the network , e.g.

      PPC1-Bug> <niot>
      Controller LUN =00?
      Device LUN     =00?
      Node Control Memory Address =01F9E000?
      Client IP Address      =0.0.0.0?  <129.129.10.23>
      Server IP Address      =0.0.0.0?  <129.129.40.123>
      Subnet IP Address Mask =255.255.255.0? <255.255.0.0>
      Broadcast IP Address   =255.255.255.255? <129.129.0.0>
      Gateway IP Address     =0.0.0.0? <129.129.100.2>
      Boot File Name ("NULL" for None)     =?  <mv2300.boot>
      Argument File Name ("NULL" for None) =?
      Boot File Load Address         =001F0000?
      Boot File Execution Address    =001F0000?
      Boot File Execution Delay      =00000000?
      Boot File Length               =00000000?
      Boot File Byte Offset          =00000000?
      BOOTP/RARP Request Retry       =00?
      TFTP/ARP Request Retry         =00?
      Trace Character Buffer Address =00000000?
      BOOTP/RARP Request Control: Always/When-Needed (A/W)=W?
      BOOTP/RARP Reply Update Control: Yes/No (Y/N)       =Y?

      Update Non-Volatile RAM (Y/N)?  <y>

      PPC1-Bug>

    -  run niop to download mv2300.boot

      PPC1-Bug>  <niop>
      Controller LUN =00?
      Device LUN     =00?
      Get/Put        =G?
      File Name      =?  <mv2300.boot>
      Memory Address =00004000?
      Length         =00000000?
      Byte Offset    =00000000?

      Bytes Received =&358812, Bytes Loaded =&358812
      Bytes/Second   =&89703, Elapsed Time =4 Second(s)

  -    load mv2300.boot into memory bank A:

      PPC1-Bug>pflash 4000:100000 ff000100
      Source Starting/Ending Addresses      =00004000/01003FFF
      Destination Starting/Ending Addresses =FF000100/000000FF
      Number of Effective Bytes             =01000000 (&16777216)

      Program FLASH Memory (Y/N)?   <y>
      FLASH Memory Programming Complete
      PPC1-Bug>

   -   power down the create and rejumper J15 to memory bank A. Repower the crate and
       the vxWorks prompt should pop up.

   -  finally set up the nvram to  boot the vxworks system image.

      processor number   : 0
      host name              : pc1784
      file name                : /home/ioc/ioc001/vxWorks
      inet on ethernet (e)  : 129.129.10.1
      host inet (h)            : 129.129.77.34
      user (u)                  : ioc
      flags (f)                  : 0x0
      target name (tn)      : ioc001
      startup script (s)      : startup.script

Cheers,
Detlef

------------------------------------------------------------------------------------------

        Detlef Vermeulen                     phone: +41 56 310 3620
        Paul Scherrer Institute              fax:   +41 56 310 4413
        SLS Computing & Controls             mailto: [email protected]
------------------------------------------------------------------------------------------



Andy Foster wrote:

> Dear All,
>
> Does anyone have a prescription to set up the
> booting of an mvme2700 from PPCBug using the tftp
> network protocol?
>
> Cheers,
>
> Andy
>
> ===================================================================================
> Andy Foster
> Gemini 8-m Telescopes Project   Tel:     1 (808) 974 2556 (direct)
> Gemini-North Base Facility      Fax:     1 (808) 935 9235
> 670 North A'ohoku Place
> University Park                 E-mail:    [email protected] or [email protected]
> Hilo                            Home Page: http://controls.gemini.edu/ajf
> Hawaii 96720
> USA


References:
tftp Booting of mvme2700 Andy Foster

Navigate by Date:
Prev: GDCT 313 BOGARD Daniel
Next: Re: GDCT 313 Bakul Banerjee
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: tftp Booting of mvme2700 Andy Foster
Next: GDCT 313 BOGARD Daniel
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·