embeded/raspberry pi2021. 5. 18. 12:27

와... distcc 쓰며 뻘짓(?) 하던게 허무할 정도의 성능..

rpi 3b 3대로 병렬 빌드 하는 것 보단 조금 느리지만

시스템 구성이나 전력소비 따지면 rpi 4b 하나가 나을 것 같다.

 

real    9m45.279s
user    36m3.752s
sys     2m28.809s
Posted by 구차니
embeded/raspberry pi2021. 5. 18. 11:19

일단 화면 뜨는데 3초 정도(HDMI), 약간은 BIOS 비슷하게 바뀌었다.

커널 메시지 뜨는데 까지 10초 정도

login 프롬프트 뜨는데 까지 29초 정도(ssh도 이정도 시간이 지나야 됨)

rpi 3b나 rpi 2b와 동일한 이미지 인데 생각외로 부팅이 오래 걸리네..

 

 

Cortex-A72 기반이라는데 cpuinfo를 보니 그냥 별 감흥이 없는 features 목록이군..

다만 rpi3b의 BogoMIPS 38.40 -> 108.00 으로의 증가는 성능의 향상이라는 측면에서는 조금 고무적?

[링크 : https://en.wikipedia.org/wiki/ARM_Cortex-A72]

$ cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

 

와 메모리 4기가! 보기만 해도 행복해지네!

 $ free -h
              total        used        free      shared  buff/cache   available
Mem:          3.7Gi        50Mi       3.6Gi       8.0Mi        77Mi       3.6Gi
Swap:          99Mi          0B        99Mi

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

rpi usb boot 확인?  (0) 2021.05.18
rpi 4b / tensorflow lite 빌드  (0) 2021.05.18
회사에 남...는(?!) 라즈베리 파이 4B  (0) 2021.05.12
라즈베리2b+ 에서 vfpv3 빌드 성공!  (0) 2021.05.11
rpi eeprom / usb boot  (0) 2021.05.06
Posted by 구차니
embeded/ARM2021. 5. 15. 09:56

ARMv9이 이번에 발표했는데 관심이 없다가 다시 관심이 가서 검색해보는데

가장 큰 포인트는 요즘 추세에 맞게(?) 인공지능 관련 가속인듯

 

Armv9은 지난 2011년 출시한 ARM 최초의 64비트 지원 아키텍처 'Armv8'의 뒤를 잇는 차세대 반도체 IP다. 이는 슈퍼컴퓨터용 명령어 세트인 '스케일러블 벡터 익스텐션2(SVE2)'을 지원해 Armv8 아키텍처 보다 빠른 머신러닝(ML)과 DSP 성능을 구현한다.

[링크 : https://zdnet.co.kr/view/?no=20210331194029#_enliple ]

 

SVE는 다음의 약자고 v2 이듯 SVE도 존재하는데

Scalable Vector Extension version two

[링크 : https://developer.arm.com/.../sve/sve-vs-sve2/introduction-to-sve2]

 

 

SVE는 neon의 확장이 아는 별개의 instructino 이라고.

Scalable Vector Extension (SVE) is the next-generation SIMD extension of the Arm v8-A AArch64 instruction set. SVE is not an extension of Neon, but a new set of vector instructions that are developed to target HPC workloads. SVE enables vectorization of loops which would either be impossible or not beneficial to vectorize with Neon .

Unlike other SIMD architectures, SVE can be Vector Length Agnostic (VLA). SVE does not fix the size of the vector registers which allows hardware implementors to choose the size that is best for their workloads.

[링크 : https://developer.arm.com/documentation/101726/.../What-is-the-Scalable-Vector-Extension-]

 

갑자기 vfp와 neon과 sve의 연관이 궁금해지네

 

+

2021.05.16

ARMv8.2-A의 선택사양? 아무튼 SVE2가 중요한게 아니라 SVE가 머냐가 문제인가..

The Scalable Vector Extension (SVE) is "an optional extension to the ARMv8.2-A architecture and newer" developed specifically for vectorization of high-performance computing scientific workloads.

[링크 : https://en.wikipedia.org/wiki/AArch64#Scalable_Vector_Extension_(SVE)]

'embeded > ARM' 카테고리의 다른 글

cortex-a9 neon  (0) 2021.06.21
EIM (external interface module)  (0) 2021.06.21
cortex-a9 하드웨어 Divider가 없어?!  (0) 2021.03.18
gcc 버전 차이?  (0) 2021.01.13
vfp  (0) 2021.01.13
Posted by 구차니
embeded/raspberry pi2021. 5. 12. 18:05

1. 느려!!!

확실히 재본건 아니지만, 부팅시 bios 처럼 꾸며지고 GUI 까지 뜨는데 1분은 걸린 듯?

한 번 밀고 다시 셋팅을 해봐야 확실할 듯.

 

2. 어우 발열.. 어우 전원

5V 3A

그리고 이쁘라고 투명 케이스인데 열이 퐁퐁퐁.. 그냥 누드로 탑을 쌓아야 하나

 

3. 망할 micro HDMI

듀얼 모니터 쓸 수 있게 되서 좋긴한데 micro HDMI라니 이건 좀 ㅠㅠ

 

4. 많은데 몇 개 필요해! << 요게 포인트

하드웨어 팀에 물어보니 많다고 몇개 줄까 해서 봤더니 10개 ㄷㄷㄷ

지금 라즈베리 3로 탑을 쌓으려고 했는데 4로 쌓아도 되겠네? ㅋㅋㅋ

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

rpi 4b / tensorflow lite 빌드  (0) 2021.05.18
rpi 4b spec + 부팅시간  (0) 2021.05.18
라즈베리2b+ 에서 vfpv3 빌드 성공!  (0) 2021.05.11
rpi eeprom / usb boot  (0) 2021.05.06
회사돈으로 꿈 이루기 ㅋㅋ  (0) 2021.05.03
Posted by 구차니
embeded/raspberry pi2021. 5. 11. 00:22

흐음.. 다른 옵션이 붙어서 그런가?

 

    CXXFLAGS += \
      -march=armv7-a \
      -mfpu=neon-vfpv3 \
      -mvectorize-with-neon-quad -ffast-math \
      -funsafe-math-optimizations \
      -ftree-vectorize \
      -fPIC

    CFLAGS += \
      -march=armv7-a \
      -mfpu=neon-vfpv3 \
      -mvectorize-with-neon-quad -ffast-math \
      -funsafe-math-optimizations \
      -ftree-vectorize \
      -fPIC

 

File Attributes
  Tag_CPU_name: "7-A"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3
  Tag_Advanced_SIMD_arch: NEONv1
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_number_model: Finite
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_VFP_args: VFP registers
  Tag_ABI_optimization_goals: Aggressive Speed
  Tag_CPU_unaligned_access: v6

 

+

2021.05.12

아놔.. 회사에서 rpi 3b+ 에서 시도하니 vfpv2 / neon은 없이 나온다.

동일한 라즈베리 파이 이미지를 사용해서 gcc -v 하면 동일하게 나오는데 도대체 무슨 차이여!!!

 

 

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

rpi 4b spec + 부팅시간  (0) 2021.05.18
회사에 남...는(?!) 라즈베리 파이 4B  (0) 2021.05.12
rpi eeprom / usb boot  (0) 2021.05.06
회사돈으로 꿈 이루기 ㅋㅋ  (0) 2021.05.03
SLP (StereoPi Livestream Playground)  (0) 2021.04.30
Posted by 구차니
embeded/arduino(genuino)2021. 5. 7. 13:55

막상 사지니 개당 만원 정도 해서 헉! 스럽네 -_ㅠ

 

[링크 : https://gigglehd.com/gg/lifetech/4872763]

[링크 : https://ndb796.tistory.com/395]

'embeded > arduino(genuino)' 카테고리의 다른 글

아두이노 dht11  (0) 2022.11.14
아두이노 Serial.print()와 Serial.write()  (0) 2022.11.14
아두이노 시리얼 플로터  (0) 2020.09.08
TEA5767 살까 말까..  (0) 2020.06.15
지름신 축적중  (0) 2020.06.10
Posted by 구차니
embeded/raspberry pi2021. 5. 6. 22:41

odroid u3로 해보려다가 구제불능이라(128GB SD사려니..)

라즈베리로 USB 부팅이 되었던것 같아서 찾아보는 중

rpi 2b를 usb 부팅해서 좀 괜찮은걸 쓰면 SD 보다 나으려나?

 

[링크 : https://blog.naver.com/emperonics/221979352174]

[링크 : https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb]

 

[링크 : https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md]

[링크 : https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md]

[링크 : https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/host.md]

Posted by 구차니
embeded/raspberry pi2021. 5. 3. 18:18

파워가 생각외로 비싸서 내 돈 주고 사라고 하면 못 살 것 같고

라즈베리 4 나온 시점에 3를 3대 놓고 쓰고 있음 ㅋㅋ

(tensorflow lite 크로스 빌드용으로 사용 중)

 

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

라즈베리2b+ 에서 vfpv3 빌드 성공!  (0) 2021.05.11
rpi eeprom / usb boot  (0) 2021.05.06
SLP (StereoPi Livestream Playground)  (0) 2021.04.30
node.red tensorflow  (0) 2021.04.24
라즈베리 파이 서포트 규격  (0) 2021.04.20
Posted by 구차니
embeded/raspberry pi2021. 4. 30. 08:09

지하철에서 쪽팔려서 못 쓸듯 하지만(!)

핸드폰에서 가상 모니터로 VR을 쓰고

블루투스 키보드를 이용해서 SSH 원격 접속이 가능하면 어떨까? 라는 생각 중

 

waveshare 5.5 인치 OLED FHD / HDMI

[링크 : https://www.waveshare.com/5.5inch-hdmi-amoled.htm]

[링크 : https://www.waveshare.com/5.5inch-hdmi-amoled-with-case.htm]

[링크 : https://wiki.stereopi.com/index.php?title=SLP_(StereoPi_Livestream_Playground)_Raspbian_Image]

[링크 : http://medium.com/stereopi/diy-vr-helmet-for-the-stereopi-10-ms-latency-for-just-135-4c42eb60c6dc]

 

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

rpi eeprom / usb boot  (0) 2021.05.06
회사돈으로 꿈 이루기 ㅋㅋ  (0) 2021.05.03
node.red tensorflow  (0) 2021.04.24
라즈베리 파이 서포트 규격  (0) 2021.04.20
fbset geometry, timing 수치  (0) 2021.02.19
Posted by 구차니
embeded/raspberry pi2021. 4. 24. 17:17

나중에 시도는 해봐야겠자? ㅠㅠ

 

[링크 : http://hackaday.com/2021/04/22/visual-raspberry-pi-with-node-red-and-tensorflow/]

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

회사돈으로 꿈 이루기 ㅋㅋ  (0) 2021.05.03
SLP (StereoPi Livestream Playground)  (0) 2021.04.30
라즈베리 파이 서포트 규격  (0) 2021.04.20
fbset geometry, timing 수치  (0) 2021.02.19
rpi pico  (0) 2021.01.31
Posted by 구차니