From patchwork Tue Jul 16 05:49:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABl_PORTAY?= X-Patchwork-Id: 1960892 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WNSp01jVbz1xrQ for ; Tue, 16 Jul 2024 15:50:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 043A3812F1; Tue, 16 Jul 2024 05:49:57 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id gj-Q9uQO31Se; Tue, 16 Jul 2024 05:49:56 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org CDCCC80DBD Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id CDCCC80DBD; Tue, 16 Jul 2024 05:49:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id DF3271BF312 for ; Tue, 16 Jul 2024 05:49:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id CC1FA40457 for ; Tue, 16 Jul 2024 05:49:54 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id EeDw3rK6i5i7 for ; Tue, 16 Jul 2024 05:49:53 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::434; helo=mail-wr1-x434.google.com; envelope-from=gael.portay@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 4DB7640010 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 4DB7640010 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by smtp2.osuosl.org (Postfix) with ESMTPS id 4DB7640010 for ; Tue, 16 Jul 2024 05:49:53 +0000 (UTC) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-368255de9ebso190590f8f.1 for ; Mon, 15 Jul 2024 22:49:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721108991; x=1721713791; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tZNCRQRDgjj4/4NjWFPhlmaYr/HZ+uCCtZ33rpmm+HA=; b=iU1kUSvNLt0gE5EgOeKU/glYnqQKbvaZ5iJQt5jFC3NWnu0pnw5OFp741bgrZ/OMaQ G509sWvVl9nTrk6b8eyg8G97Co9s3gUIY9cS6NkUU+5Fcy0YGl4R8li/7BUsdpPaEqvq jx1GXg/eP8Oy/GShDiqscx44yfbHXsGAtNbyOoMcX1cdT6/9ikXeToA7JpRsfWORd9f2 +ypL6vin2EV+m2oARCci1heisf2jSEhcx4FBRiqI2iUMJvYQnSCN2e+38ei0eHCnFmeX PNw9tXq9bYeB4WWInW8Hx7O+d4kCLCEl9rLkp/YsqKkzsNEZEH71lpUH1FwBC7/YSUp4 qNDA== X-Gm-Message-State: AOJu0Yy2rzYltucPXUFuzI81zB/S37Mudw5aOYCfhr5XonwQJq9HELdM DilnushI3xhJ6YT7Jri4cJnn19iVfzaArbT5bPgD8Dwu3lIkwS8ZxzGP7a46 X-Google-Smtp-Source: AGHT+IHN8tgdHmlJU+vU17gSUapBqj4fOG9oV6OZsqBMTyrzPAX21fBRoMN7ao/p/DvesUIe3cKSZw== X-Received: by 2002:a5d:6910:0:b0:360:728d:8439 with SMTP id ffacd0b85a97d-3682737acacmr514365f8f.2.1721108990861; Mon, 15 Jul 2024 22:49:50 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:ce:f2f0:2a6b:35ff:feb8:77d9]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3680dafb979sm8063615f8f.75.2024.07.15.22.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 22:49:50 -0700 (PDT) From: " =?utf-8?q?Ga=C3=ABl_PORTAY?= " X-Google-Original-From: =?utf-8?q?Ga=C3=ABl_PORTAY?= To: buildroot@buildroot.org Date: Tue, 16 Jul 2024 07:49:40 +0200 Message-ID: <20240716054940.93558-1-gael.portay@rtone.fr> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721108991; x=1721713791; darn=buildroot.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tZNCRQRDgjj4/4NjWFPhlmaYr/HZ+uCCtZ33rpmm+HA=; b=TgxUmcLoTepJ58qhr4LDuhTZzcW2kOwZgBLrsXnd5SGnNtR4LBfpvsTbDny0Fd9+zD hgPuuunx4K6GY3IR/fA9eoNSIDbNBQSVzu0YPRcKsQfHSRtf/79L9X/uGrTOHZe4K/qx /hXxM9xdtkXoV4MmqzksmVmyywPgUQmFsJTPoRiwyMMcT7kZHpxeHYy0eedg3AXLDHP2 tV7vBMM1nnBxG231seu/Vkv9E104pULudcCZieYfjZ4oEnRDM8CpnoL5Z6rqoIW+tyVl ZJgYWxALVrJ2y/QNMTSjjlare1gkmbGk9SVCVewmNxBraUAraMYYjLKLy8vRfHXyAGLe B2nw== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TgxUmcLo Subject: [Buildroot] [RESEND PATCH 1/1] board/raspberrypi*: remove dtparam krnbt=on X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Ga=C3=ABl_PORTAY?= , Martin Bark , Julien Grossholtz Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The config.txt of the Rasperry Pi's supporting Wi-Fi and Bluetooth (i.e. zero W, zero 2 W, 3, and 4) switch the Bluetooth function to use the mini-UART (ttyS0) and restore UART0 (ttyAMA0) over the GPIOs 14 and 15 (as per miniuart-bt-overlay.dts[1]). All of them turn "on" the parameter krnbt to autoprobe the bluetooth driver. According to the README.md, the dtparam krnbt is now defaulting to "on" since linux-raspberrypi 6.1.y[2]; it was defaulting to "off" before[3]. This removes the dtparam=krnbt=on from these config.txt files since the value set is actually the default value. [1]: https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts [2]: https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/README#L294-L296 [3]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/README#L213-L215 Signed-off-by: Gaël PORTAY --- Hello, My apologies for the resent, I was not member of the ML at the time I sent the patch. Regards, Gaël board/raspberrypi/config_0w.txt | 3 --- board/raspberrypi/config_3.txt | 3 --- board/raspberrypi/config_3_64bit.txt | 3 --- board/raspberrypi/config_4.txt | 3 --- board/raspberrypi/config_4_64bit.txt | 3 --- board/raspberrypi/config_zero2w.txt | 3 --- 6 files changed, 18 deletions(-) diff --git a/board/raspberrypi/config_0w.txt b/board/raspberrypi/config_0w.txt index bc59d5fad2..771b975046 100644 --- a/board/raspberrypi/config_0w.txt +++ b/board/raspberrypi/config_0w.txt @@ -24,6 +24,3 @@ gpu_mem_1024=100 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on diff --git a/board/raspberrypi/config_3.txt b/board/raspberrypi/config_3.txt index bc59d5fad2..771b975046 100644 --- a/board/raspberrypi/config_3.txt +++ b/board/raspberrypi/config_3.txt @@ -24,6 +24,3 @@ gpu_mem_1024=100 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on diff --git a/board/raspberrypi/config_3_64bit.txt b/board/raspberrypi/config_3_64bit.txt index 6672871125..ac5a09c486 100644 --- a/board/raspberrypi/config_3_64bit.txt +++ b/board/raspberrypi/config_3_64bit.txt @@ -25,8 +25,5 @@ gpu_mem_1024=100 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console dtoverlay=miniuart-bt -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on - # enable 64bits support arm_64bit=1 diff --git a/board/raspberrypi/config_4.txt b/board/raspberrypi/config_4.txt index 74a7b270cd..01f60395b3 100644 --- a/board/raspberrypi/config_4.txt +++ b/board/raspberrypi/config_4.txt @@ -24,6 +24,3 @@ gpu_mem_1024=100 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on diff --git a/board/raspberrypi/config_4_64bit.txt b/board/raspberrypi/config_4_64bit.txt index a4ae327d2a..139f6a8788 100644 --- a/board/raspberrypi/config_4_64bit.txt +++ b/board/raspberrypi/config_4_64bit.txt @@ -25,8 +25,5 @@ gpu_mem_1024=100 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console dtoverlay=miniuart-bt -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on - # enable 64bits support arm_64bit=1 diff --git a/board/raspberrypi/config_zero2w.txt b/board/raspberrypi/config_zero2w.txt index 55095f64a7..151e446b5d 100644 --- a/board/raspberrypi/config_zero2w.txt +++ b/board/raspberrypi/config_zero2w.txt @@ -24,6 +24,3 @@ gpu_mem_1024=100 # fixes rpi (3B, 3B+, 3A+, 4B ,zero W and zero 2) ttyAMA0 serial console dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on