Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5628463imu; Tue, 13 Nov 2018 09:19:09 -0800 (PST) X-Google-Smtp-Source: AJdET5d0IO/OC5rRm3ctiGgjNFNM73ZJTsPoI8rfy3mZcx2escDUbCY/6VzJcH1f+liOKiy+Zvyn X-Received: by 2002:a17:902:7442:: with SMTP id e2mr5868724plt.67.1542129549062; Tue, 13 Nov 2018 09:19:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542129549; cv=none; d=google.com; s=arc-20160816; b=jrNrvX+EaTu4zEKzd4tYwsiQtL7cn2BGZqichYVx0bWB9jY+TnRvHlRLsqnrPOZ1QR Al9sNGg9XhOpKYP29zWjfHHxVljwQTjVQRlzzB8dMmgkVSw8aijsZ2hk8hEIgqaGeHFn 4bhv33aq8Tfeuqt2z6PgNWhrObMa4DI4NjnFC2npTluzLC3x+Zj4ZAav794SN67c+pfF AFlfmsO/rEKDAaZE9IFfcwK0HNcQgjLcpDhjwd4rylhr9u2s5jLB+MesYQH9CO5zcjGg pYOFaNVJslkCauKnpM1iocvlEj+H2ISGVQhuAHQXGOnlwD106M/xk4VgLlsGjqgFl+34 BMxw== 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=7nuEBXYqQOEXbgly/8Jj2HEdomPal083m6HKhQyJO5c=; b=YD3eOwMJYgXaWonxuPCdQV21O/QEN0dyYyd6Wy2eBu1DYd6uGYi9ghCf9v8pdXhUxq GX4y/fiGFP2H7/4IaYHZ+JRyaH5eRppU0sO2bPyUsySYMJJcaoGfKvDld8fM6zy2/zC8 EkkEG2LLAFUDBUi99F+/z3sJsgut4W5Am5xK2m9H598th94q4azyhaPdNM5x5bLxf0pq yFVsfvj9In0DtKaNKmWhPnBEZC3byLqYDYL5ho3qDDZlHz7YSg1k0a9ou6a3/IRtxDWJ URWVN3zLAjAqJng7i9ykOlxZfAWZQxhRY9ztkyILlp7LEfjT+0/eS7DIWO2K/x4hXsG6 gzIw== 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 c10si21349631pgj.416.2018.11.13.09.18.30; Tue, 13 Nov 2018 09:19:09 -0800 (PST) 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 S1731537AbeKNDPD (ORCPT + 99 others); Tue, 13 Nov 2018 22:15:03 -0500 Received: from lb3-smtp-cloud9.xs4all.net ([194.109.24.30]:55030 "EHLO lb3-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730813AbeKNDPC (ORCPT ); Tue, 13 Nov 2018 22:15:02 -0500 Received: from [192.168.2.10] ([212.251.195.8]) by smtp-cloud9.xs4all.net with ESMTPA id McI1gJHP8SskCMcI5gtRc9; Tue, 13 Nov 2018 18:16:01 +0100 Subject: Re: [PATCH 0/5] media: Allwinner A10 CSI support To: Thomas Petazzoni , Hans Verkuil Cc: Maxime Ripard , Hans Verkuil , Sakari Ailus , Mauro Carvalho Chehab , Laurent Pinchart , linux-media@vger.kernel.org, Andrzej Hajda , Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Mark Rutland , Rob Herring , Frank Rowand References: <20181113135259.onutfjtoi25afnfe@flea> <20181113155227.62jjs3mpomwgr7xd@flea> <20181113175558.3bfa3e8d@windsurf> From: Hans Verkuil Message-ID: <2d25e395-af73-e69b-dc8a-3d0956d668f9@xs4all.nl> Date: Tue, 13 Nov 2018 18:15:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20181113175558.3bfa3e8d@windsurf> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfGpF76RO1E3RZB48+wbAW1ls45P9GyLpnsGcnMx0s8v099pBinbiaXi2mcT7WrBLpqA3oY8h0mrusD8Sy8tEz4oCA6f5zWB/TYaSyLhNkOGboO3Psq9o SBU3zJDxfAVDEcmKXvvVlUxrl6g2ARlJBiWKsXqlJPIVADABFNhSRLjVrWlfD8NvklAN1F70EmBIK2m2nHfAz+mQbmesVcLBIthruxA9bngV37nyVhlvuJdj hzhjcSySlhU0lBlNVMH3F4b1z8q5PfLiMI997iU4GBzNVQgczpdumdxVEcEsNCRFDANNhTTb8piPCT6XA9s6NiobXTwFISuEZIGQT8TS6mKvHvb6E3s3f5wW 7OFDdJHm6UnizpvweHYUgjBmxpv1mNoxLJvs7t7hCILdVSwEeafXEfgrimCbPPB9+QGBh9I3xf32IqFUJKKyw3PLfV7eEG+u95k/DaAbTBjjHsl0CRtFzgzZ NChk3X9FIzBV4A2P1t/8ziddB1hK1NbvlCKlnMzAOMooB+jTW21TOOr9ee1QoKzardkDXu3bPCHuTsWt07N4p5KB6GN8QtssEo4/Y9UIzqOrBgextaY2H63H eiDQAZYXg0N2nYy1vvM9Yre+J1nhZ6siucztXtQm7Vmd256yzXg49Awzm6Bk5+Fuy/9+F4W/3+4H6T/psX5M2NwjyJGSdQ/wiJMh0WhBW29xkwww4+vWmJ3q lF3GGGInomBiGVNM3R42lNfe6xGI0DWi Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/13/2018 05:55 PM, Thomas Petazzoni wrote: > Hello, > > On Tue, 13 Nov 2018 17:00:25 +0100, Hans Verkuil wrote: > >> Weird, if I build directly from that tarball, then v4l2-compliance should say: >> >> v4l2-compliance SHA: not available, 64 bits >> >> So that's what I expect to see from buildroot as well. > > Indeed, that's strange, I see that the v4l2-compliance Makefile does: > > version.h: > @if git -C $(srcdir) rev-parse HEAD >/dev/null 2>&1; then \ > echo -n "#define SHA " >$@ ; \ > git -C $(srcdir) rev-parse HEAD >>$@ ; \ > else \ > touch $@ ; \ > fi > > which correctly uses $(srcdir), so it shouldn't go "up" the libv4l > build folder and pick up the latest Buildroot commit SHA1. I'll have a > quick look. I think it does, actually. If the tar archive is unpacked inside the checked-out buildroot git tree, then it will pick up the buildroot SHA. I fixed v4l-utils to be a bit smarter about this: https://git.linuxtv.org/v4l-utils.git/patch/?id=98b4c9f276a18535b5691e5f350f59ffbf5a9aa5 Regards, Hans