65 lines
1.9 KiB
ReStructuredText
65 lines
1.9 KiB
ReStructuredText
**********************
|
|
Starting the installer
|
|
**********************
|
|
|
|
Choose one of these methods to start the bootloader:
|
|
|
|
Starting the installer over the network with TFTP
|
|
=================================================
|
|
|
|
Put the coreos-installer EFI bundle (coreos-installer-<MACHINE>.efi) into an
|
|
accessible TFTP server, then enter the following command into u-boot:
|
|
|
|
.. code-block::
|
|
|
|
setenv ipaddr <TARGET_IP>; setenv serverip <SERVER_IP>;
|
|
tftp $loadaddr coreos-installer-<MACHINE>.efi
|
|
bootefi $loadaddr
|
|
|
|
.. hint::
|
|
|
|
Replace <TARGET_IP> by a valid IP adress for the target, eg: 192.168.1.1
|
|
Replace <SERVER_IP> by the IP adress of the server, eg: 192.168.1.254
|
|
Replace <MACHINE> by the name of the machine set in bitbake
|
|
|
|
Starting the installer over the network with DHCP/BOOTP/TFTP
|
|
============================================================
|
|
|
|
Use a DHCP/BOOTP/TFTP server to configure automatically the device. You can
|
|
use dnsmasq for this task.
|
|
|
|
|
|
.. code-block: ini
|
|
|
|
interface=<INTERFACE>
|
|
|
|
dhcp-range=<INTERFACE>,10.237.30.2,10.237.30.100,4h
|
|
dhcp-range=<INTERFACE>,10.237.40.2,10.237.40.100,4h
|
|
|
|
enable-tftp
|
|
dhcp-boot=tag:<INTERFACE>,coreos-installer-<MACHINE>.efi
|
|
tftp-root=/var/lib/tftpboot
|
|
|
|
.. hint::
|
|
|
|
Replace <INTERFACE> by the name of the network interface that is connected
|
|
to the target. Eg: enp3s0
|
|
Replace <MACHINE> by the name of the machine set in bitbake
|
|
|
|
Put the coreos-installer EFI bundle (coreos-installer-<MACHINE>.efi) into the
|
|
/var/lib/tftpboot folder then enter the following command into u-boot:
|
|
|
|
.. code-block::
|
|
|
|
setenv autoload yes
|
|
setenv autostart no
|
|
dhcp
|
|
bootefi $loadaddr
|
|
|
|
Starting the installer using an SD Card
|
|
=======================================
|
|
|
|
Flash the coreos-image-installer.wic.xz into an SDCard and put the board
|
|
in SDCard boot mode. Insert the SDCard and power up the board. The CoreOS
|
|
installer should start automatically.
|