EasyManua.ls Logo

Phytec i.MX 93 - Booting the Kernel from a Network

Default Icon
85 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
(continued from previous page)
}]
}
}
Warning
Be careful when creating subnets as this may interfere with the company network policy. To be on the
safe side, use a dierent network and specify that via the interfaces conguration option.
Now the DHCP-Server has to read the /etc/kea/kea-dhcp4.conf le again:
host:~$ sudo systemctl restart kea-dhcp4-server
When you boot/restart your host PC and don’t have the network interface, as specied in the kea-dhcp4
cong, already active the kea-dhcp4-server will fail to start. Make sure to start/restart the systemd service
when you connect the interface.
5.2 Booting the Kernel from a Network
Booting from a network means loading the kernel and device tree over TFTP and the root le system over
NFS. The bootloader itself must already be loaded from another available boot device.
5.2.1 Place Images on Host for Netboot
Copy the kernel image to your tftp directory:
host:~$ cp Image /srv/tftp
Copy the devicetree to your tftp directory:
host:~$ cp oftree /srv/tftp
Copy all the overlays you want to use into your tftp directory:
host:~$ cp *.dtbo /srv/tftp
Make sure other users have read access to all the les in the tftp directory, otherwise they are not
accessible from the target:
host:~$ sudo chmod -R o+r /srv/tftp
Extract the rootfs to your nfs directory:
host:~$ sudo tar -xvzf phytec-qt6demo-image-phyboard-segin-imx93-2.tar.gz -C /srv/nfs
Note
Make sure you extract with sudo to preserve the correct ownership.
Development 25