From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE63AC433ED for ; Wed, 5 May 2021 19:31:19 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 48C0A613C3 for ; Wed, 5 May 2021 19:31:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 48C0A613C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1leNEd-0002lj-50; Wed, 05 May 2021 15:31:03 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1leNEb-0002l3-Bj for kernelnewbies@kernelnewbies.org; Wed, 05 May 2021 15:31:01 -0400 Received: by mail-wm1-x32a.google.com with SMTP id g65so2079931wmg.2 for ; Wed, 05 May 2021 12:31:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=THx0MIkc+R4WzTSwhaAQtBYmZV2jP0doJ9mbT0Y2RB4=; b=CSP42eQ5GeVBv9hgh/p5yC8l07asrl2F7rB0Wx9DXlkz6xtQ7NvH44Ex/semPaqnXV zw+vfNJ80kACx3bgIJNR9d9bkGYK9LwTCsoa4u4Sb1Os6iv6Nfv/a9RlIv84BljkUkUu +6uvbRGe59O+efShSXFYiELw4Jc7JCkQTkbW6+nOpIio9LeDW3pfoEwzF+tTeAnc0OzI FvWZ7zE/KwxckaiABSXuTiik5HQbHpnzeT/r8oKYVce7JGmgtpbbVpxgUYpe0ENWGgvT pO98kIpElNQU0DtPk7k1Jq9sEyR1Yw7gyGTkdHCLk8jxz5f3WzVcnT/K1Fp8VwFLIUYN 3JBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=THx0MIkc+R4WzTSwhaAQtBYmZV2jP0doJ9mbT0Y2RB4=; b=M0UiI/hAxB4uRNPX5jkPFscYaM0EBqbu6WAiv4qAeYZq6T78lhgPO1HPsjfFxeRrqL 0a7kLyjfamev8P7Xniv7GNsL2HJWeScBIWNs6eel1m48KcjgFMR7pllr/m6EpYhj4/If uihXdfaLsyBX0+Yf2tBKP0vrLT0BVzQVVK5nfitImk1VdovBjjQHq+V2lxxWVCWBYyqQ 1SNNNfC5/JktZDsuVSnsO5tJSxW6wplQHl7oTwQmcuTJRnD2PB1fUu4+6uYtty04fCDA h4xQcbsxcB3ey9AUXiAyk23qajVsP1R4I36Ind2ctc6P+ljx45unVUvWzCW2DlDIbOCG sjvg== X-Gm-Message-State: AOAM531LyVF27ynDFc0xR6Q7+QWocbXJoi1Ap30HR5R32u1R9/f26/La A1d++MjKVOZ+uJSrkFQeYW0aWagqYJ7OP9kaBAM= X-Google-Smtp-Source: ABdhPJyQb1psDw3ANfwpoZ2xZrtv33ZawYINftAjw7xb/DfSBhmaykFb2vB/S0XLCVqxVM3bpzQz6oviG6KwX4y4RKs= X-Received: by 2002:a7b:cbc4:: with SMTP id n4mr11885135wmi.153.1620243059279; Wed, 05 May 2021 12:30:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?lo=C3=AFc_tourlonias?= Date: Wed, 5 May 2021 21:30:47 +0200 Message-ID: Subject: Re: Does FreeRTOS works on Linux? To: Raul Piper Cc: kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Wed, May 5, 2021 at 8:07 PM Raul Piper wrote: > > Hello, Hi > I am having an embedded linux system and wanted to use any RTOS on > it. Can I use Free RTOS? > My project has 2 tasks , one is producer and another is consumer > working parallely. I'm afraid I don't understand what you are requesting and I hope that someone else understand more clearly. But I'll still explain my understanding. You want to run a RTOS upon Linux OS, doesn't make it too much OSes? Then I have several questions: Do you really need a Real Time Operating System, can't you run your project in Linux userspace? Have you tried Linux RTOS extension (again I'm no expert and haven't tried them but you can look at Xenomai)? FreeRTOS is a standalone OS and depending on your system there may be an example running on your architecture in parallel of your embedded Linux. For example, on one of my project with have an ARM Cortex-A7 with a Linux running in Normal World and FreeRTOS running in Trusted world. > > I have seen Free RTOS used in microcontrollers handling this , how can > this be done in Linux(which such APIs if not Free RTOS). > HTH > Regards, > R > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies