U-Boot
ATCA-8310 Installation and Use (6806800M72D)
193
To configure access attributes (target ID, target address offset) of the NREAD/NWRITE window,
it is required to modify the P4080 ROWTAR[1] register. Refer to the P4080 reference manual for
details.
The following C sample code defines some macros to configure the ROWTAR register with a
value suitable to access a specific DSP.
/* Some macro definitions */
static int bo[2] = { 0xd0c00, 0xd0e00 };
#define CCSRBAR 0xfe000000
#define VUINT volatile unsigned int
#define ROWTAR(i,x) *(VUINT*)(C bo[i] + 0x00 + ((x)) * 0x20)
#define ENCODE_TREXAD(id,trad)((((id)&0xff)<<22) | ((trad)>>12))
/* Command to map NREAD/NWRITE window for interface <intf> to target
* ID <target>, address offset <offset>. Map either the lower or
* the upper 128MB, depending on the offset.
*/
ROWTAR (intf, 1) = ENCODE_TREXAD (target, offset & ~0x07ffffff);
6.2.1.13 Miscellaneous Commands and Features
6.2.1.13.1 Restoring Default Environment
The command "default_env" applies the default environment variables. Variables which are not
part of the default environment are left unmodified.
To clear all variables and restore the default environment it's required to invalidate the EEPROM
and restart the blade:
eeprom 0 0x100 0x100
reset
Summary of Contents for ATCA-8310
Page 12: ...ATCA 8310 Installation and Use 6806800M72D Contents 12 Contents Contents ...
Page 26: ...ATCA 8310 Installation and Use 6806800M72D 26 List of Figures ...
Page 34: ...ATCA 8310 Installation and Use 6806800M72D About this Manual 34 About this Manual ...
Page 54: ...Hardware Preparation and Installation ATCA 8310 Installation and Use 6806800M72D 54 ...
Page 70: ...Controls Indicators and Connectors ATCA 8310 Installation and Use 6806800M72D 70 ...
Page 162: ...BIOS ATCA 8310 Installation and Use 6806800M72D 162 ...
Page 200: ...U Boot ATCA 8310 Installation and Use 6806800M72D 200 ...
Page 244: ...Intelligent Peripheral Management Controller ATCA 8310 Installation and Use 6806800M72D 244 ...
Page 438: ...CPLD and FPGA ATCA 8310 Installation and Use 6806800M72D 438 ...
Page 442: ...Replacing the Battery ATCA 8310 Installation and Use 6806800M72D 442 ...
Page 444: ...Related Documentation ATCA 8310 Installation and Use 6806800M72D 444 ...
Page 454: ...ATCA 8310 Installation and Use 6806800M72D Sicherheitshinweise 454 ...
Page 456: ...Index ATCA 8310 Installation and Use 6806800M72D 456 ...
Page 457: ...Index ATCA 8310 Installation and Use 6806800M72D 457 ...
Page 458: ...Index ATCA 8310 Installation and Use 6806800M72D 458 ...
Page 459: ......