From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6CA72C4167B for ; Mon, 27 Nov 2023 12:39:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hVaVr6dyaTAgUqfCbO3GYzUR+w7yp6CBYAnL9YBmjfY=; b=pCMJlZYfx7koRR XJDd6IkgOAayWQKz0EICiZIwKlKuwf56QxoeY8pJNXxxbPPkLFmDyA+dGpX/yBJbU6+O0DRxkCILf tR0iMctDobhDUNfiQ86AVQmIAX6xcUUWvF1awGU9x7apQmHeaKLwHL8ncBzjcuUsu7v1rfTmtEAE8 /dEpm7KeHBsJIGTY5sbVRDrHVhResUFlfly8j382qC1jNZ/328kiI/SdGSZdSvz9siazMX3hGTrUb qC84td14oRGLYWa0aHSVlzeb1Se86t0A0+/9WgExTykq30vxh9CFVBIZAoOhRfE+0RBsZuaN7eVwV MYn5KyMtWqz2x9ry6b5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7at7-002T6j-2l; Mon, 27 Nov 2023 12:38:57 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7at4-002T6O-2S for linux-arm-kernel@lists.infradead.org; Mon, 27 Nov 2023 12:38:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1701088723; x=1701693523; i=wahrenst@gmx.net; bh=rqNqfzT7EUpULUk95uOz6iVY1nF9ZPSpgllv6aJkesU=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=tZRRfmKUzLX9Mk5A6iMuHWYOl72DtxMmJsZW8sXw8ffQyCOYfVWtuob2g/jFxDok Z0ppK0Q36D3+b3B0FSMnm7WWx4sDV6JLqQMXSxVeZHTQAVN+Lwi4QcHKJNASNJ62x 0ofYPwt9+aHiRJEor+7Vi6nU33U7j34plnokmaenchRNG1uLmv26EvR6hzXHqVHZ8 bp+Nw0itHSi0FkqvB69/wwTKHCIJAAds0GTV/Tn9zclkZB+t2FnL6ZLYxHefHKgel F3QlHFg57aysF5q/RYq6Lwf8jB3gvo5oUYoJoeWW2JjhUEGXu0iwSdh8HZDf8kTAp Kc2rZZ4QJHRFUt4/Wg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.129] ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MwQXN-1rOIDu03JV-00sLOj; Mon, 27 Nov 2023 13:38:43 +0100 Message-ID: <892c2e2f-3187-491b-b464-56d099b6fd49@gmx.net> Date: Mon, 27 Nov 2023 13:38:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] ARM: dts: bcm2711-rpi-cm4-io: Enable xHCI host Content-Language: en-US To: Cyril Brulebois Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Mathias Nyman , bcm-kernel-feedback-list@broadcom.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20231126025612.12522-1-wahrenst@gmx.net> <20231127003432.7aztwjxper2a3o33@mraw.org> <20231127115538.npv23hhn7jfrk3fc@mraw.org> From: Stefan Wahren In-Reply-To: <20231127115538.npv23hhn7jfrk3fc@mraw.org> X-Provags-ID: V03:K1:qqQMxxXiuefhAI4MUpa9mg0QSbZ7o/Cwle1bUzpr76HCozRCflo /qJfOJuftdDid4sc3wBtCJZXcu0nSmcqwXcytU2OXXTdFGq4Tqq5aae6jA3PsOTgd8mDZyQ HrxWErFT9dHnUVa38+mBnTHr4bsvgMOosVXaslLGNor3BF1qUOpmp8He7ocCu7axi/8aJvl xh7JdvUN2dUplPfNom27w== UI-OutboundReport: notjunk:1;M01:P0:islNlAp+2E0=;vzyfTGE3XXlMSBYFbXWmzfvaS2a k46BJ6kNISLSNdvS2+E7c4KcOgJhR9+d6q8TUZmB8LPC6qe6Bk1gRqG0lxB//ezDsnAztiVPi psQYwX99cEdT44wfBdNtGQP62NVI2VrzM796aYrcOsI2SIzjHJwvXEJA4LyNyxCa89p4eQORQ gW2f5BYhUnA4ordKS1dcqhurbn+Eg+E8arAE84JwdTwpi/vxEMoxKo9kyxb4LGTVZdrJJih1O 722PuL3k61YfgFBwqo7/bhz4vs1c2owcil4qpRaicaEw/8zO1lfGaIsl68lVEUXdAsfZyu1+K pw8rPF9svfKDrrLLgYibnxraTzcKg4Gncc89AT02z5/ahx7TmIcVhsoToErO/nAnjHfnfGIBq UEWPj8OlsOgAPB3zW/H3SQIWgGcVGV9Jku458xf6rzos+21zuRF4CwtvfnA7aZ1lkSq2/8Jk6 F9TxzZcB+9/KJGLj8453ehTwpC4ASEEkM+28bmA+rpF9VLAPr/3VFNopKHvfL1pW36KpJUjOE /fIBh+WLMwxArgKlC/YILaKJcHf8FI4WmnIpzmOlvVkR+jMGb3q5YFho/jy4DuHVNMMFQH784 YZ0GGmBTOG59C0gMommi4pq4jP78QOE2vcxlGpGlXnAH1jxkb5vvVkzsm15jsxQhyAmonjWXL ZddrA8qn4aPsT0amkfPnnIgFxec4TtxLmQFaEjgSQHcCzJI0ZTzJompIT4xv/fMZLXYwRz3Il yBQ04T4KZcj1TxJqprGMCgNLo6qSF1kdITdlb5qiLkLHvM0CUN6RT7ls+TORVwexG/vsgynNc UtDrjk82pb2QIbLoA7QGn1cU+pj+AZ5mkzuWjtN65Zi5aXIumEeCrXHPY7JE4EeyDqpHb2903 rYuX4BPD94YU5f/HGP6/U1uNEWoR9KQ2p2WfUjguBmae531XK5pIFlrUeLBjO6u5YEgpVZ78s NMObdUbIUAPMyGju9Cli+MYz9FM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231127_043855_085486_0F81D502 X-CRM114-Status: GOOD ( 20.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Cyril, Am 27.11.23 um 12:55 schrieb Cyril Brulebois: > Hi Stefan, > > Stefan Wahren (2023-11-27): >> thanks for testing. Are you absolutely sure that you are using >> bcm2711-rpi-cm4-io.dtb from the mainline tree? > I'm pretty sure, yes. > > Starting from the unpatched kernel: > > root@rpi4-20231108:~# md5sum /boot/firmware/bcm2711-rpi-cm4-io.dtb /usr/lib/linux-image-6.6.0+/broadcom/bcm2711-rpi-cm4-io.dtb > 5cbe07e9f85ddfefd21ffe98bf92f5ea /boot/firmware/bcm2711-rpi-cm4-io.dtb > 5cbe07e9f85ddfefd21ffe98bf92f5ea /usr/lib/linux-image-6.6.0+/broadcom/bcm2711-rpi-cm4-io.dtb > > The second file is shipped by the linux-image package built via `make > bindeb-pkg`, and sync'd into /boot/firmware as the first one. > > After deploying the patched kernel, I'm seeing both files getting > updated: > > root@rpi4-20231108:~# md5sum /boot/firmware/bcm2711-rpi-cm4-io.dtb /usr/lib/linux-image-6.6.0+/broadcom/bcm2711-rpi-cm4-io.dtb > c6ea63f43dcdf8ecd66dda6c494f52e2 /boot/firmware/bcm2711-rpi-cm4-io.dtb > c6ea63f43dcdf8ecd66dda6c494f52e2 /usr/lib/linux-image-6.6.0+/broadcom/bcm2711-rpi-cm4-io.dtb > > Comparing a copy of the first set of files against the refreshed DTB, > I'm seeing the attached (dt)diff. > >> I would expect the following hardware name: Raspberry Pi Compute >> Module 4 IO Board > I suppose this is an arm(32) vs. arm64 difference? > > - setup_arch() in arch/arm/kernel/setup.c does this: > > machine_desc = mdesc; > machine_name = mdesc->name; > dump_stack_set_arch_desc("%s", mdesc->name); > > - setup_machine_fdt() in arch/arm64/kernel/setup.c does that: > > name = of_flat_dt_get_machine_name(); > if (!name) > return; > > pr_info("Machine model: %s\n", name); > dump_stack_set_arch_desc("%s (DT)", name); > > So I'd guess you're testing on arm(32) and seeing the name embedded in > the DTB while I'm testing on arm64 and seeing the name as filled by the > bootloader? thanks for your fast feedback. Shame on me, i didn't test arm64 yet. Could you please provide the following information: - settings of config.txt - VC firmware version - did you use arm64/defconfig or something special? > >> Be aware the arm files has been moved into a broadcom subdirectory. > Thanks for mentioning that, but I've been working on arm64 exclusively, > and those files have always been shipped in that broadcom subdirectory > anyway. > > With 64-bit capable hardware, I didn't think of mentioning I was testing > 64-bit kernel and user space (Debian 12, arm64), sorry about that. No problem Thanks > > > Cheers, _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel