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 BC580C61DA4 for ; Sat, 11 Feb 2023 14:28:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9F3B085764; Sat, 11 Feb 2023 15:27:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=jade.fyi Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=jade-fyi.20210112.gappssmtp.com header.i=@jade-fyi.20210112.gappssmtp.com header.b="g4Y8q1r1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7A63E8577D; Sat, 11 Feb 2023 02:15:41 +0100 (CET) Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 551A685749 for ; Sat, 11 Feb 2023 02:15:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=jade.fyi Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=lists@jade.fyi Received: by mail-pl1-x631.google.com with SMTP id d8so7245435plr.10 for ; Fri, 10 Feb 2023 17:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jade-fyi.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EKmdALh7ohpdaS5G2n5rr5BBa9mzhKAhKlbPrzy0lUg=; b=g4Y8q1r1+Kwem1PohTe6Rd8HA52BGXRhn2v6G4pKvia1eJycwS75nDg3casSoLPJQL DDa6GC8zsSZ+X3r2fz+4wXnJtKXb2VGOmvXg0CM2EMlUlR7GsEzLiMWPjOHv8TEx+4w2 M6uStpPhb8rK+dJk7kX3mix38pLY8w6sMTewbsob98pOjUabZPz5HlPD0gbGzqO5RqHV ph0DYDGgUBKsYJJ2wi0ZiyWc1+rK8OlOSH0SIAvTMF1SxI2uO4ihZ+yQu8SqvSCPF3Ls HiCC/XtG6BHPAtldsLOKX6xepIEPi/ShOTVwQPVtEGSj1c9s6jB/niGYyMRDPY25aoQz vyPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=EKmdALh7ohpdaS5G2n5rr5BBa9mzhKAhKlbPrzy0lUg=; b=kFqgKcTGtKv3fzi0n411HiA/rGtb2UpbbYhh6zVuq86VAGW9fEo8VmOZt92fdyCcYs rXj0NWYGIPqw55YwzGBDJpqFcqLDpIYFCVsTrUVPeTgzkHFY3qy/hD2tZyLO4jcRcG20 hWInlevjv6UWqZDXyqnbRyCfqshWx25x1DZ15tf6w/MG0zBIzDAk8ZAINMf5K2V76bkT 2mCWuK/tXNxdYdDujuHDnthB7C3e/tT3sO9NV6SsPv9K4RC7rLQeR4TWkwBgd014poth NR4LFpb0wbt0Nxf7n4H0tJRq/C7B6rrshgTG07XEwbYMQQS7dYGmyAMaDu1RTq/mv+jO 9OgQ== X-Gm-Message-State: AO0yUKXv1KYEljCRqOQGxIbMsZ7fbAarynhGOi2JUMWcwZamsAKG0f/G rtBAZ8cVn9HsZ2u4Lecn4G1ltE74WGXFSUvQiZCvdQ== X-Google-Smtp-Source: AK7set//3Lwo7pAUlzQ96Qj4iBMqbcoZDlNYVRtol37LuG954PU5nTN0Br4qSmPDaissUyt/6XNYLA== X-Received: by 2002:a17:902:ec88:b0:19a:80f1:35e2 with SMTP id x8-20020a170902ec8800b0019a80f135e2mr1223589plg.4.1676078136154; Fri, 10 Feb 2023 17:15:36 -0800 (PST) Received: from localhost (172.103.222.8.cable.tpia.cipherkey.com. [172.103.222.8]) by smtp.gmail.com with ESMTPSA id i11-20020a170902eb4b00b001992521f23esm73982pli.100.2023.02.10.17.15.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Feb 2023 17:15:35 -0800 (PST) From: Jade Lovelace To: u-boot@lists.denx.de Cc: Dinh Nguyen , Marek Vasut , Simon Goldschmidt , Tien Fong Chee Subject: [PATCH] socfpga: fix the serial console on DE1-SoC Date: Fri, 10 Feb 2023 17:15:26 -0800 Message-Id: <20230211011527.490534-1-lists@jade.fyi> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sat, 11 Feb 2023 15:27:53 +0100 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.6 at phobos.denx.de X-Virus-Status: Clean Previously, the TX LED would flash but nothing would appear on the serial port, and the board would appear dead with a build of the socfpga_cyclone5_defconfig. I have verified that adding the frequency to the uart will fix the serial console on my board. Thanks to @ehoffman on the Rocketboards forum: https://forum.rocketboards.org/t/cyclonev-programming-fpga-from-u-boot/2230/30 Signed-off-by: Jade Lovelace --- arch/arm/dts/socfpga_cyclone5_de1_soc.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts index ff1e61e0cb..b71496bfb5 100644 --- a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts +++ b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts @@ -75,6 +75,7 @@ }; &uart0 { + clock-frequency = <100000000>; u-boot,dm-pre-reloc; }; -- 2.39.1