UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 47047

14.1 Zynq - OCM remap in UBoot

Description

Where is the module in UBoot that performs OCM remap?

Solution

To navigate to u-boot-xarm.git:

  1. Go to git.xilinx.com.
  2. Click on the 'summary' for u-boot-xarm.git.
  3. Change the view to 'tree' and navigate to board/xilinx/dfe.
  4. Then click on 'blob' for lowlevel_init.s.
    The portion of the u-boot code that performs the OCM remap is as seen below.
35 # OCM_CFG
36 # Mask out the ROM
37 # map ram into upper addresses
38 ldr r1, =(XPSS_SYS_CTRL_BASEADDR +0x910)
39 ldr r2, =0x1F
40 str r2, [r1]
AR# 47047
Date Created 11/26/2012
Last Updated 11/26/2012
Status Active
Type General Article
Devices
  • Zynq-7000