From patchwork Tue Sep 17 19:18:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13806431 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 2EC2DCAC596 for ; Tue, 17 Sep 2024 19:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=c4NuaoqxAzIC8Uk30CI/P2uj0+dHI/VhSGmIhaX2644=; b=NGNjZokB1z6jLK VesWSVNWeE0hisk7xU2QcE1GXaXYzsXvSYadzjRkJf6tGOAL40dpCaf/B2svV09fHEDhrMCZ53YQ7 KJfXe7igwdAfEgWG44keZXf89MWH++eOpXebCN9eo6ZYQ0FBqH/cDtUsXH7qtHu59oriCBQ3v+qUH SF31R7LCvwUiqK+fkFPTggp2XVGPrY3w48D/kHR1YcTJ8jD4SoMi6fWHjWb/8KPyl+RA8KFMR3Aws NHeXhZZpwEljTc2fyWQr3Vj6TlucJghuqrNcH5/XmzI/JmUWVIKTSZig+Jgf9xkMm3QNpdwalLFse 50hDdi6pAsVlULhf6i1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqdju-00000006kYf-1Fex; Tue, 17 Sep 2024 19:19:54 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqdih-00000006kKz-2uM0 for linux-arm-kernel@lists.infradead.org; Tue, 17 Sep 2024 19:18:40 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5c24ebaa427so60251a12.1 for ; Tue, 17 Sep 2024 12:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726600717; x=1727205517; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=c4NuaoqxAzIC8Uk30CI/P2uj0+dHI/VhSGmIhaX2644=; b=R4v4zcBPEnsGdw77QqxXS07OcaYfjPBLspaOdhTxlF0feD4vkZts8cguLkWCuIXseB ksPjVNsuvObIGlqmVQrP0TJSsly11sKZG8k/JifmF31XPR1755oC+9QqAGkmRueTA0wy MXHGOWFY40EVxhapWfmDGasmFGtKSOvde4uFS7xbBIWNDnMl4lkkoyZPP/hCmRC8KOH5 OLB1ckcvLYoELFQerXAVW6Ke7rcrF+xsptehziz6IHfjEw0aJbKwuYkD/tHIQepM21oo /T6iueqCd6dEgpXs5hHH2fdiSpwx60F75tKKTW1T8+qcWGodeJKkN1TiPcmQpLfmHr0X /JKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726600717; x=1727205517; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c4NuaoqxAzIC8Uk30CI/P2uj0+dHI/VhSGmIhaX2644=; b=HDErMT+kqVsIn9D0N0vBP6a7rjHMOpuwPhgpk5xtUcggqgtbsWgGRrtZn55LM6YDsp 6lZ5xUtC4PDTYSXY9QH3w7BCndq+DVce4t65GDx85xpwGervSsdP3JUDJYQdss/smMfD ftQ65MR45C3+Rmn6vVRD9ZDxVxEz2PoJHH3zOcNVB3AeYDYQSn+Ldc6kxUko6iMLMPGR glILtACiTyWa7lk7fkT6pWWSnvmCIiW79JQLEY3i2EPy2pS0tJm1ucUXOhm+xob3W8oM 1FJkxd922CG3n1txL7t8r4rC746DcD7fBnQZN77ijy2wdv/OrQ/n2fEoIsPm+0zyZ1JI 67ew== X-Gm-Message-State: AOJu0YzNyVeqgLPaikEtIJCzepg6H5+7Pa4nz/ekwo75FRzm5k2I91Ff lIj2vcFjc7bJyMn728gJo5/z7DnhvgBNEQlVU9Picnl2T+g9s+iN7IBu6Mo6osW11q58WaVhVXP F X-Google-Smtp-Source: AGHT+IEgPSbHA8cc+Qw7FrX86iw4XjHnK2DHkz122SKN3mcKo0kYtmZlTmMWJcHKHJwtza0QiDOSZA== X-Received: by 2002:a17:907:6d24:b0:a86:91a5:4d09 with SMTP id a640c23a62f3a-a902a8bc129mr2289180766b.26.1726600716701; Tue, 17 Sep 2024 12:18:36 -0700 (PDT) Received: from lino.lan ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a90610f4320sm482418366b.85.2024.09.17.12.18.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2024 12:18:36 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/2] ARM: bcm: Make BCM6846 bootable on mainline Date: Tue, 17 Sep 2024 21:18:27 +0200 Message-Id: <20240917-bcm-arm-bcm6846-v1-0-236e29661f4c@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAPW6WYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDS0Nz3aTkXN3EolwQbWZhYqZrZmRqYJRoaGKWmGKgBNRVUJSallkBNjE 6trYWANcxswFhAAAA To: Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Russell King , William Zhang , Anand Gore , Kursad Oney , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240917_121839_770401_D19B51DE X-CRM114-Status: GOOD ( 12.45 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Bringing up BCM6846 on mainline I faced two problems: - I could not get debug messaged from LL_DEBUG UARTS (such as decompress....) and it was really hard to do early debug without that. - If I just select Cortex-A7 and not Cortex-A9 (which is what is in BCM6846), there is a whole slew of things that do not get selected, but are necessary to bring the system up. These two patces fix these issues. Signed-off-by: Linus Walleij --- Linus Walleij (2): ARM: bcm: Add selects for the Cortex-A7 BCMBCA ARM: bcm: Support BCM6846 debug UART arch/arm/Kconfig.debug | 12 +++++++++--- arch/arm/mach-bcm/Kconfig | 5 +++++ arch/arm/mach-bcm/Makefile | 1 + arch/arm/mach-bcm/board_bcm6846.c | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 3 deletions(-) --- base-commit: 98f7e32f20d28ec452afb208f9cffc08448a2652 change-id: 20240917-bcm-arm-bcm6846-62502a146ad0 Best regards,