Changes

Jump to: navigation, search

Building the Yocto BSP (XUELK)

518 bytes removed, 09:28, 17 November 2017
update stable tag to xuelk-2.0.2
|
|-
|{{oldid|7093|1.2.0}}
|May 2017
|[[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)#XUELK_1.2.0|XUELK 1.2.0]]
|-
! Repository
| BSP Manifest
| Yocto BSP Layer
| BSP Manifest
| Yocto BSP Layer
|-
! URL
| git@git.dave.eu:lynx/lynx-bsp.git
| git@git.dave.eu:lynx/meta-lynx.git
| git@git.dave.eu:lynx/lynx-bsp.git
| git@git.dave.eu:lynx/meta-lynx.git
|-
! stable branch
| lynx-fido
| lynx-fido
| lynx-krogoth
| lynx-krogoth
|-
! stable tag
| xuelk-1.2.0| xuelk-1.2.0| xuelk-2.0.0| xuelk-2.0.0
|-
|}
dvdk@dvdk-vm:~/lynx$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > repo
dvdk@dvdk-vm:~/lynx$ chmod a+x repo
dvdk@dvdk-vm:~/lynx$ ./repo init -u git@git.dave.eu:lynx/lynx-bsp.git -b lynx-fidokrogoth
dvdk@dvdk-vm:~/lynx$ ./repo sync
</pre>
<pre class="workstation-terminal">
dvdk@dvdk-vm:~/lynx$ DISTRO=fsl-imx-fb MACHINE=sbc-lynx source lynx-setup-release.sh -b build-fb -e fb
dvdk@dvdk-vm:~/lynx/build$ bitbake lynx-image-networking
</pre>
The resulting files (kernel, devicetree and u-boot binaries, plus .tar.gz root file system) will then be available inside ''build/tmp/deploy/images/sbc-lynx''.
In addition to ===Generating the typical images, the XUELK provides the following too:*<code>lynx-image-networking-sbc-lynx-xeno</code>**With respect to the <code>lynx-image-networking</code> image, this includes additional libraries required to run the Linux kernel featuring the Xenomai real-time extension. For more details about it, please refer to https://xenomai.org/.SDKs===
===Generating the SDKs===
After creating an image as described above, the corresponding SDK can be generated by issuing the following command:
<pre class="workstation-terminal">
bitbake <target-image-name> -c populate-sdk
</pre>
Again, replace <code><target-image-name></code> with one of the images listed in [[#Quick sreferencereference|here]].
=== Build additional packages ===
<pre class="workstation-terminal">
dvdk@dvdk-vm:~/lynx$ DISTRO=fsl-imx-fb MACHINE=sbc-lynx source lynx-setup-release.sh -b build-fb -e fb
dvdk@dvdk-vm:~/lynx/build$
</pre>
And then he can run any of the [http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#usingpoky-components-bitbake bitbake] commandcommands.
<pre class="workstation-terminal">
743
edits

Navigation menu