Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

05/05/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: mutex for gpio_10389_control

Elphel GIT logs - Thu, 05/05/2016 - 19:22
Oleg Dzhimiev committed changes to the Elphel git project :
mutex for gpio_10389_control

05/05/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: comments

Elphel GIT logs - Thu, 05/05/2016 - 18:03
Oleg Dzhimiev committed changes to the Elphel git project :
comments

05/05/16 [linux-elphel][master-next] by Oleg Dzhimiev: gpio_control exported

Elphel GIT logs - Thu, 05/05/2016 - 17:05
Oleg Dzhimiev committed changes to the Elphel git project :
gpio_control exported

05/05/16 [x393][framepars] by Oleg Dzhimiev: daemon mode - -P XXXX -i

Elphel GIT logs - Thu, 05/05/2016 - 16:09
Oleg Dzhimiev committed changes to the Elphel git project :
daemon mode - -P XXXX -i

05/05/16 [x393][framepars] by Oleg Dzhimiev: stop compressor before changes then restart

Elphel GIT logs - Thu, 05/05/2016 - 16:07
Oleg Dzhimiev committed changes to the Elphel git project :
stop compressor before changes then restart

05/05/16 [mechanical-parts][master] by Andrey Filippov: MODIFYING SUPPORTS

Elphel GIT logs - Thu, 05/05/2016 - 15:57
Andrey Filippov committed changes to the Elphel git project :
MODIFYING SUPPORTS

05/05/16 [mechanical-parts][master] by Andrey Filippov: extra support for the overhanging corners

Elphel GIT logs - Thu, 05/05/2016 - 14:24
Andrey Filippov committed changes to the Elphel git project :
extra support for the overhanging corners

Tmp manual

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

New page

==Defaults==
IP addr: 192.168.0.8
user / pwd: root / <empty>

* The address is set by the ''init_elphel393.sh'' script on the card's FAT32 partition.

==Boot==
* on power-on boots from NAND flash: u-boot, device tree and kernel.
devicetree has "chosen = ...root=/dev/mmcblk0p2..." - rootfs is on the micro SD card second partition.

==Command line access==
ssh root@192.168.0.8

==Serial console access==
* Use microUSB-USB cable to connect to PC - the cable's end should be thin enough otherwise interferes with the micro SD card.

* Terminal: '''minicom -c on'''
(setup the device and speed - default settings might just work)

==Get images==
channel 1: http://192.168.0.8:2323/noexif/img

channel 2: http://192.168.0.8:2324/noexif/img

channel 3: http://192.168.0.8:2325/noexif/img

channel 4: http://192.168.0.8:2326/noexif/img

==Change parameters==
* http://192.168.0.8/controls.html - previews and basic parameters:
** Exposure - the values are in the sensor lines.
** WB - r,g,b gains
** Quality - compression quality - individual for compressor but common for the buffer driver - it's better to have the same value for all channels.

* The defaults settings are define on the micro SD card, FAT32 partition - ''local/verilog/startup'':
...
-c write_sensor_i2c all 1 0 0x9009001e (exposure)
-c write_sensor_i2c all 1 0 0x9035000a (set all gains to 0xa)
-c write_sensor_i2c all 1 0 0x902c000e (blue gain to 0xe)
-c write_sensor_i2c all 1 0 0x9009001d (red gain to 0xd)
...


==Known problems==
* Vertical artifacts in jpegs. Images are ok at 100% quality. Fixed, testing.
* http://192.168.0.8:232x/noexif/mimg - multipart jpeg displays corrupted frames from time to time. Network bandwidth.
* Sometimes on power-on (NAND flash boot) cannot mount the card's rootfs partition. Kernel Panics. Power off/on. Soft "reboot -f" works ok.
* Changing exposure/quality/gains - can corrupt images - needs testing. Oleg

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

Pages

Subscribe to www3.elphel.com aggregator