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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8080AC433F5 for ; Wed, 16 Mar 2022 13:24:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7A07B83954; Wed, 16 Mar 2022 14:24:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=reject dis=none) header.from=pingus.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id A20D282065; Wed, 16 Mar 2022 09:08:19 +0100 (CET) Received: from pingus.org (amalthea.pingus.org [78.226.2.11]) by phobos.denx.de (Postfix) with ESMTP id 9C0D2817D8 for ; Wed, 16 Mar 2022 09:08:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=pingus.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=brice@pingus.org Received: from pingus-exch2k13.pingus.org (192.168.102.5) by pingus-exch2k13.pingus.org (192.168.102.5) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 16 Mar 2022 09:09:49 +0100 Received: from pingus-exch2k13.pingus.org ([192.168.102.5]) by pingus-exch2k13.pingus.org ([192.168.102.5]) with mapi id 15.00.1497.033; Wed, 16 Mar 2022 09:09:49 +0100 From: Brice GIBOUDEAU To: "u-boot@lists.denx.de" Subject: AP152 & TP-Link Archer C7 Thread-Topic: AP152 & TP-Link Archer C7 Thread-Index: AQHYOQtX+Pn1H1jjBEqkqhxx4qxtR6zBqDB2 Date: Wed, 16 Mar 2022 08:09:48 +0000 Message-ID: <1647418089408.87882@pingus.org> References: <1647417788025.73815@pingus.org> In-Reply-To: <1647417788025.73815@pingus.org> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.102.10] MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 16 Mar 2022 14:24:02 +0100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.39 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean ?Hello, As I need to modify the boot environment I need to upgrade the fairly old U= boot-1.1.4 that you find on those quite popular device TP-Link Archer C7 (v= ersion 5 in my case). After investigations I found that you have a support for the AP152 that is = the base of that router. I just changed few things to enable the proper boo= t address and Ethernet support. U-Boot work well but twhen OpenWRT boot it crash with random characters on = the console during the PIEe initialization. Did I missed something ? (a variabe to set somewhere ?) I added debug info = below. Regards, MiNuS_89 ?-------- Below the last line of the boot log from the console that show the issue. [ 1.770010] 8021q: 802.1Q VLAN Support v1.8 [ 1.775142] PCI host bridge /ahb/pcie-controller@18250000 ranges: [ 1.781508] MEM 0x0000000012000000..0x0000000013ffffff [ 1.786923] IO 0x0000000000000000..0x0000000000000000 [[ 1.998826] rr724x-pci11825000..pcie-cnntrolee:: PCIe iink is oonn 24= 4244 P htt iiggeoo ss 0::0 [[ .86557]ci_s 00:0: N bsnesurc fun fo rt us wl uee[b 00ff = [ 2.884066pccbus 0000::rt s ssor [[mm 120000= 00x11fffff [[ .8874] ctoys uabl toopen tc evic (rt0) 28758] pi_s = 00:0 bsn_re [bs 0-f] d s pdtedto00 --------- My U-Boot version: U-Boot 2022.04-rc4 (Mar 15 2022 - 16:56:25 +0100) --------- I cross compiled it with the OpenWRT SDK: openwrt-sdk-21.02.2-ath79-generic= _gcc-8.4.0_musl.Linux-x86_64 -------- I'm booting OpenWRT 21.02.2 and it boot correctly with the original U-Boot = that I recovered a couple of time to investigate.