From: Andre Heider Date: Fri, 28 Aug 2020 16:35:22 +0200 Subject: Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses) In-Reply-To: <20200828123904.2f536h34nfqaw3sx@pali> References: <20200824142502.7281-1-pali@kernel.org> <20200826083141.gcdqakfdv62z3xw4@pali> <4813a57f-b89c-9d6b-14d5-6783557d7225@gmail.com> <20200826105118.jf6kpk7d5lh6kzqj@pali> <20200826114008.t44ywkylwffchy7k@pali> <20200828123904.2f536h34nfqaw3sx@pali> Message-ID: <21e1aa41-5d9e-5894-b2c9-d8ec384393fd@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 28/08/2020 14:39, Pali Roh?r wrote: > On Wednesday 26 August 2020 15:22:37 Andre Heider wrote: >> Hi, >> >> On 26/08/2020 13:40, Pali Roh?r wrote: >>> On Wednesday 26 August 2020 12:51:18 Pali Roh?r wrote: >>>> On Wednesday 26 August 2020 11:57:01 Andre Heider wrote: >>>>> Hi, >>>>> >>>>> On 26/08/2020 10:31, Pali Roh?r wrote: >>>>>> Hello! >>>>>> >>>>>> On Wednesday 26 August 2020 09:30:11 Andre Heider wrote: >>>>>>> Pali, >>>>>>> >>>>>>> thank you for all these espressobin fixes, much appreciated! >>>>>>> >>>>>>> This isn't directly related to the patch I'm replying to, but since you seem >>>>>>> to be syncing down- with upstream: >>>>>>> >>>>>>> Upstream u-boot doesn't detect my sata ssd ("SATA link 0 timeout"), nor is >>>>>> >>>>>> Could you try following Marvell SATA/AHCI patch? >>>>>> https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/2c1571432e4fd298be0236b53511f415bbdd21ac >>>>> >>>>> will do that later and report my findings, thanks! >> >> That one didn't help unfortunately. u-boot still prints "SATA link 0 >> timeout". Booting kernel 5.7.0-0.bpo.2-arm64 with that and sata works, but >> booting 4.19.0-10-arm64 and it doesn't: "ata1: SATA link down (SStatus 131 >> SControl 300)" is printed all over again. > > I found another patch which could maybe help: > https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/6c6b2088f83b992d03e0d56f92c4dda7d44a7dc0 I think we have a winner: U-Boot 2020.10-rc3-00020-gbcf6779d94 (Aug 28 2020 - 16:23:44 +0200) DRAM: 1 GiB Comphy-0: USB3_HOST0 5 Gbps Comphy-1: PEX0 2.5 Gbps Comphy-2: SATA0 5 Gbps Target spinup took 0 ms. AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: ncq led only pmp fbss pio slum part sxs PCIE-0: Link up MMC: sdhci at d0000: 0 Loading Environment from SPIFlash... SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB OK Model: Marvell Armada 3720 Community Board ESPRESSOBin Net: eth0: neta at 30000 Hit any key to stop autoboot: 0 => scsi scan scanning bus for devices... Device 0: (0:0) Vendor: ATA Prod.: Crucial_CT250MX2 Rev: MU05 Type: Hard Disk Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) :) Nice, thanks! Will send the patch soon, Andre