Is there a file that isn't version controlled that the overrides could go in? That way updates to a file wouldn't cause conflicts down the road.
As for a name, USB1_MAC seems reasonable to me. On Tue, Jan 19, 2021 at 10:52 AM Robert Nelson <[email protected]> wrote: > On Tue, Jan 19, 2021 at 11:49 AM John Allwine <[email protected]> wrote: > > > > What's the best way to set a static mac address for usb1 device on the > Beaglebone Black? > > > > This line seems to be where it is set, but I don't see where cpsw_4_mac > is set: > > > https://github.com/RobertCNelson/boot-scripts/blob/fe926a6a4cf5805041878d7df82b58c00b4f902e/boot/am335x_evm.sh#L500 > > > > I don't seem to have a /usr/bin/bb_generate_mac.sh, so these lines don't > seem like they would be called: > https://github.com/RobertCNelson/boot-scripts/blob/fe926a6a4cf5805041878d7df82b58c00b4f902e/boot/am335x_evm.sh#L281-L286 > > > > Anyone have any ideas? > > sudo apt update ; sudo apt upgrade > > would fix that.. > > We should add the overrides here: > > > https://github.com/RobertCNelson/boot-scripts/blob/master/boot/default/bb-boot#L21-L30 > > Any thoughts on variable names? > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAPEK9qbFMHWRA2x2RBXE9D5RM6Ay5m35evkAuxkm5G3dsaWcRw%40mail.gmail.com.
