Jump to content

Espressobin v5 - mainline u-boot seems to work (?!)


voltagex

Recommended Posts

So, I thought this was worth a try:

diff --git a/config/sources/families/mvebu64.conf b/config/sources/families/mvebu64.conf
index 091b7633..79e85954 100644
--- a/config/sources/families/mvebu64.conf
+++ b/config/sources/families/mvebu64.conf
@@ -1,6 +1,6 @@
 ARCH=arm64
-BOOTSOURCE='https://github.com/MarvellEmbeddedProcessors/u-boot-marvell.git'
-BOOTBRANCH='branch:u-boot-2018.03-armada-18.12'
+BOOTSOURCE='https://github.com/u-boot/u-boot'
+BOOTBRANCH='branch:master'
 BOOTENV_FILE='mvebu64.txt'
 ATFSOURCE='https://github.com/MarvellEmbeddedProcessors/atf-marvell'
 ATFDIR='arm-trusted-firmware-espressobin'
TIM-1.0
WTMI-devel-18.12.1-e6bb176
WTMI: system early-init

DDR topology parameters:
========================
ddr type               DDR3
ddr speedbin           12
bus width              16-bits
cs num                 2
  cs[0] - group num    0
  cs[0] - bank num     8
  cs[0] - capacity     1024MiB
  cs[1] - group num    0
  cs[1] - bank num     8
  cs[1] - capacity     1024MiB
CPU VDD voltage default value: 1.108V

DRAM windows:
=============
WIN[0] - base addr     0x60000000
WIN[0] - size          0x40000000
WIN[1] - base addr     0xa0000000
WIN[1] - size          0x20000000

memory test region:
===================
CS[0]                  0x60000000 - 0x9fffffff
CS[1]                  0xa0000000 - 0xbfffffff

SELF-REFRESH TEST PASS
SELF-REFRESH TEST PASS
CS0: QS GATE TRAINING PASSED
CS1: QS GATE TRAINING PASSED
DLL TUNING PASSED
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
NOTICE:  BL1: Built : 14:05:30, Oct 20 2020
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
NOTICE:  BL2: Built : 14:05:30, Oct 20 2020
NOTICE:  BL1: Booting BL31
NOTICE:  BL31: v1.5(debug):1f8ca7e (Marvell-devel-18.12.2)
NOTICE:  BL31: Built : 14:05:30

U-Boot 2020.10-armbian (Oct 20 2020 - 14:05:01 +0000)

DRAM:  2 GiB
Comphy-0: USB3_HOST0    5 Gbps
Comphy-1: PEX0          2.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
PCIE-0: Link up
MMC:   sdhci@d0000: 0
Loading Environment from SPIFlash... SF: Detected w25q32dw with page size 256 By                                                                                                                                                                                                                                             tes, erase size 4 KiB, total 4 MiB
OK
Model: Globalscale Marvell ESPRESSOBin Board
Net:   eth0: neta@30000 [PRIME]

 

 

My own kernels boot but I'm still having issues with the latest armbian SD card images (same issue with 2017 and 2018 u-boots).

 

I'm not game to touch atf - someone with Marvell's wtp tools set up can do that

Edited by voltagex
atf info
Link to comment
Share on other sites

I believe Armbian already produce mainline U-Boot for this board so you don't need to compile yourself. The package is named `linux-u-boot-espressobin-edge` so you need to extract it yourself. That is what I used to boot vanilla Debian with grub-efi. However, ATF BL1 BL2 BL31 are listed as version 1.5 instead of 2.4. U-Boot was fine and distro boot works so I didn't worry about those.

Link to comment
Share on other sites

6 hours ago, Excalibur said:

I believe Armbian already produce mainline

 

No, it does not. I have already reported lines which needs to be adjusted for mainline version, but they ignored it.

 

So build mainline version manually and avoid usage of old version which is in Armbian. There are lot of fixes in mainline firmware version.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines