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 B4EE6ECAAA1 for ; Fri, 2 Sep 2022 07:44:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0A43B84A4D; Fri, 2 Sep 2022 09:44:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1662104672; bh=+Rg792zmpJfojGfia9jl7lyKMvx1938Ppo/KoJWWRec=; h=Date:Subject:From:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=jfQx9Tv63nLe4Owl+4hkmjH9DzST0SFJgzyZSX28U2EDURivR6tqmI2rR6uKyqt67 hbaumgUBPnmiWNdJifYnlEEB9QncuDQpzImR+FZPEVNh2FK/AJOlGvYQvXu3ehxewZ +AU9/7kqWRxlzT4Kg+UaD3WYHaIABiP/l2Q9AZDcfCh6SxxD5audVy/1hkzoYiOiNg Mb1iU3ovD7dJQgiBFTqFug3IOgNjUM/pS9uJkH3rwWrG+nlBH5tmtLDF82WZ+Ww4mL uwSC3YS8dMqqdCmmtJIt2EoOw85BWjNuYMbTbEOXjgO8nOevxL8cVwAVFsoInqx76L pgiHEJ1WR56QA== Received: by phobos.denx.de (Postfix, from userid 109) id 35E4984A4D; Fri, 2 Sep 2022 09:44:29 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:101:465::107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5DA0084A3E for ; Fri, 2 Sep 2022 09:44:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4MJqgC33g5z9sS1; Fri, 2 Sep 2022 09:44:23 +0200 (CEST) Message-ID: <4cfd48da-3376-62d4-b092-6b2f477f3766@denx.de> Date: Fri, 2 Sep 2022 09:44:18 +0200 MIME-Version: 1.0 Subject: Re: [RFC PATCH 8/8] WIP: .azure-pipelines.yml: Remove evb-ast2600 Content-Language: en-US From: Stefan Roese To: Joel Stanley Cc: u-boot@lists.denx.de, trini@konsulko.com, sjg@chromium.org, rasmus.villemoes@prevas.dk, Chia-Wei Wang References: <20220829062313.32654-1-sr@denx.de> <20220829062313.32654-9-sr@denx.de> <914db124-f920-0f4d-b701-fcc280bf61e5@denx.de> In-Reply-To: <914db124-f920-0f4d-b701-fcc280bf61e5@denx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4MJqgC33g5z9sS1 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 Hi Joel, On 02.09.22 08:14, Stefan Roese wrote: > Hi Joel, > > On 02.09.22 08:00, Joel Stanley wrote: >> On Fri, 2 Sept 2022 at 04:09, Joel Stanley wrote: >>> >>> On Mon, 29 Aug 2022 at 06:23, Stefan Roese wrote: >>>> >>>> The evb-ast2600 target always runs into an timeout error when run via >>>> Azure CI. For test purpose only, this patch removes this CI build >>>> target so that the world build can be run. >>>> >>>> Joel, Chia-Wei, could you perhaps take a look at this and help to fix >>>> the problems that I'm seeing with this build target here? >>> >>> Where does it hang? Can you attach the logs? >> >> The hang appears to be in the timer code, where the spl hangs due to a >> div by zero. When inspecting, gd->arch.timer_rate_hz is zero at this >> point. >> >> However I also noticed the cycling code introduces a symbol that ends >> up in BSS. If I give cyclic_running a non-zero value it moves back >> into the data section, and the SPL and u-boot proper make it all the >> way through. > > I might rework the code a bit, so that cyclic does not introduce new > static variables but uses a new data pointer in struct global_data > instead. > >> This suggests there's still something wrong with the BSS handling for >> the 2600 SPL (not resolved by f6810b749f2e ("aspeed/ast2600: Fix SPL >> linker script") or the follow up fix). If I use the common arm spl >> linker script, the system boots. > > Thanks for looking into this. Using the GD for the cyclic data and instead of new static variables in this cyclic code seems to fix this CI build issue AFAICT. I'll send an updates patchset later today. Thanks, Stefan > >> Chai Wei, I think we need a different solution for placing the BSS >> outside of the flash. > > Thanks, > Stefan > >> Cheers, >> >> Joel >> >>> >>> What kind of debugging have you tried to date? >>> >>> Cheers, >>> >>> Joel >>> >>>> >>>> Signed-off-by: Stefan Roese >>>> Cc: Joel Stanley >>>> Cc: Chia-Wei Wang >>>> --- >>>>   .azure-pipelines.yml | 3 --- >>>>   1 file changed, 3 deletions(-) >>>> >>>> diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml >>>> index 0fa92479b4c4..e48f1667f8de 100644 >>>> --- a/.azure-pipelines.yml >>>> +++ b/.azure-pipelines.yml >>>> @@ -261,9 +261,6 @@ stages: >>>>           evb_ast2500: >>>>             TEST_PY_BD: "evb-ast2500" >>>>             TEST_PY_ID: "--id qemu" >>>> -        evb_ast2600: >>>> -          TEST_PY_BD: "evb-ast2600" >>>> -          TEST_PY_ID: "--id qemu" >>>>           vexpress_ca9x4: >>>>             TEST_PY_BD: "vexpress_ca9x4" >>>>             TEST_PY_ID: "--id qemu" >>>> -- >>>> 2.37.2 >>>> > > Viele Grüße, > Stefan Roese > Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de