[PATCH 4/5] ARM: mvebu: adjust ethernet aliases according to U-Boot requirements for A38x

Marcin Wojtas mw at semihalf.com
Thu Nov 13 06:55:31 PST 2014


+Andrew Lunn, Sebastian Hesselbarth

Dear Thomas,

2014-11-13 9:14 GMT+01:00 Thomas Petazzoni
<thomas.petazzoni at free-electrons.com>:
> Dear Marcin Wojtas,
>
> On Thu, 13 Nov 2014 00:39:59 +0100, Marcin Wojtas wrote:
>> The vendor bootloader provided for Armada 38x boards expects an
>> alias for the ethernet nodes, which is used to fixup the MAC address.
>> The alias format naming is strict.
>
> I believe this needs a bit more explanation: why would we care about
> the "vendor bootloader" ? What are expecting the mainline versions of
> popular bootloaders like U-Boot and Barebox ? What are other platforms
> supported in the mainline doing ?

In order to update MAC address entry in Device Tree both mainline U-Boot
(in function fdt_fixup_ethernet) and Barebox (in function eth_of_fixup)
accept same (and the only one) format of eth aliases, which is 'ethernetX',
where X stands for interface number.
Other platforms in the mainline Linux, that comprise ethernet references in
'/aliases' node (like various flavours of imx or sunXi), follow the naming
scheme described above.
Is this explanation sufficient? Do you think I should extend the commit log?

Best regards,
Marcin Wojtas



More information about the linux-arm-kernel mailing list