AW: latest u-boot branch for Marvell Armada 88F3720

Moritz Berghof mberghof at phoenixcontact.com
Tue Apr 21 12:25:22 CEST 2020


Hi Marek,

sorry i'm not that fast. Different things around.

I tested the u-boot master with your patches. But it crashed on my espressobin, unfortunately. 

Log:

DLL 0xc0001050[29:24]: [5,32,1b]
   DLL 0xc0001054[21:16]: [4,2b,17]
   DLL 0xc0001054[29:24]: [a,35,1f]
   DLL 0xc0001074[21:16]: [0,3f,1f]
   DLL 0xc0001074NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.3(release):armada-17.10.8:34247e02
NOTICE:  BL1: Built : 10:52:47, Mar 31 2NOTICE:  BL2: v1.3(release):armada-17.10.8:34247e02
NOTICE:  BL2: Built : 10:52:48, Mar 31 2020
NNOTICE:  BL31: v1.3(release):armada-17.10.8:34247e02
NOTICE:  BL31:

U-Boot 2020.04-00490-ge4837da782 (Apr 21 2020 - 12:06:24 +0200)

DRAM:  1 GiB
Comphy-0: UNCONNECTED   2.5 Gbps  
Comphy-1: UNCONNECTED   5 Gbps    
Comphy-2: SATA0         5 Gbps    
SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: ncq led only pmp fbss pio slum part sxs 
"Synchronous Abort" handler, esr 0x96000210
elr: 0000000000028afc lr : 0000000000028acc (reloc)
elr: 000000003ff6aafc lr : 000000003ff6aacc
x0 : 00000000d0074000 x1 : 0000000000000000
x2 : 0000000000000008 x3 : 0000000000000000
x4 : 0000000000000018 x5 : 0000000000000000
x6 : 000000003fb2f440 x7 : 00000000ffffffe0
x8 : 000000003fb2f640 x9 : 0000000000000008
x10: 0000000000000abc x11: 000000003fb2f23c
x12: 0000000000000a2b x13: 0000000000000a20
x14: 0000000000000000 x15: 000000003fb2f640
x16: 000000003ffc7f41 x17: 000000003ffc7f41
x18: 000000003fb31de0 x19: 000000003fb33aa0
x20: 000000003fb33880 x21: 000000003ffd2800
x22: 0000000000000000 x23: 0000000000000000
x24: 0000000000000000 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 0000000000000000 x29: 000000003fb2f540

Code: 91406000 b9000001 f9400260 91401000 (b9480001) 
Resetting CPU ...

resetting ...





Even when I disable the sata device at the espressobin .dts, the actuall master crashs.

Log:

DLL 0xc0001050[29:24]: [5,32,1b]
   DLL 0xc0001054[21:16]: [4,2b,17]
   DLL 0xc0001054[29:24]: [a,35,1f]
   DLL 0xc0001074[21:16]: [0,3f,1f]
   DLL 0xc0001074NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.3(release):armada-17.10.8:34247e02
NOTICE:  BL1: Built : 10:52:47, Mar 31 2NOTICE:  BL2: v1.3(release):armada-17.10.8:34247e02
NOTICE:  BL2: Built : 10:52:48, Mar 31 2020
NNOTICE:  BL31: v1.3(release):armada-17.10.8:34247e02
NOTICE:  BL31:

U-Boot 2020.04-00490-ge4837da782 (Apr 21 2020 - 12:06:24 +0200)

DRAM:  1 GiB
Comphy-0: UNCONNECTED   2.5 Gbps  
Comphy-1: UNCONNECTED   5 Gbps    
Comphy-2: SATA0         5 Gbps    
"Synchronous Abort" handler, esr 0x96000210
elr: 0000000000028afc lr : 0000000000028acc (reloc)
elr: 000000003ff6aafc lr : 000000003ff6aacc
x0 : 00000000d0074000 x1 : 0000000000000000
x2 : 0000000000000008 x3 : 0000000000000000
x4 : 0000000000000018 x5 : 0000000000000000
x6 : 000000003fb2f440 x7 : 00000000ffffffe0
x8 : 000000003fb2f640 x9 : 0000000000000008
x10: 0000000000000abc x11: 000000003fb2f23c
x12: 0000000000000a2b x13: 0000000000000a20
x14: 0000000000000000 x15: 000000003fb2f640
x16: 000000003ffc7f41 x17: 000000003ffc7f41
x18: 000000003fb31de0 x19: 000000003fb33aa0
x20: 000000003fb33880 x21: 000000003ffd2800
x22: 0000000000000000 x23: 0000000000000000
x24: 0000000000000000 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 0000000000000000 x29: 000000003fb2f540

Code: 91406000 b9000001 f9400260 91401000 (b9480001) 
Resetting CPU ...

resetting ...



To disable Sata device at .dts  worked well with the commit a5730fed6bca80376c95d209166f87ba42e887a0 to boot the u-boot master. I mentioned that some weeks ago.  

Sorry for the bad news. 


Btw, do you or someone else have an idea why eth, switch and mmc is not working on espressobin? I found out that some mii, net configs at the _defconfig file helped to activate the eth, phy, mio and switch, but it works not properly. For example on error: U-Boot: Non unique device name eth. Ideas?

I'm digging further,

--
Moritz Berghof
Software Engineer
Tel. +49 30 921028-209 
Fax +49 30 921028-020
mberghof at phoenixcontact.com
www.phoenixcontact.com
 
PHOENIX CONTACT Cyber Security GmbH
Richard-Willstätter-Straße 6
D-12489 Berlin
Register Court: AG Charlottenburg, HR B 202908
Geschäftsführer/General Manager: Kilian Golm

-----Ursprüngliche Nachricht-----
Von: Marek Behun <marek.behun at nic.cz> 
Gesendet: Mittwoch, 15. April 2020 01:53
An: Moritz Berghof <mberghof at phoenixcontact.com>
Cc: u-boot mailing list <u-boot at lists.denx.de>
Betreff: Re: latest u-boot branch for Marvell Armada 88F3720

***External email! Do not click links or open attachments unless you recognize the sender and know the content is safe.***

Hi Moritz,

could you please compile and test current u-boot master on your EspressoBin? My patches regarding DDR size determination on A3700 were applied and I would like to know if it works correctly for you.

Marek

On Mon, 6 Apr 2020 09:43:27 +0000
Moritz Berghof <mberghof at phoenixcontact.com> wrote:

> Hi Marek,
>
> we use the ESPRESSObin Version V5_0_1. We have 2GB-DDR3 memory size and two chips. On of the one side and the other chip directly on the other side of the board.
>
> Have a good day,
>
> --
> Moritz Berghof
> Software Engineer
> Tel. +49 30 921028-209<tel:+49%C2%A030%C2%A0921028-204>
> Fax +49 30 921028-020<tel:+49%C2%A030%C2%A0921028-020>
> mberghof at phoenixcontact.com<mailto:mberghof at phoenixcontact.com>
> www.phoenixcontact.com<http://www.phoenixcontact.com/>
>
> PHOENIX CONTACT Cyber Security GmbH
> Richard-Willstätter-Straße 6<x-apple-data-detectors://1/1>
> D-12489 Berlin<x-apple-data-detectors://1/1>
> Register Court: AG Charlottenburg, HR B 202908 Geschäftsführer/General 
> Manager: Kilian Golm
>
> Hi Moritz,
>
> which version of EspressoBin do you have? How much RAM, is it DDR3 or 
> DDR4? How many RAM chips are there?
>
> Marek
>
>
>
> .......................................................................................
> PHOENIX CONTACT Cyber Security GmbH
> Richard-Willstätter-Straße 6
> D-12489 Berlin
>
> Register Court: AG Charlottenburg, HR B 202908 Geschäftsführer/General 
> Manager: Kilian Golm


.......................................................................................
PHOENIX CONTACT Cyber Security GmbH 
Richard-Willstätter-Straße 6  
D-12489 Berlin  
 
Register Court: AG Charlottenburg, HR B 202908 
Geschäftsführer/General Manager: Kilian Golm


More information about the U-Boot mailing list