
Hi,
mainline U-Boot should work for Armada 3720, although I haven't tested recent master (so I don't know if there are some regressions). But Turris Mox uses cca 1 year old upstream with just few Mox specific patches atop (which I plan to get merged soon). You can find it here: https://gitlab.labs.nic.cz/turris/mox-u-boot
One thing that may need reworking (to become compatible with Linux) is the comphy driver. Linux' comphy driver for this SOC uses smccc calls to ARM Trusted Firmware, but U-Boot does not, and instead initializes SERDESes on its own.
Bear in mind that U-Boot is not enough for booting Armada 3720 SOC. You do also need ARM Trusted Firmware (you don't need to use Marvell's ATF, since their patches are merged into upstream ATF), and you also need firmware for the secure Cortex-M3 processor (Marvell's name for this firmware is WTMI), which does DDR training. Marvell has this in A3700-utils-marvell repository. For Turris MOX, we build all of this via https://gitlab.labs.nic.cz/turris/mox-boot-builder but this code can be MOX specific, so if you want to use it for other boards, I can provide more explanation of which does what and so on.
Marek
On Wed, 25 Mar 2020 17:44:57 +0100 Stefan Roese sr@denx.de wrote:
Hi Moritz,
On 25.03.20 16:05, Moritz Berghof wrote:
My Name is Moritz and we evaluate the Marvell Armada 88F3720 on the Marvell ESPRESSObin and the TURRIS MOX.
Does someone know, where is the actual or latest u-boot branch for Marvell Armada 88F3720 placed? At the u-boot master or a marvell custodian tree or somewhere else? Does Marvell develop u-boot still for their Armada 88F3720 and when yes, where?
Those boards are supported in general in mainline U-Boot. Though I have to admit, that I didn't test any of those ports recently. I added Marek Behun to Cc, as he did submit most of the Turris Mox stuff and has more recent experience than I do.
Because that https://github.com/MarvellEmbeddedProcessors/u-boot-marvell, which is well used on the ESPRESSObin is NOT up-to-date. 4 Years ago, last commit.
I just took a quick glance at this repo and there are newer, more recent branches, e.g. "u-boot-2018.03-armada-18.12". But still, this is far away from mainline, I agree.
Perhaps someone else (Marek) can comment on the current status of mainline U-Boot on those boards? Is something missing? If yes, it would be great to get it ported to mainline.
Thanks, Stefan
I'm searching an actual u-boot platform for my Chip.
I look forward to your reply, thank you very much,
-- Moritz Berghof Software Engineer Tel. +49 30 921028-209tel:+49%C2%A030%C2%A0921028-204 Fax +49 30 921028-020tel:+49%C2%A030%C2%A0921028-020 mberghof@phoenixcontact.commailto:mberghof@phoenixcontact.com www.phoenixcontact.comhttp://www.phoenixcontact.com/
PHOENIX CONTACT Cyber Security GmbH Richard-Willstätter-Straße 6x-apple-data-detectors://1/1 D-12489 Berlinx-apple-data-detectors://1/1 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