Intel Core i7 CPU (and later): Installing to Internal Flash
To install the system image onto an internal flash drive, enable the WIC Image Installer. Next, follow these instructions to flash the installer onto a USB stick/SD Card.
Preparation
Important
Ensure you replace <factory>
with the name of your Factory.
Download the necessary files from
https://app.foundries.io/factories/<factory>/targets
:- Click the latest Target with the platform trigger.
- Expand the run in the Runs section which corresponds with the name of the board.
Download the Factory image for that machine, e.g.,
lmp-factory-image-<machine-name>.wic.gz
orlmp-base-console-image-<machine-name>.wic.gz
.
Flashing
Flash lmp-factory-image-intel-corei7-64.wic.gz
onto a USB Stick/SD Card.
This contains the system image installer.
Determine which disk to flash by finding the device with the
SIZE
that matches that of your flash drive. Ignore partitions (indicated bypart
underTYPE
). Note theNAME
of the flash drive (e.g.,/dev/mmcblk0
,/dev/sdb
), as it will be used for the disk path:lsblk -po +MODEL
$ lsblk -po +MODEL NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT MODEL /dev/mmcblk0 179:0 0 29.8G 0 disk ├─/dev/mmcblk0p1 179:1 0 41.6M 0 part /mnt/boot └─/dev/mmcblk0p2 179:2 0 29.8G 0 part /mnt/otaroot /dev/zram0 254:0 0 26G 0 disk /out /dev/nvme0n1 259:0 0 953.9G 0 disk SSDPEKKF010T8 NVMe INTEL 1024GB
Flash the disk.
Replace<system-image>
with the path to your system image.Replace/dev/mmcblk<X>
with your chosen disk path.
gunzip -c <system-image> | sudo dd of=/dev/mmcblk<X> bs=4M iflag=fullblock oflag=direct status=progress
Determine which disk you want to flash by finding the device with the
SIZE
that matches that of your flash drive. Ignore partitions (lines without*
in theSIZE
). Note theIDENTIFIER
of the flash drive, (e.g.,/dev/disk3
) as it will be used for the disk path:``diskutil list``:
$ diskutil list /dev/disk3 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *15.5 GB disk3 1: Windows_FAT_32 boot 45.7 MB disk3s1 2: Linux 15.5 GB disk3s2
Flash the disk.
Replace<system-image>
with the path to your system image.Replace/dev/disk<X>
with your chosen disk path.
gunzip -c <system-image> | sudo dd of=/dev/disk<X> bs=4M
Windows has no built in tools for flashing the image to disk. We recommend you download and use either Win32 Disk Imager or Rufus.
Note
Your system image is in a compressed wic.gz
format.
To follow these next steps, you must extract it using a tool like 7zip which will leave you with a .wic
image file.
Using Rufus:
- Download and run Rufus.
- Select your disk.
- SELECT your
<system-image>
. - START the flash procedure.
Using Win32 Disk Imager
- Download and run Win32 Disk Imager as Administrator.
- Click the blue folder icon.
- Select your
<system-image>
- Select your disk via the Device dropdown.
- Click Write
- Wait for the image to finish writing. A Write Successful dialog will appear.
- Remove the flash drive and connect it to the board.
- Power on the board to boot the new image.
Most Intel devices will boot from USB automatically. If the device does not, hold F12 when the device boots. This will allow you to select the USB from a system-specific boot menu.
If F12 does not work for you, check your device’s documentation for how to bring up the boot menu.
Booting the Installer
Warning
The following steps will delete anything already on the selected device.
After boot, wait until the message:
Please select an install target or press n to exit (sda sdc)
sda
Type the name of the device you want to install the system image.
In the example above, the device used was sda
.
After selecting the device, you will be asked if you want to proceed. Type y to continue the installation.
Installation successful. Remove your installation media and press Enter to reboot.
Follow the instructions and reboot the device.