embeded/raspberry pi2015. 5. 12. 20:44

config.txt

dtoverlay=lirc-rpi,gpio_in_pin=18,debug=on


으로 설정하니 예전 5.0.4랑 차이가 없는 것으로 보인다.

gpio-18은 언제 쯤 나오려나.. ㅠㅠ


OpenELEC:~ # modprobe lirc_rpi debug=1


OpenELEC:~ # cat /sys/kernel/debug/gpio


GPIOs 0-53, platform/3f200000.gpio, pinctrl-bcm2835:

 gpio-35  (led1                ) in  hi

 gpio-47  (led0                ) out lo


OpenELEC:~ # cat /proc/interrupts

            CPU0       CPU1       CPU2       CPU3

 16:          0          0          0          0   ARMCTRL  16  bcm2708_fb dma

 24:         35          0          0          0   ARMCTRL  24  DMA IRQ

 25:       1414          0          0          0   ARMCTRL  25  DMA IRQ

 32:      28402          0          0          0   ARMCTRL  32  dwc_otg, dwc_otg_pcd, dwc_otg_hcd:usb1

 49:          0          0          0          0   ARMCTRL  49  3f200000.gpio:bank0

 50:          0          0          0          0   ARMCTRL  50  3f200000.gpio:bank1

 65:         28          0          0          0   ARMCTRL  65  ARM Mailbox IRQ

 66:      37570          0          0          0   ARMCTRL  66  VCHIQ doorbell

 75:          1          0          0          0   ARMCTRL  75

 84:       5247          0          0          0   ARMCTRL  84  mmc0

 99:       7986       6287       9505       6913   ARMCTRL  99  arch_timer

466:          0          0          0          0  pinctrl-bcm2835  18  lirc_rpi

FIQ:              usb_fiq

IPI0:          0          0          0          0  CPU wakeup interrupts

IPI1:          0          0          0          0  Timer broadcast interrupts

IPI2:       9274      26365      21700      11433  Rescheduling interrupts

IPI3:          1          3          5          5  Function call interrupts

IPI4:          3          1          0          1  Single function call interrupts

IPI5:          0          0          0          0  CPU stop interrupts

IPI6:          1          0          0          0  IRQ work interrupts

IPI7:          0          0          0          0  completion interrupts

Err:          0


OpenELEC:~ # dmesg | grep -i lirc

[    5.758491] lirc_dev: IR Remote Control driver registered, major 248

[    5.784692] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.

[    5.786415] lirc_rpi: to_irq 466

[    6.679084] lirc_rpi: auto-detected active high receiver on GPIO pin 18

[    6.679548] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0

[    6.679576] lirc_rpi: driver registered!

[    6.917559] input: lircd as /devices/virtual/input/input1

[    7.945875] lirc_rpi: Interrupt 466 obtained

[    7.945897] lirc_rpi: in init_timing_params, freq=38000 pulse=13157, space=13158


OpenELEC:~ # lsmod | grep irc

lirc_rpi                5882  3

lirc_dev                7578  1 lirc_rpi

rc_core                14603  1 lirc_dev 



'embeded > raspberry pi' 카테고리의 다른 글

class 6 SDHC 굽는 속도  (0) 2015.05.24
어허허 파워드 허브를 사야하나? -_-  (0) 2015.05.23
openELEC 5.0.8  (0) 2015.05.12
wiring Pi  (0) 2015.05.12
UHS 지원여부?  (0) 2015.05.11
Posted by 구차니
embeded/raspberry pi2015. 5. 12. 20:10

기존에 테스트 하던건 5.0.4 였네

좀 달라졌으려나...



2015년 3월 31일 릴리즈 버전이다.

'embeded > raspberry pi' 카테고리의 다른 글

어허허 파워드 허브를 사야하나? -_-  (0) 2015.05.23
openelec 5.0.8 lirc 활성화 확인  (0) 2015.05.12
wiring Pi  (0) 2015.05.12
UHS 지원여부?  (0) 2015.05.11
cortex-a7 / NEON 그리고.. 멀티프로세서  (0) 2015.05.07
Posted by 구차니
Programming/Java2015. 5. 12. 16:19

문득 수다 떨다가 검색 -_-

야이!!! FXXKIING 오라클!!!


Is Java still free?

The current version of Java - Java SE 8 - is free and available for redistribution for general purpose computing. Java SE continues to be available under the Oracle Binary Code License (BCL) free of charge. JRE use for embedded devices and other computing environments may require a license fee from Oracle. Read more about embedded use of Java SE or contact your local Oracle sales representative to obtain a license.

[링크 : http://www.oracle.com/technetwork/articles/javase/faqs-jsp-136696.html]


So What Does Java SE-Embedded Cost?


The universal answer to such a question is: it depends.  That is to say it depends upon the capability of the embedded processor.  Before we lose you, let's show the list price for Java embedded licensing associated with three platforms and then explain how we arrived at the numbers.  As of the posting of this entry, 06 December, 2013, here they are:


Per-unit cost for a Raspberry Pi: US $0.71

Per-unit cost for system based on Intel Atom Z510P: US $2.68

Per-unit cost for a Compulab Trim-Slice: US $5.36

[링크 : https://blogs.oracle.com/jtc/entry/java_embedded_pricing_publicly_available]

'Programming > Java' 카테고리의 다른 글

Java SE 8 설치해보려고 했더니..  (2) 2019.01.03
자바 유료화?  (10) 2018.11.05
predefined annotation /java  (0) 2014.06.27
JUnit tutorial  (0) 2014.06.27
java unchecked/checked exception  (0) 2014.05.15
Posted by 구차니
Programming/C Win32 MFC2015. 5. 12. 14:44

프로젝트에서 inline 함수를 다른 파일로 뺴서 하니

없는 함수라고 배째는 현상 발생 -_-


일단 __inline 키워드 빼니 해결되긴 한데..

extern __inline 이렇게 안해줘서 그런가?


[링크 : http://stackoverflow.com/questions/5229343/how-to-declare-an-inline-function-in-c99-multi-file-project]


KEIL

[링크 : http://www.keil.com/forum/13177/]

'Programming > C Win32 MFC' 카테고리의 다른 글

gcc 컴파일러 -D 옵션  (0) 2015.05.19
setjmp, longjmp  (0) 2015.05.19
혼돈의 카오스 - 교차참조 헤더  (0) 2015.05.11
#ifdef 와 #ifdef ()의 차이  (0) 2015.04.13
winUSB / win32 physical drive  (0) 2014.12.23
Posted by 구차니
embeded/raspberry pi2015. 5. 12. 13:03


기본 통합된건 없는것 같긴한데..

라즈베리 파이용 GPIO 컨트롤 라이브러리 라고 하면 되려나?

[링크 : http://wiringpi.com/download-and-install/]


pi4j는 wireing PI의 자바버전

[링크 : http://pi4j.com/]



void pinMode (int pin, int mode) ;

void pullUpDnControl (int pin, int pud) ;

void digitalWrite (int pin, int value) ;

void pwmWrite (int pin, int value) ;

int digitalRead (int pin) ;

analogRead (int pin) ;

analogWrite (int pin, int value) ;

[링크 : http://wiringpi.com/reference/core-functions/]

[링크 : http://wiringpi.com/reference/raspberry-pi-specifics/]

'embeded > raspberry pi' 카테고리의 다른 글

openelec 5.0.8 lirc 활성화 확인  (0) 2015.05.12
openELEC 5.0.8  (0) 2015.05.12
UHS 지원여부?  (0) 2015.05.11
cortex-a7 / NEON 그리고.. 멀티프로세서  (0) 2015.05.07
라즈베리 파이 2- 라즈비안 lirc  (0) 2015.05.05
Posted by 구차니
embeded/raspberry pi2015. 5. 11. 14:41


라즈베리에서는 UHS SD 스펙을 지원하지 않는건가?


[링크 : http://www.hardkernel.com/main/products/prdt_info.php]


일단.. SD 위원회 자료로는 UHS SD 카드라고 해도 장비에서 지원하지 않으면

Class 10 으로 하향 접속이 되는 것으로 보인다.

[링크 : https://www.sdcard.org/developers/overview/speed_class/]

'embeded > raspberry pi' 카테고리의 다른 글

openELEC 5.0.8  (0) 2015.05.12
wiring Pi  (0) 2015.05.12
cortex-a7 / NEON 그리고.. 멀티프로세서  (0) 2015.05.07
라즈베리 파이 2- 라즈비안 lirc  (0) 2015.05.05
BCM2708/BCM2835 ???  (0) 2015.04.30
Posted by 구차니
Programming/C Win32 MFC2015. 5. 11. 12:49

이번에 코드 재정비 중인데...

어우.. 정말 교차참조 하지 않도록 짜아야

수많은 ifdef의 향연에 꼬이는 바람에 뇌가 꽈직꽈직



아무튼 헤더도 계층을 만들어서 하던가 해야지

상호 교차참조 하는 상황에서는 예측 불가능한 상황이 발생할 수 있다.


헤더 중복 방지

[링크 : http://chanywa.com/8]


헤더 hierarchy

[링크 : http://ekessy.tistory.com/33]

'Programming > C Win32 MFC' 카테고리의 다른 글

setjmp, longjmp  (0) 2015.05.19
inline 함수..  (0) 2015.05.12
#ifdef 와 #ifdef ()의 차이  (0) 2015.04.13
winUSB / win32 physical drive  (0) 2014.12.23
printf POSIX 확장 %1$d  (0) 2014.12.09
Posted by 구차니
하드웨어/Storage2015. 5. 8. 14:42

기본 설정은 다운로드 완료시 업로드 중지

하드 수명이 딿은 걱정은 안해도 되려나?

역으로. 시드 유지하려면 반드시 이 부분은 설정해서 풀어주어야 할 것으로 보인다.




+

기가비트 버텨줄수 있는 녀석인 만큼

100Mbps 급의 토렌토 다운로드는 보장한다.

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

win7 + synology NAS iSCSI 연동  (0) 2015.05.14
synology DSM 5.2-5565 업데이트  (0) 2015.05.12
synology DS213j 보안 어드바이저  (0) 2015.05.08
ds213j file station 스트리밍  (0) 2015.05.06
synology DS213J가 더 빠른가..?  (0) 2015.05.03
Posted by 구차니
하드웨어/Storage2015. 5. 8. 13:27

오홍 별걸 다 제공하네


일단 기본적인 보안수준을 위해서 돌려보는게 좋긴한데

집에서만 쓰는거라 조금 과도하지 않아 싶을 정도?

계정이야 아내도 써야 하니 편하게 해둔 탓이고..

네트워크는 집에서 혼자 접속하니 22번으로 SSH를 놔둬서 -_-a



아무튼 보안이라는건 신경쓸게 많아서 문제인데

기본적인 가이드 라인을 제시해주는 것 만큼은 칭찬할만한 부분일듯.

Posted by 구차니
embeded/raspberry pi2015. 5. 7. 10:20

그림 상으로는 프로세서 코어 별로 NEON과 VFP가 독립적으로 내장되어 있는데..

4코어니까

openMP로 4 프로세스를 프로세서 별로 돌리면서 각각 NEON을 돌리는게 가능하려나?




[링크 : http://www.arm.com/products/processors/cortex-a/cortex-a7.php]

'embeded > raspberry pi' 카테고리의 다른 글

wiring Pi  (0) 2015.05.12
UHS 지원여부?  (0) 2015.05.11
라즈베리 파이 2- 라즈비안 lirc  (0) 2015.05.05
BCM2708/BCM2835 ???  (0) 2015.04.30
라즈베리 파이 SoC 관련  (0) 2015.04.29
Posted by 구차니