Skip to content
Snippets Groups Projects
  1. Jan 30, 2013
  2. Oct 22, 2012
  3. Aug 23, 2012
  4. Mar 27, 2012
  5. Oct 09, 2011
    • York Sun's avatar
      powerpc/8xxx: Add support for interactive DDR programming interface · 6f5e1dc5
      York Sun authored
      
      Interactive DDR debugging provides a user interface to view and modify SPD,
      DIMM parameters, board options and DDR controller registers before DDR is
      initialized. With this feature, developers can fine-tune DDR for board
      bringup and other debugging without frequently having to reprogram the flash.
      
      To enable this feature, define CONFIG_FSL_DDR_INTERACTIVE in board header
      file and set an environment variable to activate it. Syntax:
      
      setenv ddr_interactive on
      
      After reset, U-boot prompts before initializing DDR controllers
      FSL DDR>
      
      The available commands are
      print      print SPD and intermediate computed data
      reset      reboot machine
      recompute  reload SPD and options to default and recompute regs
      edit       modify spd, parameter, or option
      compute    recompute registers from current next_step to end
      next_step  shows current next_step
      help       this message
      go         program the memory controller and continue with u-boot
      
      The first command should be "compute", which reads data from DIMM SPDs and
      board options, performs the calculation then stops before setting DDR
      controller. A user can use "print" and "edit" commands to view and modify
      anything. "Go" picks up from current step with any modification and
      compltes the calculation then enables the DDR controller to continue u-boot.
      "Recompute" does it over from fresh reading.
      
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      6f5e1dc5
  6. Sep 30, 2011
  7. Feb 02, 2011
  8. Jan 20, 2011
  9. Oct 20, 2010
    • York Sun's avatar
      Add memory test feature for mpc85xx POST. · ebbe11dd
      York Sun authored
      
      The memory test is performed after DDR initialization when U-boot stills runs
      in flash and cache. On recent mpc85xx platforms, the total memory can be more
      than 2GB. To cover whole memory, it needs be mapped 2GB at a time using a
      sliding TLB window. After the testing, DDR is remapped with up to 2GB memory
      from the lowest address as normal.
      
      If memory test fails, DDR DIMM SPD and DDR controller registers are dumped for
      further debugging.
      
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      ebbe11dd
  10. Jul 26, 2010
  11. Oct 18, 2008
Loading