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 338AEC433EF for ; Wed, 5 Jan 2022 22:52:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9064C80FCC; Wed, 5 Jan 2022 23:52:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="jS0aNGId"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 209B980FDD; Wed, 5 Jan 2022 23:52:11 +0100 (CET) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 7559A804C8 for ; Wed, 5 Jan 2022 23:51:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=judge.packham@gmail.com Received: by mail-io1-xd29.google.com with SMTP id p65so965534iof.3 for ; Wed, 05 Jan 2022 14:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FOUZTQyd/LB+qaTBYUqwa4Xl4X3gnClfHr48sVIYkGE=; b=jS0aNGIdS+JOsSFHAlFQsAqVNtgbqDV7pR+LvlV5qwZOPFIbrX9FYzISmYArU+uR1i 5omPj8lZev7Ui5I7oqJwob40yscDdM5zTvLrHFmRzoZYCEOoj3G67Es9IHMGMwTp+mWV JwQi1bY5dczot71hBa8V8r0pdLZKl574rvnj07HN4V6N4Mig8xzkV3RbGtCf5/1+mBvC OiR74jhzsD7nMWHHdnSJZremzwwGmMAwJLGaGctmZHZ6T0n0H899OW+SjIHPT8EIgjN5 KLgyW8uAcp3ogPTsyRafU2kYVTuvmxZK8htLGpdGcfux1Xvubegka7yIhc46hgxqaMdA CmQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FOUZTQyd/LB+qaTBYUqwa4Xl4X3gnClfHr48sVIYkGE=; b=oyOxKxzYSW4pxu3W2o7zMSJIiqzCC4WA2eUYFv2bNrANZq6aOqMnF0bKdJndmM/Bqb w5aVZfe8g5iyjvUx86LHP27DeZS3lwGEeqTG/dEZLf/JQwvKpqQYkh/NOrsGR2IyUEVY HiiCVen1yaU9OWD/PteahAsjl8EcnrIyL0/qoSlJDDWMwhdbni+2QbGaHah+EGZAug5i FYV5V0Zp6mGzzEcOqFz25zb8jdIWALWqkYiQFxZxCiDH5rPJNCobUW0SMqYfLPqAYn2X sbrQFbT1mgRzfvdeu/YFwUQZ3gNFOQYjAGftAeZtOJaBjXTqZSB8qFJ2fuuBV+UkS4kv 75HA== X-Gm-Message-State: AOAM533jh/6LiTqtDtNMG6XV89BDRGy/PXU6XfDQT3mh3ju9466g9mu7 FWKA51QX6dOODJUcApx+3EvcfceCywdTLujSUus= X-Google-Smtp-Source: ABdhPJxt7A5pnSRWinLaW9SXeK4GsFcBt2Pd/DmnnwBi2K016gFf0OECS7BWaso54tbylCNBT9OSh3QYkLQFLe4YN/0= X-Received: by 2002:a05:6638:ed4:: with SMTP id q20mr26888602jas.75.1641423113379; Wed, 05 Jan 2022 14:51:53 -0800 (PST) MIME-Version: 1.0 References: <20220104202827.9120-1-kabel@kernel.org> <20220105101041.600c2f75@thinkpad> In-Reply-To: <20220105101041.600c2f75@thinkpad> From: Chris Packham Date: Thu, 6 Jan 2022 11:51:41 +1300 Message-ID: Subject: Re: [PATCH u-boot-marvell] PLEASE TEST ddr: marvell: a38x: fix SPLIT_OUT_MIX state decision To: =?UTF-8?B?TWFyZWsgQmVow7pu?= Cc: Chris Packham , Stefan Roese , Baruch Siach , =?UTF-8?B?UGF2b2wgUm9ow6Fy?= , u-boot , Mario Six , Dennis Gilmore , Kostya Porotchkin , =?UTF-8?B?TWFyZWsgQmVow7pu?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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.2 at phobos.denx.de X-Virus-Status: Clean On Wed, Jan 5, 2022 at 10:10 PM Marek Beh=C3=BAn wrote: > > On Wed, 5 Jan 2022 11:10:51 +1300 > Chris Packham wrote: > > > Hi Marek, > > > > On Wed, Jan 5, 2022 at 9:28 AM Marek Beh=C3=BAn wrot= e: > > > > > > From: Marek Beh=C3=BAn > > > > > > Hello, > > > > > > continuing my last discussion with Chris [1] about this, could you > > > please test this change? (For Chris, mainly on your x530, since last > > > time you said it hanged your board in SPL.) > > > > I still get a hang after "Returning to BootROM (return address > > 0xffff05c4)... " (after the DDR training). > > Hi Chris, > > would it be possible for me to connect to a computer to which the x530 > is connected via UART so that I can debug it? Could you prepare such an > environment? It would also need a mechanism to reset the board remotely > somehow. I prepared a similar remote debugging environment for Marvell > when they were solving some issues for us. > > If not, then I guess we will just have to send debugging code and > results back and forth. > > Marek It might be possible. We can probably set something up to be internet accessible and have remotely controllable PDUs. Unfortunately most of the people who can set this up are still on holiday and by the time we get that sorted I'll be on leave again. In terms of the actual problem the plot thickens. The board I had been testing with was a production unit with MV88F6820-B0 at 1600 MHz (DDR 800MHz). To debug the hang I wanted to attach a JTAG debugger so I found an old prototype that had the JTAG header fitted, but the problem didn't occur. The older prototype has MV88F6820-A0 at 1866 MHz (DDR 933MHz) (as well as the usual collection of re-work wires that prototypes often accumulate). I don't know if the A0 vs B0 differences are significant or if the clock speed has some impact. I'll get the JTAG header fitted to my production unit and see where I get t= o.