Skip to content
Snippets Groups Projects
  1. May 30, 2015
  2. May 28, 2015
  3. May 27, 2015
    • Linus Walleij's avatar
      vexpress64: fix various memory issues · 30355708
      Linus Walleij authored
      
      The ARM Trusted Firmware or other security solutions are
      eating memory from the top of the physical SDRAM1 space,
      moving backward from 0xffffffff, currently occupying e.g.
      0xfe000000-0xffffffff with Trusted Firmware.
      
      This solution to reserving memory for secure world is not
      optimal, so we need to think of how the secure world and
      earlier boot stages should communicate to U-Boot what
      memory they are eating up. For now let's just put 16MB
      aside.
      
      Also enable the memory test command and define start and
      end of the test range so we can check that we actually have
      all that memory available and working.
      
      Suggested-by: default avatarAxel Haslam <ahaslam@baylibre.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      30355708
    • Ryan Harkin's avatar
      vexpress64: specify CONFIG_SYS_FLASH_CFI_WIDTH · f19f389f
      Ryan Harkin authored
      
      Testing on the ARM Versatile Express Juno board showed intermittent CFI
      flash detection problems.
      
      Debug output in exception cases showed that the NOR flash was returning
      incorrect values to a query command:
      
      fwc addr 0000000008000000 cmd f0 f0f0f0f0 32bit x 8 bit
      fwc addr 0000000008000000 cmd ff ffffffff 32bit x 8 bit
      fwc addr 0000000008000154 cmd 98 98989898 32bit x 8 bit
      is= cmd 51(Q) addr 0000000008000040 is= 00800051 51515151
      fwc addr 0000000008001554 cmd 98 98989898 32bit x 8 bit
      is= cmd 51(Q) addr 0000000008000040 is= 00800051 51515151
      fwc addr 0000000008000000 cmd f0 00f000f0 32bit x 16 bit
      fwc addr 0000000008000000 cmd ff 00ff00ff 32bit x 16 bit
      fwc addr 0000000008000154 cmd 98 00980098 32bit x 16 bit
      is= cmd 51(Q) addr 0000000008000040 is= 00800051 00510051
      fwc addr 0000000008001554 cmd 98 00980098 32bit x 16 bit
      is= cmd 51(Q) addr 0000000008000040 is= 00800051 00510051
      
      Debugging showed that the problem could be solved by preventing u-boot
      from scanning different flash widths by specifying
      CONFIG_SYS_FLASH_CFI_WIDTH so that only using the 'correct' width was
      used.
      
      Signed-off-by: default avatarRyan Harkin <ryan.harkin@linaro.org>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      f19f389f
  4. May 26, 2015
  5. May 25, 2015
  6. May 24, 2015
  7. May 21, 2015
  8. May 20, 2015
  9. May 19, 2015
  10. May 15, 2015
Loading