1. 03 11月, 2014 2 次提交
  2. 17 6月, 2014 1 次提交
    • J
      ARM: mvebu: DT: fix OpenBlocks AX3-4 RAM size · e47043ae
      Jason Cooper 提交于
      The OpenBlocks AX3-4 has a non-DT bootloader.  It also comes with 1GB of
      soldered on RAM, and a DIMM slot for expansion.
      
      Unfortunately, atags_to_fdt() doesn't work in big-endian mode, so we see
      the following failure when attempting to boot a big-endian kernel:
      
        686 slab pages
        17 pages shared
        0 pages swap cached
        [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
        Kernel panic - not syncing: Out of memory and no killable processes...
      
        CPU: 1 PID: 351 Comm: kworker/u4:0 Not tainted 3.15.0-rc8-next-20140603 #1
        [<c0215a54>] (unwind_backtrace) from [<c021160c>] (show_stack+0x10/0x14)
        [<c021160c>] (show_stack) from [<c0802500>] (dump_stack+0x78/0x94)
        [<c0802500>] (dump_stack) from [<c0800068>] (panic+0x90/0x21c)
        [<c0800068>] (panic) from [<c02b5704>] (out_of_memory+0x320/0x340)
        [<c02b5704>] (out_of_memory) from [<c02b93a0>] (__alloc_pages_nodemask+0x874/0x930)
        [<c02b93a0>] (__alloc_pages_nodemask) from [<c02d446c>] (handle_mm_fault+0x744/0x96c)
        [<c02d446c>] (handle_mm_fault) from [<c02cf250>] (__get_user_pages+0xd0/0x4c0)
        [<c02cf250>] (__get_user_pages) from [<c02f3598>] (get_arg_page+0x54/0xbc)
        [<c02f3598>] (get_arg_page) from [<c02f3878>] (copy_strings+0x278/0x29c)
        [<c02f3878>] (copy_strings) from [<c02f38bc>] (copy_strings_kernel+0x20/0x28)
        [<c02f38bc>] (copy_strings_kernel) from [<c02f4f1c>] (do_execve+0x3a8/0x4c8)
        [<c02f4f1c>] (do_execve) from [<c025ac10>] (____call_usermodehelper+0x15c/0x194)
        [<c025ac10>] (____call_usermodehelper) from [<c020e9b8>] (ret_from_fork+0x14/0x3c)
        CPU0: stopping
        CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.15.0-rc8-next-20140603 #1
        [<c0215a54>] (unwind_backtrace) from [<c021160c>] (show_stack+0x10/0x14)
        [<c021160c>] (show_stack) from [<c0802500>] (dump_stack+0x78/0x94)
        [<c0802500>] (dump_stack) from [<c021429c>] (handle_IPI+0x138/0x174)
        [<c021429c>] (handle_IPI) from [<c02087f0>] (armada_370_xp_handle_irq+0xb0/0xcc)
        [<c02087f0>] (armada_370_xp_handle_irq) from [<c0212100>] (__irq_svc+0x40/0x50)
        Exception stack(0xc0b6bf68 to 0xc0b6bfb0)
        bf60:                   e9fad598 00000000 00f509a3 00000000 c0b6a000 c0b724c4
        bf80: c0b72458 c0b6a000 00000000 00000000 c0b66da0 c0b6a000 00000000 c0b6bfb0
        bfa0: c027bb94 c027bb24 60000313 ffffffff
        [<c0212100>] (__irq_svc) from [<c027bb24>] (cpu_startup_entry+0x54/0x214)
        [<c027bb24>] (cpu_startup_entry) from [<c0ac5b30>] (start_kernel+0x318/0x37c)
        [<c0ac5b30>] (start_kernel) from [<00208078>] (0x208078)
        ---[ end Kernel panic - not syncing: Out of memory and no killable processes...
      
      A similar failure will also occur if ARM_ATAG_DTB_COMPAT isn't selected.
      
      Fix this by setting a sane default (1 GB) in the dts file.
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      Tested-by: NKevin Hilman <khilman@linaro.org>
      Cc: <stable@vger.kernel.org> #v3.13+
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      e47043ae
  3. 26 4月, 2014 2 次提交
  4. 12 2月, 2014 2 次提交
  5. 24 11月, 2013 1 次提交
    • J
      ARM: mvebu: dts: remove unneeded linux,default-state from led nodes · dcdf14c7
      Jason Cooper 提交于
      Generally, power LEDs should indicate when power is applied, and go out
      once power is removed.  _Not_ annoy the developer with migraine-inducing
      blinking reminicent of some badly animated television series designed to
      sell sugar to children.
      
      On a more serious note, most of these OS-specific properties aren't
      necessary and should be removed.  I left two that are legitimately tying
      disk LEDs to disk activity.  Other than that, we keep the state the
      bootloader left them in until userspace changes the state via sysfs.
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      dcdf14c7
  6. 06 8月, 2013 5 次提交
  7. 07 6月, 2013 1 次提交
  8. 21 5月, 2013 1 次提交
  9. 14 5月, 2013 1 次提交
  10. 15 4月, 2013 4 次提交
  11. 12 4月, 2013 1 次提交
  12. 01 3月, 2013 2 次提交
  13. 22 11月, 2012 3 次提交
  14. 21 11月, 2012 1 次提交
  15. 16 11月, 2012 1 次提交
  16. 14 11月, 2012 1 次提交
    • T
      arm: mvebu: support for the PlatHome OpenBlocks AX3-4 board · 19b85c08
      Thomas Petazzoni 提交于
      This platform, available in Japan from PlatHome, has a dual-core
      Armada XP, the MV78260. For now, only the two serial ports and the
      three front LEDs are supported. Support for SMP, network, SATA, USB
      and other peripherals will be added as drivers for them become
      available for Armada XP in mainline.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Acked-by: NGregory CLEMENT <gregory.clement@free-electrons.com>
      Tested-by: NGregory CLEMENT <gregory.clement@free-electrons.com>
      
      ---
      This is 3.8 material.
      
      Changes since v2:
      
       * Renamed the .dts file to armada-xp-openblocks-ax3-4.dts
      
       * Removed the compatible string from armada-370-xp.c (which now only
         lists the common SoC compatible string)
      
      Changes since v1:
      
       * Renamed the board to OpenBlocks AX3-4, since there is a variant
         called AX3-2 which has less RAM, and no mini PCIe port. Requested
         by Andrew Lunn.
      
       * Fix the amount of memory to 3 GB. In fact, the board has 1 GB
         soldered, and 2 GB in a SODIMM slot (which is therefore
         removable). But as the board is delivered as is, we'll assume it
         has 3 GB of memory by default.
      19b85c08