How to change MAC address on RPI-B?

diffusae punasipuli at t-online.de
Sat Nov 26 17:42:35 UTC 2016


Hi Ian,

I've applied it to the sysutils/u-boot-rpi port and test the package
with the RPI-B. The configured usbethaddr is set in the u-boot
environment, but it will not passed to the kernel via the FTD blob. The
FreeBSD kernel always have the BIA of the NIC.

But I think, you are right, the RPis FTD data is available before the
u-boot enviroment is set.

So unfortunately that doesn't work a the moment.

Best regards,

On 26.11.2016 06:21, Ian Lepore wrote:
>> I looked into this tonight, and there is some code missing in u-boot
>> > to
>> > handle passing a mac address set in the u-boot environment into the
>> > kernel via the fdt data.
>> > 
>> > It would be pretty simple to fix.  We need to add an ethernet0 alias
>> > pointing to the /axi/usb/hub/ethernet node to our rpi dts, and the
>> > attached patch needs to replace the current one in the u-boot-rpi
>> > port.
>> > 
>> > This lets you set usbethaddr in the u-boot environment (via uEnv.txt
>> > or
>> > saved directly using saveenv), and it will get used by both u-boot
>> > and
>> > freebsd.
>> > 
>> > Having gotten it this far, I don't really have time right now to get
>> > the patch committed to ports.  Hopefully somebody else can help with
>> > that.
>> > 
>> > -- Ian
> Looks like I forgot to attach the patch.  Try again...


More information about the freebsd-arm mailing list