Download Platform Studio User Guide Embedded Development Kit
Transcript
R Chapter 7: Using XilMFS Getting Started with XilMFS If you want to use XilMFS with MicroBlaze or PowerPC, you will need a hardware platform that contains at least the following: x MicroBlaze or PowerPC processor x 8KB or larger BRAM or other memory connected to the processor over LMB, PLB, or OPB, with an appropriate memory controller (more or less memory might be needed depending on how XilMFS is configured) Using XilMFS There are three steps to using XilMFS with your applications: 1. Configure XilMFS 2. Create your application 3. Create a file system image on your host and download to target (Optional) The following sections explain each of these steps in detail. Configuring XilMFS You can configure Xilkernel using the XPS main window or by editing the MSS file. Configuring XilMFS in the XPS Main Window 1. In the XPS main window, click the System tab in the tree view panel to open the hardware tree view. 2. Right-click the processor name in the tree view and select S/W Settings. 3. The Software Platform Settings dialog box opens. The top half of this dialog box displays various devices in the hardware platform and the drivers assigned to them. The bottom right side of the dialog box allows you to select an OS: Standalone or others. 4. Select Standalone. 5. Click the Library/OS Parameters tab at the top of the dialog box to configure XilMFS. The Library/OS Parameters tab shows all the configurable parameters for XilMFS. For each parameter, the parameter type, default value, and a short explanation are shown. These parameters are pre-populated with the default values, and you can change them as needed. Collapse or expand the tree view by clicking the + or - symbols on the left side. 6. After setting all the parameters, click OK to save. You can always go back and change the saved values if you want to. The base address and numbytes parameters allow you to indicate that a certain region of memory starting at that base address and extending to numbytes bytes is reserved for XilMFS. Caution! The current version of the library generator and related tools does not verify that the memory reserved for XilMFS is actually present in the hardware or whether this memory is used by some other code or peripheral device. 108 www.xilinx.com 1-800-255-7778 Platform Studio User Guide UG113 (v4.0) February 15, 2005