Marvell ARMADA 7K/8K and MACCHIATObin support

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Marvell ARMADA 7K/8K and MACCHIATObin support

Corsaire01
Hi everyone,

It's been a while, any news regarding the progress on the Macchiatobin
support ?



--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-port-arm-f206279.html

Reply | Threaded
Open this post in threaded view
|

Re: Marvell ARMADA 7K/8K and MACCHIATObin support

Corsaire01
Hi everyone,
For anyone interested here is my console log after I upgraded my install to
freshly announced OpenBSD 6.6.

Some interesting bits here, sfp ports are now seems to be seen as sfp0 sfp1
sfp2, but still not usable yet.

BootROM - 2.03
Starting CP-0 IOROM 1.07
Booting from SD 0 (0x29)
Found valid image at boot postion 0x002
lNOTICE:  Starting binary extension
NOTICE:  SVC: SW Revision 0x0. SVC is not supported
mv_ddr: mv_ddr-devel-18.08.0-ga881467 (Apr 20 2019 - 20:23:44)
mv_ddr: completed successfully
NOTICE:  Cold boot
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.1(debug):v2.1-84-g0e985d7 (Marvell-devel-18.12.0)
NOTICE:  BL1: Built : 20:23:53, Apr 20 2019
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v2.1(debug):v2.1-84-g0e985d7 (Marvell-devel-18.12.0)
NOTICE:  BL2: Built : 20:23:56, Apr 20 2019
NOTICE:  SCP_BL2 contains 5 concatenated images
NOTICE:  Skipping MSS CP3 related image
NOTICE:  Skipping MSS CP2 related image
NOTICE:  Load image to CP1 MSS AP0
NOTICE:  Loading MSS image from addr. 0x40269f4 Size 0x1cd8 to MSS at
0xf4280000
NOTICE:  Done
NOTICE:  Load image to CP0 MSS AP0
NOTICE:  Loading MSS image from addr. 0x40286cc Size 0x1cd8 to MSS at
0xf2280000
NOTICE:  Done
NOTICE:  Load image to AP0 MSS
NOTICE:  Loading MSS image from addr. 0x402a3a4 Size 0x5420 to MSS at
0xf0580000
NOTICE:  Done
NOTICE:  SCP Image doesn't contain PM firmware
NOTICE:  BL1: Booting BL31
lNOTICE:  MSS PM is not supported in this build
NOTICE:  BL31: v2.1(debug):v2.1-84-g0e985d7 (Marvell-devel-18.12.0)
NOTICE:  BL31: Built : 20:24:02, Apr 20 2019
FtwPei: Work block header valid bit check error
FtwPei: Both working and spare block are invalid.

Armada Platform Init

Comphy0-0: PCIE0         5 Gbps
Comphy0-1: PCIE0         5 Gbps
Comphy0-2: PCIE0         5 Gbps
Comphy0-3: PCIE0         5 Gbps
Comphy0-4: SFI           10.31 Gbps
Comphy0-5: SATA1         5 Gbps

Comphy1-0: SGMII1        1.25 Gbps
Comphy1-1: SATA2         5 Gbps
Comphy1-2: USB3_HOST0    5 Gbps
Comphy1-3: SATA3         5 Gbps
Comphy1-4: SFI           10.31 Gbps
Comphy1-5: SGMII2        3.125 Gbps

UTMI PHY 0 initialized to USB Host0
UTMI PHY 1 initialized to USB Host1
UTMI PHY 2 initialized to USB Host0
Succesfully installed protocol interfaces
Error: Image at 000BF719000 start failed: 00000001
remove-symbol-file
/home/kettenis/src/edk2/Build/Armada80x0McBin-AARCH64/RELEASE_GCC5/AARCH64/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe/DEBUG/AcpiPlatform.dll
0xBF71A000
Detected w25q32bv SPI NOR flash with page size 256 B, erase size 4 KB, total
4 MB


Tianocore/EDK2 firmware version MARVELL_EFI
Press ESCAPE for boot options ...
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
      FS0: Alias(s):HD0b65535a1:;BLK1:
         
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000054F20000000000)/Sata(0x
1,0xFFFF,0x0)/HD(1,MBR,0x00000000,0x2000,0x8000)
     BLK0: Alias(s):
         
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000054F20000000000)/Sata(0x
1,0xFFFF,0x0)
     BLK2: Alias(s):
         
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000054F20000000000)/Sata(0x
1,0xFFFF,0x0)/HD(4,MBR,0x00000000,0xA000,0x6FC2F30)
     BLK3: Alias(s):
         
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00006EF00000000000)/eMMC(0x
0)/Ctrl(0x0)
     BLK4: Alias(s):
         
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00006EF00000000000)/eMMC(0x
0)/Ctrl(0x1)
     BLK5: Alias(s):
         
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00006EF00000000000)/eMMC(0x
0)/Ctrl(0x2)
     BLK6: Alias(s):
         
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000078F20000000000)/SD(0x0)

Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> bootaa64.efi
disks: sd0* sd1 sd2 sd3 sd4
>> OpenBSD/arm64 BOOTAA64 0.19
boot>
booting sd0a:/bsd: 7473888+1601072+537500+848268
[621009+109+867768+526405]=0xd3
e930
type 0x2 pa 0x0 va 0x0 pages 0x4000 attr 0xe
type 0x7 pa 0x5400000 va 0x0 pages 0x32c00 attr 0xe
type 0x4 pa 0x38000000 va 0x0 pages 0x20 attr 0xe
type 0x7 pa 0x38020000 va 0x0 pages 0x788d attr 0xe
type 0x4 pa 0x3f8ad000 va 0x0 pages 0x20 attr 0xe
type 0x3 pa 0x3f8cd000 va 0x0 pages 0x52 attr 0xe
type 0x4 pa 0x3f91f000 va 0x0 pages 0x6c0 attr 0xe
type 0x3 pa 0x3ffdf000 va 0x0 pages 0x1e attr 0xe
type 0x4 pa 0x3fffd000 va 0x0 pages 0x3 attr 0xe
type 0x7 pa 0x40000000 va 0x0 pages 0x759aa attr 0xe
type 0x2 pa 0xb59aa000 va 0x0 pages 0xc36 attr 0xe
type 0x1 pa 0xb65e0000 va 0x0 pages 0x110 attr 0xe
type 0x9 pa 0xb66f0000 va 0x0 pages 0x80 attr 0xe
type 0x2 pa 0xb6770000 va 0x0 pages 0x4 attr 0xe
type 0x7 pa 0xb6774000 va 0x0 pages 0x64be attr 0xe
type 0x4 pa 0xbcc32000 va 0x0 pages 0x1e attr 0xe
type 0x7 pa 0xbcc50000 va 0x0 pages 0x7 attr 0xe
type 0x4 pa 0xbcc57000 va 0x0 pages 0x23e9 attr 0xe
type 0x7 pa 0xbf040000 va 0x0 pages 0x4ca attr 0xe
type 0x3 pa 0xbf50a000 va 0x0 pages 0x306 attr 0xe
type 0x5 pa 0xbf810000 va 0x3ffdb68000 pages 0x3e0 attr 0x800000000000000e
type 0x7 pa 0xbfbf0000 va 0x0 pages 0x60 attr 0xe
type 0x6 pa 0xbfc50000 va 0x3ffdfa8000 pages 0x390 attr 0x800000000000000e
type 0x7 pa 0xbffe0000 va 0x0 pages 0x1f attr 0xe
type 0x4 pa 0xbffff000 va 0x0 pages 0x1 attr 0xe
type 0x7 pa 0x100000000 va 0x0 pages 0x40000 attr 0xe
type 0x0 pa 0x4000000 va 0x0 pages 0x1400 attr 0x0
type 0xb pa 0xf4284000 va 0x3ffe338000 pages 0x1 attr 0x8000000000000001
type 0xb pa 0xf4700000 va 0x3ffe339000 pages 0x1 attr 0x8000000000000001
type 0xb pa 0xf93c0000 va 0x3ffe33a000 pages 0x30 attr 0x8000000000000001
[ bsd ELF symbol table not valid: bad magic ]
[ no symbol table formats found ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2019 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.6 (GENERIC.MP) #269: Sat Oct 12 18:45:15 MDT 2019
    [hidden email]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 4202946560 (4008MB)
avail mem = 3999387648 (3814MB)
mainbus0 at root: Marvell 8040 MACCHIATOBin
cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p1
cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
efi0 at mainbus0: UEFI 2.7
efi0: EDK II rev 0x10000
apm0 at mainbus0
psci0 at mainbus0: PSCI 1.1, SMCCC 1.1
simplebus0 at mainbus0: "ap806"
simplebus1 at simplebus0: "config-space"
ampintc0 at simplebus1 nirq 352, ncpu 4 ipi: 0, 1: "interrupt-controller"
ampintcmsi0 at ampintc0: nspi 32
ampintcmsi1 at ampintc0: nspi 32
ampintcmsi2 at ampintc0: nspi 32
ampintcmsi3 at ampintc0: nspi 32
mvgicp0 at simplebus1
syscon0 at simplebus1: "system-controller"
mvclock0 at syscon0
mvpinctrl0 at syscon0
mvgpio0 at syscon0
agtimer0 at simplebus1: tick rate 25000 KHz
"pmu" at simplebus1 not configured
"odmi" at simplebus1 not configured
"interrupt-controller" at simplebus1 not configured
"xor" at simplebus1 not configured
"xor" at simplebus1 not configured
"xor" at simplebus1 not configured
"xor" at simplebus1 not configured
com0 at simplebus1: ns16550, no working fifo
com0: console
"watchdog" at simplebus1 not configured
"sdhci" at simplebus1 not configured
mvtemp0 at simplebus1
simplebus2 at mainbus0: "cp0"
simplebus3 at simplebus2: "config-space"
mvicu0 at simplebus3
syscon1 at simplebus3: "system-controller"
mvpinctrl1 at syscon1
mvgpio1 at syscon1
"ethernet" at simplebus3 not configured
"phy" at simplebus3 not configured
mvmdio0 at simplebus3
"mdio" at simplebus3 not configured
mvtemp1 at simplebus3
xhci0 at simplebus3, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev
3.00/1.00 addr 1
xhci1 at simplebus3, xHCI 1.0
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev
3.00/1.00 addr 1
ahci0 at simplebus3: AHCI 1.0
ahci0: port busy after first PMP probe FIS
ahci0: port busy after first PMP probe FIS
ahci0: port 1: 3.0Gb/s
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 1 lun 0: <ATA, OCZ-AGILITY2, 1.35> naa.5e83a97f29180002
sd0: 57241MB, 512 bytes/sector, 117231408 sectors, thin
"xor" at simplebus3 not configured
"xor" at simplebus3 not configured
sxitwi0 at simplebus3
iic0 at sxitwi0
sxitwi1 at simplebus3
iic1 at sxitwi1
"nxp,pca9548" at iic1 addr 0x70 not configured
com1 at simplebus3: ns16550, no working fifo
mvrng0 at simplebus3
"sdhci" at simplebus3 not configured
"crypto" at simplebus3 not configured
dwpcie0 at simplebus2
pci0 at dwpcie0
ppb0 at pci0 dev 0 function 0 "Marvell ARMADA 7K/8K Root Complex" rev 0x00
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel 82575EB" rev 0x01: msi, address
00:1b:21:23:08:0b
em1 at pci1 dev 0 function 1 "Intel 82575EB" rev 0x01: msi, address
00:1b:21:23:08:0a
"cp0_mainpll" at simplebus2 not configured
"cp0_x2core_clk" at simplebus2 not configured
"cp0_core_clk" at simplebus2 not configured
"cp0_sdio_clk" at simplebus2 not configured
"cp0_nand_clk" at simplebus2 not configured
"cp0_ppv2_clk" at simplebus2 not configured
"cp0_slow_io_clk" at simplebus2 not configured
simplebus4 at mainbus0: "cp1"
simplebus5 at simplebus4: "config-space"
mvicu1 at simplebus5
syscon2 at simplebus5: "system-controller"
mvpinctrl2 at syscon2
mvgpio2 at syscon2
"ethernet" at simplebus5 not configured
"phy" at simplebus5 not configured
mvtemp2 at simplebus5
xhci2 at simplebus5, xHCI 1.0
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev
3.00/1.00 addr 1
ahci1 at simplebus5: AHCI 1.0
scsibus1 at ahci1: 32 targets
"xor" at simplebus5 not configured
"xor" at simplebus5 not configured
com2 at simplebus5: ns16550, no working fifo
mvrng1 at simplebus5
"cp1_mainpll" at simplebus4 not configured
"cp1_x2core_clk" at simplebus4 not configured
"cp1_core_clk" at simplebus4 not configured
"cp1_sdio_clk" at simplebus4 not configured
"cp1_nand_clk" at simplebus4 not configured
"cp1_ppv2_clk" at simplebus4 not configured
"cp1_slow_io_clk" at simplebus4 not configured
"regulator-3-3v" at mainbus0 not configured
"regulator-1-8v" at mainbus0 not configured
"regulator-usb3-vbus0" at mainbus0 not configured
"usb3_phy0" at mainbus0 not configured
sfp0 at mainbus0: can't get i2c bus
sfp1 at mainbus0: can't get i2c bus
sfp2 at mainbus0: can't get i2c bus
cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p1
cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 100: ARM Cortex-A72 r0p1
cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 101: ARM Cortex-A72 r0p1
cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (e3695c0f015dcb0b.a) swap on sd0b dump on sd0b
Automatic boot in progress: starting file system checks.
/dev/sd0a (e3695c0f015dcb0b.a): file system is clean; not checking
/dev/sd0l (e3695c0f015dcb0b.l): file system is clean; not checking
/dev/sd0d (e3695c0f015dcb0b.d): file system is clean; not checking
/dev/sd0f (e3695c0f015dcb0b.f): file system is clean; not checking
/dev/sd0g (e3695c0f015dcb0b.g): file system is clean; not checking
/dev/sd0h (e3695c0f015dcb0b.h): file system is clean; not checking
/dev/sd0k (e3695c0f015dcb0b.k): file system is clean; not checking
/dev/sd0j (e3695c0f015dcb0b.j): file system is clean; not checking
/dev/sd0e (e3695c0f015dcb0b.e): file system is clean; not checking
pf enabled
starting network
reordering libraries: done.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
kvm_mkdb: can't open /dev/ksyms
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting local daemons: cron.
Sat Oct 19 14:51:19 JST 2019

OpenBSD/arm64 (macchiato.domain) (console)

login:



--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-port-arm-f206279.html

12