Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754149AbdCOVvU convert rfc822-to-8bit (ORCPT ); Wed, 15 Mar 2017 17:51:20 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:64273 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbdCOVvO (ORCPT ); Wed, 15 Mar 2017 17:51:14 -0400 Date: Wed, 15 Mar 2017 22:50:35 +0100 (CET) From: Stefan Wahren To: Mauro Carvalho Chehab , Eric Anholt Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linux-rpi-kernel@lists.infradead.org Message-ID: <624207385.207503.1489614635601@email.1und1.de> In-Reply-To: <20170315110128.37e2bc5a@vento.lan> References: <20170127215503.13208-1-eric@anholt.net> <20170315110128.37e2bc5a@vento.lan> Subject: Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.1-Rev32 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K0:w19yUhI6hIFJZpN0uL22/K+RfnNfAsJCJTXISqWHpjDtkctNCKK u9SNGl2UVzOReNn5MYwGjA3YB8ifzHNkxkELtT0ykEGGLg9ciuHCb4vVFLoj+nmrOMs8SR6 MWyBf/V8AEES1SnjvI92mSqwiwtGOrRAGpOhfxyZqqOHNaLHgDDxrP/Tp9K7W77UJto4TL1 sb+JqxfNDAcjdvV6Exs3Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:7oOYF4YH2HU=:gjqwLmDYggq1yc+XkSK9Ey 8MHG4xuVBfccrMVih5H7oosVp5R2QJO91fFUu8FfcL2WMPddEIDUCcl0YWQCdKHOQ/y6OFqoe Xcu2DhyibLXrAsA4lq4BCKPRrvc7qZoHF0r8UQwpFjIWsHx9zSZPM5SXYGXUedc/j/avIBM48 nV0wTRCRqNaHQCanPaUeEorfzsaSiDSwQiy4KuGDydNFsYYzHQtlZRYUZOhCy+B8TsrGOuGy4 KcOYr+9zhVLrMw4aKRq45QZHFCKtUrVFktzo+K0HibWDsg2yXnMuGp2U7Jztm45/HpsHiUME3 zViZFPM8lqSGHv1KILuvKLdEeYNuWiqectX/WsvVuWHFlhlTcbMhrsw88+If9inIzHlxfyaAL +to+e2J+81BRb+XHLw4IkkPRyKh0llCLnJrvibCLF/h2ifCuVxqI0F7U+C7pp4mIDnCkM/vx5 cawQ+2EfH3PoZ8BL9ljj+fQGDMoFhjsVyfuAxJ0ZCKbkXBVzXImaLBnt7G4G9NpFZ4syTw4CR DRxYpvu6zjdZvpvAWQEmH0MnhJc+PIxzrSyzCvqFqyAO174BvqFut3PepI0ydCtQu/Qv6d/4y 8QolPYD8aGek9kN5DkAMAayK1zHI7RbRzszX7dShFdsZ5caDu7LUZDAQVwCPNtyA7XZf5tc32 xPdFFRssdttsQus0yYk5D62E4E4IcgqRVFyfgPm3cfb5WQwHZ3w3DQXeS+wC9BIkF/qcAlC3H 9IVuyGVjc4/0c361 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2601 Lines: 71 Hi Mauro, > Mauro Carvalho Chehab hat am 15. März 2017 um 15:01 geschrieben: > > > Em Fri, 27 Jan 2017 13:54:57 -0800 > Eric Anholt escreveu: > > > Here's my first pass at importing the camera driver. There's a bunch > > of TODO left to it, most of which is documented, and the rest being > > standard checkpatch fare. > > > > Unfortunately, when I try modprobing it on my pi3, the USB network > > device dies, consistently. I'm not sure what's going on here yet, but > > I'm going to keep working on some debug of it. I've unfortunately > > changed a lot of variables (pi3 vs pi2, upstream vs downstream, vchi's > > updates while in staging, 4.9 vs 4.4), so I probably won't figure it > > out today. > > > > Note that the "Update the driver to the current VCHI API" patch will > > conflict with the outstanding "Add vchi_queue_kernel_message and > > vchi_queue_user_message" series, but the fix should be pretty obvious > > when that lands. > > > > I built this against 4.10-rc1, but a merge with staging-next was clean > > and still built fine. > > I'm trying it, building from the linux-next branch of the staging > tree. No joy. > > That's what happens when I modprobe it: > > [ 991.841549] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. > [ 991.842931] vchiq_get_state: g_state.remote == NULL > [ 991.843437] vchiq_get_state: g_state.remote == NULL > [ 991.843940] vchiq_get_state: g_state.remote == NULL > [ 991.844444] vchiq_get_state: g_state.remote == NULL > [ 991.844947] vchiq_get_state: g_state.remote == NULL > [ 991.845451] vchiq_get_state: g_state.remote == NULL > [ 991.845954] vchiq_get_state: g_state.remote == NULL > [ 991.846457] vchiq_get_state: g_state.remote == NULL > [ 991.846961] vchiq_get_state: g_state.remote == NULL > [ 991.847464] vchiq_get_state: g_state.remote == NULL > [ 991.847969] vchiq: vchiq_initialise: videocore not initialized > > [ 991.847973] mmal_vchiq: Failed to initialise VCHI instance (status=-1) > only a guess, but did you add the vchiq node to the device tree? vchiq: vchiq@7e00b840 { compatible = "brcm,bcm2835-vchiq"; reg = <0x7e00b840 0xf>; interrupts = <0 2>; cache-line-size = <32>; firmware = <&firmware>; }; For a Raspberry Pi 3 you will need cache-line-size to be 64. Regards Stefan > > Thanks, > Mauro > > _______________________________________________ > linux-rpi-kernel mailing list > linux-rpi-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel