Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
software:linux:yocto:start [2023-05-03 14:28] – fabian.ditaranto | software:linux:yocto:start [2023-05-10 15:10] – 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/ | + | ===== meta-ost ===== |
- | Learn about Yocto and bitbake which uses recipes structured in various layers to build custom images, see [[introduction|Introduction to Yocto/ | + | [[.: |
- | Read about [[layer|Layers]] and [[recipes|Recipes]] therein. | ||
- | Use [[devtool]] to add, modify | + | ===== Image Download ===== |
+ | Prebuilt images for our supported platforms together with SDK and extended SDK are available at [[ ..: | ||
+ | |||
+ | |||
+ | ===== Workflow ====== | ||
+ | |||
+ | Learn about how to layers should be structured, about how our CI/CD pipeline works and about how you could commit to the project in [[ .:workflow | Structure / Workflow]]. | ||
===== ROS ===== | ===== ROS ===== | ||
+ | Work is under way to include [[ ros | ROS ]] in our builds. | ||
+ | |||
+ | |||
+ | ---- | ||
- | [[ ros ]] | + | ===== User interface / General settings ===== |
- | ===== SDK's ===== | + | To work with different custom Yocto builds we are providing may need documentation, |
- | There are essentially three ways to build on/for a yocto image: | + | ==== Networking ==== |
- | * include the toolchain in the image and build natively | + | For networking, our Yocto images are currently |
- | * SDK | + | |
- | * extensible SDK | + | |
- | See [[ .:sdks | SDK' | + | === DHCP / Static IP addresses === |
- | ===== User interface ===== | + | In order to enable DHCP or set a static IP address please refer to the // |
- | ==== General settings ==== | + | < |
+ | [DHCP] | ||
+ | ClientIdentifier=mac | ||
+ | </ | ||
- | === Networking | + | === 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. |