Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Cc: "linux-phy@lists.infradead.org" <linux-phy@lists.infradead.org>,
	"kabel@kernel.org" <kabel@kernel.org>,
	Damien Le Moal <Damien.LeMoal@wdc.com>
Subject: Re: ARMADA espressobin SATA drive detection failure
Date: Fri, 12 Aug 2022 14:44:07 +0200	[thread overview]
Message-ID: <20220812124407.pdjjxpsf6pddsmsr@pali> (raw)
In-Reply-To: <20220812120028.xcnvr3ocxmmkioqi@shindev>

On Friday 12 August 2022 12:00:28 Shinichiro Kawasaki wrote:
> On Aug 12, 2022 / 10:20, Pali Rohár wrote:
> > On Friday 12 August 2022 04:56:50 Shinichiro Kawasaki wrote:
> 
> [...]
> 
> > > I noticed one difference between your system and mine: U-Boot version.
> > > On my system, it has rather old version now:
> > > 
> > >   Marvell>> version
> > >   U-Boot 2017.03-armada-17.10.2-g14aeedc (Jun 01 2018 - 15:39:10 +0800)
> > >   aarch64-linux-gnu-gcc (Linaro GCC 5.2-2015.11-2) 5.2.1 20151005
> > >   GNU ld (GNU Binutils) 2.25.0 Linaro 2015_10
> > > 
> > > Do you think it's worth trying the latest U-boot?
> > > 
> > > -- 
> > > Shin'ichiro Kawasaki
> > 
> > Yes, please update firmwares to the latests versions. Or at least try to
> > boot new U-Boot via UART (without replacing existing version) and check
> > for differences.
> > 
> > Building documentations:
> > https://trustedfirmware-a.readthedocs.io/en/latest/plat/marvell/armada/build.html
> > https://source.denx.de/u-boot/u-boot/-/blob/v2022.07/doc/README.marvell
> > 
> > UART booting documentation is currently waiting for review:
> > https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/16198
> 
> Thanks for the good references. I've managed to build U-Boot for UART booting (I
> use fedora, then needed to identify Fedora packages corresponding to guided apt
> packages. I also needed to fix a build failure in A3700-utils-marvell.)
> 
> I modified board jumper pins to UART mode and downloaded the built U-Boot using
> mox-imager. The downloaded U-Boot showed the new version and detected my SSD:
> 
>   => version
>   U-Boot 2022.10-rc2-00049-g157861e6af (Aug 12 2022 - 18:10:21 +0900)
> 
>   aarch64-linux-gnu-gcc (GCC) 12.1.1 20220507 (Red Hat Cross 12.1.1-1)
>   GNU ld version 2.37-7.fc36
>   => scsi scan
>   scanning bus for devices...
>     Device 0: (0:0) Vendor: ATA Prod.: SanDisk SDSSDA24 Rev: U210
>               Type: Hard Disk
>               Capacity: 228936.5 MB = 223.5 GB (468862128 x 512)
> 
> However, after booting Linux kernel v5.18.16 from the U-Boot, still the error
> message "ata1: SATA link down (SStatus 0 SControl 300)" is printed.
> This may indicate that the error is not related U-Boot.
> 
> Now I'm not sure what's the key difference between your system and mine. If
> there is anything I can do next, please let me know.
> 
> -- 
> Shin'ichiro Kawasaki

Probably this is SSD disk specific. I will try to prepare some kernel
changes to test if it changes something.

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  reply	other threads:[~2022-08-12 12:44 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31 12:41 ARMADA espressobin SATA drive detection failure Shinichiro Kawasaki
2022-05-31 14:00 ` Marek Behún
2022-06-06  1:57   ` Shinichiro Kawasaki
2022-08-09  9:42 ` Pali Rohár
2022-08-10 10:36   ` Shinichiro Kawasaki
2022-08-12  4:56     ` Shinichiro Kawasaki
2022-08-12  8:20       ` Pali Rohár
2022-08-12 12:00         ` Shinichiro Kawasaki
2022-08-12 12:44           ` Pali Rohár [this message]
2022-08-12 13:55             ` Pali Rohár
2022-08-13  0:02               ` Shinichiro Kawasaki
2022-08-13  0:15                 ` Pali Rohár
2022-08-13  1:00                   ` Shinichiro Kawasaki
2022-08-13  1:03                     ` Pali Rohár
2022-08-13  1:35                       ` Shinichiro Kawasaki
2022-08-13  9:32                         ` Pali Rohár
2022-08-13 11:53                           ` Shinichiro Kawasaki
2022-08-13 12:01                             ` Pali Rohár
2022-08-13 12:47                               ` Shinichiro Kawasaki
2022-08-13 12:50                                 ` Pali Rohár
2022-08-13 23:02                                   ` Shinichiro Kawasaki
2022-08-13 23:10                                     ` Pali Rohár
2022-08-25 13:00                                       ` Pali Rohár
2022-08-25 22:15                                         ` Marek Behún
2022-08-26  5:00                                           ` Shinichiro Kawasaki
2022-08-26 12:05                                             ` Marek Behún
2022-08-29  0:20                                               ` Shinichiro Kawasaki
2022-08-29  8:33                                                 ` Pali Rohár
2022-08-26  7:28                                           ` Pali Rohár
2022-08-25 13:04                                       ` Pali Rohár
2022-08-26  4:57                                         ` Shinichiro Kawasaki
2022-08-26  7:34                                           ` Pali Rohár

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220812124407.pdjjxpsf6pddsmsr@pali \
    --to=pali@kernel.org \
    --cc=Damien.LeMoal@wdc.com \
    --cc=kabel@kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=shinichiro.kawasaki@wdc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox