Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:linux:yocto:start [2023-05-10 11:17] – Urs Graf | software:linux:yocto:start [2023-06-15 11:08] (aktuell) – Urs Graf | ||
|---|---|---|---|
| Zeile 17: | Zeile 17: | ||
| For setting up the build environment, | For setting up the build environment, | ||
| - | Check out [[ .: | + | [[ .: |
| + | There are essentially four ways to build on/for a yocto image: | ||
| - | ===== meta-ost ===== | + | * Creating a recipe for the application and adding it to the image, see [[ .: |
| + | * Crosscompile with a cross development SDK, see [[ .:sdk | SDK]]. | ||
| + | * Use the extensible SDK. With this, you use the regular yocto workflow without the need of building a complete image first, see [[ .:sdks | SDK' | ||
| + | * Include the toolchain in the image and build natively (not recommended), | ||
| - | [[.: | + | |
| + | ===== Our Layers ===== | ||
| + | |||
| + | * [[.: | ||
| + | * [[.: | ||
| ===== Image Download ===== | ===== Image Download ===== | ||
| - | + | Prebuilt images for our supported platforms together with SDK and extended SDK are available at [[ ..: | |
| - | [[ ..: | + | |
| ===== Workflow ====== | ===== Workflow ====== | ||
| - | Learn about how to layers | + | Learn about how our layers |
| ===== ROS ===== | ===== ROS ===== | ||
| + | Work is under way to include [[ ros | ROS ]] in our builds. | ||
| - | [[ ros ]] | ||
| - | |||
| - | ===== SDK's ===== | ||
| - | |||
| - | There are essentially three ways to build on/for a yocto image: | ||
| - | |||
| - | * include the toolchain in the image and build natively (not recommended) | ||
| - | * SDK | ||
| - | * extensible SDK | ||
| - | |||
| - | See [[ .:sdks | SDK' | ||
| - | |||
| - | ===== User interface / General settings ===== | ||
| - | |||
| - | To work with different custom Yocto builds we are providing may need documentation, | ||
| - | |||
| - | ==== Networking ==== | ||
| - | |||
| - | For networking, our Yocto images are currently (status: March 2023) using [[https:// | ||
| - | |||
| - | === DHCP / Static IP addresses === | ||
| - | |||
| - | In order to enable DHCP or set a static IP address please refer to the // | ||
| - | < | ||
| - | [DHCP] | ||
| - | ClientIdentifier=mac | ||
| - | </ | ||
| - | === WiFi === | ||
| - | Setting up a WiFi connection on a specific WiFi network interface ('' | ||
| - | \\ \\ | ||
| - | Edit the following file: | ||
| - | < | ||
| - | Outcomment the existing and paste the following new content as follows: | ||
| - | < | ||
| - | # | ||
| - | # | ||
| - | # | ||
| - | # | ||
| - | network={ | ||
| - | key_mgmt=WPA-PSK | ||
| - | ssid="< | ||
| - | psk="< | ||
| - | } | ||
| - | </ | ||
| - | Save the file and exit the editor. | ||
| - | \\ | ||
| - | \\ | ||
| - | Now edit the following file... | ||
| - | < | ||
| - | ...and add the following content: | ||
| - | < | ||
| - | [Unit] | ||
| - | Description=Start udhcpc DHCP client | ||
| - | After=wpa_supplicant.service | ||
| - | Wants=wpa_supplicant.service | ||
| - | |||
| - | [Service] | ||
| - | Type=oneshot | ||
| - | ExecStart=/ | ||
| - | TimeoutSec=30 | ||
| - | Restart=on-failure | ||
| - | |||
| - | [Install] | ||
| - | WantedBy=network.target | ||
| - | </ | ||
| - | Save the file and quit the editor. | ||
| - | \\ | ||
| - | \\ | ||
| - | Now rename the following file so it will not be used by the system anymore: | ||
| - | < | ||
| - | Finally reboot the system: | ||
| - | < | ||
| - | WiFi should work now. | ||