[Macchiato] [EXT] How to save mac addresses?

Andrew Elwell andrew.elwell at gmail.com
Tue Jul 30 23:56:45 BST 2019


> From what I can see, Andrew is using ACPI boot, i.e. edk2.

Yup,

Found valid image at boot postion 0x000
lNOTICE:  Starting binary extension
NOTICE:  SVC: SW Revision 0x0. SVC is not supported
mv_ddr: mv_ddr-devel-18.08.0-ga881467 (May 09 2019 - 10:46:50)
mv_ddr: completed successfully
NOTICE:  Cold boot
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.1(release):jaz-127-gf2f0846 (Marvell-devel-18.12.0)
NOTICE:  BL1: Built : 10:47:06, May  9 2019
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v2.1(release):jaz-127-gf2f0846 (Marvell-devel-18.12.0)
NOTICE:  BL2: Built : 10:47:12, May  9 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(release):jaz-127-gf2f0846 (Marvell-devel-18.12.0)
NOTICE:  BL31: Built : 10:47:22, May  9 2019

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

> You have to pass the mac address via ACPI tables. Example for eth0 (according entries should be done for other ports:

"Oh Bugger"
Sigh. OK.

> BTW, in what OS do you see those interfaces as enamrvl*?

Fedora 30
[root at alfred ~]# cat /proc/cmdline
BOOT_IMAGE=(hd1,gpt2)/vmlinuz-5.1.20-300.fc30.aarch64
root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root
rd.lvm.lv=fedora/swap console=ttyS0,115200



[root at alfred ~]# modinfo mvpp2
filename:
/lib/modules/5.1.20-300.fc30.aarch64/kernel/drivers/net/ethernet/marvell/mvpp2/mvpp2.ko.xz
license:        GPL v2
author:         Marcin Wojtas <mw at semihalf.com>
description:    Marvell PPv2 Ethernet Driver - www.marvell.com
alias:          acpi*:MRVL0110:*
alias:          of:N*T*Cmarvell,armada-7k-pp22C*
alias:          of:N*T*Cmarvell,armada-7k-pp22
alias:          of:N*T*Cmarvell,armada-375-pp2C*
alias:          of:N*T*Cmarvell,armada-375-pp2
depends:        phylink
intree:         Y
name:           mvpp2
vermagic:       5.1.20-300.fc30.aarch64 SMP mod_unload aarch64
sig_id:         PKCS#7
signer:
sig_key:
sig_hashalgo:   md4
signature:      30:<snipped>
parm:           queue_mode:Set queue_mode (single=0, multi=1) (int)


Andrew



More information about the Macchiato mailing list