'잡동사니'에 해당되는 글 13036건
- 2021.09.08 필터구매!
- 2021.09.07 으아아아아
- 2021.09.06 별이 털 밈
- 2021.09.05 odroid c2 boot.ini
- 2021.09.04 화이자 맞음
- 2021.09.03 휴가인데 야근
- 2021.09.02 current loop
- 2021.09.01 CGridctrl setitembkcolour
- 2021.08.31 tflite gpu openCL support build fail
- 2021.08.30 linux sw raid
개소리 왈왈/육아관련 주저리2021. 9. 8. 12:56
개소리 왈왈/직딩의 비애2021. 9. 7. 23:08
적을게 없다!
'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글
경험이 능력을 만든다. (0) | 2021.09.19 |
---|---|
하얗게 불태움 (0) | 2021.09.14 |
휴가인데 야근 (0) | 2021.09.03 |
윈도우 어플 울렁증? (0) | 2021.08.29 |
정줄놓 (0) | 2021.08.17 |
개소리 왈왈/육아관련 주저리2021. 9. 6. 22:01
embeded/odroid2021. 9. 5. 21:48
라즈베리의 config.txt는 uboot 와는 독립된 문법의 느낌이라면
odroid c2의 boot.ini 는 uboot의 환경설정 문법을 그대로 따라가는 느낌
그나저나 발열 문제 때문인가 클럭을 낮게 잡아놨네?
ODROIDC2-UBOOT-CONFIG ######################################################################## # Changes made to this are overwritten every time there's a new upgrade # To make your changes permanent change it on # boot.ini.default # After changing it on boot.ini.default run the bootini command to # rewrite this file with your personal permanent settings. # Documentation: http://odroid.com/dokuwiki/doku.php?id=en:c2_persistent_bootini ######################################################################## # Possible screen resolutions # Uncomment only a single Line! The line with setenv written. # At least one mode must be selected. # Custom modeline! # To use custom modeline you need to disable all the below resolutions # and setup your own! # For more information check our wiki: # http://odroid.com/dokuwiki/doku.php?id=en:c2_hdmi_autosetting # Example below: # setenv m "custombuilt" # setenv modeline "1920,1200,154000,74040,60,1920,1968,2000,2080,1200,1202,1208,1235,1,0,1" # Auto Detection of Monitor settings based on your Screen information # See: http://odroid.com/dokuwiki/doku.php?id=en:c2_auto_detect_display setenv display_autodetect "true" # 480 Lines (720x480) # setenv m "480i60hz" # Interlaced 60Hz # setenv m "480i_rpt" # Interlaced for Rear Projection Televisions 60Hz # setenv m "480p60hz" # 480 Progressive 60Hz # setenv m "480p_rpt" # 480 Progressive for Rear Projection Televisions 60Hz # 576 Lines (720x576) # setenv m "576i50hz" # Interlaced 50Hz # setenv m "576i_rpt" # Interlaced for Rear Projection Televisions 50Hz # setenv m "576p50hz" # Progressive 50Hz # setenv m "576p_rpt" # Progressive for Rear Projection Televisions 50Hz # 720 Lines (1280x720) # setenv m "720p50hz" # 50Hz # setenv m "720p60hz" # 60Hz # 1080 Lines (1920x1080) # setenv m "1080i60hz" # Interlaced 60Hz setenv m "1080p60hz" # Progressive 60Hz # setenv m "1080i50hz" # Interlaced 50Hz # setenv m "1080p50hz" # Progressive 50Hz # setenv m "1080p24hz" # Progressive 24Hz # 4K (3840x2160) # setenv m "2160p30hz" # Progressive 30Hz # setenv m "2160p25hz" # Progressive 25Hz # setenv m "2160p24hz" # Progressive 24Hz # setenv m "smpte24hz" # Progressive 24Hz SMPTE # setenv m "2160p50hz" # Progressive 50Hz # setenv m "2160p60hz" # Progressive 60Hz # setenv m "2160p50hz420" # Progressive 50Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it) # setenv m "2160p60hz420" # Progressive 60Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it) ### VESA modes ### # setenv m "640x480p60hz" # setenv m "800x480p60hz" # setenv m "480x272p60hz" # setenv m "480x320p60hz" # setenv m "480x800p60hz" # setenv m "800x600p60hz" # setenv m "1024x600p60hz" # setenv m "1024x768p60hz" # setenv m "1280x800p60hz" # setenv m "1280x1024p60hz" # setenv m "1360x768p60hz" # setenv m "1440x900p60hz" # setenv m "1600x900p60hz" # setenv m "1680x1050p60hz" # setenv m "1600x1200p60hz" # setenv m "1920x1200p60hz" # setenv m "2560x1080p60hz" # setenv m "2560x1440p60hz" # setenv m "2560x1600p60hz" # setenv m "3440x1440p60hz" # HDMI BPP Mode setenv m_bpp "32" # setenv m_bpp "24" # setenv m_bpp "16" # HDMI DVI/VGA modes # By default its set to HDMI, if needed change below. # Uncomment only a single Line. # setenv vout "dvi" # setenv vout "vga" # HDMI HotPlug Detection control # Allows you to force HDMI thinking that the cable is connected. # true = HDMI will believe that cable is always connected # false = will let board/monitor negotiate the connection status setenv hpd "true" # setenv hpd "false" # Monitor output # Controls if HDMI PHY should output anything to the monitor setenv monitor_onoff "false" # true or false # Server Mode (aka. No Graphics) # Setting nographics to 1 will disable all video subsystem # This mode is ideal of server type usage. (Saves ~300Mb of RAM) setenv nographics "0" # Meson Timer # 1 - Meson Timer # 0 - Arch Timer # Using meson_timer improves the video playback however it breaks KVM (virtualization). # Using arch timer allows KVM/Virtualization to work however you'll experience poor video setenv mesontimer "1" # UHS (Ultra High Speed) MicroSD mode enable/disable setenv disableuhs "false" # MicroSD Card Detection enable/disable # Force the MMC controlled to believe that a card is connected. setenv mmc_removable "true" # USB Multi WebCam tweak # Only enable this if you use it. setenv usbmulticam "false" # Disable/Enable ODROID-VU7 Touchscreen setenv disable_vu7 "false" # Default Console Device Setting setenv condev "console=ttyS0,115200n8 console=tty0" # on both # CPU Frequency / Cores control ########################################### ### WARNING!!! WARNING!!! WARNING!!! # Before changing anything here please read the wiki entry: # http://odroid.com/dokuwiki/doku.php?id=en:c2_set_cpu_freq # # MAX CPU's # setenv maxcpus "1" # setenv maxcpus "2" # setenv maxcpus "3" setenv maxcpus "4" # MAX Frequency # setenv max_freq "2016" # 2.016GHz # setenv max_freq "1944" # 1.944GHz # setenv max_freq "1944" # 1.944GHz # setenv max_freq "1920" # 1.920GHz # setenv max_freq "1896" # 1.896GHz # setenv max_freq "1752" # 1.752GHz # setenv max_freq "1680" # 1.680GHz # setenv max_freq "1656" # 1.656GHz setenv max_freq "1536" # 1.536GHz ########################################### # Boot Arguments if test "${display_autodetect}" = "true"; then usb pwren; hdmitx edid; fi if test "${m}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi setenv bootargs "root=/dev/mmcblk0p2 rootwait rw ${condev} no_console_suspend hdmimode=${m} ${cmode} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam} ${hid_quirks}" # Booting setenv loadaddr "0x11000000" setenv dtb_loadaddr "0x1000000" setenv initrd_loadaddr "0x13000000" fatload mmc 0:1 ${initrd_loadaddr} uInitrd fatload mmc 0:1 ${loadaddr} Image fatload mmc 0:1 ${dtb_loadaddr} meson64_odroidc2.dtb fdt addr ${dtb_loadaddr} if test "${mesontimer}" = "0"; then fdt rm /meson_timer; fdt rm /cpus/cpu@0/timer; fdt rm /cpus/cpu@1/timer; fdt rm /cpus/cpu@2/timer; fdt rm /cpus/cpu@3/timer; fi if test "${mesontimer}" = "1"; then fdt rm /timer; fi if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /picdec; fdt rm /ppmgr; fi if test "${nographics}" = "1"; then fdt rm /meson-vout; fdt rm /mesonstream; fdt rm /meson-fb; fi if test "${nographics}" = "1"; then fdt rm /deinterlace; fdt rm /codec_mm; fi booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr} |
'embeded > odroid' 카테고리의 다른 글
odroid c2 gpio wiringpi (0) | 2021.09.09 |
---|---|
odroid c2 계륵이 되었네 (opencl 미지원) (0) | 2021.09.09 |
odroid xu4 opencl (0) | 2021.08.27 |
odroid c2 ubuntu 20.04 64bit (0) | 2021.08.23 |
odroid c2 (0) | 2021.08.22 |
개소리 왈왈/육아관련 주저리2021. 9. 4. 19:59
개소리 왈왈/직딩의 비애2021. 9. 3. 22:15
아놔 ㅠㅠ
'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글
하얗게 불태움 (0) | 2021.09.14 |
---|---|
으아아아아 (0) | 2021.09.07 |
윈도우 어플 울렁증? (0) | 2021.08.29 |
정줄놓 (0) | 2021.08.17 |
재활용이 풍년인데.. (0) | 2021.08.16 |
이론 관련/전기 전자2021. 9. 2. 14:35
종단저항으로 250옴을 달면, V=IR 공식에 의해 4mA~20mA가 1~5V로 변환됨.
0 mA = 단선
4 mA ~ 20 mA = 값
[링크 : https://kkdww.tistory.com/65]
[링크 : https://en.wikipedia.org/wiki/Current_loop]
+
그냥 ADC로 읽을 수 있다 라고 보면 되려나?
'이론 관련 > 전기 전자' 카테고리의 다른 글
인산철 배터리 (0) | 2021.10.09 |
---|---|
220V 전원 (0) | 2021.09.21 |
라즈베리 파이 3B+ USB boot (0) | 2021.08.23 |
칩 안테나 특성(방사패턴) (0) | 2021.08.18 |
Hall effect sensor (0) | 2021.06.22 |
Programming/c# & winform2021. 9. 1. 16:20
3번째 인자인 색상을 생략하면 clear 색상으로 칠해진다.
그나저나.. color랑 colour을 섞어 쓴 이유는 멀까 -ㅁ-?
'Programming > c# & winform' 카테고리의 다른 글
winform 쓰레드와 소켓 (0) | 2021.10.18 |
---|---|
C# 트레이 아이콘 예제 (0) | 2021.10.18 |
mfcimagegallery (0) | 2021.08.30 |
std::vector , std:set (0) | 2021.08.25 |
ribbon with gallery (0) | 2021.08.24 |
프로그램 사용/yolo_tensorflow2021. 8. 31. 14:20
[ 57%] Building C object _deps/xnnpack-build/CMakeFiles/XNNPACK.dir/src/qs8-gavgpool/gen/7p7x-minmax-neon-c8-acc2.c.o /home/pi/work/tflite_build/xnnpack/src/qs8-gavgpool/gen/7x-minmax-neon-c16-acc2.c: In function ‘xnn_qs8_gavgpool_minmax_ukernel_7x__neon_c16_acc2’: /home/pi/work/tflite_build/xnnpack/src/qs8-gavgpool/gen/7x-minmax-neon-c16-acc2.c:174:5: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts int8x16_t vout0123456789ABCDEF = vcombine_s16(vqmovn_s16(vacc01234567), vqmovn_s16(vacc89ABCDEF)); ^~~~~~~~~ /home/pi/work/tflite_build/xnnpack/src/qs8-gavgpool/gen/7x-minmax-neon-c16-acc2.c:174:51: error: incompatible type for argument 1 of ‘vcombine_s16’ int8x16_t vout0123456789ABCDEF = vcombine_s16(vqmovn_s16(vacc01234567), vqmovn_s16(vacc89ABCDEF)); |
[링크 : https://www.gitmemory.com/issue/tensorflow/tensorflow/47536/809003416]
DNN을 빼고 해보면 된다는데
$ cmake ../tensorflow/tensorflow/lite -DTFLITE_ENABLE_GPU=ON -DTFLITE_ENABLE_XNNPACK=OFF |
안되잖아!?!
[ 41%] Building CXX object CMakeFiles/tensorflow-lite.dir/delegates/gpu/api.cc.o In file included from /home/pi/work/tensorflow/tensorflow/lite/delegates/gpu/common/util.h:19, from /home/pi/work/tensorflow/tensorflow/lite/delegates/gpu/api.h:45, from /home/pi/work/tensorflow/tensorflow/lite/delegates/gpu/api.cc:16: /home/pi/work/tensorflow/tensorflow/lite/delegates/gpu/common/types.h:23:10: fatal error: fp16.h: No such file or directory #include <fp16.h> ^~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/tensorflow-lite.dir/build.make:188: CMakeFiles/tensorflow-lite.dir/delegates/gpu/api.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:1751: CMakeFiles/tensorflow-lite.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 |
+
ARMCC_FLAGS="-march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations" cmake -DCMAKE_C_COMPILER=${ARMCC_PREFIX}gcc \ -DCMAKE_CXX_COMPILER=${ARMCC_PREFIX}g++ \ -DCMAKE_C_FLAGS="${ARMCC_FLAGS}" \ -DCMAKE_CXX_FLAGS="${ARMCC_FLAGS}" \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_SYSTEM_NAME=Linux \ -DCMAKE_SYSTEM_PROCESSOR=armv7 \ -DTFLITE_ENABLE_GPU=ON -DTFLITE_ENABLE_XNNPACK=OFF \ ../tensorflow/tensorflow/lite |
아래는 크로스컴파일 하는 예
$ curl -LO https://storage.googleapis.com/mirror.tensorflow.org/developer.arm.com/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz $ mkdir -p ${HOME}/toolchains $ tar xvf gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz -C ${HOME}/toolchains $ ARMCC_FLAGS="-march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations" ARMCC_PREFIX=${HOME}/toolchains/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf- cmake -DCMAKE_C_COMPILER=${ARMCC_PREFIX}gcc \ -DCMAKE_CXX_COMPILER=${ARMCC_PREFIX}g++ \ -DCMAKE_C_FLAGS="${ARMCC_FLAGS}" \ -DCMAKE_CXX_FLAGS="${ARMCC_FLAGS}" \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_SYSTEM_NAME=Linux \ -DCMAKE_SYSTEM_PROCESSOR=armv7 \ ../tensorflow/lite/ |
[링크 : https://www.tensorflow.org/lite/guide/build_cmake_arm]
'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글
tf release 2.7.0-rc (0) | 2021.10.12 |
---|---|
tflite delegate (0) | 2021.10.11 |
tf lite cmake (0) | 2021.08.27 |
tensorflow cross compile (0) | 2021.07.01 |
tensorflow lite on rpi4 64bit (0) | 2021.06.30 |
Linux2021. 8. 30. 19:42
[링크 : https://www.tecmint.com/create-raid-6-in-linux/]
[링크 : https://getmovie.tistory.com/entry/리눅스-software-RAID-설정-및-복원]
'Linux' 카테고리의 다른 글
socat을 이용한 ttyUSB to TCP (0) | 2021.09.16 |
---|---|
리눅스 콘솔에서 gmail 통해 메일 보내기는 실패 ㅠㅠ (0) | 2021.09.15 |
glibc 버전 얻기 (0) | 2021.07.09 |
쉘스크립트 반복 실행(인자로 준 횟수 만큼) (0) | 2021.06.11 |
jobs fg bg (busybox sh) (0) | 2021.06.11 |