Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

01/25/19 [meta-elphel393][] by Andrey Filippov: testing fixdep fix

Elphel GIT logs - Fri, 01/25/2019 - 09:58
Andrey Filippov committed changes to the Elphel git project :
testing fixdep fix

01/24/19 [elphel-web-393][] by Oleg Dzhimiev: Merge branch 'rocko' of https://git.elphel.com/Elphel/elphel-web-393 into rocko

Elphel GIT logs - Thu, 01/24/2019 - 19:00
Oleg Dzhimiev committed changes to the Elphel git project :
Merge branch 'rocko' of https://git.elphel.com/Elphel/elphel-web-393 into rocko

01/24/19 [elphel-web-393][] by Oleg Dzhimiev: quick fix with revoking objects

Elphel GIT logs - Thu, 01/24/2019 - 18:55
Oleg Dzhimiev committed changes to the Elphel git project :
quick fix with revoking objects

01/24/19 [meta-elphel393][] by Andrey Filippov: reduces probablity of 'fixdep:permission denied'

Elphel GIT logs - Thu, 01/24/2019 - 15:36
Andrey Filippov committed changes to the Elphel git project :
reduces probablity of 'fixdep:permission denied'

01/24/19 [linux-elphel][] by Andrey Filippov: minor

Elphel GIT logs - Thu, 01/24/2019 - 11:48
Andrey Filippov committed changes to the Elphel git project :
minor

01/24/19 [elphel-web-hwmon][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:26
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-web-camvc][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:24
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-web-393][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:24
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-udev-rules][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:22
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-init][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:20
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-apps-php-extension][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:19
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-apps-imgsrv][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:19
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-apps-histograms][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:18
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-apps-editconf][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:16
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-apps-camogm][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:13
Andrey Filippov committed changes to the Elphel git project :
updated deps

01/24/19 [elphel-apps-autoexposure][] by Andrey Filippov: updated deps

Elphel GIT logs - Thu, 01/24/2019 - 11:12
Andrey Filippov committed changes to the Elphel git project :
updated deps

Eclipse CDT projects with bitbake

Wiki Recent Changes - Wed, 01/23/2019 - 10:56

‎Project Files and Directories

← Older revision Revision as of 17:56, 23 January 2019 Line 53: Line 53:  *'''scripts''' - a link to a collection of scripts needed for all projects. It contains the following files: *'''scripts''' - a link to a collection of scripts needed for all projects. It contains the following files:  **'''run_bitbake.sh''' - script to create an environment and execute bitbake recipe. Used every time Eclipse builds the project. **'''run_bitbake.sh''' - script to create an environment and execute bitbake recipe. Used every time Eclipse builds the project. −**'''used_files.py''' - script to create a list of header files/directories used by bitbake to build the project. It is not needed to run to configure existing projects - all of them are provided with preconfigured '''.cproject''' files. ''TODO: add link to description''+**'''used_files.py''' - script to create a list of header files/directories used by bitbake to build the project. It is not needed to run to configure existing projects - all of them are provided with preconfigured '''.cproject''' files. ''TODO: add link to description'' [[Used_files]]  *'''.settings''' - project settings maintained by Eclipse IDE *'''.settings''' - project settings maintained by Eclipse IDE  *'''src''' - a hard-coded (in '''used_files.py''') directory name for C/C++ source files. Source files should not be in the project root directory for convenience of filter generation for additional source (headers) directories *'''src''' - a hard-coded (in '''used_files.py''') directory name for C/C++ source files. Source files should not be in the project root directory for convenience of filter generation for additional source (headers) directories Line 63: Line 63:  *'''.project''' - Eclipse general project configuration. This file is copied from version-controlled '''eclipse_project_setup''' during setup or manually. *'''.project''' - Eclipse general project configuration. This file is copied from version-controlled '''eclipse_project_setup''' during setup or manually.  *'''README.md''' - README file presented by the Git repository web interface *'''README.md''' - README file presented by the Git repository web interface −*'''VERSION''' - project version, used by bitbake build process to determine which dependent recipes have to be re-ran.  +*'''VERSION''' - project version, used by bitbake build process to determine which dependent recipes have to be re-ran.  +   ==Initializing Eclipse Workspace for Existing (Cloned) Projects== ==Initializing Eclipse Workspace for Existing (Cloned) Projects==  After running '''setup.py''' for the first time you may create the brand new workspace for Eclipse, that should have all necessary plugins (such as CDT and EGit at least) already installed. Workspace is created with '''setup_eclipse.py''' script, list of projects that it sets up is saved in '''setup_eclipse_paths.xml''' file. '''setup_eclipse.py''' provides usage information when launched without parameters, for normal run it requires full path to Eclipse installation - directory that contains '''eclipse''' executable and '''eclipse.ini''' configuration. Before running '''setup_eclipse.py''' Eclipse should have all the required plugins installed (at least CDT and EGit) using temporary workspace. After running '''setup.py''' for the first time you may create the brand new workspace for Eclipse, that should have all necessary plugins (such as CDT and EGit at least) already installed. Workspace is created with '''setup_eclipse.py''' script, list of projects that it sets up is saved in '''setup_eclipse_paths.xml''' file. '''setup_eclipse.py''' provides usage information when launched without parameters, for normal run it requires full path to Eclipse installation - directory that contains '''eclipse''' executable and '''eclipse.ini''' configuration. Before running '''setup_eclipse.py''' Eclipse should have all the required plugins installed (at least CDT and EGit) using temporary workspace. Andrey.filippov

Used files

Wiki Recent Changes - Wed, 01/23/2019 - 10:51

Created page with "== Output of used_files.py without arguments == This program creates a list of the source files (such as C headers) used to build the project for Eclipse CDT plugin. It on..."

New page

== Output of used_files.py without arguments ==

This program creates a list of the source files (such as C headers) used to build the project
for Eclipse CDT plugin. It only needs to be run for the new projects, the existing ones already
have .cproject file distributed in each subproject repository (in 'eclipse_project_setup' sub-
directory of the root sub-project directory). This sub-directory content is copyied to the sub-
project root by setup.py when it is first run. You may delete .project file (while Eclipse is closed)
and re-run setup.py (in elphel393 directory) restore default project settings if they get corrupted.

The program does not rely on exact duplicating of the environment used by bitbake, instead it
"spies" on the bitbake by noticing which files it accesses during build (using file modification and
access timestamps) and creates list of exclusions. As the access time is recorded only after the first
access after modification, the program first unpacks/touches the sources.

The extra_source directory is the specified in the command line directory (in addition to hard-coded
'src') with sub-tree of the source files (headers) to be filtered.

Here is the full sequence (target is the project name extracted from .cproject):
1. bitbake target-c cleansstate
2. bitbake target-c unpack -f
3. bitbake target-c configure -f
4. Scan all files under extra_source directory, find last modification stamp
5. bitbake target-c compile -f
6. bitbake target-c install -f # in the case of Linux kernel in triggers compilation of the kernel
modules
7. Scan source files, create list of the used files and then list of excluded files (Eclipse CDT allows
to specify directory and exclusion filter)
8. Add (or replace) the record in .cproject file that specifies source directory and the filter


You need to run indexing (right-click on the project in the Navigator panel -> Index -> rebuild
when the workspace is opened with the modified .cproject file.

Do not run this program when Eclipse IDE is opened that includes the current project!

The program should be launched from the project root directory, e.g. for applications:
./scripts/used_files.py sysroots

Program can either overwrite the current .cproject configuration file or create a new modified version
if specified in teh command line argument. In that case program runs in debug mode and generates lists
of files in the project root directory:== Output of used_files.py withou arguments ==

all_sources.lst - all scanned source file with last access timestamps
including.lst - list of the files (relative to specified extra_source directory) used by bitbake
excluding.lst - list of the unused files (they will appear crossed in the Project Navigator)

USAGE:
./used_files.py extra_source [path-to-modified-cproject]

First (mandatory) argument of this program (extra_source) is the relative path additional source/header
files. For Linux kernel development it is 'linux', for php extension - 'php, for applications - 'sysroots'
(symlink to header files)

Second (optional) argument (path-to-modified-cproject) is the relative to project root file to write
modified .cproject content. If specified it forces program to run in debug mode and generate 3 file lists. Andrey.filippov

01/22/19 [elphel-web-393][] by Oleg Dzhimiev: snapshot button

Elphel GIT logs - Tue, 01/22/2019 - 13:51
Oleg Dzhimiev committed changes to the Elphel git project :
snapshot button

Cross compiling standalone packages for the camera

Wiki Recent Changes - Mon, 01/21/2019 - 21:13

← Older revision Revision as of 04:13, 22 January 2019 (One intermediate revision by the same user not shown)Line 1: Line 1:  +{{Legacy}}  +This page describes software for [[353_legacy]] - legacy Model 353 cameras.  +  This procedure is intended to This procedure is intended to  * test software before including it in the cvs, * test software before including it in the cvs, Andrey.filippov

Pages

Subscribe to www3.elphel.com aggregator