Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:linux:yocto:start [2023-05-03 15:54] – fabian.ditaranto | software:linux:yocto:start [2023-06-15 11:08] (aktuell) – Urs Graf | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| [[https:// | [[https:// | ||
| - | ===== meta-ost ===== | ||
| - | [[.: | + | ===== Introduction to Yocto/ |
| + | Learn about Yocto and bitbake which uses recipes structured in various layers to build custom images, see [[introduction|Introduction to Yocto/ | ||
| - | ===== Image Download ===== | + | Read about [[layer|Layers]] and [[recipes|Recipes]] therein. |
| + | |||
| + | Use [[devtool]] to add, modify and test new recipes. | ||
| - | [[ ..: | ||
| ===== Getting Started ===== | ===== Getting Started ===== | ||
| Zeile 16: | Zeile 17: | ||
| For setting up the build environment, | For setting up the build environment, | ||
| - | Check out [[ .: | + | [[ .: |
| - | ===== Workflow ====== | + | There are essentially four ways to build on/for a yocto image: |
| - | Learn about how to layers should be structured, about how our CI/CD pipeline works and about how you could commit to the project | + | * 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 | ||
| - | ===== Introduction to Yocto/ | + | ===== Our Layers ===== |
| - | Learn about Yocto and bitbake which uses recipes | + | * [[.: |
| + | * [[.: | ||
| - | Read about [[layer|Layers]] and [[recipes|Recipes]] therein. | ||
| - | Use [[devtool]] to add, modify and test new recipes. | + | ===== Image Download ===== |
| + | Prebuilt images for our supported platforms together with SDK and extended SDK are available at [[ ..: | ||
| - | ===== ROS ===== | + | ===== Workflow ====== |
| - | [[ ros ]] | + | Learn about how our layers are structured, about how our CI/CD pipeline works and about how you could commit to the project in [[ .:workflow | Structure / Workflow]]. |
| - | ===== SDK's ===== | ||
| - | There are essentially three ways to build on/for a yocto image: | + | ===== ROS ===== |
| - | + | Work is under way to include | |
| - | * 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. | ||