Skip to content
Snippets Groups Projects
  1. Apr 09, 2008
  2. Apr 01, 2008
  3. Mar 28, 2008
  4. Mar 27, 2008
    • Stefan Roese's avatar
      6fb4b640
    • Stefan Roese's avatar
      ppc: Add CFG_MEM_TOP_HIDE option to hide memory area that doesn't get "touched" · 14f73ca6
      Stefan Roese authored
      
      If CFG_MEM_TOP_HIDE is defined in the board config header, this specified
      memory area will get subtracted from the top (end) of ram and won't get
      "touched" at all by U-Boot. By fixing up gd->ram_size the Linux kernel
      should gets passed the now "corrected" memory size and won't touch it
      either. This should work for arch/ppc and arch/powerpc. Only Linux board
      ports in arch/powerpc with bootwrapper support, which recalculate the
      memory size from the SDRAM controller setup, will have to get fixed
      in Linux additionally.
      
      This patch enables this config option on some PPC440EPx boards as a workaround
      for the CHIP 11 errata. Here the description from the AMCC documentation:
      
      CHIP_11: End of memory range area restricted access.
      Category: 3
      
      Overview:
      The 440EPx DDR controller does not acknowledge any
      transaction which is determined to be crossing over the
      end-of-memory-range boundary, even if the starting address is
      within valid memory space. Any such transaction from any PLB4
      master will result in a PLB time-out on PLB4 bus.
      
      Impact:
      In case of such misaligned bursts, PLB4 masters will not
      retrieve any data at all, just the available data up to the
      end of memory, especially the 440 CPU. For example, if a CPU
      instruction required an operand located in memory within the
      last 7 words of memory, the DCU master would burst read 8
      words to update the data cache and cross over the
      end-of-memory-range boundary. Such a DCU read would not be
      answered by the DDR controller, resulting in a PLB4 time-out
      and ultimately in a Machine Check interrupt. The data would
      be inaccessible to the CPU.
      
      Workaround:
      Forbid any application to access the last 256 bytes of DDR
      memory. For example, make your operating system believe that
      the last 256 bytes of DDR memory are absent. AMCC has a patch
      that does this, available for Linux.
      
      This patch sets CFG_MEM_TOP_HIDE for the following 440EPx boards:
      lwmon5, korat, sequoia
      
      The other remaining 440EPx board were intentionally not included
      since it is not clear to me, if they use the end of ram for some
      other purpose. This is unclear, since these boards have CONFIG_PRAM
      defined and even comments like this:
      
      PMC440.h:
      /* esd expects pram at end of physical memory.
       * So no logbuffer at the moment.
       */
      
      It is strongly recommended to not use the last 256 bytes on those
      boards too. Patches from the board maintainers are welcome.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      14f73ca6
  5. Mar 26, 2008
  6. Mar 25, 2008
  7. Mar 20, 2008
  8. Mar 18, 2008
    • Yuri Tikhonov's avatar
      The patch introduces the alternative configuration of the log buffer for the... · 3d610186
      Yuri Tikhonov authored
      The patch introduces the alternative configuration of the log buffer for the lwmon5 board: the storage for the log-buffer itself is OCM(on-chip memory), the log-buffer header is moved to six GPT registers (PPC440EPX_GPT0_COMP1, ..., PPC440EPX_GPT0_COMP5).
      
       To enable this, alternative, configuration the U-Boot board configuration
      file for lwmon5 includes the definitions of alternative addresses for header
      (CONFIG_ALT_LH_ADDR) and buffer (CONFIG_ALT_LB_ADDR).
      
       The Linux shall be configured with the CONFIG_ALT_LB_LOCATION option set,
      and has the BOARD_ALT_LH_ADDR and BOARD_ALT_LB_ADDR constants defined in the
      lwmon5 board-specific header (arch/ppc/platforms/4xx/lwmon5.h).
      
      Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
      3d610186
  9. Mar 12, 2008
  10. Feb 29, 2008
  11. Feb 27, 2008
  12. Feb 25, 2008
    • Marian Balakowicz's avatar
      [new uImage] Add dual format uImage support framework · d5934ad7
      Marian Balakowicz authored
      
      This patch adds framework for dual format images. Format detection is added
      and the bootm controll flow is updated to include cases for new FIT format
      uImages.
      
      When the legacy (image_header based) format is detected appropriate
      legacy specific handling is invoked. For the new (FIT based) format uImages
      dual boot framework has a minial support, that will only print out a
      corresponding debug messages. Implementation of the FIT specific handling will
      be added in following patches.
      
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      d5934ad7
  13. Feb 22, 2008
    • Yuri Tikhonov's avatar
      lwmon5: enable hardware watchdog · 2e721094
      Yuri Tikhonov authored
      
      Some boards (e.g. lwmon5) may use rather small watchdog intervals, so
      causing it to reboot the board if U-Boot does a long busy-wait with
      udelay(). Thus, for these boards we have to restart WD more
      frequently.
      
      This patch splits the busy-wait udelay() into smaller, predefined,
      intervals, so that the watchdog timer may be resetted with the
      configurable (CONFIG_WD_PERIOD) interval.
      
      Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
      2e721094
    • Kumar Gala's avatar
      ppc: Allow boards to specify effective amount of memory · 81d93e5c
      Kumar Gala authored
      
      For historical reasons we limited the stack to 256M because some boards
      could only map that much via BATS.  However newer boards are capable of
      mapping more memory (for example 85xx is capable of doing up to 2G).
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      81d93e5c
  14. Feb 21, 2008
  15. Feb 14, 2008
  16. Feb 07, 2008
Loading