From patchwork Wed Feb 2 12:44:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Torsten Duwe X-Patchwork-Id: 1587599 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=bUoVTcU8; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=eCS/Ise+; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JphQF6C8Tz9sCD for ; Wed, 2 Feb 2022 23:47:01 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:Date:Message-Id:Cc:To:Subject:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=5ySQS8vuAfHeVULvFLYaRXKk/SnoMYC6+LrCKYjAimI=; b=bUo VTcU84gc5xsE+DzF7KD0/8/6iPNozqRONEN0pq5Bd9/NamXAJlik/49z33u2oMcPc7XrcOmbKXimt moO6KEXDfObL9zi0KobdnXFQQ442T6RLThOmf2GxI3YFYFbtalKPIoZRCwr+4cxMoVPAwRDJHjHeD w2oQ3ZIo6+XhB7y9+ifiOBtFWB072xDMyJ77qQq59SUL5U5sCssqBFsw8tgrOIRmqiR7h+Mw98E3B kCHYHQGUtvI9KnEzTCo/TQWDflesCazqEuF1N8Ivo6J3Lc+DXclhhbOadmMBmNIKCapUxpEFWk0mx rgU6Pl9ZTp6+7rz17kbyK2c4WrXpwdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFF03-00FDc2-UV; Wed, 02 Feb 2022 12:44:40 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFF01-00FDbX-1n for openwrt-devel@bombadil.infradead.org; Wed, 02 Feb 2022 12:44:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Date:Message-Id:Cc:To:Subject:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=pJgDgBae9ubaFVj3OVf1A74gJ50cXtOQg/pIHSom6Dw=; b=eCS/Ise+1bhnUX8nImyVmIwpTL VRseg4HX4RHwaRoybuuR5qWbkLtHxxWOiraWCVnB+kq3x0YebCSDj54wz3wFqtHSbLLPxF7lUTrxK jFkLuTG28txGKzIcbBKIrhpYMC505yYKokeCpBoqkGQ4rJ4LXk3So7fezBepysxzU/lsq5TdMQeIb d11ndVGvsfhstdpOTL4VXPUg4ArM60kPP8Nbry4PwGjGXDBwdB7If1To4SWIKMZg70ZFijpFBFBT8 +xe/WIZhatqabYwTFPChKykGe7/ElrePakzOXtn4MsixPcLQ/ZZ5cu4q6qbrmgfr/RLmjBBgj25AA iSBq65xA==; Received: from verein.lst.de ([213.95.11.211]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFEzx-006CTe-Eh for openwrt-devel@lists.openwrt.org; Wed, 02 Feb 2022 12:44:35 +0000 Received: by verein.lst.de (Postfix, from userid 2005) id 9E1FB68AFE; Wed, 2 Feb 2022 13:44:21 +0100 (CET) From: Torsten Duwe Subject: [PATCH 0/7] lantiq: initial support for x490 Fritzboxes To: openwrt-devel@lists.openwrt.org Cc: "Daniel Kestrel "@lst.de Message-Id: <20220202124421.9E1FB68AFE@verein.lst.de> Date: Wed, 2 Feb 2022 13:44:21 +0100 (CET) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220202_124433_717980_6DAB2FB8 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.0 (+) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22desiato=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__With_the_latest_advancements=2C_especi?= =?unknown-8bit?q?ally_the_move_to_kernel-5=2E10=2C?= =?unknown-8bit?q?_basic_support_for_the_=7B3=2C5=2C7=7D490_Fritz!Boxes_has_b?= =?unknown-8bit?q?ecome_rather_low_hanging?= =?unknown-8bit?q?_fruit=2E_Building_on_the_previous_research_done_by_Andreas?= =?unknown-8bit?q?_B=C3_=5B=2E=2E=2E=5D_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=281=2E0_points=2C_5=2E0_req?= =?unknown-8bit?q?uired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_0=2E0_SPF=5FNONE_______________SPF=3A_sender_does_not_publ?= =?unknown-8bit?q?ish_an_SPF_Record?= =?unknown-8bit?q?_0=2E0_SPF=5FHELO=5FNONE__________SPF=3A_HELO_does_not_publ?= =?unknown-8bit?q?ish_an_SPF_Record?= =?unknown-8bit?q?_1=2E0_PP=5FMIME=5FFAKE=5FASCII=5FTEXT_BODY=3A_MIME_text/pl?= =?unknown-8bit?q?ain_claims_to_be_ASCII?= =?unknown-8bit?q?_but_isn=27t?= X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org With the latest advancements, especially the move to kernel-5.10, basic support for the {3,5,7}490 Fritz!Boxes has become rather low hanging fruit. Building on the previous research done by Andreas Böhler (subscribed here), Daniel Kestrel (Cc'ed) and others, I identified and collected all the pieces, verified and fixed the detail information as far as I could, and refined the changes into a hopefully acceptable patch set. The hardware telephony on the {5,7}490 remains unsupported, of course. The WiFi on these systems is moved to a secondary SoC; some effort has been made to build an appropriate OpenWRT image for that as well in one run, but I'm ignoring that here for simplicity's sake. The extra image is a major step, which should rather be discussed and postponed, and should IMHO not hinder the inclusion of these devices. Neither did I consider performance patches yet. On the plus side, thanks to the DSA move in Linux mainline, all 4 LAN ports can be used now. Likewise, the USB3 ports are working, once an xHCI firmware blob is provided [1]. These patches are tested on 7490 and 3490, one specimen each. I can't verify the 5490 fiber box, but I include it here because of the similarity. Any feedback is appreciated. Especially the GPIO lines and switch ports remain to be filled in at the DTS. The 7490 I have uses a Micron NAND chip with 128k PEBs and 2k IO size. The 3490 has a Toshiba Chip with 256k PEBs and 4k IO. Anybody with a different combination please speak up! Torsten [1] https://forum.openwrt.org/t/2071