1. 16 Dec, 2009 4 commits
    • Wu Zhangjin's avatar
      MIPS: Loongson: Add basic Loongson 2F support · 6f7a251a
      Wu Zhangjin authored
      Loongson 2F has built-in DDR2 and PCI-X controller. The PCI-X controller
      has a programming interface similiar to the the FPGA northbridge used on
      Loongson 2E.
      The main differences between Loongson 2E and Loongson 2F include:
      1. Loongson 2F has an extra address window configuration module, which
         is used to map CPU address space to DDR or PCI address space, or map
         the PCI-DMA address space to DDR or LIO address space.
      2. Loongson 2F supports 8 levels of software configurable CPu frequency
         which can be configured in the LOONGSON_CHIPCFG0 register.  The coming
         cpufreq and standby support are based on this feature.
      Loongson.h abstracts the modules and corresponding methods are abstracted.
      Add other Loongson-2F-specific source code including gcc 4.4 support, PCI
      memory space, PCI IO space, DMA address.
      Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
      Cc: linux-mips@linux-mips.org
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    • Ralf Baechle's avatar
      MIPS: Remove addinitrd and CONFIG_PROBE_INITRD_HEADER · 32028f1f
      Ralf Baechle authored
      Addinitrd has been superseded by initramfs ages ago.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    • David Daney's avatar
      MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors. · 82622284
      David Daney authored
      Processors that support the mips64r2 ISA can in four instructions
      convert a shifted PGD pointer stored in the upper bits of c0_context
      into a usable pointer.  By doing this we save a memory load and
      associated potential cache miss in the TLB exception handlers.
      Since the upper bits of c0_context were holding the CPU number, we
      move this to the upper bits of c0_xcontext which doesn't have enough
      bits to hold the PGD pointer, but has plenty for the CPU number.
      Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    • Wu Zhangjin's avatar
      MIPS: Add support for GZIP / BZIP2 / LZMA compressed kernel images · 1b93b3c3
      Wu Zhangjin authored
      This patch helps to generate smaller kernel images for linux-MIPS,
      Here is the effect when using lzma:
      $ ls -sh vmlinux
      7.1M vmlinux
      $ ls -sh vmlinuz
      1.5M vmlinuz
      Have tested the 32bit kernel on Qemu/Malta and 64bit kernel on FuLoong
      Mini PC. both of them work well. and also, tested by Alexander Clouter
      on an AR7 based Linksys WAG54Gv2, and by Manuel Lauss on an Alchemy
      This -v2 version incorporate the feedback from Ralf, and add the
      following changes:
      1. add .ecoff, .bin, .erec format support
      2. only enable it and the debug source code for the machines we tested
      3. a dozen of fixups and cleanups
      and if you want to enable it for your board, please try to select
      SYS_SUPPORTS_ZBOOT for it, and if the board have an 16550 compatible
      uart, you can select SYS_SUPPORTS_ZBOOT_UART16550 directly. and then
      sending the relative patches to Ralf.
      Tested-by: default avatarManuel Lauss <manuel.lauss@googlemail.com>
      Tested-by: default avatarAlexander Clouter <alex@digriz.org.uk>
      Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
  2. 01 Dec, 2009 3 commits
  3. 13 Nov, 2009 1 commit
  4. 02 Nov, 2009 2 commits
  5. 17 Sep, 2009 6 commits
  6. 03 Jul, 2009 5 commits
  7. 24 Jun, 2009 3 commits
  8. 17 Jun, 2009 3 commits
  9. 08 Jun, 2009 2 commits
  10. 14 May, 2009 2 commits
  11. 30 Mar, 2009 2 commits
  12. 13 Mar, 2009 1 commit
  13. 27 Feb, 2009 2 commits
  14. 30 Jan, 2009 2 commits
  15. 11 Jan, 2009 2 commits