'2015/09/21'에 해당되는 글 3건

  1. 2015.09.21 라즈베리 오디오 스트리밍
  2. 2015.09.21 CMA - Contiguous Memory Allocator
  3. 2015.09.21 cortex-A5/A7
embeded/raspberry pi2015. 9. 21. 13:23

또.. gst-launch가 보이다니 ㄷㄷ


JACK

[링크 : http://wiki.linuxaudio.org/wiki/raspberrypi]


gstreamer

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




---

그나저나.. 영 안되네 -_-

$ sudo apt-cache search jackd

ebumeter - Loudness measurement according to EBU-R128

jackd - JACK Audio Connection Kit (default server package)

jackd1 - JACK Audio Connection Kit (server and example clients)

jackd2 - JACK Audio Connection Kit (server and example clients)

libjack-jackd2-0 - JACK Audio Connection Kit (libraries)

libjack-jackd2-dev - JACK Audio Connection Kit (development files)

pulseaudio - PulseAudio sound server

pulseaudio-module-jack - jackd modules for PulseAudio sound server

pulseaudio-module-jack-dbg - jackd modules for PulseAudio sound server (debugging symbols)

tuxguitar-jack - tuxguitar plugin for sound playback using JACKD

xjadeo - Video player with JACK sync


pi@raspberrypi ~ $ sudo apt-get install jackd

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

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

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

jackd 패키지는 이미 최신 버전입니다.

jackd 패키지 수동설치로 지정합니다.

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

pi@raspberrypi ~ $ sudo apt-get install jackd2

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

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

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

jackd2 패키지는 이미 최신 버전입니다.

jackd2 패키지 수동설치로 지정합니다.

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



$ DISPLAY=:0.0 jackd -dalsa

jackdmp 1.9.9

Copyright 2001-2005 Paul Davis and others.

Copyright 2004-2012 Grame.

jackdmp comes with ABSOLUTELY NO WARRANTY

This is free software, and you are welcome to redistribute it

under certain conditions; see the file COPYING for details

JACK server starting in realtime mode with priority 10

control device hw:0

control device hw:0

audio_reservation_init

Acquire audio card Audio0

creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit

control device hw:0

ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode

configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods

ALSA: final selected sample format for playback: 16bit little-endian

ALSA: use 2 periods for playback





Posted by 구차니
embeded/raspberry pi2015. 9. 21. 13:22

기술적으로는 무언가 다른 내용이 있을것 같으나..

일단 라즈베리 에서는 GPU의 동적 메모리 할당으로 보면 된다.


CMA - DYNAMIC MEMORY SPLIT

The firmware and kernel as of 19th November 2012 supports CMA (Contiguous Memory Allocator), which means the memory split between CPU and GPU is managed dynamically at runtime. However this is not officially supported.


You can find an example config.txt here.


CMA_LWM

When the GPU has less than cma_lwm (low-water mark) megabytes of memory available, it will request some from the CPU.

cma_lwm 보다 적은 양을 GPU에서 가지고 있을 때, CPU로 부터 (메모리를) 요청한다.


CMA_HWM

When the GPU has more than cma_hwm (high-water mark) megabytes of memory available, it will release some to the CPU.

cma_hwm 보다 큰 것을 GPU에서 가지고 있을 때, CPU에게 (메모리를) 놓아준다.


The following options need to be in cmdline.txt for CMA to work:


coherent_pool=6M smsc95xx.turbo_mode=N


[링크 : https://www.raspberrypi.org/documentation/configuration/config-txt.md]

[링크 : http://elinux.org/RPiconfig#CMA_-_dynamic_memory_split]


영어라 읽다가 귀차니즘으로 포기

[링크 : https://en.wikipedia.org/wiki/High-water_mark_(computer_security)]

[링크 : https://en.wikipedia.org/wiki/Watermark_(data_synchronization)]



원래 찾던건.. 오디오 스트리밍을 낮은 지연시간으로 하는건데..

갑자기 네트워크를 USB 1.1로 돌리고 막 쑈를 하면서 찾은거.. ㄷㄷ

[링크 : http://wiki.linuxaudio.org/wiki/raspberrypi]

Posted by 구차니
embeded/ARM2015. 9. 21. 09:38

결론만 적자면..

A5는 저전력

A7은 A5의 저전력에 A8의 고성능 추구


A5 - ARM11 대체용, 전력은 ARM9급 성능은 ARM11, ARMv7 명령어 셋

A7 -                  전력은 Cortex-A5급 성능은 Cortex-A8, ARMv7 명령어 셋


[링크 : http://avenuel.tistory.com/1298] cortex-a5

[링크 : http://avenuel.tistory.com/1314] cortex-a7


[링크 : https://namu.wiki/w/ARM%20Cortex-A%20시리즈#s-1.1.1]

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

arm9 dsp / arm11 simd instuction 비교?  (0) 2015.10.01
arm11 simd instruction  (0) 2015.10.01
cortex-m 시리즈와 포화연산  (0) 2015.08.26
ARM926EJ / ARMv5TE  (0) 2015.07.28
Jazelle 관련 검색  (0) 2015.04.28
Posted by 구차니