Skip to content

Instantly share code, notes, and snippets.

@babldev
Created June 13, 2025 19:24
Show Gist options
  • Save babldev/1d8f9c24c55911485eb8f0577ea0058b to your computer and use it in GitHub Desktop.
Save babldev/1d8f9c24c55911485eb8f0577ea0058b to your computer and use it in GitHub Desktop.
Booting over BeagleY-AI over DHCP

DHCP boot for BeagleY-AI

WIP steps for booting device over ethernet for a faster development cycle.

(Avoid flashing SD cards for every edit).

Ubuntu VM setup on macOS

Install VMWare tools

sudo apt update
sudo apt install open-vm-tools open-vm-tools-desktop

DHCP setup

Determine ethernet interface

I have ethernet connected to macOS over USB.

ip a

My ethernet device connected to board was enxc8a362a263f7

Configuration

Install DHCP server

sudo apt install isc-dhcp-server

Edit configuration /etc/dhcp/dhcpd.conf

subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.150 192.1681.200;
 option routers 192.168.1.254;
 option domain-name-servers 192.168.1.1, 192.168.1.2;
 option domain-name "mydomain.example";
}

Edit configuration /etc/default/isc-dhcp-server with ethernet interface from above:

INTERFACESv4="enxc8a362a263f7"

Restart DHCP daemon

sudo systemctl daemon-reload
sudo systemctl restart isc-dhcp-server.service

Monitor logs

tail -f /var/log/syslog | grep dhcp

Execute DHCP boot from BeagleY-AI

On serial U-Boot CLI, execute the following command:

dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment