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 구차니
embeded/raspberry pi2016. 7. 30. 15:30

이걸 깔아야 하나... 걍 포기 -_-


$ sudo apt-get install lcdproc

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

The following additional packages will be installed:

  at cme dctrl-tools devscripts dput lcdproc-extra-drivers libapp-cmd-perl

  libarray-intspan-perl libcapture-tiny-perl libcarp-assert-more-perl

  libcarp-assert-perl libclass-data-inheritable-perl libclass-load-perl

  libcommon-sense-perl libconfig-model-approx-perl libconfig-model-dpkg-perl

  libconfig-model-lcdproc-perl libconfig-model-openssh-perl

  libconfig-model-perl libconfig-model-tkui-perl libdevel-stacktrace-perl

  libdistro-info-perl libexception-class-perl libexporter-lite-perl

  libfile-homedir-perl libfile-which-perl libfuse-perl libg15daemon-client1

  libg15render1 libhash-merge-perl libio-tiecombine-perl libjson-perl

  libjson-xs-perl liblog-log4perl-perl libmouse-perl

  libmousex-nativetraits-perl libmousex-strictconstructor-perl

  libparse-recdescent-perl libpod-pom-perl libstring-rewriteprefix-perl

  libtext-autoformat-perl libtext-diff-perl libtext-english-perl

  libtext-levenshtein-damerau-perl libtext-reform-perl libtk-dirselect-perl

  libtk-doubleclick-perl libtk-histentry-perl libtk-pod-perl

  libtypes-serialiser-perl libxosd2 libyaml-perl perl-doc perl-tk

  python3-magic wdiff

제안하는 패키지:

  default-mta | mail-transport-agent libconfig-model-cursesui-perl

  libconfig-model-itself-perl debtags cvs-buildpackage diffoscope

  devscripts-el dose-extra gnuplot libterm-size-perl libyaml-syck-perl

  mozilla-devscripts mutt svn-buildpackage w3m debian-keyring equivs

  libsoap-lite-perl mini-dinstall python-bzrlib libterm-readline-perl-perl

  | libterm-readline-gnu-perl libtk-objscanner-perl libunix-mknod-perl

  liblchown-perl libfilesys-statvfs-perl libdbd-csv-perl libxml-dom-perl

  liblog-dispatch-perl libipc-shareable-perl libyaml-shell-perl

다음 새 패키지를 설치할 것입니다:

  at cme dctrl-tools devscripts dput lcdproc lcdproc-extra-drivers

  libapp-cmd-perl libarray-intspan-perl libcapture-tiny-perl

  libcarp-assert-more-perl libcarp-assert-perl libclass-data-inheritable-perl

  libclass-load-perl libcommon-sense-perl libconfig-model-approx-perl

  libconfig-model-dpkg-perl libconfig-model-lcdproc-perl

  libconfig-model-openssh-perl libconfig-model-perl libconfig-model-tkui-perl

  libdevel-stacktrace-perl libdistro-info-perl libexception-class-perl

  libexporter-lite-perl libfile-homedir-perl libfile-which-perl libfuse-perl

  libg15daemon-client1 libg15render1 libhash-merge-perl libio-tiecombine-perl

  libjson-perl libjson-xs-perl liblog-log4perl-perl libmouse-perl

  libmousex-nativetraits-perl libmousex-strictconstructor-perl

  libparse-recdescent-perl libpod-pom-perl libstring-rewriteprefix-perl

  libtext-autoformat-perl libtext-diff-perl libtext-english-perl

  libtext-levenshtein-damerau-perl libtext-reform-perl libtk-dirselect-perl

  libtk-doubleclick-perl libtk-histentry-perl libtk-pod-perl

  libtypes-serialiser-perl libxosd2 libyaml-perl perl-doc perl-tk

  python3-magic wdiff

0개 업그레이드, 57개 새로 설치, 0개 제거 및 4개 업그레이드 안 함.

13.4 M바이트 아카이브를 받아야 합니다.

이 작업 후 34.2 M바이트의 디스크 공간을 더 사용하게 됩니다.

계속 하시겠습니까? [Y/n] 



What is LCDproc?


LCDproc is a client/server suite including drivers for all kinds of nifty LCD displays.


The server LCDd makes it possible to display text and other data on an LCD display. As well LCDd can handle certain input devices.


Support for devices is added by drivers. We distinguish between output and input drivers. LCDd currently supports only one single output driver, which may at the same time handle input. Nevertheless several input (only) drivers are supported.


Currently there are drivers for several serial devices: Matrix Orbital, Crystal Fontz, Bayrad, LB216, LCDM001 (kernelconcepts.de), Wirz-SLI and PIC-an-LCD; and some devices connected to the LPT port: HD44780, STV5730, T6963, SED1520 and SED1330. There are input (only) drivers for LIRC and joysticks.


Clients can connect to LCDd through common TCP sockets.


Various clients are available. The main client lcdproc, which is shipped with the LCDproc distribution, can display things like CPU load, system load, memory usage, uptime, and a lot more.


[링크 : http://lcdproc.sourceforge.net/docs/current-user.html]


LPT 포트가 있어야 설정이 가능할 것 같은 느낌?
FTDI USB to Serial로도 가능은 하지만 흐음.. 아무튼 라즈베리에 적용하는게 쉽지는 않을 기분


[링크 : http://openelec.tv/.../28516-how-to-get-lcd2usb-based-displays-to-work-example-hd44780]



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

라즈베리 파이 7 segment  (0) 2016.08.01
라즈베리 파이 16x2 clcd  (0) 2016.08.01
clcd driver  (0) 2016.07.28
리눅스 여러개의 wifi를 콘솔에서 잡기  (0) 2016.07.28
rpicam x3 x4배속  (0) 2016.07.28
Posted by 구차니
embeded/raspberry pi2016. 7. 28. 21:01

s6a0069 samsung

hd44780 hitachi


[링크 : https://forums.adafruit.com/viewtopic.php?f=47&t=37580]

     [링크 : http://www.avrfreaks.net/forum/what-difference-between-s6a0069-and-hd44780...]


[링크 : http://forum.arduino.cc/index.php?topic=98282.0]

[링크 : http://www.avrfreaks.net/forum/atmega16-lcd-interfacing-hd44780-compatible-s6a0069]

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

라즈베리 파이 16x2 clcd  (0) 2016.08.01
lcdproc  (0) 2016.07.30
리눅스 여러개의 wifi를 콘솔에서 잡기  (0) 2016.07.28
rpicam x3 x4배속  (0) 2016.07.28
rpicam 90fps...  (0) 2016.07.27
Posted by 구차니
embeded/raspberry pi2016. 7. 28. 20:41

희한한 파일이네


[링크 : http://raspberrypi.stackexchange.com/questions/11631/how-to-setup-multiple-wifi-networks]

[링크 : https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md]

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

lcdproc  (0) 2016.07.30
clcd driver  (0) 2016.07.28
rpicam x3 x4배속  (0) 2016.07.28
rpicam 90fps...  (0) 2016.07.27
freeRTOS on rpi  (0) 2016.07.18
Posted by 구차니