Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses)

Andre Heider a.heider at gmail.com
Fri Aug 28 16:35:22 CEST 2020


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


More information about the U-Boot mailing list