Skip to content
Snippets Groups Projects
  1. Oct 04, 2016
    • Fabio Estevam's avatar
      mx6sabresd: Make SPL DDR configuration to match the DCD table · 3b30eece
      Fabio Estevam authored and Stefano Babic's avatar Stefano Babic committed
      When using SPL on i.mx6 we frequently notice some DDR initialization
      mismatches between the SPL code and the non-SPL code.
      
      This causes stability issues like the ones reported at 7dbda25e
      ("mx6ul_14x14_evk: Pass refsel and refr fields to avoid hang") and also:
      http://lists.denx.de/pipermail/u-boot/2016-September/266355.html
      
       .
      
      As the non-SPL code have been tested for long time and proves to be reliable,
      let's configure the DDR in the exact same way as the non-SPL case.
      
      The idea is simple: just use the DCD table and write directly to the DDR
      registers.
      
      Retrieved the DCD tables from:
      board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg
      and
      board/freescale/mx6sabresd/mx6qp.cfg
      (NXP U-Boot branch imx_v2015.04_4.1.15_1.0.0_ga)
      
      This method makes it easier for people converting from non-SPL to SPL code.
      
      Other benefit is that the SPL binary size is reduced from 44 kB to 39.9 kB.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      3b30eece
    • Fabio Estevam's avatar
      wandboard: Remove videoargs script · 5cca52a4
      Fabio Estevam authored and Stefano Babic's avatar Stefano Babic committed
      
      The videoargs script is kernel version dependent and since wandboard
      uses distro config, there is no need to handle videoargs locally.
      
      In case such video related settings are needed, then the proper
      location would be the distro extlinux.conf or boot.scr files.
      
      So remove 'videoargs' script.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      5cca52a4
    • Fabio Estevam's avatar
      wandboard: Fix hang when going into low frequency · ba4e159f
      Fabio Estevam authored and Stefano Babic's avatar Stefano Babic committed
      
      A kernel hang is observed when running wandboard 3.14 kernel and
      going to the lowest operational point of cpufreq:
      
      # ifconfig eth0 down
      # echo 1 > /sys/class/graphics/fb0/blank
      
      The problem is caused by incorrect setting of the REFR field
      of register MDREF. Setting it to 4 refresh commands per refresh
      cycle fixes the hang.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      ba4e159f
  2. Oct 03, 2016
  3. Oct 02, 2016
Loading