Skip to content
Permalink
Branch: master
Commits on Apr 30, 2019
  1. cmake: llvm: Invalidate toolchain capability cache

    ozhuraki authored and nashif committed Apr 21, 2019
    Invalidate toolchain capability cache on toolchain configuration.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  2. compiler: clang: Don't link libgcc for native_posix

    ozhuraki authored and nashif committed Apr 20, 2019
    libgcc isn't used by native_posix.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  3. boards: native_posix: Add llvm to supported toolchains

    ozhuraki authored and nashif committed Apr 20, 2019
    Add llvm to supported toolchains.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  4. posix: cmake: Abstract freestanding options

    ozhuraki authored and nashif committed Mar 8, 2019
    clang has problems compiling the native_posix with -fno-freestanding.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  5. cmake: clang: Fix comment

    ozhuraki authored and nashif committed Mar 8, 2019
    Fix comment, llvm -> clang.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  6. cmake: clang: Provide toolchain_cc_nostdinc() macro

    ozhuraki authored and nashif committed Mar 8, 2019
    native_posix should build with standard includes.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  7. cmake: clang: Don't unconditionally use gcc's fortify

    ozhuraki authored and nashif committed Mar 8, 2019
    clang doesn't understand fortify at all, provide no op macro,
    in order to handle the request to fortify in a generic way.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  8. cmake: clang: Detect host installed clang

    ozhuraki authored and nashif committed Mar 8, 2019
    In case TOOLCHAIN_HOME isn't explicitly reuqested,
    (or indirectly forced with CLANG_ROOT_DIR), detect
    any host installed clang in the path.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  9. cmake: llvm: Make the setup for host installed clang easier

    ozhuraki authored and nashif committed Mar 8, 2019
    The logic is practically intact and is the following:
    
    1. Use any host installed llvm/clang in the path in case
       ZEPHYR_TOOLCHAIN_VARIANT=llvm is requested alone.
    2. This can be further restricted with TOOLCHAIN_HOME.
    3. And can be further overridden with CLANG_ROOT_DIR,
       like previously.
    
    So, only the unconditional restriction to /usr is lifted.
    
    Together with fixing the unconditional set of TOOLCHAIN_HOME
    by host tools for non-toolchain needs, this makes the logic
    more flexible.
    
    Now, after the logic is controllable by TOOLCHAIN_HOME, 3)
    might be an extra, but is left intact for backward compatibility.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  10. cmake: Set TOOLCHAIN_HOME for Zephyr's SDK

    ozhuraki authored and nashif committed Mar 8, 2019
    Host-tools don't unconditionally set TOOLCHAIN_HOME anymore,
    but in case Zephyr's SDK toolchain is used, set TOOLCHAIN_HOME.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  11. toolchain: Do not pollute TOOLCHAIN_HOME

    ozhuraki authored and nashif committed Mar 8, 2019
    Use it's own variable HOST_TOOLS_HOME for host tools and don't
    unconditionally set TOOLCHAIN_HOME, preventing the detection of
    llvm/clang host toolchain.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  12. cmake: clang: Allow host's clang to be used for native_posix

    ozhuraki authored and nashif committed Mar 8, 2019
    Allow host installed clang to be used for native_posix when
    ZEPHYR_TOOLCHAIN_VARIANT=llvm.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  13. doc/getting_started: mention ZEPHYR_TOOLCHAIN_VARIANT=llvm

    ozhuraki authored and nashif committed Mar 8, 2019
    Mention that host installed clang can be used for native_posix.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  14. cmake: clang: Make clang pick -T option on linking

    ozhuraki authored and nashif committed Mar 8, 2019
    When linking, clang doesn't pick -T for some reason and complains,
    while -Wl,-T works for both, gcc and clang.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Jan 8, 2019
  1. net: ethernet: Clean an obscure ref/unref logic in ethernet_send()

    ozhuraki authored and jukkar committed Jan 7, 2019
    Do not extra ref and then obscurely unref the packet inside
    the statistics update function.
    
    Actually, this extra ref/unref isn't needed here at all.
    
    The packet is unreferenced only on a successful send, statistics
    updating can be done before the unref in a clean and understandable way.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Nov 12, 2018
  1. drivers: eth: e1000: Use system log macros

    ozhuraki authored and nashif committed Nov 12, 2018
    System log macros now include function names, use them.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  2. drivers: eth: e1000: Enable multicast

    ozhuraki authored and nashif committed Nov 12, 2018
    Add "Multicast Promiscuous Enabled" (RCTL_MPE) bit definition and
    use it for the receive control register (RCTL) initialization.
    
    Multicast needs to be enabled in order for IPv6 auto-configuration
    to succeed.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  3. drivers: eth: e1000: Enable interrupt in a safe way

    ozhuraki authored and nashif committed Nov 12, 2018
    The initial sequence was wrong and led to the missing interrupt
    problem with netdev backends where the incoming traffic
    appears immediately (tap).
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  4. drivers: eth: e1000: Call ethernet_init() on init

    ozhuraki authored and nashif committed Nov 12, 2018
    The driver should call ethernet_init() in order to initialize
    Ethernet L2 stack.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Oct 10, 2018
  1. boards/qemu_x86: Rename dts.fixup to dts_fixup.h

    ozhuraki authored and jukkar committed Oct 10, 2018
    Use the new naming for DT fixup.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  2. drivers: eth: e1000: Add driver for Intel PRO/1000 Ethernet controller

    ozhuraki authored and galak committed Jul 31, 2018
    This patch adds a driver for Intel PRO/1000 Gigabit Ethernet controller.
    
    The driver currently supports only a single instance of the NIC.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Aug 19, 2018
  1. sanitycheck: Overcommit the default number of jobs

    ozhuraki authored and nashif committed Aug 17, 2018
    Overcommit the default number of jobs by factor 2
    to keep the original behavior intact.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  2. sanitycheck: Rename CPU_COUNTS to JOBS

    ozhuraki authored and nashif committed Aug 17, 2018
    This would correspond the help and avoid cpus/threads confusion.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  3. sanitycheck: Fix the logic for jobs

    ozhuraki authored and nashif committed Aug 17, 2018
    multiprocessing.cpu_count() already returns the number of threads
    (not cores), no need to multiply it by 2.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  4. sanitycheck: Get ZEPHYR_BASE only once

    ozhuraki authored and nashif committed Aug 17, 2018
    Also clean up ZEPHYR_BASE discovery.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Aug 17, 2018
  1. net: ip: Refactor usage of net_sprint_ip*()

    ozhuraki authored and jukkar committed Aug 16, 2018
    Refactor usage of net_sprint_ip*() where multiple
    invocations are needed per single log call.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  2. net: ip: Redirect net_sprint_ipv*_addr() invocations

    ozhuraki authored and jukkar committed Aug 16, 2018
    Redirect net_sprint_ipv*_addr() invocations into net_sprint_addr().
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  3. net: ip: Add net_sprint_addr()

    ozhuraki authored and jukkar committed Aug 16, 2018
    The intention is to clean up the usage of net_sprint_ipv*_addr()
    functions where 2 or 3 invocations are needed.
    
    Thus, the default number of buffers is 3.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  4. net: ip: Remove unused function

    ozhuraki authored and jukkar committed Aug 16, 2018
    This is a preparation to refactor net_sprint_ip*().
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Aug 13, 2018
  1. net: ipv6: Refactor IPv6 header length handling

    ozhuraki authored and jukkar committed Aug 13, 2018
    Change the length to uint16_t and work with it
    through standard htons/ntohs() macros.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Aug 9, 2018
  1. net: ipv4: Refactor IPv4 header length handling

    ozhuraki authored and jukkar committed Aug 8, 2018
    Change the length to uint16_t and work with it
    through standard htons/ntohs() macros.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
  2. net: ipv4: Minor refactoring

    ozhuraki authored and jukkar committed Aug 8, 2018
    Trivial refactoring, no functionality changes.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Jul 3, 2018
  1. net: icmpv4: Simplify the flow at net_icmpv4_get_hdr()

    ozhuraki authored and jukkar committed Jul 2, 2018
    Using net_frag_linearize() should be optimal for fast and slow paths.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Jul 2, 2018
  1. net: icmpv4: Merge process_icmpv4_pkt() into net_icmpv4_input()

    ozhuraki authored and jukkar committed Jul 2, 2018
    Both are small, merging makes the flow clearer.
    
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Commits on Feb 6, 2016
  1. Fix SOURCE_DIR after moving to samples/microkernel

    ozhuraki authored and nashif committed Jul 6, 2015
    Change-Id: Ibf38229ce1eb6728f9024fbeb9d7931948ecd8e7
    Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Older
You can’t perform that action at this time.