Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:linux:yocto:x86-rt [2023-06-14 14:33] – Urs Graf | software:linux:yocto:x86-rt [2023-09-19 15:10] (aktuell) – Urs Graf | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== x86-rt ====== | ====== x86-rt ====== | ||
| - | |||
| The '' | The '' | ||
| + | |||
| ===== Building Images ===== | ===== Building Images ===== | ||
| + | Follow the [[.: | ||
| - | Follow the [[ .:setup ]] guide to set up the build environment and set '' | ||
| + | ===== Getting Image ===== | ||
| + | Prebuilt images can be obtained from our [[software: | ||
| - | ===== Prebuilt Images ===== | ||
| - | Prebuilt images | + | ===== Booting from the Images ===== |
| + | The USB stick can now be used to boot from USB. | ||
| + | Note that the BIOS/UEFI setting to achieve this are hardware specific. | ||
| - | ===== Installing Images ===== | ||
| - | Currently there are only instructions for booting from a USB stick, however, these instructions should serve as a good point of reference for installing on other media (such as SSD's or hard disks). | + | ===== Developing for the Board ===== |
| - | + | See [[software:linux:yocto:sdks|SDKs]] and specifically [[software:linux:yocto:sdk|SDK]]. | |
| - | Materials needed: | + | |
| - | + | ||
| - | * USB Stick | + | |
| - | * image.wic file (prebuilt or custom) | + | |
| - | * x86 based PC with the ability to boot from USB (any reasonably modern PC should be able to do this) | + | |
| - | + | ||
| - | ==== Identifying | + | |
| - | + | ||
| - | Plug in the USB Stick and identify the corresponding block device (''/ | + | |
| - | + | ||
| - | Example output for '' | + | |
| - | < | + | |
| - | $ lsblk | + | |
| - | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | + | |
| - | sda 8:0 0 | + | |
| - | └─sda1 | + | |
| - | sdb 8:16 | + | |
| - | ├─sdb1 | + | |
| - | └─sdb2 | + | |
| - | sdf | + | |
| - | sdg | + | |
| - | ├─sdg1 | + | |
| - | └─sdg2 | + | |
| - | nvme1n1 | + | |
| - | ├─nvme1n1p1 259:2 0 | + | |
| - | ├─nvme1n1p2 259:3 0 457.3G | + | |
| - | └─nvme1n1p3 259:4 0 | + | |
| - | nvme0n1 | + | |
| - | ├─nvme0n1p1 259:5 0 | + | |
| - | └─nvme0n1p2 259:6 0 931.2G | + | |
| - | </ | + | |
| - | + | ||
| - | A quick guide to reading the output: | + | |
| - | '' | + | |
| - | + | ||
| - | '' | + | |
| - | These names represent the device as found in ''/ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | The easiest way to identify the right block device is usually it's size. | + | |
| - | In the example output above, we are looking for a 4GB USB Stick. | + | |
| - | We can infer that the USB Stick is ''/ | + | |
| - | + | ||
| - | If there are multiple devices of the same size as the USB stick it may be necessary to run '' | + | |
| - | + | ||
| - | ==== Writing the image to the USB stick ==== | + | |
| - | + | ||
| - | **WARNING: Writing the image to the USB Stick will erase all content!** | + | |
| - | + | ||
| - | **WARNING: Make absolutely sure you have identified the correct device! dd will not hesitate to override your OS drive if you tell it to!** | + | |
| - | + | ||
| - | Use the following command to write the image to the USB stick | + | |
| - | modifying ''/ | + | |
| - | < | + | |
| - | sudo dd if=/ | + | |
| - | sudo eject /dev/sdX | + | |
| - | </ | + | |
| - | + | ||
| - | ==== Booting ==== | + | |
| - | + | ||
| - | The USB stick can now be used to boot from USB. | + | |
| - | Note that the BIOS/UEFI setting to achieve this are hardware specific. | + | |