Message ID | 20170319221107.05227532@vento.lan (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from <linux-media-owner@vger.kernel.org>) id 1cpls1-0004mh-3p; Mon, 20 Mar 2017 01:12:25 +0000 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.84_2/mailfrontend-7) with esmtp id 1cplry-0007S4-29; Mon, 20 Mar 2017 02:12:24 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752296AbdCTBLR convert rfc822-to-8bit (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Sun, 19 Mar 2017 21:11:17 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:38356 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752131AbdCTBLQ (ORCPT <rfc822;linux-media@vger.kernel.org>); Sun, 19 Mar 2017 21:11:16 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id A75D7A0C13; Mon, 20 Mar 2017 01:11:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osg.samsung.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (s-opensource.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bTJLtnKDVrtQ; Mon, 20 Mar 2017 01:11:36 +0000 (UTC) Received: from vento.lan (177.41.110.164.dynamic.adsl.gvt.net.br [177.41.110.164]) by osg.samsung.com (Postfix) with ESMTPSA id 2A9D1A0BA4; Mon, 20 Mar 2017 01:11:33 +0000 (UTC) Date: Sun, 19 Mar 2017 22:11:07 -0300 From: Mauro Carvalho Chehab <mchehab@s-opensource.com> To: Michael Zoran <mzoran@crowfest.net> Cc: Eric Anholt <eric@anholt.net>, devel@driverdev.osuosl.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Mauro Carvalho Chehab <mchehab@kernel.org>, linux-media@vger.kernel.org Subject: Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Message-ID: <20170319221107.05227532@vento.lan> In-Reply-To: <1489943068.13607.5.camel@crowfest.net> References: <20170127215503.13208-1-eric@anholt.net> <20170315110128.37e2bc5a@vento.lan> <87a88m19om.fsf@eliezer.anholt.net> <20170315220834.7019fd8b@vento.lan> <1489628784.8127.1.camel@crowfest.net> <20170316062900.0e835118@vento.lan> <87shmbv2w3.fsf@eliezer.anholt.net> <20170319135846.395feef8@vento.lan> <1489943068.13607.5.camel@crowfest.net> Organization: Samsung X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2017.3.20.10617 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MSGID_ADDED_BY_MTA 0.05, BODY_SIZE_5000_5999 0, BODY_SIZE_7000_LESS 0, CT_TEXT_PLAIN_UTF8_CAPS 0, FROM_NAME_PHRASE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, MULTIPLE_REAL_RCPTS 0, REFERENCES 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CC_NAME 0, __CC_NAME_DIFF_FROM_ACC 0, __CC_REAL_NAMES 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __FW_1LN_BOT_MSGID 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_LIST_ID 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __REFERENCES 0, __SANE_MSGID 0, __STOCK_PHRASE_7 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __URI_IN_BODY 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0' |
Commit Message
Mauro Carvalho Chehab
March 20, 2017, 1:11 a.m. UTC
Em Sun, 19 Mar 2017 10:04:28 -0700 Michael Zoran <mzoran@crowfest.net> escreveu: > On Sun, 2017-03-19 at 13:58 -0300, Mauro Carvalho Chehab wrote: > > Em Fri, 17 Mar 2017 17:34:36 -0700 > > Eric Anholt <eric@anholt.net> escreveu: > > > > > Mauro Carvalho Chehab <mchehab@s-opensource.com> writes: > > > > > > > Em Wed, 15 Mar 2017 18:46:24 -0700 > > > > Michael Zoran <mzoran@crowfest.net> escreveu: > > > > > > > > > On Wed, 2017-03-15 at 22:08 -0300, Mauro Carvalho Chehab wrote: > > > > > > > > > > > No, I didn't. Thanks! Applied it but, unfortunately, didn't > > > > > > work. > > > > > > Perhaps I'm missing some other patch. I'm compiling it from > > > > > > the Greg's staging tree (branch staging-next): > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/ > > > > > > staging. > > > > > > git/log/?h=staging-next > > > > > > > > > > > > Btw, as I'm running Raspbian, and didn't want to use compat32 > > > > > > bits, > > > > > > I'm compiling the Kernel as an arm32 bits Kernel. > > > > > > > > > > > > I did a small trick to build the DTB on arm32: > > > > > > > > > > > > ln -sf ../../../arm64/boot/dts/broadcom/bcm2837-rpi-3- > > > > > > b.dts > > > > > > arch/arm/boot/dts/bcm2837-rpi-3-b.dts > > > > > > ln -sf ../../../arm64/boot/dts/broadcom/bcm2837.dtsi > > > > > > arch/arm/boot/dts/bcm2837.dtsi > > > > > > git checkout arch/arm/boot/dts/Makefile > > > > > > sed "s,bcm2835-rpi-zero.dtb,bcm2835-rpi-zero.dtb > > > > > > bcm2837-rpi-3- > > > > > > b.dtb," a && mv a arch/arm/boot/dts/Makefile > > > > > > > > > > > > > > > > Two other hacks are currently needed to get the camera to work: > > > > > > > > > > 1. Add this to config.txt(This required to get the firmware to > > > > > detect > > > > > the camera) > > > > > > > > > > start_x=1 > > > > > gpu_mem=128 > > > > > > > > I had this already. > > > > > > > > > > > > > > 2. VC4 is incompatible with the firmware at this time, so you > > > > > need > > > > > to presently munge the build configuration. What you do is > > > > > leave > > > > > simplefb in the build config(I'm assuming you already have > > > > > that), but > > > > > you will need to remove VC4 from the config. > > > > > > > > > > The firmware currently adds a node for a simplefb for debugging > > > > > purposes to show the boot log. Surprisingly, this is still > > > > > good enough > > > > > for basic usage and testing. > > > > > > > > That solved the issue. Thanks! It would be good to add a notice > > > > about that at the TODO, not let it build if DRM_VC4. > > > > > > > > Please consider applying the enclosed path. > > > > > > The VC4 incompatibility (camera firmware's AWB ends up briefly > > > using the > > > GPU, without coordinating with the Linux driver) is supposed to be > > > fixed > > > in current firmware > > > (https://github.com/raspberrypi/firmware/issues/760#issuecomment-28 > > > 7391025) > > > > With the current firmware, when X starts, the screen becomes blank, > > with upstream Kernel (it works with the downstream Kernel shipped > > with > > the firmware). > > > > Maybe something changed at DT? > > > > Thanks, > > Mauro > > Hi, exactly which DT are you using and which drivers are you using for > video. I'm using the one at Greg's staging tree. > If this is a RPI 3, then as you know VC4 doesn't work due to the > HDMI hotplug issue. So I'm not 100% sure how you were getting video. > > A working DT that I tried this morning with the current firmware is > posted here: > http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-March/005924 > .html > > It even works with minecraft_pi! Yeah, something like that solved it, thanks! With the new firmware and the enclosed patch, compiling with VIDEO_BCM2835 I had to comment two blocks for it to work with upstream Kernel, though. Patch enclosed. Thanks! Mauro [PATCH] bcm2837-rpi-3-b.dts: fix it to work with newer firmware Newer firmware require extra stuff to DT. Suggested-by: Michael Zoran <mzoran@crowfest.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Thanks, Mauro
Comments
Em Sun, 19 Mar 2017 22:11:07 -0300 Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu: > Em Sun, 19 Mar 2017 10:04:28 -0700 > Michael Zoran <mzoran@crowfest.net> escreveu: > > > A working DT that I tried this morning with the current firmware is > > posted here: > > http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-March/005924 > > .html > > > > It even works with minecraft_pi! With the new firmware, sometime after booting, I'm getting an oops, caused by bcm2835_audio/vchiq: [ 298.788995] Unable to handle kernel NULL pointer dereference at virtual address 00000034 [ 298.821458] pgd = ed004000 [ 298.832294] [00000034] *pgd=2e5e9835, *pte=00000000, *ppte=00000000 [ 298.857450] Internal error: Oops: 17 [#1] SMP ARM [ 298.876273] Modules linked in: cfg80211 hid_logitech_hidpp hid_logitech_dj snd_bcm2835(C) snd_pcm snd_timer snd soundcore vchiq(C) uio_pdrv_genirq uio fuse [ 298.932064] CPU: 3 PID: 847 Comm: pulseaudio Tainted: G C 4.11.0-rc1+ #56 [ 298.963774] Hardware name: Generic DT based system [ 298.982945] task: ef758580 task.stack: ee4c6000 [ 299.001080] PC is at mutex_lock+0x14/0x3c [ 299.017148] LR is at vchiq_add_service_internal+0x138/0x3a0 [vchiq] [ 299.042246] pc : [<c0c849d4>] lr : [<bf059654>] psr: 40000013 sp : ee4c7ca8 ip : 00000000 fp : ef709800 [ 299.088240] r10: 00000000 r9 : ee3bffc0 r8 : 00000034 [ 299.109153] r7 : 00000003 r6 : 00000000 r5 : ee4c7d00 r4 : ee1d8c00 [ 299.135291] r3 : ef758580 r2 : 00000000 r1 : ffffffc8 r0 : 00000034 [ 299.161431] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 299.190008] Control: 10c5383d Table: 2d00406a DAC: 00000051 [ 299.213011] Process pulseaudio (pid: 847, stack limit = 0xee4c6220) [ 299.238104] Stack: (0xee4c7ca8 to 0xee4c8000) [ 299.255539] 7ca0: c1403d54 80400040 ff7f0600 ff7f0660 bf06b578 ee3bffc0 [ 299.288301] 7cc0: 00000000 ee3afd00 00000000 ee4c7d00 00000000 bf0640b4 00000000 bf066428 [ 299.321064] 7ce0: ee3afd00 ee3afd00 ee4c7d34 ee3af444 ee3bffc0 ee3af444 ee3bffc0 bf0662ec [ 299.353826] 7d00: 41554453 bf065db0 ee3afd00 00010002 bf0d7408 ee3af440 00000000 bf0d7408 [ 299.386587] 7d20: ee79bd80 bf0d5a04 00000000 ef709800 00000020 00000002 00000001 41554453 [ 299.419349] 7d40: 00000000 00000000 00000000 bf0d559c ee3af440 00000001 00000001 00000000 [ 299.452111] 7d60: ee24ac80 ee24ac80 ee1c4a00 00000000 ee79bd80 ee24ace8 00000001 bf0d4dfc [ 299.484872] 7d80: 0000000b ffffffff ee4b8c3c 00000000 ee4c7dc8 ee4b8800 ee4b8c28 ee4c6000 [ 299.517635] 7da0: 00000000 ee4b8c3c ed029e40 bf0c0404 ee4b8800 ee1c4a00 ee4b8800 ed029e40 [ 299.550398] 7dc0: 00000000 bf0c0560 ee072340 00000000 ef758580 c0367b7c ee4b8c40 ee4b8c40 [ 299.583161] 7de0: 00000000 ee4b8800 ed029e40 ee318f80 ed029e40 00000006 ee318f80 bf0c0748 [ 299.615924] 7e00: bf0a3430 ee4f6180 00000000 c0428fe0 ee318f80 000021b0 00000026 ed029e40 [ 299.648697] 7e20: ee318f80 ed029e48 c0428f1c ee4c7e94 00000006 c0421cc0 ee4c7ed0 00000000 [ 299.681464] 7e40: 00000802 00000000 ee4c7e94 00000006 ee318f80 c0432c8c ee4c7f40 c0433bc0 [ 299.714225] 7e60: 00000000 ed029e40 00000000 00000041 00000000 ed004000 00000000 ee4c6000 [ 299.746987] 7e80: eec69808 00000005 00000000 00000002 ee318f80 ef0d2910 ee924908 bf0ba284 [ 299.779750] 7ea0: ee31bbc0 bebb53c4 ee4e1d00 00000011 ee4c7f74 00000001 fffff000 c0308b04 [ 299.812512] 7ec0: ee4c6000 00000000 bebb5710 c0434578 ef0d2910 ee924908 73541c18 00000008 [ 299.845274] 7ee0: ee4a7019 00000000 00000000 ee899bb0 ee318f80 00000101 00000002 00000084 [ 299.878037] 7f00: 00000000 00000000 00000000 ee4c7f10 ee318df8 ed029840 40045532 bebb53c4 [ 299.910799] 7f20: ee4c6000 ee4a7000 c1403ef8 bebb550c 00000011 ee5eca00 00000020 ee5eca18 [ 299.943562] 7f40: ee4a7000 00000000 00080802 00000002 ffffff9c fffff000 00000011 ffffff9c [ 299.976324] 7f60: ee4a7000 c0422e70 00000002 c04359b0 ed029840 00000802 ed020000 00000006 [ 300.009086] 7f80: 00000100 00000001 00000000 ffffffff 00000004 b189d000 00000005 c0308b04 [ 300.041848] 7fa0: ee4c6000 c0308940 ffffffff 00000004 bebb550c 00080802 bebb53c4 00084b58 [ 300.074611] 7fc0: ffffffff 00000004 b189d000 00000005 00000000 bebb550c 00099448 bebb5710 [ 300.107373] 7fe0: 00000000 bebb53c8 b6c40da4 b6c24334 80000010 bebb550c 2fffd861 2fffdc61 [ 300.140190] [<c0c849d4>] (mutex_lock) from [<bf059654>] (vchiq_add_service_internal+0x138/0x3a0 [vchiq]) [ 300.178237] [<bf059654>] (vchiq_add_service_internal [vchiq]) from [<bf0640b4>] (vchiq_open_service+0x58/0xf0 [vchiq]) [ 300.221152] [<bf0640b4>] (vchiq_open_service [vchiq]) from [<bf0662ec>] (vchi_service_open+0x74/0xa8 [vchiq]) [ 300.260919] [<bf0662ec>] (vchi_service_open [vchiq]) from [<bf0d5a04>] (bcm2835_audio_open+0xe8/0x2d0 [snd_bcm2835]) [ 300.303111] [<bf0d5a04>] (bcm2835_audio_open [snd_bcm2835]) from [<bf0d4dfc>] (snd_bcm2835_playback_open_generic+0xc0/0x1c4 [snd_bcm2835]) [ 300.352975] [<bf0d4dfc>] (snd_bcm2835_playback_open_generic [snd_bcm2835]) from [<bf0c0404>] (snd_pcm_open_substream+0x60/0x110 [snd_pcm]) [ 300.402848] [<bf0c0404>] (snd_pcm_open_substream [snd_pcm]) from [<bf0c0560>] (snd_pcm_open+0xac/0x1fc [snd_pcm]) [ 300.444009] [<bf0c0560>] (snd_pcm_open [snd_pcm]) from [<bf0c0748>] (snd_pcm_playback_open+0x3c/0x5c [snd_pcm]) [ 300.484459] [<bf0c0748>] (snd_pcm_playback_open [snd_pcm]) from [<c0428fe0>] (chrdev_open+0xc4/0x180) [ 300.521408] [<c0428fe0>] (chrdev_open) from [<c0421cc0>] (do_dentry_open.constprop.3+0x1fc/0x304) [ 300.556964] [<c0421cc0>] (do_dentry_open.constprop.3) from [<c0432c8c>] (path_openat+0x588/0x1078) [ 300.592866] [<c0432c8c>] (path_openat) from [<c0434578>] (do_filp_open+0x60/0xc4) [ 300.622846] [<c0434578>] (do_filp_open) from [<c0422e70>] (do_sys_open+0x110/0x1c0) [ 300.653524] [<c0422e70>] (do_sys_open) from [<c0308940>] (ret_fast_syscall+0x0/0x3c) Thanks, Mauro
On Mon, 2017-03-20 at 07:58 -0300, Mauro Carvalho Chehab wrote: > Em Sun, 19 Mar 2017 22:11:07 -0300 > Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu: > > > Em Sun, 19 Mar 2017 10:04:28 -0700 > > Michael Zoran <mzoran@crowfest.net> escreveu: > > > > > A working DT that I tried this morning with the current firmware > > > is > > > posted here: > > > http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-March/ > > > 005924 > > > .html > > > > > > It even works with minecraft_pi! > > With the new firmware, sometime after booting, I'm getting an oops, > caused > by bcm2835_audio/vchiq: > > [ 298.788995] Unable to handle kernel NULL pointer dereference at > virtual address 00000034 > [ 298.821458] pgd = ed004000 > [ 298.832294] [00000034] *pgd=2e5e9835, *pte=00000000, > *ppte=00000000 > [ 298.857450] Internal error: Oops: 17 [#1] SMP ARM > [ 298.876273] Modules linked in: cfg80211 hid_logitech_hidpp > hid_logitech_dj snd_bcm2835(C) snd_pcm snd_timer snd soundcore > vchiq(C) uio_pdrv_genirq uio fuse > [ 298.932064] CPU: 3 PID: 847 Comm: pulseaudio Tainted: > G C 4.11.0-rc1+ #56 > [ 298.963774] Hardware name: Generic DT based system > [ 298.982945] task: ef758580 task.stack: ee4c6000 > [ 299.001080] PC is at mutex_lock+0x14/0x3c > [ 299.017148] LR is at vchiq_add_service_internal+0x138/0x3a0 > [vchiq] > [ 299.042246] pc : [<c0c849d4>] lr : [<bf059654>] psr: > 40000013 > sp : ee4c7ca8 ip : 00000000 fp : ef709800 > [ 299.088240] r10: 00000000 r9 : ee3bffc0 r8 : 00000034 > [ 299.109153] r7 : 00000003 r6 : 00000000 r5 : ee4c7d00 r4 : > ee1d8c00 > [ 299.135291] r3 : ef758580 r2 : 00000000 r1 : ffffffc8 r0 : > 00000034 > [ 299.161431] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA > ARM Segment none > [ 299.190008] Control: 10c5383d Table: 2d00406a DAC: 00000051 > [ 299.213011] Process pulseaudio (pid: 847, stack limit = > 0xee4c6220) > [ 299.238104] Stack: (0xee4c7ca8 to 0xee4c8000) > [ 299.255539] 7ca0: c1403d54 80400040 ff7f0600 > ff7f0660 bf06b578 ee3bffc0 > [ 299.288301] 7cc0: 00000000 ee3afd00 00000000 ee4c7d00 00000000 > bf0640b4 00000000 bf066428 > [ 299.321064] 7ce0: ee3afd00 ee3afd00 ee4c7d34 ee3af444 ee3bffc0 > ee3af444 ee3bffc0 bf0662ec > [ 299.353826] 7d00: 41554453 bf065db0 ee3afd00 00010002 bf0d7408 > ee3af440 00000000 bf0d7408 > [ 299.386587] 7d20: ee79bd80 bf0d5a04 00000000 ef709800 00000020 > 00000002 00000001 41554453 > [ 299.419349] 7d40: 00000000 00000000 00000000 bf0d559c ee3af440 > 00000001 00000001 00000000 > [ 299.452111] 7d60: ee24ac80 ee24ac80 ee1c4a00 00000000 ee79bd80 > ee24ace8 00000001 bf0d4dfc > [ 299.484872] 7d80: 0000000b ffffffff ee4b8c3c 00000000 ee4c7dc8 > ee4b8800 ee4b8c28 ee4c6000 > [ 299.517635] 7da0: 00000000 ee4b8c3c ed029e40 bf0c0404 ee4b8800 > ee1c4a00 ee4b8800 ed029e40 > [ 299.550398] 7dc0: 00000000 bf0c0560 ee072340 00000000 ef758580 > c0367b7c ee4b8c40 ee4b8c40 > [ 299.583161] 7de0: 00000000 ee4b8800 ed029e40 ee318f80 ed029e40 > 00000006 ee318f80 bf0c0748 > [ 299.615924] 7e00: bf0a3430 ee4f6180 00000000 c0428fe0 ee318f80 > 000021b0 00000026 ed029e40 > [ 299.648697] 7e20: ee318f80 ed029e48 c0428f1c ee4c7e94 00000006 > c0421cc0 ee4c7ed0 00000000 > [ 299.681464] 7e40: 00000802 00000000 ee4c7e94 00000006 ee318f80 > c0432c8c ee4c7f40 c0433bc0 > [ 299.714225] 7e60: 00000000 ed029e40 00000000 00000041 00000000 > ed004000 00000000 ee4c6000 > [ 299.746987] 7e80: eec69808 00000005 00000000 00000002 ee318f80 > ef0d2910 ee924908 bf0ba284 > [ 299.779750] 7ea0: ee31bbc0 bebb53c4 ee4e1d00 00000011 ee4c7f74 > 00000001 fffff000 c0308b04 > [ 299.812512] 7ec0: ee4c6000 00000000 bebb5710 c0434578 ef0d2910 > ee924908 73541c18 00000008 > [ 299.845274] 7ee0: ee4a7019 00000000 00000000 ee899bb0 ee318f80 > 00000101 00000002 00000084 > [ 299.878037] 7f00: 00000000 00000000 00000000 ee4c7f10 ee318df8 > ed029840 40045532 bebb53c4 > [ 299.910799] 7f20: ee4c6000 ee4a7000 c1403ef8 bebb550c 00000011 > ee5eca00 00000020 ee5eca18 > [ 299.943562] 7f40: ee4a7000 00000000 00080802 00000002 ffffff9c > fffff000 00000011 ffffff9c > [ 299.976324] 7f60: ee4a7000 c0422e70 00000002 c04359b0 ed029840 > 00000802 ed020000 00000006 > [ 300.009086] 7f80: 00000100 00000001 00000000 ffffffff 00000004 > b189d000 00000005 c0308b04 > [ 300.041848] 7fa0: ee4c6000 c0308940 ffffffff 00000004 bebb550c > 00080802 bebb53c4 00084b58 > [ 300.074611] 7fc0: ffffffff 00000004 b189d000 00000005 00000000 > bebb550c 00099448 bebb5710 > [ 300.107373] 7fe0: 00000000 bebb53c8 b6c40da4 b6c24334 80000010 > bebb550c 2fffd861 2fffdc61 > [ 300.140190] [<c0c849d4>] (mutex_lock) from [<bf059654>] > (vchiq_add_service_internal+0x138/0x3a0 [vchiq]) > [ 300.178237] [<bf059654>] (vchiq_add_service_internal [vchiq]) from > [<bf0640b4>] (vchiq_open_service+0x58/0xf0 [vchiq]) > [ 300.221152] [<bf0640b4>] (vchiq_open_service [vchiq]) from > [<bf0662ec>] (vchi_service_open+0x74/0xa8 [vchiq]) > [ 300.260919] [<bf0662ec>] (vchi_service_open [vchiq]) from > [<bf0d5a04>] (bcm2835_audio_open+0xe8/0x2d0 [snd_bcm2835]) > [ 300.303111] [<bf0d5a04>] (bcm2835_audio_open [snd_bcm2835]) from > [<bf0d4dfc>] (snd_bcm2835_playback_open_generic+0xc0/0x1c4 > [snd_bcm2835]) > [ 300.352975] [<bf0d4dfc>] (snd_bcm2835_playback_open_generic > [snd_bcm2835]) from [<bf0c0404>] (snd_pcm_open_substream+0x60/0x110 > [snd_pcm]) > [ 300.402848] [<bf0c0404>] (snd_pcm_open_substream [snd_pcm]) from > [<bf0c0560>] (snd_pcm_open+0xac/0x1fc [snd_pcm]) > [ 300.444009] [<bf0c0560>] (snd_pcm_open [snd_pcm]) from > [<bf0c0748>] (snd_pcm_playback_open+0x3c/0x5c [snd_pcm]) > [ 300.484459] [<bf0c0748>] (snd_pcm_playback_open [snd_pcm]) from > [<c0428fe0>] (chrdev_open+0xc4/0x180) > [ 300.521408] [<c0428fe0>] (chrdev_open) from [<c0421cc0>] > (do_dentry_open.constprop.3+0x1fc/0x304) > [ 300.556964] [<c0421cc0>] (do_dentry_open.constprop.3) from > [<c0432c8c>] (path_openat+0x588/0x1078) > [ 300.592866] [<c0432c8c>] (path_openat) from [<c0434578>] > (do_filp_open+0x60/0xc4) > [ 300.622846] [<c0434578>] (do_filp_open) from [<c0422e70>] > (do_sys_open+0x110/0x1c0) > [ 300.653524] [<c0422e70>] (do_sys_open) from [<c0308940>] > (ret_fast_syscall+0x0/0x3c) > > Hi, can you e-mail out your config.txt? Do you have audio enabled in config.txt?
Hi Mauro, Am 20.03.2017 um 11:58 schrieb Mauro Carvalho Chehab: > Em Sun, 19 Mar 2017 22:11:07 -0300 > Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu: > >> Em Sun, 19 Mar 2017 10:04:28 -0700 >> Michael Zoran <mzoran@crowfest.net> escreveu: >> >>> A working DT that I tried this morning with the current firmware is >>> posted here: >>> http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-March/005924 >>> .html >>> >>> It even works with minecraft_pi! > With the new firmware, sometime after booting, I'm getting an oops, caused > by bcm2835_audio/vchiq: > > [ 298.788995] Unable to handle kernel NULL pointer dereference at virtual address 00000034 > [ 298.821458] pgd = ed004000 > [ 298.832294] [00000034] *pgd=2e5e9835, *pte=00000000, *ppte=00000000 > [ 298.857450] Internal error: Oops: 17 [#1] SMP ARM > [ 298.876273] Modules linked in: cfg80211 hid_logitech_hidpp hid_logitech_dj snd_bcm2835(C) snd_pcm snd_timer snd soundcore vchiq(C) uio_pdrv_genirq uio fuse > [ 298.932064] CPU: 3 PID: 847 Comm: pulseaudio Tainted: G C 4.11.0-rc1+ #56 > [ 298.963774] Hardware name: Generic DT based system > [ 298.982945] task: ef758580 task.stack: ee4c6000 > [ 299.001080] PC is at mutex_lock+0x14/0x3c > [ 299.017148] LR is at vchiq_add_service_internal+0x138/0x3a0 [vchiq] > [ 299.042246] pc : [<c0c849d4>] lr : [<bf059654>] psr: 40000013 > sp : ee4c7ca8 ip : 00000000 fp : ef709800 > [ 299.088240] r10: 00000000 r9 : ee3bffc0 r8 : 00000034 > [ 299.109153] r7 : 00000003 r6 : 00000000 r5 : ee4c7d00 r4 : ee1d8c00 > [ 299.135291] r3 : ef758580 r2 : 00000000 r1 : ffffffc8 r0 : 00000034 > [ 299.161431] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none > [ 299.190008] Control: 10c5383d Table: 2d00406a DAC: 00000051 > [ 299.213011] Process pulseaudio (pid: 847, stack limit = 0xee4c6220) > [ 299.238104] Stack: (0xee4c7ca8 to 0xee4c8000) > [ 299.255539] 7ca0: c1403d54 80400040 ff7f0600 ff7f0660 bf06b578 ee3bffc0 > [ 299.288301] 7cc0: 00000000 ee3afd00 00000000 ee4c7d00 00000000 bf0640b4 00000000 bf066428 > [ 299.321064] 7ce0: ee3afd00 ee3afd00 ee4c7d34 ee3af444 ee3bffc0 ee3af444 ee3bffc0 bf0662ec > [ 299.353826] 7d00: 41554453 bf065db0 ee3afd00 00010002 bf0d7408 ee3af440 00000000 bf0d7408 > [ 299.386587] 7d20: ee79bd80 bf0d5a04 00000000 ef709800 00000020 00000002 00000001 41554453 > [ 299.419349] 7d40: 00000000 00000000 00000000 bf0d559c ee3af440 00000001 00000001 00000000 > [ 299.452111] 7d60: ee24ac80 ee24ac80 ee1c4a00 00000000 ee79bd80 ee24ace8 00000001 bf0d4dfc > [ 299.484872] 7d80: 0000000b ffffffff ee4b8c3c 00000000 ee4c7dc8 ee4b8800 ee4b8c28 ee4c6000 > [ 299.517635] 7da0: 00000000 ee4b8c3c ed029e40 bf0c0404 ee4b8800 ee1c4a00 ee4b8800 ed029e40 > [ 299.550398] 7dc0: 00000000 bf0c0560 ee072340 00000000 ef758580 c0367b7c ee4b8c40 ee4b8c40 > [ 299.583161] 7de0: 00000000 ee4b8800 ed029e40 ee318f80 ed029e40 00000006 ee318f80 bf0c0748 > [ 299.615924] 7e00: bf0a3430 ee4f6180 00000000 c0428fe0 ee318f80 000021b0 00000026 ed029e40 > [ 299.648697] 7e20: ee318f80 ed029e48 c0428f1c ee4c7e94 00000006 c0421cc0 ee4c7ed0 00000000 > [ 299.681464] 7e40: 00000802 00000000 ee4c7e94 00000006 ee318f80 c0432c8c ee4c7f40 c0433bc0 > [ 299.714225] 7e60: 00000000 ed029e40 00000000 00000041 00000000 ed004000 00000000 ee4c6000 > [ 299.746987] 7e80: eec69808 00000005 00000000 00000002 ee318f80 ef0d2910 ee924908 bf0ba284 > [ 299.779750] 7ea0: ee31bbc0 bebb53c4 ee4e1d00 00000011 ee4c7f74 00000001 fffff000 c0308b04 > [ 299.812512] 7ec0: ee4c6000 00000000 bebb5710 c0434578 ef0d2910 ee924908 73541c18 00000008 > [ 299.845274] 7ee0: ee4a7019 00000000 00000000 ee899bb0 ee318f80 00000101 00000002 00000084 > [ 299.878037] 7f00: 00000000 00000000 00000000 ee4c7f10 ee318df8 ed029840 40045532 bebb53c4 > [ 299.910799] 7f20: ee4c6000 ee4a7000 c1403ef8 bebb550c 00000011 ee5eca00 00000020 ee5eca18 > [ 299.943562] 7f40: ee4a7000 00000000 00080802 00000002 ffffff9c fffff000 00000011 ffffff9c > [ 299.976324] 7f60: ee4a7000 c0422e70 00000002 c04359b0 ed029840 00000802 ed020000 00000006 > [ 300.009086] 7f80: 00000100 00000001 00000000 ffffffff 00000004 b189d000 00000005 c0308b04 > [ 300.041848] 7fa0: ee4c6000 c0308940 ffffffff 00000004 bebb550c 00080802 bebb53c4 00084b58 > [ 300.074611] 7fc0: ffffffff 00000004 b189d000 00000005 00000000 bebb550c 00099448 bebb5710 > [ 300.107373] 7fe0: 00000000 bebb53c8 b6c40da4 b6c24334 80000010 bebb550c 2fffd861 2fffdc61 > [ 300.140190] [<c0c849d4>] (mutex_lock) from [<bf059654>] (vchiq_add_service_internal+0x138/0x3a0 [vchiq]) > [ 300.178237] [<bf059654>] (vchiq_add_service_internal [vchiq]) from [<bf0640b4>] (vchiq_open_service+0x58/0xf0 [vchiq]) > [ 300.221152] [<bf0640b4>] (vchiq_open_service [vchiq]) from [<bf0662ec>] (vchi_service_open+0x74/0xa8 [vchiq]) > [ 300.260919] [<bf0662ec>] (vchi_service_open [vchiq]) from [<bf0d5a04>] (bcm2835_audio_open+0xe8/0x2d0 [snd_bcm2835]) > [ 300.303111] [<bf0d5a04>] (bcm2835_audio_open [snd_bcm2835]) from [<bf0d4dfc>] (snd_bcm2835_playback_open_generic+0xc0/0x1c4 [snd_bcm2835]) > [ 300.352975] [<bf0d4dfc>] (snd_bcm2835_playback_open_generic [snd_bcm2835]) from [<bf0c0404>] (snd_pcm_open_substream+0x60/0x110 [snd_pcm]) > [ 300.402848] [<bf0c0404>] (snd_pcm_open_substream [snd_pcm]) from [<bf0c0560>] (snd_pcm_open+0xac/0x1fc [snd_pcm]) > [ 300.444009] [<bf0c0560>] (snd_pcm_open [snd_pcm]) from [<bf0c0748>] (snd_pcm_playback_open+0x3c/0x5c [snd_pcm]) > [ 300.484459] [<bf0c0748>] (snd_pcm_playback_open [snd_pcm]) from [<c0428fe0>] (chrdev_open+0xc4/0x180) > [ 300.521408] [<c0428fe0>] (chrdev_open) from [<c0421cc0>] (do_dentry_open.constprop.3+0x1fc/0x304) > [ 300.556964] [<c0421cc0>] (do_dentry_open.constprop.3) from [<c0432c8c>] (path_openat+0x588/0x1078) > [ 300.592866] [<c0432c8c>] (path_openat) from [<c0434578>] (do_filp_open+0x60/0xc4) > [ 300.622846] [<c0434578>] (do_filp_open) from [<c0422e70>] (do_sys_open+0x110/0x1c0) > [ 300.653524] [<c0422e70>] (do_sys_open) from [<c0308940>] (ret_fast_syscall+0x0/0x3c) > > > Thanks, > Mauro > > _______________________________________________ > linux-rpi-kernel mailing list > linux-rpi-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel can you try to revert this change: 001943e8ea3c8 ("staging: vc04_services: Refactor conditionals")?
Em Mon, 20 Mar 2017 04:08:21 -0700 Michael Zoran <mzoran@crowfest.net> escreveu: > On Mon, 2017-03-20 at 07:58 -0300, Mauro Carvalho Chehab wrote: > > Em Sun, 19 Mar 2017 22:11:07 -0300 > > Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu: > > > > > Em Sun, 19 Mar 2017 10:04:28 -0700 > > > Michael Zoran <mzoran@crowfest.net> escreveu: > > > > > > > A working DT that I tried this morning with the current firmware > > > > is > > > > posted here: > > > > http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-March/ > > > > 005924 > > > > .html > > > > > > > > It even works with minecraft_pi! > > > > With the new firmware, sometime after booting, I'm getting an oops, > > caused > > by bcm2835_audio/vchiq: > > > > [ 298.788995] Unable to handle kernel NULL pointer dereference at > > virtual address 00000034 > > [ 298.821458] pgd = ed004000 > > [ 298.832294] [00000034] *pgd=2e5e9835, *pte=00000000, > > *ppte=00000000 > > [ 298.857450] Internal error: Oops: 17 [#1] SMP ARM > > [ 298.876273] Modules linked in: cfg80211 hid_logitech_hidpp > > hid_logitech_dj snd_bcm2835(C) snd_pcm snd_timer snd soundcore > > vchiq(C) uio_pdrv_genirq uio fuse > > [ 298.932064] CPU: 3 PID: 847 Comm: pulseaudio Tainted: > > G C 4.11.0-rc1+ #56 > > [ 298.963774] Hardware name: Generic DT based system > > [ 298.982945] task: ef758580 task.stack: ee4c6000 > > [ 299.001080] PC is at mutex_lock+0x14/0x3c > > [ 299.017148] LR is at vchiq_add_service_internal+0x138/0x3a0 > > [vchiq] > > [ 299.042246] pc : [<c0c849d4>] lr : [<bf059654>] psr: > > 40000013 > > sp : ee4c7ca8 ip : 00000000 fp : ef709800 > > [ 299.088240] r10: 00000000 r9 : ee3bffc0 r8 : 00000034 > > [ 299.109153] r7 : 00000003 r6 : 00000000 r5 : ee4c7d00 r4 : > > ee1d8c00 > > [ 299.135291] r3 : ef758580 r2 : 00000000 r1 : ffffffc8 r0 : > > 00000034 > > [ 299.161431] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA > > ARM Segment none > > [ 299.190008] Control: 10c5383d Table: 2d00406a DAC: 00000051 > > [ 299.213011] Process pulseaudio (pid: 847, stack limit = > > 0xee4c6220) > > [ 299.238104] Stack: (0xee4c7ca8 to 0xee4c8000) > > [ 299.255539] 7ca0: c1403d54 80400040 ff7f0600 > > ff7f0660 bf06b578 ee3bffc0 > > [ 299.288301] 7cc0: 00000000 ee3afd00 00000000 ee4c7d00 00000000 > > bf0640b4 00000000 bf066428 > > [ 299.321064] 7ce0: ee3afd00 ee3afd00 ee4c7d34 ee3af444 ee3bffc0 > > ee3af444 ee3bffc0 bf0662ec > > [ 299.353826] 7d00: 41554453 bf065db0 ee3afd00 00010002 bf0d7408 > > ee3af440 00000000 bf0d7408 > > [ 299.386587] 7d20: ee79bd80 bf0d5a04 00000000 ef709800 00000020 > > 00000002 00000001 41554453 > > [ 299.419349] 7d40: 00000000 00000000 00000000 bf0d559c ee3af440 > > 00000001 00000001 00000000 > > [ 299.452111] 7d60: ee24ac80 ee24ac80 ee1c4a00 00000000 ee79bd80 > > ee24ace8 00000001 bf0d4dfc > > [ 299.484872] 7d80: 0000000b ffffffff ee4b8c3c 00000000 ee4c7dc8 > > ee4b8800 ee4b8c28 ee4c6000 > > [ 299.517635] 7da0: 00000000 ee4b8c3c ed029e40 bf0c0404 ee4b8800 > > ee1c4a00 ee4b8800 ed029e40 > > [ 299.550398] 7dc0: 00000000 bf0c0560 ee072340 00000000 ef758580 > > c0367b7c ee4b8c40 ee4b8c40 > > [ 299.583161] 7de0: 00000000 ee4b8800 ed029e40 ee318f80 ed029e40 > > 00000006 ee318f80 bf0c0748 > > [ 299.615924] 7e00: bf0a3430 ee4f6180 00000000 c0428fe0 ee318f80 > > 000021b0 00000026 ed029e40 > > [ 299.648697] 7e20: ee318f80 ed029e48 c0428f1c ee4c7e94 00000006 > > c0421cc0 ee4c7ed0 00000000 > > [ 299.681464] 7e40: 00000802 00000000 ee4c7e94 00000006 ee318f80 > > c0432c8c ee4c7f40 c0433bc0 > > [ 299.714225] 7e60: 00000000 ed029e40 00000000 00000041 00000000 > > ed004000 00000000 ee4c6000 > > [ 299.746987] 7e80: eec69808 00000005 00000000 00000002 ee318f80 > > ef0d2910 ee924908 bf0ba284 > > [ 299.779750] 7ea0: ee31bbc0 bebb53c4 ee4e1d00 00000011 ee4c7f74 > > 00000001 fffff000 c0308b04 > > [ 299.812512] 7ec0: ee4c6000 00000000 bebb5710 c0434578 ef0d2910 > > ee924908 73541c18 00000008 > > [ 299.845274] 7ee0: ee4a7019 00000000 00000000 ee899bb0 ee318f80 > > 00000101 00000002 00000084 > > [ 299.878037] 7f00: 00000000 00000000 00000000 ee4c7f10 ee318df8 > > ed029840 40045532 bebb53c4 > > [ 299.910799] 7f20: ee4c6000 ee4a7000 c1403ef8 bebb550c 00000011 > > ee5eca00 00000020 ee5eca18 > > [ 299.943562] 7f40: ee4a7000 00000000 00080802 00000002 ffffff9c > > fffff000 00000011 ffffff9c > > [ 299.976324] 7f60: ee4a7000 c0422e70 00000002 c04359b0 ed029840 > > 00000802 ed020000 00000006 > > [ 300.009086] 7f80: 00000100 00000001 00000000 ffffffff 00000004 > > b189d000 00000005 c0308b04 > > [ 300.041848] 7fa0: ee4c6000 c0308940 ffffffff 00000004 bebb550c > > 00080802 bebb53c4 00084b58 > > [ 300.074611] 7fc0: ffffffff 00000004 b189d000 00000005 00000000 > > bebb550c 00099448 bebb5710 > > [ 300.107373] 7fe0: 00000000 bebb53c8 b6c40da4 b6c24334 80000010 > > bebb550c 2fffd861 2fffdc61 > > [ 300.140190] [<c0c849d4>] (mutex_lock) from [<bf059654>] > > (vchiq_add_service_internal+0x138/0x3a0 [vchiq]) > > [ 300.178237] [<bf059654>] (vchiq_add_service_internal [vchiq]) from > > [<bf0640b4>] (vchiq_open_service+0x58/0xf0 [vchiq]) > > [ 300.221152] [<bf0640b4>] (vchiq_open_service [vchiq]) from > > [<bf0662ec>] (vchi_service_open+0x74/0xa8 [vchiq]) > > [ 300.260919] [<bf0662ec>] (vchi_service_open [vchiq]) from > > [<bf0d5a04>] (bcm2835_audio_open+0xe8/0x2d0 [snd_bcm2835]) > > [ 300.303111] [<bf0d5a04>] (bcm2835_audio_open [snd_bcm2835]) from > > [<bf0d4dfc>] (snd_bcm2835_playback_open_generic+0xc0/0x1c4 > > [snd_bcm2835]) > > [ 300.352975] [<bf0d4dfc>] (snd_bcm2835_playback_open_generic > > [snd_bcm2835]) from [<bf0c0404>] (snd_pcm_open_substream+0x60/0x110 > > [snd_pcm]) > > [ 300.402848] [<bf0c0404>] (snd_pcm_open_substream [snd_pcm]) from > > [<bf0c0560>] (snd_pcm_open+0xac/0x1fc [snd_pcm]) > > [ 300.444009] [<bf0c0560>] (snd_pcm_open [snd_pcm]) from > > [<bf0c0748>] (snd_pcm_playback_open+0x3c/0x5c [snd_pcm]) > > [ 300.484459] [<bf0c0748>] (snd_pcm_playback_open [snd_pcm]) from > > [<c0428fe0>] (chrdev_open+0xc4/0x180) > > [ 300.521408] [<c0428fe0>] (chrdev_open) from [<c0421cc0>] > > (do_dentry_open.constprop.3+0x1fc/0x304) > > [ 300.556964] [<c0421cc0>] (do_dentry_open.constprop.3) from > > [<c0432c8c>] (path_openat+0x588/0x1078) > > [ 300.592866] [<c0432c8c>] (path_openat) from [<c0434578>] > > (do_filp_open+0x60/0xc4) > > [ 300.622846] [<c0434578>] (do_filp_open) from [<c0422e70>] > > (do_sys_open+0x110/0x1c0) > > [ 300.653524] [<c0422e70>] (do_sys_open) from [<c0308940>] > > (ret_fast_syscall+0x0/0x3c) > > > > > Hi, can you e-mail out your config.txt? Do you have audio enabled in > config.txt? yes, I have this: $ cat config.txt |grep -i audio # uncomment to force a HDMI mode rather than DVI. This can make audio work in # Enable audio (loads snd_bcm2835) dtparam=audio=on Full config attached. Thanks, Mauro --- # Latest RPi Kernel #kernel=rpi-4.10.y/vmlinuz-4.11.0-rc2-v8+ #device_tree=rpi-4.10.y/bcm2837-rpi-3-b.dtb # Upstream Kernel kernel=upstream/vmlinuz-4.11.0-rc1+ device_tree=upstream/bcm2837-rpi-3-b.dtb # For more options and information see # http://rpf.io/configtxtreadme # Some settings may impact device functionality. See link above for details # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Uncomment this to enable the lirc-rpi module #dtoverlay=lirc-rpi # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) dtparam=audio=on # NOOBS Auto-generated Settings: hdmi_force_hotplug=1 start_x=1 gpu_mem=128 enable_uart=1
On Mon, 2017-03-20 at 11:58 -0300, Mauro Carvalho Chehab wrote: > Em Mon, 20 Mar 2017 04:08:21 -0700 > Michael Zoran <mzoran@crowfest.net> escreveu: > > > On Mon, 2017-03-20 at 07:58 -0300, Mauro Carvalho Chehab wrote: > > > Em Sun, 19 Mar 2017 22:11:07 -0300 > > > Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu: > > > > > > > Em Sun, 19 Mar 2017 10:04:28 -0700 > > > > Michael Zoran <mzoran@crowfest.net> escreveu: > > > > > > > > > A working DT that I tried this morning with the current > > > > > firmware > > > > > is > > > > > posted here: > > > > > http://lists.infradead.org/pipermail/linux-rpi-kernel/2017-Ma > > > > > rch/ > > > > > 005924 > > > > > .html > > > > > > > > > > It even works with minecraft_pi! > > > > > > > > > > Hi, can you e-mail out your config.txt? Do you have audio enabled > > in > > config.txt? > > yes, I have this: > > $ cat config.txt |grep -i audio > # uncomment to force a HDMI mode rather than DVI. This can make audio > work in > # Enable audio (loads snd_bcm2835) > dtparam=audio=on > > Full config attached. > > Thanks, > Mauro > Are you using Eric Anholt's HDMI Audio driver that's included in VC4? That could well be incompatible with the firmware driver. Or are you using a half mode of VC4 for audio and VCHIQ for video?
diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts index c309633a1e87..7e8d42904022 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts +++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts @@ -17,6 +17,45 @@ gpios = <&gpio 47 0>; }; }; + + + soc { + +// hvs at 7e400000 { +// status = "disabled"; +// }; + +// v3d: v3d at 7ec00000 { +// status = "disabled"; +// }; + + vc4: gpu { + status = "disabled"; + }; + + fb: fb { + status = "disabled"; + }; + + vchiq: vchiq { + compatible = "brcm,bcm2835-vchiq"; + reg = <0x7e00b840 0xf>; + interrupts = <0 2>; + cache-line-size = <32>; + firmware = <&firmware>; + }; + + audio: audio { + compatible = "brcm,bcm2835-audio"; + brcm,pwm-channels = <8>; + }; + + }; + + __overrides__ { + cache_line_size = <&vchiq>, "cache-line-size:0"; + }; + }; &uart1 {