thanhduongvs / note

0 stars 0 forks source link

stm32mp1 audio #14

Open thanhduongvs opened 1 year ago

thanhduongvs commented 1 year ago

aplay --list-devices aplay -L gst-launch-1.0 audiotestsrc ! autoaudiosink alsamixer root@onekiwi:~# alsamixer ALSA lib ../../alsa-plugins-1.2.6/pulse/pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

cannot open mixer: Connection refused

make DEVICE_TREE=stm32mp151aaa-thatico-r2x512v11 DDR_INTERACTIVE=1 all -j8 gst-launch-1.0 playbin uri=file:///home/root/SomeWhere.wav &

STM32_Programmer_CLI -c port=usb1 -w FlashLayout_emmc_stm32mp151aaa-thatico-r2x512v11-trusted.tsv STM32_Programmer_CLI -l usb

https://community.st.com/s/question/0D53W00001wGMaUSAW/command-alsamixer-doesnt-work-in-sdk-enflashstm32mp1openstlinux515yoctokirkstonemp1v220615 https://octavosystems.com/forums/topic/how-to-config-alsa-mixer-controls-for-a-dfsdm-sound-card/ https://wiki.phytec.com/display/public/MD/L-877e.Ax+phyCORE-STM32MP1+Alpha+Kit+QS+Guide+Head

https://learn.foundry.com/nuke/content/timeline_environment/managetimelines/audio_pulse.html https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users

STM32_Programmer_CLI -c port=usb1 -d tf-a_usb.stm32 0x1 -s 0x1 -d fip.bin 0x3 -s 0x3

CARD=STM32MP15DK

aplay -D plughw:CARD=STM32MP15DK /usr/share/sounds/alsa/Front_Center.wav aplay -D plughw:CARD=STM32MP15DK /home/root/SomeWhere.wav alsamixer -c STM32MP15DK

Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

ssh -l onekiwi proxy65.rt3.io -p 31281 scp -P 31281 onekiwi@proxy65.rt3.io:/media/onekiwi/data/home/onkiwi/thanhduong/stm32mp-kirkstone/image.zip .