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 11/26/2012
Status Active
Type General Article
Devices