1. 20 Feb, 2018 8 commits
  2. 05 Feb, 2018 4 commits
  3. 27 Jan, 2018 1 commit
  4. 26 Jan, 2018 3 commits
  5. 23 Jan, 2018 4 commits
  6. 15 Jan, 2018 4 commits
    • Philippe Gerum's avatar
      cobalt/rtdm: fix semaphore wait mode for fd_cleanup thread · ac098c01
      Philippe Gerum authored
      This thread must wait for work in interruptible mode, does not wait
      for a device event. This fixes the bad process time accounting which
      otherwise would converge to 1.00 for an idle system when the Cobalt
      core is enabled.
    • Philippe Gerum's avatar
      drivers/gpio: pass back allocated GPIO chip descriptor · 7ffd31e5
      Philippe Gerum authored
      rtdm_gpiochip_alloc() is a way to instantiate a single GPIO descriptor
      instead of mapping all GPIO controllers defined by the firmware which
      belong to a particular type. This routine is matched by
      rtdm_gpiochip_remove() for deallocation.
      We need the former to return a pointer to the allocated descriptor we
      may then pass to the latter.
    • Philippe Gerum's avatar
      drivers/gpio: allow open coded IRQ handling · 8ba47091
      Philippe Gerum authored
      Some client code may want to deal with GPIO interrupt handling
      directly, without support for an irq_chip controller paired with the
      GPIO chip.
      Assume that a failure to retrieve the IRQ number associated to a pin
      means exactly that, offloading interrupt handling to an open coded
      implementation the client code should provide for.
      In parallel, introduce rtdm_gpiochip_post_event() for notifying the
      GPIO core from an incoming interrupt event on a given pin.
    • Philippe Gerum's avatar
      drivers/gpio: expose GPIO chip allocation routine · 062ed8e1
      Philippe Gerum authored
      For creating a new RTDM-based GPIO chip descriptor (struct
      rtdm_gpio_chip), mapped to its regular counterpart (struct gpio_chip).
  7. 19 Dec, 2017 2 commits
    • Marek Vasut's avatar
      utils/can: Fix Makefile.am · cbc6b87b
      Marek Vasut authored and Philippe Gerum's avatar Philippe Gerum committed
      Prefix CPPFLAGS and LDFLAGS with AM_ to make automake actually
      use those and propagate external CPPFLAGS and LDFLAGS settings
      into the build.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
    • Philippe Gerum's avatar
      boilerplate/bootstrap: dual-license the bootstrap source code · f18416cd
      Philippe Gerum authored
      lib/boilerplate/bootstrap.c is meant to be glued to the application
      executable for bootstrapping the Cobalt services automatically at load
      From the standpoint of its sole author (i.e. me), doing so adds no
      requirement with respect to the licensing terms of the containing
      Allow lib/boilerplate/bootstrap.c to be distributed under the terms of
      the MIT license to reflect this fact.
  8. 10 Dec, 2017 2 commits
  9. 08 Dec, 2017 3 commits
  10. 05 Dec, 2017 3 commits
    • Greg Gallagher's avatar
      drivers/gpio: Add zynq-7000 rtdm gpio driver · 56f9dd3f
      Greg Gallagher authored and Philippe Gerum's avatar Philippe Gerum committed
    • Greg Gallagher's avatar
      drivers/gpio: Request gpio at open() · 70f9d8f1
      Greg Gallagher authored and Philippe Gerum's avatar Philippe Gerum committed
      For the zynq platform (and possibly others in the future) we need to modify
      gpio-core to request gpio pins before using them. The open() function will
      now request a gpio and fail if it's already reserved. This should make
      the pin request transparent to the user. The ability to request and release
      pins is also available in an ioctrl message.  Tested on Microzed Zynq-7010
      platform and the raspberry pi 2 board.
    • Greg Gallagher's avatar
      cobalt/rtdm: Split rtdm_fd_enter up · 03b70fea
      Greg Gallagher authored and Philippe Gerum's avatar Philippe Gerum committed
      split rtdm_fd_enter, move the functionality where we store the fd
      until after the open() call succeeds.  Calls where open() fail a fd is
      left in the tree even after the cleanup code is executed.  If this fd
      number is used again we will fail the call to open until a different
      fd is used.  This patch addresses this situation by not adding the fd
      into the tree until open has succeeded and the fd is valid.
  11. 01 Dec, 2017 1 commit
  12. 25 Nov, 2017 1 commit
    • Philippe Gerum's avatar
      copperplate/heapobj-tlsf: fix private heap init · 7a038dfa
      Philippe Gerum authored
      TLSF's init_memory_pool() wants heaps to be larger than 4k on 64bit
      architectures, due to the increased size of the meta-data compared to
      their 32bit counterpart (struct tlsf).
      Use 8k as the minimum heap size instead of PAGE_SIZE in the pshared
      case, and make sure the main pool size amounts to at least 8k in the
      process-private case, so that init_memory_pool() never fails in
  13. 22 Nov, 2017 1 commit
  14. 20 Nov, 2017 1 commit
  15. 19 Nov, 2017 2 commits