'하드웨어'에 해당되는 글 591건

  1. 2015.12.27 synology undelete 시도 T.T
  2. 2015.12.22 synology port
  3. 2015.11.11 PXA255 관련 조사
  4. 2015.11.06 L6470 보드 판매처
  5. 2015.11.04 바이폴라 / 유니폴라 - 전기적 결선 방법
  6. 2015.11.04 스테핑 모터 회로 구성
  7. 2015.10.19 synology DS213j SVN server 설치
  8. 2015.10.14 L6470 SPI daisy chain
  9. 2015.09.10 z-wave
  10. 2015.09.02 DVP / MIPI ...?
하드웨어/Storage2015. 12. 27. 12:58

실수로 delete키를 똭! ㅠㅠ


[링크 : http://extundelete.sourceforge.net/]

[링크 : http://blog.bisect.de/2011/08/how-to-undelete-files-from-ext3ext4.html]

[링크 : http://forum.synology.com/enu/viewtopic.php?f=160&t=53092]

    [링크 : http://www.xen.dds.nl/f/scripts/extundelete]


ARM용으로 컴파일 된 녀석 다운로드

sarang> wget http://www.xen.dds.nl/f/scripts/extundelete

--2015-12-27 12:34:28--  http://www.xen.dds.nl/f/scripts/extundelete

Resolving www.xen.dds.nl... 85.17.251.154

Connecting to www.xen.dds.nl|85.17.251.154|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 633541 (619K) [text/plain]

Saving to: 'extundelete'


100%[======================================>] 633,541      198KB/s   in 3.1s


2015-12-27 12:34:32 (198 KB/s) - 'extundelete' saved [633541/633541]


sarang> ./extundelete

No action specified; implying --superblock.

./extundelete: Missing device name.

Usage: ./extundelete [options] [--] device-file

Options:

  --version, -[vV]       Print version and exit successfully.

  --help,                Print this help and exit successfully.

  --superblock           Print contents of superblock in addition to the rest.

                         If no action is specified then this option is implied.

  --journal              Show content of journal.

  --after dtime          Only process entries deleted on or after 'dtime'.

  --before dtime         Only process entries deleted before 'dtime'.

Actions:

  --inode ino            Show info on inode 'ino'.

  --block blk            Show info on block 'blk'.

  --restore-inode ino[,ino,...]

                         Restore the file(s) with known inode number 'ino'.

                         The restored files are created in ./RECOVERED_FILES

                         with their inode number as extension (ie, file.12345).

  --restore-file 'path'  Will restore file 'path'. 'path' is relative to root

                         of the partition and does not start with a '/'

                         The restored file is created in the current

                         directory as 'RECOVERED_FILES/path'.

  --restore-files 'path' Will restore files which are listed in the file 'path'.

                         Each filename should be in the same format as an option

                         to --restore-file, and there should be one per line.

  --restore-directory 'path'

                         Will restore directory 'path'. 'path' is relative to the

                         root directory of the file system.  The restored

                         directory is created in the output directory as 'path'.

  --restore-all          Attempts to restore everything.

  -j journal             Reads an external journal from the named file.

  -b blocknumber         Uses the backup superblock at blocknumber when opening

                         the file system.

  -B blocksize           Uses blocksize as the block size when opening the file

                         system.  The number should be the number of bytes.

  --log 0                Make the program silent.

  --log filename         Logs all messages to filename.

--log D1=0,D2=filename   Custom control of log messages with comma-separated

   Examples below:       list of options.  Dn must be one of info, warn, or

   --log info,error      error.  Omission of the '=name' results in messages

   --log warn=0          with the specified level to be logged to the console.

   --log error=filename  If the parameter is '=0', logging for the specified

                         level will be turned off.  If the parameter is

                         '=filename', messages with that level will be written

                         to filename.

   -o directory          Save the recovered files to the named directory.

                         The restored files are created in a directory

                         named 'RECOVERED_FILES/' by default.

./extundelete: Error parsing command-line options. 


sarang> mount

/dev/root on / type ext4 (defaults)

/sys on /sys type sysfs (0)

none on /dev/pts type devpts (gid=4,mode=620)

/tmp on /tmp type tmpfs (0)

/run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)

/dev/shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)

/proc/bus/usb on /proc/bus/usb type usbfs (0)

/dev/vg1001/lv on /volume2 type ext4 (usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl)

/dev/vg1000/lv on /volume1 type ext4 (usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl)

securityfs on /sys/kernel/security type securityfs (0)

/dev/sdq1 on /volumeUSB1/usbshare type fuseblk (rw,allow_other,blksize=4096,default_permissions) 


옵션은 많은데 고민하다가 걍.. 과감하게! restore-all로 ㅠㅠ

sarang> ./extundelete /dev/vg1001/lv --restore-all

NOTICE: Extended attributes are not restored.

WARNING: EXT3_FEATURE_INCOMPAT_RECOVER is set.

The partition should be unmounted to undelete any files without further data loss.

If the partition is not currently mounted, this message indicates

it was improperly unmounted, and you should run fsck before continuing.

If you decide to continue, extundelete may overwrite some of the deleted

files and make recovering those files impossible.  You should unmount the

file system and check it with fsck before using extundelete.

Would you like to continue? (y/n)

y

Loading filesystem metadata ... 14868 groups loaded.

Loading journal descriptors ... 30303 descriptors loaded.

Searching for recoverable inodes in directory / ...

1119 recoverable inodes found.

Looking through the directory structure for deleted files ...

Unable to restore inode 30802326 (@tmp/pkglist.tmp/synoserver.krn.W5eobS): Space has been reallocated.

Unable to restore inode 62128599 (delete.zip): Space has been reallocated.

Unable to restore inode 62128600 (lost+found/synoserver.enu): Space has been reallocated.

3 recoverable inodes still lost. 


RECOVERED_FILES 아래에 저장된다.

sarang> ls -al

drwx--x--x    4 admin    users         4096 Dec 27 12:42 .

drwx--x--x    7 root     root          4096 Oct 12 10:20 ..

drwx--x--x    5 root     root          4096 Dec 27 12:50 RECOVERED_FILES

-rwx--x--x    1 admin    users       633541 Mar  3  2015 extundelete 



'하드웨어 > Storage' 카테고리의 다른 글

raid01 raid10  (0) 2016.01.31
synology DS file - file station  (0) 2016.01.05
synology port  (0) 2015.12.22
synology DS213j SVN server 설치  (0) 2015.10.19
microSD 슬롯 락 관련  (2) 2015.08.06
Posted by 구차니
하드웨어/Storage2015. 12. 22. 19:58

시놀로지 서비스 포트들

외부에서 접속하려면.. 거의 DMZ 안하면 은근 신경쓸게 많구만..


[링크 : https://www.synology.com/ko-kr/knowledgebase/faq/299]


'하드웨어 > Storage' 카테고리의 다른 글

synology DS file - file station  (0) 2016.01.05
synology undelete 시도 T.T  (0) 2015.12.27
synology DS213j SVN server 설치  (0) 2015.10.19
microSD 슬롯 락 관련  (2) 2015.08.06
xpenology  (0) 2015.06.30
Posted by 구차니

ARM9 시리즈 이지만.. FP 연산이 불가능한 녀석이 바로 Xscale

그래서 꽤나 더 느리게 느껴진거였나..


아무튼 XScale에서는 eCos에서 사용하는 부트로더인 redboot를 기본으로 채택하고 있어서

redboot + linux 조합이었던 것.


eCos는 RTOS

PXA255에는 CF와 USB Client가 내장



The XScale architecture is based on the ARMv5TE ISA without the floating point instructions.

RedBoot — open-source bootloader, the standard boot firmware shipped with XScale boards

[링크 : https://en.wikipedia.org/wiki/XScale]


RedBoot (an acronym for Red Hat Embedded Debug and Bootstrap firmware) is an open source application that uses the eCos real-time operating system Hardware Abstraction Layer to provide bootstrap firmware for embedded systems. 

[링크 : https://en.wikipedia.org/wiki/RedBoot]


The Embedded Configurable Operating System (eCos) is a free and open source real-time operating system intended for embedded systems and applications which need only one process with multiple threads.

[링크 : https://en.wikipedia.org/wiki/ECos]

Posted by 구차니
하드웨어/모터(motor)2015. 11. 6. 10:36

그나마 단품은 싼데..

5만원 이하는 취급비 만원(VAT 별도)라.. -_-

3개 이상 사야지 조금 이득이려나?


[링크 : http://gemart.co.kr/ge_detail.php?gcode=I-1002&seldp=2&selno=1&PHPSESSID=49c1f1571192b22bafcf4c5b0b6b7d18]

Posted by 구차니
하드웨어/모터(motor)2015. 11. 4. 11:38

바이폴라

전류의 방향이 바뀌어야 해서 H 브릿지 필요

모터에 인가되는 전류의 방향이 2방향

코일을 100% 사용



유니폴라

전류의 방향이 바뀌지 않아도 됨

모터에 인가되는 전류의 방향이 항상 일정

코일을 50% 사용

결선에 따라 바이폴라로 사용이 가능


[링크 : http://www.ntrexgo.com/archives/21591]

'하드웨어 > 모터(motor)' 카테고리의 다른 글

디지털 서보 / 아날로그(표준) 서보?  (0) 2016.03.28
L6470 보드 판매처  (0) 2015.11.06
스테핑 모터 회로 구성  (0) 2015.11.04
L6470 SPI daisy chain  (0) 2015.10.14
HS-311 원래 느린거였나..  (0) 2015.07.01
Posted by 구차니
하드웨어/모터(motor)2015. 11. 4. 11:28

예전에 정리한게 다 어디갔지..


파형 생성

L297 - STEPPER MOTOR CONTROLLER


전류 드라이브

L298 - DUAL FULL-BRIDGE DRIVER

SLA7033 - 2-Phase Stepper Motor Unipolar Driver ICs

ULN2803APG - 8ch Darlington Sink Driver


스테핑 모터

FL42STH33-0956A

42각 2상 하이브리드 스테핑모터.

전압: 4V, 전류: 0.95A, 토크: 1.6Kg.cm, Step Angle: 1.8도, 사이즈: 42mm



[링크 : http://forum.falinux.com/zbxe/index.php?document_srl=570184]

'하드웨어 > 모터(motor)' 카테고리의 다른 글

L6470 보드 판매처  (0) 2015.11.06
바이폴라 / 유니폴라 - 전기적 결선 방법  (0) 2015.11.04
L6470 SPI daisy chain  (0) 2015.10.14
HS-311 원래 느린거였나..  (0) 2015.07.01
보유중인 스테퍼 모터 칩들  (0) 2015.06.22
Posted by 구차니
하드웨어/Storage2015. 10. 19. 09:50

svn://으로 접속하게 하네...

일단 집에가서 3690번 포트 열어줘야 할 듯..









'하드웨어 > Storage' 카테고리의 다른 글

synology undelete 시도 T.T  (0) 2015.12.27
synology port  (0) 2015.12.22
microSD 슬롯 락 관련  (2) 2015.08.06
xpenology  (0) 2015.06.30
DS213j 하이버네이트 정상작동중!  (0) 2015.06.25
Posted by 구차니
하드웨어/모터(motor)2015. 10. 14. 16:01

[링크 : http://www-stud.uni-due.de/~sbadpras/...-in-daisy-chain-mode/소스코드

[링크 : https://learn.sparkfun.com/tutorials/serial-peripheral-interface-spi/slave-select-ss] SPI daisy chain

[링크 : http://www.st.com/.../application_note/DM00039787.pdf]


하나랑 통신할때는 비트 단위로 보낸다면...

Daisy chain 시에는 바이트 단위로 묶인 순서의 반대대로(먼 순서 부터) 보낸다.

[링크 : http://www.st.com/.../datasheet/CD00255075.pdf]


ti stellarisware에서 32bit 단위로 하면 최대 4대 까지 가능하려나?

어떻게 될지 모르겠네...


---

비교는 해봐야겠다.. 데이지 체인용으로 수정한 코드라는데..

[링크 : http://www.deathbylogic.com/2015/01/daisy-chaining-multiple-autodrivers/]

[링크 : https://github.com/DeathByLogic/L6470-AutoDriver/tree/daisy_chain]

Posted by 구차니
하드웨어/Network 장비2015. 9. 10. 17:11

U+ 에서 IoT로 광고하길래 스펙을 찾아 봤더니

zigbee나 RF가 아닌 z-wave 방식?

zigbee나 bluetooth를 대체할 IoT용 통신 노드들의 통신프로토콜이라고 해야 하려나?




[링크 : http://www.uplus.co.kr/ent/iot/IotswiSpec.hpi]


Radio specifications

Bandwidth: 9600 bit/s, 40 kbit/s or 100 kbit/s, speeds are fully interoperable

Modulation: GFSK Manchester channel encoding

Range: Approximately 100m, assuming "open air" conditions, with reduced range indoors depending on building materials

Frequency band: The Z-Wave Radio uses the 868.42 MHz SRD Band (Europe); the 900 MHz ISM band: 908.42 MHz (United States); 916 MHz (Israel); 919.82 MHz (Hong Kong); 921.42 MHz (Australian/New Zealand),India 865.2 MHz 

[링크 : https://ko.wikipedia.org/wiki/Z-Wave]



솔찍히.. zigbee 단품으로 개당 2~3만원하는건 부담 스럽긴 하니...


+

2015.09.16

[링크 : http://wiki.ase.tut.fi/courseWiki/images/9/94/SDS10243_2_Z_Wave_Protocol_Overview.pdf]

[링크 : http://www.z-wavealliance.org/]

'하드웨어 > Network 장비' 카테고리의 다른 글

iptime 전원 어댑터관련...  (0) 2016.11.04
망할 iptime 외부접속 보안 설정  (0) 2016.11.03
직비(zig-bee) / 블루투스 SPP(Serial Port Profile)  (0) 2015.07.02
intelligent hub?  (0) 2014.11.27
DM9161 phy address  (0) 2013.06.19
Posted by 구차니

MIPI(Mobile Industry Processor Interface) 나 

DVP(Digital Video Port)나 둘다

I2C를 통해서 레지스터를 조작해 장치를 제어하는 건 동일하나

데이터가 시리얼이냐 패러럴이냐의 차이인듯?




[링크 : http://mipi.org/specifications/camera-interface]


For a standard DVP image sensor you will find the following signals:


SCL: I2C compatible clock signal for sensor registers configuration

SDA: I2C compatible data signal for sensor registers configuration

XCLK: clock input to the sensor

PCLK: clock output from the sensor,

HREF: Line valid signal

VSYNC: Frame valid signal

Data[N-1..0]: Data output from the sensor, N is the internal ADC bit width.

[링크 : http://www.arducam.com/hardware/]


[링크 : http://www.seeedstudio.com/wiki/images/3/3c/Ov5647_full.pdf]

[링크 : http://www.voti.nl/docs/OV7670.pdf]

'하드웨어 > 캡쳐보드 카메라' 카테고리의 다른 글

AEL? - AE Lock?  (0) 2016.05.12
eos m - 22mm / 18-55mm 렌즈 화각비교  (2) 2016.05.11
글로벌 셔터/ 롤링셔터  (0) 2015.07.27
열영상 센서 - 렙톤(FLIR Lepton)  (0) 2015.07.24
nikon f-801s 릴리즈 관련  (0) 2012.12.15
Posted by 구차니