Changes between Version 1 and Version 2 of TBR/BSP/Mvme167


Ignore:
Timestamp:
02/05/09 04:33:20 (15 years ago)
Author:
Strauman
Comment:

/* Firmware Setup */

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Mvme167

    v1 v2  
    3030
    3131
    32 The mvme167 BSP by default (i.e., unless you tamper with the linkcmds) is linked at 0x0800000 and the firmware has to be properly configured so that loading and executing at that address is possible:
    33 # The board's RAM must be mapped starting at address 0x08000000 (and not zero as may seem more natural and which IIRC is 167Bug's default).
    34 ## Use 167Bug's 'env' command to set the 'Base Address of Local Memory' to 08000000.
    35 ## Use 167Bug's 'niot' command to set the download and execution address to 08000000.
    36 # By default, the 167Bug firmware uses the lowest 64k block of RAM it finds for internal data and this conflicts with RTEMS' needs. 167Bug won't allow you to download the RTEMS image to 0x08000000 unless you instruct 167Bug to use another area (e.g., static RAM) for it's internal data.
    37 ## Use 167Bug's 'env' command to set both, the 'Memory Search Starting Address' and 'Memory Search Ending Address' to zero. The 'search' area is the address-range that is scanned by 167Bug when it tries to find an area for it's internal data. If it finds no RAM (since start==end) then it uses static RAM and 08000000 and up can be used by RTEMS.
     32The mvme167 BSP by default (i.e., unless you tamper with the linkcmds) is linked at 0x00800000 and the firmware has to be properly configured so that loading and executing at that address is possible:
     33# The board's RAM must be mapped starting at address 0x00800000 (and not zero as may seem more natural and which IIRC is 167Bug's default).
     34## Use 167Bug's 'env' command to set the 'Base Address of Local Memory' to 00800000.
     35## Use 167Bug's 'niot' command to set the download and execution address to 00800000.
     36# By default, the 167Bug firmware uses the lowest 64k block of RAM it finds for internal data and this conflicts with RTEMS' needs. 167Bug won't allow you to download the RTEMS image to 0x00800000 unless you instruct 167Bug to use another area (e.g., static RAM) for it's internal data.
     37## Use 167Bug's 'env' command to set both, the 'Memory Search Starting Address' and 'Memory Search Ending Address' to zero. The 'search' area is the address-range that is scanned by 167Bug when it tries to find an area for it's internal data. If it finds no RAM (since start==end) then it uses static RAM and 00800000 and up can be used by RTEMS.
     38
     39These are my 'env' settings:
     40{{{
     41MPU Clock Speed =25Mhz                                                         
     42                                                                               
     43167-Bug>env                                                                     
     44Bug or System environment [B/S] = B?                                           
     45Field Service Menu Enable [Y/N] = N?                                           
     46Remote Start Method Switch [G/M/B/N] = B?                                       
     47Probe System for Supported I/O Controllers [Y/N] = Y?                           
     48Negate VMEbus SYSFAIL* Always [Y/N] = N?                                       
     49Local SCSI Bus Reset on Debugger Startup [Y/N] = N?                             
     50Local SCSI Bus Negotiations Type [A/S/N]       = A?                             
     51Ignore CFGA Block on a Hard Disk Boot [Y/N]    = Y?                             
     52Auto Boot Enable [Y/N]   = N?                                                   
     53Auto Boot at power-up only [Y/N] = Y?                                           
     54Auto Boot Controller LUN = 00?                                                 
     55Auto Boot Device LUN     = 00?                                                 
     56Auto Boot Abort Delay    = 15?                                                 
     57Auto Boot Default String [NULL for a empty string] = ?                         
     58ROM Boot Enable [Y/N]            = N?                                           
     59ROM Boot at power-up only [Y/N]  = Y?                                           
     60ROM Boot Enable search of VMEbus [Y/N] = N?                                     
     61ROM Boot Abort Delay             = 0?                                           
     62ROM Boot Direct Starting Address = FF800000?                                   
     63ROM Boot Direct Ending Address   = FFBFFFFC?                                   
     64Network Auto Boot Enable [Y/N]   = N?                                           
     65Network Auto Boot at power-up only [Y/N] = Y?                                   
     66Network Auto Boot Controller LUN = 00?                                         
     67Network Auto Boot Device LUN     = 00?                                         
     68Network Auto Boot Abort Delay    = 5?                                           
     69Network Auto Boot Configuration Parameters Pointer (NVRAM) = FFFC0000?         
     70Memory Search Starting Address   = 00000000?                                   
     71Memory Search Ending Address     = 00000000?                                   
     72Memory Search Increment Size     = 00010000?                                   
     73Memory Search Delay Enable [Y/N] = N?                                           
     74Memory Search Delay Address      = FFFFCE0F?                                   
     75Memory Size Enable [Y/N]         = Y?                                           
     76Memory Size Starting Address     = 00000000?                                   
     77Memory Size Ending Address       = 01000000?                                   
     78Base Address of Local Memory     = 00800000?                                   
     79Size of Local Memory Board #0    = 00800000?                                   
     80Size of Local Memory Board #1    = 00000000?                                   
     81Slave Enable #1 [Y/N] = Y?                                                     
     82Slave Starting Address #1 = 00000000?                                           
     83Slave Ending Address #1   = 007FFFFF?                                           
     84Slave Address Translation Address #1 = 00000000?                               
     85Slave Address Translation Select #1  = FF800000?                               
     86Slave Control #1 = 00FF?                                                       
     87Slave Enable #2 [Y/N] = N?                                                     
     88Slave Starting Address #2 = FFE00000?                                           
     89Slave Ending Address #2   = FFE1FFFF?                                           
     90Slave Address Translation Address #2 = 00000000?                               
     91Slave Address Translation Select #2  = 00000000?                               
     92Slave Control #2 = 01EF?                                                       
     93Master Enable #1 [Y/N] = Y?                                                     
     94Master Starting Address #1 = 01000000?                                         
     95Master Ending Address #1   = EFFFFFFF?                                         
     96Master Control #1 = 0D?                                                         
     97Master Enable #2 [Y/N] = N?                                                     
     98Master Starting Address #2 = 00000000?                                         
     99Master Ending Address #2   = 00000000?                                         
     100Master Control #2 = 00?                                                         
     101Master Enable #3 [Y/N] = N?                                                     
     102Master Starting Address #3 = 00800000?                                         
     103Master Ending Address #3   = 00FFFFFF?                                         
     104Master Control #3 = 3D?                                                         
     105Master Enable #4 [Y/N] = N?                                                     
     106Master Starting Address #4 = 00000000?                                         
     107Master Ending Address #4   = 00000000?                                         
     108Master Address Translation Address #4 = 00000000?                               
     109Master Address Translation Select #4  = 00000000?                               
     110Master Control #4 = 00?                                                         
     111Short I/O (VMEbus A16) Enable [Y/N] = Y?                                       
     112Short I/O (VMEbus A16) Control      = 01?                                       
     113F-Page (VMEbus A24) Enable [Y/N]    = Y?                                       
     114F-Page (VMEbus A24) Control         = 02?                                       
     115ROM Speed Bank A Code         = 05?                                             
     116ROM Speed Bank B Code         = 05?                                             
     117Static RAM Speed Code         = 01?                                             
     118PCC2 Vector Base              = 05?                                             
     119VMEC2 Vector Base #1          = 06?                                             
     120VMEC2 Vector Base #2          = 07?                                             
     121VMEC2 GCSR Group Base Address = CC?                                             
     122VMEC2 GCSR Board Base Address = 00?                                             
     123VMEbus Global Time Out Code   = 01?                                             
     124Local Bus Time Out Code       = 00?                                             
     125VMEbus Access Time Out Code   = 02?                                             
     126167-Bug>                                               
     127}}}
     128
     129And 'niot':
     130{{{
     131167-Bug>niot                                                                   
     132Controller LUN =00?                                                             
     133Device LUN     =00?                                                             
     134Node Control Memory Address =FFE10000?                                         
     135Client IP Address      =0.0.0.0?                                               
     136Server IP Address      =0.0.0.0?                                               
     137Subnet IP Address Mask =0.0.0.0?                                               
     138Broadcast IP Address   =0.0.0.0?                                               
     139Gateway IP Address     =0.0.0.0?                                               
     140Boot File Name ("NULL" for None)     =?                                         
     141Argument File Name ("NULL" for None) =?                                         
     142Boot File Load Address         =00800000?                                       
     143Boot File Execution Address    =00800000?                                       
     144Boot File Execution Delay      =00000000?                                       
     145Boot File Length               =00000000?                                       
     146Boot File Byte Offset          =00000000?                                       
     147BOOTP/RARP Request Retry       =00?                                             
     148TFTP/ARP Request Retry         =00?                                             
     149Trace Character Buffer Address =00000000?                                       
     150BOOTP/RARP Request Control: Always/When-Needed (A/W)=A?                         
     151BOOTP/RARP Reply Update Control: Yes/No (Y/N)       =Y?                         
     152167-Bug>
     153}}}
    38154=  Booting  =
    39155