embeded/raspberry pi2016. 9. 26. 20:55

커널 빌드 할 때

arm-linux-gnueabihf-gcc

이런걸 볼 수 있는데

ARM용 리눅스에 있는 gcc 패키지랑은 차이가 있을까?


$ gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper

Target: arm-linux-gnueabihf

Configured with: ../src/configure -v --with-pkgversion='Raspbian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf

Thread model: posix

gcc version 4.9.2 (Raspbian 4.9.2-10) 


~/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin $ arm-linux-gnueabihf-gcc -v

Using built-in specs.

COLLECT_GCC=arm-linux-gnueabihf-gcc

COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper

Target: arm-linux-gnueabihf

Configured with: ../src/configure -v --with-pkgversion='Raspbian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf

Thread model: posix

gcc version 4.9.2 (Raspbian 4.9.2-10)


비교해보니 차이가 없다?!?

즉, 우분투에 들은 gcc는 커널빌드 하는데 써도 문제 없는 동일한 녀석이다 라는거?


[링크 : http://stackoverflow.com/.../arm-gcc-toolchain-as-arm-elf-or-arm-none-eabi-what-is-the-difference]

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=99127]

[링크 : http://elinux.org/Raspberry_Pi_Kernel_Compilation]

[링크 : http://elinux.org/RPi_Linaro_GCC_Compilation]


+

~/tools/arm-bcm2708 $ ll

total 20

drwxr-xr-x 7 pi pi 4096 Sep 26 23:28 arm-bcm2708hardfp-linux-gnueabi

drwxr-xr-x 7 pi pi 4096 Sep 26 23:26 arm-bcm2708-linux-gnueabi

drwxr-xr-x 8 pi pi 4096 Sep 26 23:28 arm-rpi-4.9.3-linux-gnueabihf

drwxr-xr-x 7 pi pi 4096 Sep 26 23:30 gcc-linaro-arm-linux-gnueabihf-raspbian

drwxr-xr-x 7 pi pi 4096 Sep 26 23:29 gcc-linaro-arm-linux-gnueabihf-raspbian-x64 


일단은 다 x86/x86-64용 크로스컴파일러네..

$ file arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-gcc

arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.15, BuildID[sha1]=e2801f48a84144e2b40d6083baac317057662b3c, stripped


$ file arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-gcc

arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.15, BuildID[sha1]=7b34f10a2af2e57b673121196522143f50868487, stripped


$ file arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=e0df943f126fe91df411d950dd26652126a1e06d, stripped

$ file gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc-4.8.3
gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc-4.8.3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.15, stripped

 $ file gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc-4.8.3
gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc-4.8.3: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=04d49c97b46fb3d971e496e6721137f6bab56342, stripped

얘는 라즈베리 gcc 패키지

 $ file /usr/bin/gcc-4.9

/usr/bin/gcc-4.9: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=f711b7c3e25f3a887b6908bb3ef6d1cefba92340, stripped



Posted by 구차니
embeded/raspberry pi2016. 9. 12. 15:36

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

ondemand


cpufrequtils를 삭제후 리부팅 하니 기본적으로 ondemand 인 것 같고


$ ll /etc/init.d/cpufrequtils

-rwxr-xr-x 1 root root 2489 May  6  2012 cpufrequtils

위의 경로에서 내용을 바꾸어 주면 기본 거버너가 변경/설정이 가능 한 듯.


$ cat /etc/init.d/cpufrequtils

#!/bin/sh

### BEGIN INIT INFO

# Provides:       cpufrequtils

# Required-Start: $remote_fs loadcpufreq

# Required-Stop:

# Default-Start:  2 3 4 5

# Default-Stop:

# Short-Description: set CPUFreq kernel parameters

# Description: utilities to deal with CPUFreq Linux

#       kernel support

### END INIT INFO

#


DESC="CPUFreq Utilities"


PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

CPUFREQ_SET=/usr/bin/cpufreq-set

CPUFREQ_INFO=/usr/bin/cpufreq-info

CPUFREQ_OPTIONS=""


# use lsb-base

. /lib/lsb/init-functions


# Which governor to use. Must be one of the governors listed in:

#   cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

#

# and which limits to set. Both MIN_SPEED and MAX_SPEED must be values

# listed in:

#   cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

# a value of 0 for any of the two variables will disabling the use of

# that limit variable.

#

# WARNING: the correct kernel module must already be loaded or compiled in.

#

# Set ENABLE to "true" to let the script run at boot time.

#

# eg:   ENABLE="true"

#       GOVERNOR="ondemand"

#       MAX_SPEED=1000

#       MIN_SPEED=500


ENABLE="true"

GOVERNOR="ondemand"

MAX_SPEED="0"

MIN_SPEED="0"


check_governor_avail() {

        info="/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors"

        if [ -f $info ] && grep -q "\<$GOVERNOR\>" $info ; then

                return 0;

        fi

        return 1;

}


[ -x $CPUFREQ_SET ] || exit 0


if [ -f /etc/default/cpufrequtils ] ; then

        . /etc/default/cpufrequtils

fi


# if not enabled then exit gracefully

[ "$ENABLE" = "true" ] || exit 0


if [ -n "$MAX_SPEED" ] && [ $MAX_SPEED != "0" ] ; then

        CPUFREQ_OPTIONS="$CPUFREQ_OPTIONS --max $MAX_SPEED"

fi


if [ -n "$MIN_SPEED" ] && [ $MIN_SPEED != "0" ] ; then

        CPUFREQ_OPTIONS="$CPUFREQ_OPTIONS --min $MIN_SPEED"

fi


if [ -n "$GOVERNOR" ] ; then

        CPUFREQ_OPTIONS="$CPUFREQ_OPTIONS --governor $GOVERNOR"

fi


CPUS=$(cat /proc/stat|sed -ne 's/^cpu\([[:digit:]]\+\).*/\1/p')

RETVAL=0

case "$1" in

        start|force-reload|restart|reload)

                log_action_begin_msg "$DESC: Setting $GOVERNOR CPUFreq governor"

                if check_governor_avail ; then

                        for cpu in $CPUS ; do

                                log_action_cont_msg "CPU${cpu}"

                                $CPUFREQ_SET --cpu $cpu $CPUFREQ_OPTIONS 2>&1 > /dev/null || \

                                        RETVAL=$?

                        done

                        log_action_end_msg $RETVAL ""

                else

                        log_action_cont_msg "disabled, governor not available"

                        log_action_end_msg $RETVAL

                fi

                ;;

        stop)

                ;;

        *)

                echo "Usage: $0 {start|stop|restart|reload|force-reload}"

                exit 1

esac


exit 0 


Posted by 구차니
embeded/raspberry pi2016. 9. 12. 15:33

머.. 별 차이도 없는 기분? 라즈베리 자체가 600MHz ~ 900Mhz 이긴한데

딱 두단계 뿐이라 클럭 조절에 대한 여유가 없는 걸지도 모르겠다.


$ cpufreq-info

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009

Report errors and bugs to cpufreq@vger.kernel.org, please.

analyzing CPU 0:

  driver: BCM2835 CPUFreq

  CPUs which run at the same hardware frequency: 0 1 2 3

  CPUs which need to have their frequency coordinated by software: 0 1 2 3

  maximum transition latency: 355 us.

  hardware limits: 600 MHz - 900 MHz

  available frequency steps: 600 MHz, 900 MHz

  available cpufreq governors: conservative, ondemand, userspace, powersave, performance

  current policy: frequency should be within 600 MHz and 900 MHz.

                  The governor "ondemand" may decide which speed to use

                  within this range.

  current CPU frequency is 600 MHz.

  cpufreq stats: 600 MHz:52.90%, 900 MHz:47.10%  (9)


$ sudo cpufreq-set -g conservative

$ cpufreq-info

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009

Report errors and bugs to cpufreq@vger.kernel.org, please.

analyzing CPU 0:

  driver: BCM2835 CPUFreq

  CPUs which run at the same hardware frequency: 0 1 2 3

  CPUs which need to have their frequency coordinated by software: 0 1 2 3

  maximum transition latency: 355 us.

  hardware limits: 600 MHz - 900 MHz

  available frequency steps: 600 MHz, 900 MHz

  available cpufreq governors: conservative, ondemand, userspace, powersave, performance

  current policy: frequency should be within 600 MHz and 900 MHz.

                  The governor "conservative" may decide which speed to use

                  within this range.

  current CPU frequency is 600 MHz.

  cpufreq stats: 600 MHz:63.64%, 900 MHz:36.36%  (15) 


$ sudo cpufreq-set -g powersave

$ cpufreq-info

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009

Report errors and bugs to cpufreq@vger.kernel.org, please.

analyzing CPU 0:

  driver: BCM2835 CPUFreq

  CPUs which run at the same hardware frequency: 0 1 2 3

  CPUs which need to have their frequency coordinated by software: 0 1 2 3

  maximum transition latency: 355 us.

  hardware limits: 600 MHz - 900 MHz

  available frequency steps: 600 MHz, 900 MHz

  available cpufreq governors: conservative, ondemand, userspace, powersave, performance

  current policy: frequency should be within 600 MHz and 900 MHz.

                  The governor "powersave" may decide which speed to use

                  within this range.

  current CPU frequency is 600 MHz.

  cpufreq stats: 600 MHz:74.84%, 900 MHz:25.16%  (15)


$ sudo cpufreq-set -g performance

$ cpufreq-info

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009

Report errors and bugs to cpufreq@vger.kernel.org, please.

analyzing CPU 0:

  driver: BCM2835 CPUFreq

  CPUs which run at the same hardware frequency: 0 1 2 3

  CPUs which need to have their frequency coordinated by software: 0 1 2 3

  maximum transition latency: 355 us.

  hardware limits: 600 MHz - 900 MHz

  available frequency steps: 600 MHz, 900 MHz

  available cpufreq governors: conservative, ondemand, userspace, powersave, performance

  current policy: frequency should be within 600 MHz and 900 MHz.

                  The governor "performance" may decide which speed to use

                  within this range.

  current CPU frequency is 900 MHz.

  cpufreq stats: 600 MHz:79.71%, 900 MHz:20.29%  (16)


Posted by 구차니
embeded/raspberry pi2016. 9. 9. 10:58

xming 통해서 끌어 올려니 죽어가는거 빼면 실행은 됨..


아무튼 설치시에도 

Get:13 http://mirrordirector.raspbian.org/raspbian/ jessie/main blender armhf 2.72.b+dfsg0-3 [18.2 MB]

odroid 대비 port쪽이 아닌 mirror라 더 빠른건가 싶기도 하고...


$ which blender

/usr/bin/blender

$ ldd /usr/bin/blender

        linux-vdso.so.1 (0x7eb0d000)

        /usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f04000)

        libGL.so.1 => /usr/lib/arm-linux-gnueabihf/libGL.so.1 (0x76e52000)

        libGLU.so.1 => /usr/lib/arm-linux-gnueabihf/libGLU.so.1 (0x76df4000)

        libpng12.so.0 => /lib/arm-linux-gnueabihf/libpng12.so.0 (0x76dc4000)

        libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x76d9d000)

        libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0x76d05000)

        libpython3.4m.so.1.0 => /usr/lib/arm-linux-gnueabihf/libpython3.4m.so.1.0 (0x76949000)

        libGLEW.so.1.10 => /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10 (0x768b8000)

        libopenal.so.1 => /usr/lib/arm-linux-gnueabihf/libopenal.so.1 (0x76864000)

        libfftw3.so.3 => /usr/lib/arm-linux-gnueabihf/libfftw3.so.3 (0x76765000)

        libjack.so.0 => /usr/lib/arm-linux-gnueabihf/libjack.so.0 (0x7671d000)

        libsndfile.so.1 => /usr/lib/arm-linux-gnueabihf/libsndfile.so.1 (0x766b1000)

        libSDL-1.2.so.0 => /usr/lib/arm-linux-gnueabihf/libSDL-1.2.so.0 (0x76619000)

        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x765f1000)

        libtiff.so.5 => /usr/lib/arm-linux-gnueabihf/libtiff.so.5 (0x76579000)

        libOpenImageIO.so.1.4 => /usr/lib/libOpenImageIO.so.1.4 (0x75ffe000)

        libjpeg.so.62 => /usr/lib/arm-linux-gnueabihf/libjpeg.so.62 (0x75fa8000)

        libboost_filesystem.so.1.55.0 => /usr/lib/arm-linux-gnueabihf/libboost_filesystem.so.1.55.0 (0x75f83000)

        libboost_regex.so.1.55.0 => /usr/lib/arm-linux-gnueabihf/libboost_regex.so.1.55.0 (0x75e90000)

        libboost_system.so.1.55.0 => /usr/lib/arm-linux-gnueabihf/libboost_system.so.1.55.0 (0x75e7d000)

        libboost_thread.so.1.55.0 => /usr/lib/arm-linux-gnueabihf/libboost_thread.so.1.55.0 (0x75e59000)

        libboost_date_time.so.1.55.0 => /usr/lib/arm-linux-gnueabihf/libboost_date_time.so.1.55.0 (0x75e39000)

        libboost_locale.so.1.55.0 => /usr/lib/arm-linux-gnueabihf/libboost_locale.so.1.55.0 (0x75d67000)

        libHalf.so.6 => /usr/lib/arm-linux-gnueabihf/libHalf.so.6 (0x75d14000)

        libIex.so.6 => /usr/lib/arm-linux-gnueabihf/libIex.so.6 (0x75cee000)

        libIlmImf.so.6 => /usr/lib/arm-linux-gnueabihf/libIlmImf.so.6 (0x75c40000)

        libIlmThread.so.6 => /usr/lib/arm-linux-gnueabihf/libIlmThread.so.6 (0x75c2a000)

        libImath.so.6 => /usr/lib/arm-linux-gnueabihf/libImath.so.6 (0x75c15000)

        libOpenColorIO.so.1 => /usr/lib/libOpenColorIO.so.1 (0x75b0b000)

        libopenjpeg.so.5 => /usr/lib/arm-linux-gnueabihf/libopenjpeg.so.5 (0x75adc000)

        libavformat.so.56 => /usr/lib/arm-linux-gnueabihf/neon/vfp/libavformat.so.56 (0x759b9000)

        libavcodec.so.56 => /usr/lib/arm-linux-gnueabihf/neon/vfp/libavcodec.so.56 (0x74d5a000)

        libavutil.so.54 => /usr/lib/arm-linux-gnueabihf/neon/vfp/libavutil.so.54 (0x74d26000)

        libavdevice.so.55 => /usr/lib/arm-linux-gnueabihf/neon/vfp/libavdevice.so.55 (0x74d07000)

        libswscale.so.3 => /usr/lib/arm-linux-gnueabihf/neon/vfp/libswscale.so.3 (0x74ccd000)

        libspnav.so.0 => /usr/lib/libspnav.so.0 (0x74cc2000)

        libutil.so.1 => /lib/arm-linux-gnueabihf/libutil.so.1 (0x74cae000)

        libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0x74b98000)

        libXi.so.6 => /usr/lib/arm-linux-gnueabihf/libXi.so.6 (0x74b83000)

        libXxf86vm.so.1 => /usr/lib/arm-linux-gnueabihf/libXxf86vm.so.1 (0x74b76000)

        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x74b63000)

        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x74a21000)

        /lib/ld-linux-armhf.so.3 (0x54ae5000)

        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x749a6000)

        libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x748ca000)

        libgomp.so.1 => /usr/lib/arm-linux-gnueabihf/libgomp.so.1 (0x748a5000)

        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x74878000)

        libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0x74845000)

        libxcb-dri3.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-dri3.so.0 (0x7483a000)

        libxcb-present.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-present.so.0 (0x7482f000)

        libxcb-sync.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb-sync.so.1 (0x74822000)

        libxshmfence.so.1 => /usr/lib/arm-linux-gnueabihf/libxshmfence.so.1 (0x74810000)

        libglapi.so.0 => /usr/lib/arm-linux-gnueabihf/libglapi.so.0 (0x747c6000)

        libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0x747a7000)

        libXdamage.so.1 => /usr/lib/arm-linux-gnueabihf/libXdamage.so.1 (0x7479c000)

        libXfixes.so.3 => /usr/lib/arm-linux-gnueabihf/libXfixes.so.3 (0x7478f000)

        libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1 (0x74785000)

        libxcb-glx.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-glx.so.0 (0x7476c000)

        libxcb-dri2.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-dri2.so.0 (0x74760000)

        libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0x74741000)

        libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0x74724000)

        librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x7470d000)

        libXmu.so.6 => /usr/lib/arm-linux-gnueabihf/libXmu.so.6 (0x746f0000)

        libopus.so.0 => /usr/lib/arm-linux-gnueabihf/libopus.so.0 (0x746a2000)

        libFLAC.so.8 => /usr/lib/arm-linux-gnueabihf/libFLAC.so.8 (0x74666000)

        libvorbisenc.so.2 => /usr/lib/arm-linux-gnueabihf/libvorbisenc.so.2 (0x745d4000)

        libasound.so.2 => /usr/lib/arm-linux-gnueabihf/libasound.so.2 (0x744fa000)

        libpulse-simple.so.0 => /usr/lib/arm-linux-gnueabihf/libpulse-simple.so.0 (0x744e5000)

        libpulse.so.0 => /usr/lib/arm-linux-gnueabihf/libpulse.so.0 (0x7448f000)

        libbcm_host.so => /opt/vc/lib/libbcm_host.so (0x74469000)

        libvcos.so => /opt/vc/lib/libvcos.so (0x7444f000)

        libvchiq_arm.so => /opt/vc/lib/libvchiq_arm.so (0x74439000)

        libdirectfb-1.2.so.9 => /usr/lib/arm-linux-gnueabihf/libdirectfb-1.2.so.9 (0x743bf000)

        libfusion-1.2.so.9 => /usr/lib/arm-linux-gnueabihf/libfusion-1.2.so.9 (0x743a8000)

        libdirect-1.2.so.9 => /usr/lib/arm-linux-gnueabihf/libdirect-1.2.so.9 (0x74384000)

        libcaca.so.0 => /usr/lib/arm-linux-gnueabihf/libcaca.so.0 (0x742b7000)

        liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0x74290000)

        libjbig.so.0 => /usr/lib/arm-linux-gnueabihf/libjbig.so.0 (0x74272000)

        libatomic.so.1 => /usr/lib/arm-linux-gnueabihf/libatomic.so.1 (0x7425c000)

        libopencv_core.so.2.4 => /usr/lib/arm-linux-gnueabihf/libopencv_core.so.2.4 (0x74043000)

        libopencv_highgui.so.2.4 => /usr/lib/arm-linux-gnueabihf/libopencv_highgui.so.2.4 (0x73ff2000)

        libwebp.so.5 => /usr/lib/arm-linux-gnueabihf/libwebp.so.5 (0x73f9e000)

        libgif.so.4 => /usr/lib/arm-linux-gnueabihf/libgif.so.4 (0x73f85000)

        libraw_r.so.10 => /usr/lib/arm-linux-gnueabihf/libraw_r.so.10 (0x73edb000)

        libicuuc.so.52 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.52 (0x73d93000)

        libicui18n.so.52 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.52 (0x73bd3000)

        libicudata.so.52 => /usr/lib/arm-linux-gnueabihf/libicudata.so.52 (0x72556000)

        libboost_atomic.so.1.55.0 => /usr/lib/arm-linux-gnueabihf/libboost_atomic.so.1.55.0 (0x72543000)

        libboost_chrono.so.1.55.0 => /usr/lib/arm-linux-gnueabihf/libboost_chrono.so.1.55.0 (0x7252c000)

        libtinyxml.so.2.6.2 => /usr/lib/arm-linux-gnueabihf/libtinyxml.so.2.6.2 (0x72512000)

        libyaml-cpp.so.0.3 => /usr/lib/arm-linux-gnueabihf/libyaml-cpp.so.0.3 (0x724a2000)

        librtmp.so.1 => /usr/lib/arm-linux-gnueabihf/librtmp.so.1 (0x72478000)

        libgnutls-deb0.so.28 => /usr/lib/arm-linux-gnueabihf/libgnutls-deb0.so.28 (0x7236b000)

        libbz2.so.1.0 => /lib/arm-linux-gnueabihf/libbz2.so.1.0 (0x72353000)

        libavresample.so.2 => /usr/lib/arm-linux-gnueabihf/neon/vfp/libavresample.so.2 (0x72334000)

        libxvidcore.so.4 => /usr/lib/arm-linux-gnueabihf/libxvidcore.so.4 (0x72235000)

        libx264.so.142 => /usr/lib/arm-linux-gnueabihf/neon/vfp/libx264.so.142 (0x720c8000)

        libvpx.so.1 => /usr/lib/arm-linux-gnueabihf/vfp/neon/libvpx.so.1 (0x71f3f000)

        libvorbis.so.0 => /usr/lib/arm-linux-gnueabihf/libvorbis.so.0 (0x71f07000)

        libtheoraenc.so.1 => /usr/lib/arm-linux-gnueabihf/libtheoraenc.so.1 (0x71ec0000)

        libtheoradec.so.1 => /usr/lib/arm-linux-gnueabihf/libtheoradec.so.1 (0x71e9d000)

        libspeex.so.1 => /usr/lib/arm-linux-gnueabihf/libspeex.so.1 (0x71e76000)

        libschroedinger-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libschroedinger-1.0.so.0 (0x71dca000)

        libmp3lame.so.0 => /usr/lib/arm-linux-gnueabihf/libmp3lame.so.0 (0x71d51000)

        libgsm.so.1 => /usr/lib/arm-linux-gnueabihf/libgsm.so.1 (0x71d3f000)

        libva.so.1 => /usr/lib/arm-linux-gnueabihf/libva.so.1 (0x71d1b000)

        libcdio_paranoia.so.1 => /usr/lib/libcdio_paranoia.so.1 (0x71d04000)

        libcdio_cdda.so.1 => /usr/lib/libcdio_cdda.so.1 (0x71cee000)

        libdc1394.so.22 => /usr/lib/arm-linux-gnueabihf/libdc1394.so.22 (0x71c6c000)

        libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0x71c61000)

        libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0x71c54000)

        libXt.so.6 => /usr/lib/arm-linux-gnueabihf/libXt.so.6 (0x71bfe000)

        libogg.so.0 => /usr/lib/arm-linux-gnueabihf/libogg.so.0 (0x71bf0000)

        libpulsecommon-5.0.so => /usr/lib/arm-linux-gnueabihf/pulseaudio/libpulsecommon-5.0.so (0x71b79000)

        libcap.so.2 => /lib/arm-linux-gnueabihf/libcap.so.2 (0x71b64000)

        libjson-c.so.2 => /lib/arm-linux-gnueabihf/libjson-c.so.2 (0x71b53000)

        libdbus-1.so.3 => /lib/arm-linux-gnueabihf/libdbus-1.so.3 (0x71b07000)

        libslang.so.2 => /lib/arm-linux-gnueabihf/libslang.so.2 (0x719b2000)

        libncursesw.so.5 => /lib/arm-linux-gnueabihf/libncursesw.so.5 (0x71975000)

        libtinfo.so.5 => /lib/arm-linux-gnueabihf/libtinfo.so.5 (0x71947000)

        libSM.so.6 => /usr/lib/arm-linux-gnueabihf/libSM.so.6 (0x71938000)

        libICE.so.6 => /usr/lib/arm-linux-gnueabihf/libICE.so.6 (0x7191a000)

        libopencv_imgproc.so.2.4 => /usr/lib/arm-linux-gnueabihf/libopencv_imgproc.so.2.4 (0x716cc000)

        libjasper.so.1 => /usr/lib/arm-linux-gnueabihf/libjasper.so.1 (0x71670000)

        libgtk-x11-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgtk-x11-2.0.so.0 (0x712ac000)

        libgdk-x11-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk-x11-2.0.so.0 (0x71208000)

        libpangocairo-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangocairo-1.0.so.0 (0x711ee000)

        libatk-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libatk-1.0.so.0 (0x711c1000)

        libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 (0x710d0000)

        libgdk_pixbuf-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so.0 (0x7109f000)

        libgio-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0x70f52000)

        libpangoft2-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangoft2-1.0.so.0 (0x70f31000)

        libpango-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpango-1.0.so.0 (0x70eef000)

        libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0x70e95000)

        libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0x70d91000)

        libfontconfig.so.1 => /usr/lib/arm-linux-gnueabihf/libfontconfig.so.1 (0x70d4f000)

        libgthread-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgthread-2.0.so.0 (0x70d3d000)

        libgtkglext-x11-1.0.so.0 => /usr/lib/libgtkglext-x11-1.0.so.0 (0x70d32000)

        libgdkglext-x11-1.0.so.0 => /usr/lib/libgdkglext-x11-1.0.so.0 (0x70ce6000)

        libpangox-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangox-1.0.so.0 (0x70cb9000)

        libgmodule-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0x70ca5000)

        libv4l1.so.0 => /usr/lib/arm-linux-gnueabihf/libv4l1.so.0 (0x70c8f000)

        liblcms2.so.2 => /usr/lib/arm-linux-gnueabihf/liblcms2.so.2 (0x70c43000)

        libhogweed.so.2 => /usr/lib/arm-linux-gnueabihf/libhogweed.so.2 (0x70c09000)

        libnettle.so.4 => /usr/lib/arm-linux-gnueabihf/libnettle.so.4 (0x70bc9000)

        libgmp.so.10 => /usr/lib/arm-linux-gnueabihf/libgmp.so.10 (0x70b57000)

        libp11-kit.so.0 => /usr/lib/arm-linux-gnueabihf/libp11-kit.so.0 (0x70b16000)

        libtasn1.so.6 => /usr/lib/arm-linux-gnueabihf/libtasn1.so.6 (0x70af6000)

        liborc-0.4.so.0 => /usr/lib/arm-linux-gnueabihf/liborc-0.4.so.0 (0x70a75000)

        libcdio.so.13 => /usr/lib/libcdio.so.13 (0x70a47000)

        libraw1394.so.11 => /usr/lib/arm-linux-gnueabihf/libraw1394.so.11 (0x70a33000)

        libusb-1.0.so.0 => /lib/arm-linux-gnueabihf/libusb-1.0.so.0 (0x70a17000)

        libXtst.so.6 => /usr/lib/arm-linux-gnueabihf/libXtst.so.6 (0x70a09000)

        libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0x709d8000)

        libwrap.so.0 => /lib/arm-linux-gnueabihf/libwrap.so.0 (0x709c9000)

        libasyncns.so.0 => /usr/lib/arm-linux-gnueabihf/libasyncns.so.0 (0x709bc000)

        libattr.so.1 => /lib/arm-linux-gnueabihf/libattr.so.1 (0x709a7000)

        libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0x70993000)

        libXcomposite.so.1 => /usr/lib/arm-linux-gnueabihf/libXcomposite.so.1 (0x70987000)

        libXrender.so.1 => /usr/lib/arm-linux-gnueabihf/libXrender.so.1 (0x70976000)

        libXinerama.so.1 => /usr/lib/arm-linux-gnueabihf/libXinerama.so.1 (0x7096b000)

        libXrandr.so.2 => /usr/lib/arm-linux-gnueabihf/libXrandr.so.2 (0x7095b000)

        libXcursor.so.1 => /usr/lib/arm-linux-gnueabihf/libXcursor.so.1 (0x7094a000)

        libpixman-1.so.0 => /usr/lib/arm-linux-gnueabihf/libpixman-1.so.0 (0x7089c000)

        libxcb-shm.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0x70891000)

        libxcb-render.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render.so.0 (0x70882000)

        libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0x70855000)

        libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0x7082f000)

        libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0x707d3000)

        libthai.so.0 => /usr/lib/arm-linux-gnueabihf/libthai.so.0 (0x707c3000)

        libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0x707b3000)

        libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0x70740000)

        libv4l2.so.0 => /usr/lib/arm-linux-gnueabihf/libv4l2.so.0 (0x70722000)

        libudev.so.1 => /lib/arm-linux-gnueabihf/libudev.so.1 (0x70705000)

        libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0x70662000)

        libnsl.so.1 => /lib/arm-linux-gnueabihf/libnsl.so.1 (0x7063e000)

        libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0x70610000)

        libdatrie.so.1 => /usr/lib/arm-linux-gnueabihf/libdatrie.so.1 (0x70604000)

        libv4lconvert.so.0 => /usr/lib/arm-linux-gnueabihf/libv4lconvert.so.0 (0x7057f000)

        libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0x70561000) 



[링크 : https://www.raspberrypi.org/forums/viewtopic.php?p=719816]

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=102847]


Eric anholt 라는 사람이 opengl이 되도록 라즈베리를 업데이트 ㄷ ㄷ 


Posted by 구차니
embeded/raspberry pi2016. 9. 5. 11:01

odroid u3도 한번 해봐야지..


$ sysbench --help

Usage:

  sysbench [general-options]... --test=<test-name> [test-options]... command


General options:

  --num-threads=N            number of threads to use [1]

  --max-requests=N           limit for total number of requests [10000]

  --max-time=N               limit for total execution time in seconds [0]

  --forced-shutdown=STRING   amount of time to wait after --max-time before forcing shutdown [off]

  --thread-stack-size=SIZE   size of stack per thread [32K]

  --init-rng=[on|off]        initialize random number generator [off]

  --test=STRING              test to run

  --debug=[on|off]           print more debugging info [off]

  --validate=[on|off]        perform validation checks where possible [off]

  --help=[on|off]            print help and exit

  --version=[on|off]         print version and exit


Compiled-in tests:

  fileio - File I/O test

  cpu - CPU performance test

  memory - Memory functions speed test

  threads - Threads subsystem performance test

  mutex - Mutex performance test

  oltp - OLTP test


Commands: prepare run cleanup help version


See 'sysbench --test=<name> help' for a list of options for each test. 


sysbench --test=fileio --file-total-size=1G prepare

sysbench 0.4.12:  multi-threaded system evaluation benchmark


128 files, 8192Kb each, 1024Mb total

Creating files for the test... 


8메가 짜리로 128개 생성하다 보니 시간이 좀 걸린다.

$ ls

Desktop        test_file.105  test_file.121  test_file.23  test_file.4   test_file.56  test_file.72  test_file.89

Documents      test_file.106  test_file.122  test_file.24  test_file.40  test_file.57  test_file.73  test_file.9

Downloads      test_file.107  test_file.123  test_file.25  test_file.41  test_file.58  test_file.74  test_file.90

Music          test_file.108  test_file.124  test_file.26  test_file.42  test_file.59  test_file.75  test_file.91

Pictures       test_file.109  test_file.125  test_file.27  test_file.43  test_file.6   test_file.76  test_file.92

Public         test_file.11   test_file.126  test_file.28  test_file.44  test_file.60  test_file.77  test_file.93

Templates      test_file.110  test_file.127  test_file.29  test_file.45  test_file.61  test_file.78  test_file.94

Videos         test_file.111  test_file.13   test_file.3   test_file.46  test_file.62  test_file.79  test_file.95

python_games   test_file.112  test_file.14   test_file.30  test_file.47  test_file.63  test_file.8   test_file.96

src            test_file.113  test_file.15   test_file.31  test_file.48  test_file.64  test_file.80  test_file.97

test_file.0    test_file.114  test_file.16   test_file.32  test_file.49  test_file.65  test_file.81  test_file.98

test_file.1    test_file.115  test_file.17   test_file.33  test_file.5   test_file.66  test_file.82  test_file.99

test_file.10   test_file.116  test_file.18   test_file.34  test_file.50  test_file.67  test_file.83

test_file.100  test_file.117  test_file.19   test_file.35  test_file.51  test_file.68  test_file.84

test_file.101  test_file.118  test_file.2    test_file.36  test_file.52  test_file.69  test_file.85

test_file.102  test_file.119  test_file.20   test_file.37  test_file.53  test_file.7   test_file.86

test_file.103  test_file.12   test_file.21   test_file.38  test_file.54  test_file.70  test_file.87

test_file.104  test_file.120  test_file.22   test_file.39  test_file.55  test_file.71  test_file.88 


테스트에 5분 제한을 걸고 하는건가...

$ sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run

sysbench 0.4.12:  multi-threaded system evaluation benchmark


Running the test with following options:

Number of threads: 1

Initializing random number generator from timer.



Extra file open flags: 0

128 files, 8Mb each

1Gb total file size

Block size 16Kb

Number of random requests for random IO: 0

Read/Write ratio for combined random IO test: 1.50

Periodic FSYNC enabled, calling fsync() each 100 requests.

Calling fsync() at the end of test, Enabled.

Using synchronous I/O mode

Doing random r/w test

Threads started!

Time limit exceeded, exiting...

Done.


Operations performed:  1320 Read, 880 Write, 2730 Other = 4930 Total

Read 20.625Mb  Written 13.75Mb  Total transferred 34.375Mb  (117.19Kb/sec)

    7.32 Requests/sec executed


Test execution summary:

    total time:                          300.3619s

    total number of events:              2200

    total time taken by event execution: 1.0915

    per-request statistics:

         min:                                  0.04ms

         avg:                                  0.50ms

         max:                                  4.20ms

         approx.  95 percentile:               1.93ms


Threads fairness:

    events (avg/stddev):           2200.0000/0.00

    execution time (avg/stddev):   1.0915/0.00 



Posted by 구차니
embeded/raspberry pi2016. 9. 2. 15:38

fdisk로 파일명을 넣어주고 나서 offset 이용해서 마운트하면 되는구나...


$ fdisk -l whatever.img

Device         Boot     Start       End  Blocks  Id System

whatever.img1            8192    122879   57344   c W95 FAT32 (LBA)

whatever.img2          122880   5785599 2831360  83 Linux


$ mount -v -o offset=4194304 -t vfat whatever.img /mnt/img/one

$ mount -v -o offset=62914560 -t ext4 whatever.img /mnt/img/two


1st partition 512 * 8192 = 4194304

2nd partition 512 * 122880 = 62914560


[링크 : http://raspberrypi.stackexchange.com/.../how-can-i-mount-a-raspberry-pi-linux-distro-image]

Posted by 구차니
embeded/raspberry pi2016. 8. 28. 14:17

fritzing으로 그리니 깔끔하게 잘 나오네

서보 두개 USB 웹 캠은 항목에 없어서 못 넣었고

일단은 1차로 이정도 그려보고 나중에 해볼까?




Posted by 구차니
embeded/raspberry pi2016. 8. 20. 09:47

Fritzing에서는 멀 하던 깨지고


lxterminal은... en_us로 하면 깨지진 않는데 흐음..


locale 을 보면.. 먼가 달라지긴 한데 그래도 전반적으로 안정적으로

잘나오게 되는 방법은 못 찾음...

$ locale -a

C

C.UTF-8

POSIX

es_US.utf8

ko_KR.utf8 


$ locale -a

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_COLLATE to default locale: No such file or directory

C

C.UTF-8

POSIX

es_US

es_US.iso88591 

[링크 : https://wiki.archlinux.org/index.php/Locale]


$ export LANG=en_US

을 하고 나니 일부는 영어로 적용되는데.. 라즈베리의 한글 폰트 누락이 문제일려나? 흐음...

[링크 : http://askubuntu.com/.../gtk-warning-locale-not-supported-by-c-library-when-starting-apps-from-th]

[링크 : http://stackoverflow.com/../gtk-warning-locale-not-supported-by-c-library-using-the-fallback-c-local]

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=64555]


항상 그랬듯.. 귀찮으니 그냥 새로 엎어깔아야지 머 ㅋㅋㅋ


+

은근꼴 없어서 그랬나?

$ sudo apt-get install ttf-unfonts-core

[링크 : http://ict-nroo.tistory.com/15]


/usr/share/fonts/truetype $ ll

합계 24

drwxr-xr-x 2 root root 4096  5월 27 20:26 dejavu

drwxr-xr-x 2 root root 4096  5월 27 20:22 freefont

drwxr-xr-x 2 root root 4096  5월 27 20:26 gentium-basic

drwxr-xr-x 2 root root 4096  5월 27 20:26 openoffice

drwxr-xr-x 2 root root 4096  5월 27 20:30 roboto

drwxr-xr-x 2 root root 4096  8월 20 13:33 unfonts-core

$ ll /usr/share/fonts/truetype/unfonts-core/

합계 33460

-rw-r--r-- 1 root root 6157280  9월 27  2014 UnBatang.ttf

-rw-r--r-- 1 root root 6794692  9월 27  2014 UnBatangBold.ttf

-rw-r--r-- 1 root root 1028216  9월 27  2014 UnDinaru.ttf

-rw-r--r-- 1 root root 1021752  9월 27  2014 UnDinaruBold.ttf

-rw-r--r-- 1 root root 1039436  9월 27  2014 UnDinaruLight.ttf

-rw-r--r-- 1 root root 3656228  9월 27  2014 UnDotum.ttf

-rw-r--r-- 1 root root 4093740  9월 27  2014 UnDotumBold.ttf

-rw-r--r-- 1 root root 1167148  9월 27  2014 UnGraphic.ttf

-rw-r--r-- 1 root root 1148776  9월 27  2014 UnGraphicBold.ttf

-rw-r--r-- 1 root root 6275084  9월 27  2014 UnGungseo.ttf

-rw-r--r-- 1 root root  932748  9월 27  2014 UnPilgi.ttf

-rw-r--r-- 1 root root  923780  9월 27  2014 UnPilgiBold.ttf 



이런 망할 -_-


+

env 에서 LANG은 로케일을

LANGUAGE 는 언어를 바꾼다. 정.. 귀찮으면(?)

export LANGUAGE=en 으로하면 영어는 일단 나오니까?

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

라즈베리 파이 배포 이미지 마운트 하기  (0) 2016.09.02
라즈베리로 만들고 싶은거...?  (2) 2016.08.28
라즈베리 파이 7 segment  (0) 2016.08.01
라즈베리 파이 16x2 clcd  (0) 2016.08.01
lcdproc  (0) 2016.07.30
Posted by 구차니
embeded/raspberry pi2016. 8. 1. 10:56

머.. 항상 그렇지만 GPIO로 하는 녀석들은 있네


[링크 : http://raspi.tv/2015/how-to-drive-a-7-segment-display-directly-on-raspberry-pi-in-python]

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

라즈베리로 만들고 싶은거...?  (2) 2016.08.28
라즈비안(jessie) 한글 폰트 안나올 경우  (0) 2016.08.20
라즈베리 파이 16x2 clcd  (0) 2016.08.01
lcdproc  (0) 2016.07.30
clcd driver  (0) 2016.07.28
Posted by 구차니
embeded/raspberry pi2016. 8. 1. 10:41

lcd가 5v라서 read/write 핀 없이

쓰기만 가능하다고 나옴


[링크 : https://learn.adafruit.com/drive-a-16x2-lcd-directly-with-a-raspberry-pi/overview]

[링크 : http://www.instructables.com/id/How-a-headless-Raspberry-Pi-can-tell-you-its-IP-ad/step2/.../]

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

라즈비안(jessie) 한글 폰트 안나올 경우  (0) 2016.08.20
라즈베리 파이 7 segment  (0) 2016.08.01
lcdproc  (0) 2016.07.30
clcd driver  (0) 2016.07.28
리눅스 여러개의 wifi를 콘솔에서 잡기  (0) 2016.07.28
Posted by 구차니