From patchwork Thu Apr 24 17:01:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 29008 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-fa0-f70.google.com (mail-fa0-f70.google.com [209.85.161.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4CC9C2036A for ; Thu, 24 Apr 2014 17:02:49 +0000 (UTC) Received: by mail-fa0-f70.google.com with SMTP id a10sf1514353fad.1 for ; Thu, 24 Apr 2014 10:02:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=BEL30FSm8FiIk9Fj8BthyKLG9kQgels+oqrpy4OL6as=; b=CH03Z/RFAsf7bPH0nwbnkoGavqkPT1ZNs80VD27X+eTTeU9alJ27xw/din6HfmCuP8 wnJokT1kWm4EWgJLPnY2+aH9OE7xpFuw/ZKWRb/5hblELIpxyXmYGNloLp1PO1fXRcZJ VAUdjN0ekOfahQama1FA0FvehQV02fpPx2picoooJADSdRdgnRy8Wqzn5SZpchYNOw5X Td1agq18iP+BsvZZhXGvcCm0n9F6DTyUQbjIvFxkbpt9M/S5vlY34kUjOng0xIrtRFXG 0trF6A82kRXOnky88LHd9XSfoQgPPYnaSmZt2Amwe6KjK6XD82ZIS6yVSwc6NlCefdNP kIsw== X-Gm-Message-State: ALoCoQlW5Yh7T2l08L8/NY1SDpLfbJBggxubRDulrbSrBwmptNJoEqpyQQyqR+yk6hYj8KBy5tNW X-Received: by 10.112.50.50 with SMTP id z18mr441454lbn.7.1398358968045; Thu, 24 Apr 2014 10:02:48 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.28.137 with SMTP id 9ls1192984qgz.14.gmail; Thu, 24 Apr 2014 10:02:47 -0700 (PDT) X-Received: by 10.58.123.71 with SMTP id ly7mr1949278veb.11.1398358967876; Thu, 24 Apr 2014 10:02:47 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id o2si1070252vew.7.2014.04.24.10.02.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 10:02:47 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id jx11so3312702veb.3 for ; Thu, 24 Apr 2014 10:02:47 -0700 (PDT) X-Received: by 10.58.34.67 with SMTP id x3mr1140313vei.37.1398358967751; Thu, 24 Apr 2014 10:02:47 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp31766vcb; Thu, 24 Apr 2014 10:02:47 -0700 (PDT) X-Received: by 10.140.41.200 with SMTP id z66mr4252342qgz.102.1398358967249; Thu, 24 Apr 2014 10:02:47 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id h7si1560900qas.142.2014.04.24.10.02.46 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 24 Apr 2014 10:02:47 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WdN2V-0004Ji-IN; Thu, 24 Apr 2014 17:02:23 +0000 Received: from mail-ee0-f50.google.com ([74.125.83.50]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WdN1p-0004GZ-K1 for lng-odp@lists.linaro.org; Thu, 24 Apr 2014 17:01:41 +0000 Received: by mail-ee0-f50.google.com with SMTP id c13so2109039eek.9 for ; Thu, 24 Apr 2014 10:01:58 -0700 (PDT) X-Received: by 10.14.7.65 with SMTP id 41mr3620774eeo.100.1398358918381; Thu, 24 Apr 2014 10:01:58 -0700 (PDT) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id w46sm17371207eeo.35.2014.04.24.10.01.56 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 10:01:57 -0700 (PDT) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Thu, 24 Apr 2014 20:01:39 +0300 Message-Id: <1398358899-9851-9-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398358899-9851-1-git-send-email-taras.kondratiuk@linaro.org> References: <1398358899-9851-1-git-send-email-taras.kondratiuk@linaro.org> Cc: linaro-networking@linaro.org Subject: [lng-odp] [PATCH v4 8/8] Keystone2: Add README file X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Taras Kondratiuk --- platform/linux-keystone2/README | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 platform/linux-keystone2/README diff --git a/platform/linux-keystone2/README b/platform/linux-keystone2/README new file mode 100644 index 0000000..01b61e2 --- /dev/null +++ b/platform/linux-keystone2/README @@ -0,0 +1,41 @@ +1. Intro + +OpenDataPlane implementation for TI Keystone2 SoC's. Current version supports +HW buffer, queues and Packet IO management. This drop does not target high +performance. It is rather proof of ODP API functionality. It still uses +linux-generic's SW scheduler. + +2. Prerequisites + + 2.1 Linux kernel + +Sources: git://git.ti.com/keystone-linux/linux.git master +config: keystone2_defconfig +DTB: k2hk-evm.dtb + +Current implementation relies on kernel to enable and configure network +interfaces. Implementation does not support Packet and Security accelerators +now so they should be disable in kernel config: + +# CONFIG_TI_KEYSTONE_NET_SA is not set +# CONFIG_TI_KEYSTONE_QOS is not set +# CONFIG_TI_KEYSTONE_PA is not set + + 2.2 OpenEM libs and kernel module + +Keystone ODP uses OpenEM libraries as low level drivers. +Before any ODP application started an OpenEM kernel module (em_mod.ko) +should be inserted. + +Sources: git://git.linaro.org/people/taras.kondratiuk/keystone2-odp/openem.git for_odp +Check README file in OpenEM root directory for build instructions. + +3. Keystone2 ODP build + +Keystone implementation uses partial linking (ld -r) to link external +static libraries into libodp. During partial linking ld searches for libraries +only in path specified explicitly (via -L), but not in standard paths. I'm not +sure whether it is gcc bug or feature, but until fix is found a path should be +passed explicitly. If helper libraries installed into /usr/lib, then: + +make PLATFORM=linux-keystone2 LD='ld -L/usr/lib'