Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Adding systemwide library to BitBake layer

Wiki Recent Changes - Thu, 05/05/2016 - 13:17

Created page with "=== Adding system-wide library to BitBake layer === System-wide library can be added to BitBake layer through several simple steps. ''libogg'' will be used here as an example. T..."

New page

=== Adding system-wide library to BitBake layer ===

System-wide library can be added to BitBake layer through several simple steps. ''libogg'' will be used here as an example. This library will be added to ''meta-elphel393'' layer and we will apply a couple of patches to it.

The recipe for ''libogg'' is already included into ''poky/meta/recipes-multimedia'', but we need to apply some patches. There is no need to copy original recipe for this library as we can add special recipe into custom layer which will append Metadata to original recipe. Such recipes are called append files and they use ''.bbappend'' file type suffix. Append file must have the same name as its corresponding recipe. All we need to do is create ''libogg_1.3.2.bbappend'' file in ''meta/meta-elphel393/recipes-multimedia/libogg'' directory and add the following lines to the file:

<pre>
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI_append += "file://framing.c.patch \
file://ogg.h.patch"
</pre>

This file extends the locations so that BitBake could find patches and adds these patches to original recipe. ''1.3.2'' in the name is the library version and it should match in append file. If corresponding recipe is renamed to update to a newer library version, this ''.bbappend'' must be renamed as well.

Next step is appending ''libogg'' package to the list of packages in ''core-image-elphel393'' recipe which resides in ''meta-elphel393/recipes-core/images'' directory. Append library package to ''IMAGE_INSTALL_append'' variable.

<pre>
IMAGE_INSTALL_append += " python-core \
libogg \
...
</pre>

Now we can compile the library
<pre>
bitabke libogg -c compile
</pre>

and add it to roofs
<pre>
bitbake libogg -c populate_sysroot
</pre>

Or just launch ''bitbake libogg'' and BitBake will compile, package and copy this library to ''sysroots''. The library now can be used in cross-compiled user space application. Mikhail

05/05/16 [x393][framepars] by Andrey Filippov: changed user name to full name

Elphel GIT logs - Thu, 05/05/2016 - 10:38
Andrey Filippov committed changes to the Elphel git project :
changed user name to full name

05/04/16 [x393][framepars] by Andrey Filippov: updated bitfile to 0x03930087

Elphel GIT logs - Wed, 05/04/2016 - 18:17
Andrey Filippov committed changes to the Elphel git project :
updated bitfile to 0x03930087

05/04/16 [x393][framepars] by Andrey Filippov: Merge branch 'master' of github.com:Elphel/x393

Elphel GIT logs - Wed, 05/04/2016 - 18:12
Andrey Filippov committed changes to the Elphel git project :
Merge branch 'master' of github.com:Elphel/x393

05/04/16 [x393][master] by Andrey Filippov: multiple changes, synchronizing simulation with hardware

Elphel GIT logs - Wed, 05/04/2016 - 18:12
Andrey Filippov committed changes to the Elphel git project :
multiple changes, synchronizing simulation with hardware

05/04/16 [linux-elphel][jtag] by Oleg Dzhimiev: init for 10389's PCA9571

Elphel GIT logs - Wed, 05/04/2016 - 16:53
Oleg Dzhimiev committed changes to the Elphel git project :
init for 10389's PCA9571

05/04/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: missed a func declaration in the top - for power off

Elphel GIT logs - Wed, 05/04/2016 - 15:41
Oleg Dzhimiev committed changes to the Elphel git project :
missed a func declaration in the top - for power off

05/04/16 [linux-elphel][framepars] by Oleg Dzhimiev: more comments

Elphel GIT logs - Wed, 05/04/2016 - 15:16
Oleg Dzhimiev committed changes to the Elphel git project :
more comments

05/04/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: PCA9571 controlling

Elphel GIT logs - Wed, 05/04/2016 - 14:42
Oleg Dzhimiev committed changes to the Elphel git project :
PCA9571 controlling

05/04/16 [meta-elphel393][master] by Oleg Dzhimiev: driver for PCA9571 (compatible with PCA8574)

Elphel GIT logs - Wed, 05/04/2016 - 02:04
Oleg Dzhimiev committed changes to the Elphel git project :
driver for PCA9571 (compatible with PCA8574)

05/03/16 [mechanical-parts][master] by Andrey Filippov: Merge branch 'master' of github.com:Elphel/mechanical-parts

Elphel GIT logs - Tue, 05/03/2016 - 15:36
Andrey Filippov committed changes to the Elphel git project :
Merge branch 'master' of github.com:Elphel/mechanical-parts

05/03/16 [mechanical-parts][master] by Andrey Filippov: modified support

Elphel GIT logs - Tue, 05/03/2016 - 13:31
Andrey Filippov committed changes to the Elphel git project :
modified support

05/02/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: Merge branch 'master' of https://github.com/Elphel/linux-elphel

Elphel GIT logs - Mon, 05/02/2016 - 22:53
Oleg Dzhimiev committed changes to the Elphel git project :
Merge branch 'master' of https://github.com/Elphel/linux-elphel

05/02/16 [linux-elphel][framepars] by Oleg Dzhimiev: +'shutdown -hP ...'

Elphel GIT logs - Mon, 05/02/2016 - 22:52
Oleg Dzhimiev committed changes to the Elphel git project :
+'shutdown -hP ...'

05/02/16 [linux-elphel][master-next] by Mikhail Karpenko: Merge branch 'master' of https://github.com/Elphel/linux-elphel

Elphel GIT logs - Mon, 05/02/2016 - 21:01
Mikhail Karpenko committed changes to the Elphel git project :
Merge branch 'master' of https://github.com/Elphel/linux-elphel

05/02/16 [linux-elphel][framepars] by Andrey Filippov: intermediate state, not working

Elphel GIT logs - Mon, 05/02/2016 - 19:28
Andrey Filippov committed changes to the Elphel git project :
intermediate state, not working

05/02/16 [linux-elphel][ahciwrite] by Mikhail Karpenko: Detect and fix erroneous HW pointer in updateIRQJPEG_wp

Elphel GIT logs - Mon, 05/02/2016 - 17:23
Mikhail Karpenko committed changes to the Elphel git project :
Detect and fix erroneous HW pointer in updateIRQJPEG_wp

05/02/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: +power_shutdown

Elphel GIT logs - Mon, 05/02/2016 - 16:30
Oleg Dzhimiev committed changes to the Elphel git project :
+power_shutdown

Elphel camera parts 0393-13

Wiki Recent Changes - Mon, 05/02/2016 - 14:50

0393-13-01 - Back panel for NC393, connector openings for 10393A and 10389B connectors:

← Older revision Revision as of 20:50, 2 May 2016 Line 5: Line 5: {{Cad4a|0393-13-01}} {{Cad4a|0393-13-01}} ---- ----  +==== 0393-13-01A - Back panel for NC393, Rev. "A", connector openings for 10393A and 10389B connectors ====  +{{Cad4a|0393-13-01a}}  +----  + ==== 0393-13-02 - Back panel for NC393, connector openings for 10393 board only ==== ==== 0393-13-02 - Back panel for NC393, connector openings for 10393 board only ==== {{Cad4a|0393-13-02}} {{Cad4a|0393-13-02}} ---- ---- Mikhail

Elphel camera parts 0393-12

Wiki Recent Changes - Mon, 05/02/2016 - 14:45

0393-12-30A - Sensor adjustment plate, Rev. A:

← Older revision Revision as of 20:45, 2 May 2016 (3 intermediate revisions not shown)Line 11: Line 11: === 0393-12-30 - Sensor adjustment plate === === 0393-12-30 - Sensor adjustment plate === {{Cad4a|0393-12-30}} {{Cad4a|0393-12-30}}  +----  +=== 0393-12-30A - Sensor adjustment plate, Rev. "A" ===  +Note: X3D model will be updated later  +{{Cad4a|0393-12-30A}} ---- ---- Line 16: Line 20: Made of stainless steel 316 hypodermic round tubing Made of stainless steel 316 hypodermic round tubing {{Cad4a|0393-12-31}} {{Cad4a|0393-12-31}}  +----  +=== 0393-12-31A - Disk springs support pin, Rev. "A" ===  +Made of stainless steel 316 hypodermic round tubing  +  +Note: X3D model will be updated later  +{{Cad4a|0393-12-31A}} ---- ---- Mikhail

Pages

Subscribe to www3.elphel.com aggregator