/
i.MX 8X Bootserver
i.MX 8X Bootserver
First, install all the necessary packages:
sudo apt-get install xinetd tftpd tftp -y
Uncompress the rootfilesystem into a folder: (check the files name when you are creating the soft link, the uImage name may change, and change devel with your username)
mkdir /home/devel/rootfs-target-folder
sudo tar -xvjf core-image-minimal.tar.gz -C /home/devel/rootfs-target-folder
cd /home/devel
ln -s rootfs-target-folder rootfs
Next, create a configuration file:
sudo nano /etc/xinetd.d/tftp
Put the following content into the file (change devel with your username)
and start the TFTP service:
Set up the NFS
Install the following packages:
and edit the file
Write this into the file (change devel with your username)
and execute
Check the bootserver IP address
Start the module
Stop the autoboot
If you want to boot a different rootfs, you can create another folder to uncompress the rootfs there, remove the soft link /home/devel/rootfs and create a new one pointing to the folder you want