08/10/16 [meta-elphel393][master] by Oleg Dzhimiev: create static udev nodes
Oleg Dzhimiev committed changes to the Elphel git project :
create static udev nodes
create static udev nodes
08/10/16 [elphel-udev-rules][framepars] by Oleg Dzhimiev: path passed as an argument
Oleg Dzhimiev committed changes to the Elphel git project :
path passed as an argument
path passed as an argument
08/10/16 [elphel-udev-rules][master-initial] by Oleg Dzhimiev: path passed as an argument
Oleg Dzhimiev committed changes to the Elphel git project :
path passed as an argument
path passed as an argument
08/10/16 [meta-elphel393][master-initial] by Oleg Dzhimiev: sysroot/elphel393-uapi (not tested)
Oleg Dzhimiev committed changes to the Elphel git project :
sysroot/elphel393-uapi (not tested)
sysroot/elphel393-uapi (not tested)
08/10/16 [meta-elphel393][framepars] by Oleg Dzhimiev: sysroot/elphel393-uapi (not tested)
Oleg Dzhimiev committed changes to the Elphel git project :
sysroot/elphel393-uapi (not tested)
sysroot/elphel393-uapi (not tested)
08/10/16 [elphel-udev-rules][framepars] by Oleg Dzhimiev: executable
Oleg Dzhimiev committed changes to the Elphel git project :
executable
executable
08/10/16 [elphel-udev-rules][master] by Oleg Dzhimiev: executable
Oleg Dzhimiev committed changes to the Elphel git project :
executable
executable
08/10/16 [meta-elphel393][master-initial] by Oleg Dzhimiev: moved sources to /rootfs/elphel-udev-rules
Oleg Dzhimiev committed changes to the Elphel git project :
moved sources to /rootfs/elphel-udev-rules
moved sources to /rootfs/elphel-udev-rules
08/10/16 [meta-elphel393][master] by Oleg Dzhimiev: moved sources to /rootfs/elphel-udev-rules
Oleg Dzhimiev committed changes to the Elphel git project :
moved sources to /rootfs/elphel-udev-rules
moved sources to /rootfs/elphel-udev-rules
08/10/16 [elphel-udev-rules][master] by Oleg Dzhimiev: +
Oleg Dzhimiev committed changes to the Elphel git project :
+
+
08/10/16 [elphel-udev-rules][master] by Oleg Dzhimiev: +
Oleg Dzhimiev committed changes to the Elphel git project :
+
+
08/10/16 [elphel-udev-rules][master-initial] by Oleg Dzhimiev: initial
Oleg Dzhimiev committed changes to the Elphel git project :
initial
initial
08/10/16 [elphel-udev-rules][framepars] by Oleg Dzhimiev: initial
Oleg Dzhimiev committed changes to the Elphel git project :
initial
initial
08/10/16 [elphel-udev-rules][framepars] by Oleg K Dzhimiev: Initial commitYour branch is up-to-date with 'origin/master-initial'.Already up-to-date.commit 3f29764c32c2906bf92cf528cee53f0e26eb14d2Author: Oleg Dzhimiev <oleg@elphel.com>Date: Thu Aug 11...
Oleg K Dzhimiev committed changes to the Elphel git project :
Initial commitYour branch is up-to-date with 'origin/master-initial'.Already up-to-date.commit 3f29764c32c2906bf92cf528cee53f0e26eb14d2Author: Oleg Dzhimiev <oleg@elphel.com>Date: Thu Aug 11 13:18:38 2016 -0600
Initial commitYour branch is up-to-date with 'origin/master-initial'.Already up-to-date.commit 3f29764c32c2906bf92cf528cee53f0e26eb14d2Author: Oleg Dzhimiev <oleg@elphel.com>Date: Thu Aug 11 13:18:38 2016 -0600
08/10/16 [elphel-udev-rules][master-initial] by Oleg K Dzhimiev: Initial commit
Oleg K Dzhimiev committed changes to the Elphel git project :
Initial commit
Initial commit
Sd boot rootfs
Format micro SD card (command line):
← Older revision Revision as of 16:20, 10 August 2016 Line 27: Line 27: ==Format micro SD card (command line)== ==Format micro SD card (command line)== -Example for '''/dev/sda''':+Example for '''/dev/sdX''': -* create partitions with fdisk +* create partitions with fdisk , gparted or any other program: -* mkfs.vfat -F 32 /dev/sda1+** the 1st partition is to be formatted to FAT32 - 1GB is more than enough -* mkfs.ext4 /dev/sda2+** the 2nd partition is to be formatted to EXT4 - 2+GB +formatting with mkfs: +* mkfs.vfat -F 32 /dev/sdX1 +* mkfs.ext4 /dev/sdX2 [[Category:Elphel393]] [[Category:Elphel393]] OlegTmp manual
Boot:
← Older revision Revision as of 16:07, 10 August 2016 (2 intermediate revisions not shown)Line 24: Line 24: ==<font color="blue">Boot</font>== ==<font color="blue">Boot</font>== +Normally camera boots from the internal NAND flash memory, and it is always possible to boot it from the micro SD card, so even corruption of files on the internal flash will not "brick" the system. There are no buttons or switches on the camera and the camera should be instructed to change the boot source. Always booting from micro SD is not practical - in that case it would not be possible to leave a non-bootable card (intended just for image/video storage) in the camera slot. + +There are two ways to switch camera to the micro SD boot mode. One requires camera to be connected to the host computer with the USB cable (micro USB socket under the network jack - marked "console" on the picture). There is an internal USB-to-serial converter in the camera (CP2103) that offers 4 additional GPIO signals in addition to just the serial connection. One of these signals selects the boot source (GPIO0 - 0 - MMC, 1 - NAND), another (GPIO3 - 0 reset, 1 - normal operation). Unfortunately GPIO control of the CP2103 is not in a mainline cp210x Linux driver so this functionality requires a mudified version (see instructions below). + +Another way to "tell" the camera to boot from the μSD card instead of the internal NAND flash is to use a mechanically modified card or card adapter (such cards are provided with the camera). Standard specifies two alternative ways for detection of the card presence - one is a mechanical switch (closed when the card is inserted), another is a pull-up resistor on a data line. Camera uses both signals at boot time to determine the boot source: +* Switch not closed, pull-up resistor not detected -> no card present, boot from the internal NAND flash +* Switch closed -> data (non-bootable) card present, boot from the internal NAND flash +* Switch not closed, pull-up resistor is detected -> bootable card present, boot from the MMC card + * [default behavior] on power-on the camera boots from NAND flash: u-boot, device tree and kernel. * [default behavior] on power-on the camera 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. Thus, the μSD card must be inserted. devicetree has "chosen = ...root=/dev/mmcblk0p2..." - rootfs is on the micro SD card second partition. Thus, the μSD card must be inserted. * boot from μSD card only options: * boot from μSD card only options: -** A modified card that doesn't lock the mechanical CD pin in the slot - it's done by carefully rubbing down the corner (see Fig.2) - most cards have circuitry there and get damaged.+** A modified card that doesn't lock the mechanical CD pin in the slot - it's done by carefully filing off the corner (see Fig.2) - most cards have circuitry there and get damaged. ** μUSB-to-USB cable: in Linux compile [https://sourceforge.net/p/elphel/cp210x_gpio/ci/master/tree/ this driver], connect camera to PC, reload the driver then type: ** μUSB-to-USB cable: in Linux compile [https://sourceforge.net/p/elphel/cp210x_gpio/ci/master/tree/ this driver], connect camera to PC, reload the driver then type: ./cp210x_gpio.py 0x6; ./cp210x_gpio.py 0x6; Andrey.filippovSd boot rootfs
Notes:
← Older revision Revision as of 15:40, 10 August 2016 Line 1: Line 1: ==Notes== ==Notes== -* The micro SD card/adapter must be modified for this boot mode (to keep CD pin high with the card inserted) - only then the camera will boot.+ +* The micro SD card/adapter has to be modified or the USB cable with appropriate host computer driver is needed to boot from the uSD card - see [[Tmp_manual#Boot]] for instructions. * EXT4 partition mounted as /. * EXT4 partition mounted as /. Andrey.filippov08/09/16 [linux-elphel][master] by AndreyFilippov: edits related to moving includes to include/uapi
AndreyFilippov committed changes to the Elphel git project :
edits related to moving includes to include/uapi
edits related to moving includes to include/uapi
08/09/16 [linux-elphel][framepars] by AndreyFilippov: edits related to moving includes to include/uapi
AndreyFilippov committed changes to the Elphel git project :
edits related to moving includes to include/uapi
edits related to moving includes to include/uapi
Pages
