Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp639287imm; Fri, 28 Sep 2018 04:31:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV63PC48ImxgaUjcP4qNE4pTMaUbeLUV8zDMNsXndMR/Hrsnwkt6/AXImkoUeuvKyUuWUsuLt X-Received: by 2002:a17:902:830a:: with SMTP id bd10-v6mr12539815plb.214.1538134293987; Fri, 28 Sep 2018 04:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538134293; cv=none; d=google.com; s=arc-20160816; b=jpzlGWG2fcRl9u++qC7GGXxJYEDeczl8vI7EwDWSBZTChLPCCkcSwb7fv9QBZL1PTe 8RPck+7slIqJNjVAwS/BdxxiwY1vxtLYUm8DEn37+FQsX4By4BvEQHpmgS+MEn0Q/VEo gkVrST2vY+3JMtVD+OT+2bIyFCZWKkc7t6ocIyauzPOXX7AHktNJ3fu9qc4iYPInCORt hZ1eiSK0WGO+gx0xEQDgfGD0XQkhi9oErZUWJ4LOKhE9n1wd55op3U74Rh6Y6G9DGs6h IC38o3AwzCQlLzV+MEuAkMAXqLVDe+Wp6k5Hwxx20CuK3i3VUaGRbKyu5IvF84razFL2 +r5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=uizN4p3KWrbubvOkXVJE006oG1BEVevkBQHN6B1tpdA=; b=yAh4tl9On7AxOIMqfJSIYp9DkpF5En8EHEpBo5Uk+LWTcm+ZM5aOtq6XArLtpYs1fE mDL0o5fjMyLRmYZjhgCdmsifsHSrDWFaKxmQEoWhc91WPO11wYbkOR00Rc6t9I1k/882 U56TmIxSHJ4typYIxRvqBVxqXyt3yOMj8k8LT7AFEwL7hvckUf2pPce6/UOw21OmEvXX 61ujNxKf4KioFuDKDY7BfLrNNGUF2l5HcQwrG0CY2F0twA9OjyOBe5B/Lv32TEML32VC XKnres85I9Echl4ve77gJeo6mxDUFzfHMXZA4ykpKPA/tVpU/MM+TGOmx02MKb/AG5Tm VSfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6-v6si4659681pgg.673.2018.09.28.04.31.18; Fri, 28 Sep 2018 04:31:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729438AbeI1RxI (ORCPT + 99 others); Fri, 28 Sep 2018 13:53:08 -0400 Received: from lb1-smtp-cloud9.xs4all.net ([194.109.24.22]:33064 "EHLO lb1-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729257AbeI1RxI (ORCPT ); Fri, 28 Sep 2018 13:53:08 -0400 Received: from [192.168.1.10] ([80.101.105.217]) by smtp-cloud9.xs4all.net with ESMTPA id 5qxsgEn5wS9Y35qxtg1gGO; Fri, 28 Sep 2018 13:29:47 +0200 Subject: Re: [PATCH v3 0/2] media: platform: Add Aspeed Video Engine Driver To: Eddie James , Eddie James , linux-kernel@vger.kernel.org Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, andrew@aj.id.au, openbmc@lists.ozlabs.org, robh+dt@kernel.org, mchehab@kernel.org, linux-media@vger.kernel.org References: <1537903629-14003-1-git-send-email-eajames@linux.ibm.com> <337a1869-4c16-edb0-976e-755f786afb01@xs4all.nl> From: Hans Verkuil Message-ID: <057866e9-5d37-f2db-86a3-aa726b23dad2@xs4all.nl> Date: Fri, 28 Sep 2018 13:29:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfLdkvTjStbWERQ7stX56rcTjCWcVdnEtjPzJUvhIK76qf368GSJhOq+32GpTzSiuCxfrO24K3TGPacsgR7cUpSJIEqUdeYl/HAU/tDTCuekMNhz0mSZQ BjZUS6voEcThBT6fqpox/jKkXXcYNvNiIz9Zn6d4TF7om6WXDJ/ENemRUXWqhvS5PAYbpm61C1rX80ai+zXw6FVFIjZpHgiEMbHmY0AdI/gFzpvyG1006w3n KPkKIJ6I8E1VfM8+Zb17Xq98tmU2OIwrVK32tKUTokH+W+3gKud8cH9Rm/nXe3iV1hiShgzBsI3m8+g4WPpuEWo+a8CQKEBZJXl5N7/0eeqFrfa7FlqdMHI1 bTYwqkJPVNLZVS8XUYhK1gcrVJaecFvxAZb17AKK3P3CT3TldqGuEOAOWHsIUl8M1KgZ0dACHEbFVS3r/MzWjwFG1iThTOOEq4lP2cO9fMi06NznzBotRSbY Pf/siSwIdLSnNPDbTnRoI8r6RvwKOp3zeJXT5vS0uCbb1qUZ7o3FmNXIpEzK2yU1RkaAgJOeHTDHfWMG Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/26/2018 08:05 PM, Eddie James wrote: > > > On 09/26/2018 07:03 AM, Hans Verkuil wrote: >> On 09/25/2018 09:27 PM, Eddie James wrote: >>> The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs >>> can capture and compress video data from digital or analog sources. With >>> the Aspeed chip acting as a service processor, the Video Engine can >>> capture the host processor graphics output. >>> >>> This series adds a V4L2 driver for the VE, providing the usual V4L2 streaming >>> interface by way of videobuf2. Each frame, the driver triggers the hardware to >>> capture the host graphics output and compress it to JPEG format. >>> >>> I was unable to cross compile v4l2-compliance for ARM with our OpenBMC >>> toolchain. Although bootstrap, configure, and make were successful, no binaries >>> were generated... I was able to build v4l-utils 1.12.3 from the OpenEmbedded >>> project, with the output below: >> You can also try to build it manually: >> >> g++ -o v4l2-compliance -DNO_LIBV4L2 v4l2-compliance.cpp v4l2-test-debug.cpp v4l2-test-input-output.cpp v4l2-test-controls.cpp v4l2-test-io-config.cpp v4l2-test-formats.cpp v4l2-test-buffers.cpp >> v4l2-test-codecs.cpp v4l2-test-colors.cpp v4l2-test-media.cpp v4l2-test-subdevs.cpp media-info.cpp v4l2-info.cpp -I../.. -I../../include -I../common >> >> (replace g++ with your cross compiler) >> >> Hopefully that will work since 1.12.3 is way too old. >> >> Regards, >> >>     Hans > > Yea I got it built. Still no SHA :( But this is with HEAD at commit 3874aa8eb1ff0c2e103d024ba5af915b1b26f098 > > FYI I am also patching out the JPEG thing I mentioned, so that the streaming test will run: > diff --git a/utils/v4l2-compliance/v4l2-test-formats.cpp b/utils/v4l2-compliance > index 02c2ce9..1f6eaa5 100644 > --- a/utils/v4l2-compliance/v4l2-test-formats.cpp > +++ b/utils/v4l2-compliance/v4l2-test-formats.cpp > @@ -330,7 +330,7 @@ static int testColorspace(__u32 pixelformat, __u32 colorspac >         fail_on_test(!colorspace); >         fail_on_test(colorspace == V4L2_COLORSPACE_BT878); >         fail_on_test(pixelformat == V4L2_PIX_FMT_JPEG && > -                    colorspace != V4L2_COLORSPACE_JPEG); > +                    colorspace != V4L2_COLORSPACE_SRGB); I dropped this bogus test from v4l2-compliance. It doesn't make sense. Regards, Hans