Difference between revisions of "10393 manual"

From ElphelWiki
Jump to: navigation, search
(Created page with "1. Defaults: IP addr: 192.168.0.8 user / pwd: root / <empty> 2. on power-on boots from NAND flash: u-boot, device tree and kernel. devicetree has "chosen = ...root=/dev/mmcblk0p...")
 
Line 1: Line 1:
1. Defaults:
+
==Defaults==
 
IP addr: 192.168.0.8
 
IP addr: 192.168.0.8
 
user / pwd: root / <empty>
 
user / pwd: root / <empty>
  
2. on power-on boots from NAND flash: u-boot, device tree and kernel.
+
* The address is set by the ''init_elphel393.sh'' script on the card's FAT32 partition.
devicetree has "chosen = ...root=/dev/mmcblk0p2..." - looks for rootfs on the micro SD card
+
 
3.
+
==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
 
ssh root@192.168.0.8
  
4.
+
==Serial console access==
Use microUSB-USB cable to connect to PC:
+
* 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  
+
 
 +
* Terminal: '''minicom -c on'''
 
(setup the device and speed - default settings might just work)
 
(setup the device and speed - default settings might just work)
  
5.
+
==Get images==
 
channel 1: http://192.168.0.8:2323/noexif/img
 
channel 1: http://192.168.0.8:2323/noexif/img
 +
 
channel 2: http://192.168.0.8:2324/noexif/img
 
channel 2: http://192.168.0.8:2324/noexif/img
 +
 
channel 3: http://192.168.0.8:2325/noexif/img
 
channel 3: http://192.168.0.8:2325/noexif/img
 +
 
channel 4: http://192.168.0.8:2326/noexif/img
 
channel 4: http://192.168.0.8:2326/noexif/img
  
6. http://192.168.0.8/controls.html - previews and basic parameters:
+
==Change parameters==
Exposure - the values are in the sensor lines.
+
* http://192.168.0.8/controls.html - previews and basic parameters:
WB - r,g,b gains
+
** Exposure - the values are in the sensor lines.
Quality - compression quality - individual for compressor but common for the buffer driver - it's better to have the same value for all channels.
+
** WB - r,g,b gains
7. Known problems:
+
** Quality - compression quality - individual for compressor but common for the buffer driver - it's better to have the same value for all channels.
Vertical artifacts in jpegs. Images are ok at 100% quality.
+
 
http://192.168.0.8:232x/noexif/mimg - multipart jpeg displays corrupted frames from time to time.
+
* The defaults settings are define on the micro SD card, FAT32 partition - ''local/verilog/startup'':
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.
+
-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.

Revision as of 11:58, 5 May 2016

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.