This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
gsoc:2020-gsoc-sound-open-firmware [2020/03/04 08:46] dbaluta [Small ideas to work on to get familiar with the project] |
gsoc:2020-gsoc-sound-open-firmware [2020/03/04 08:57] dbaluta [Use Qemu to get a feel of how things are working] |
||
---|---|---|---|
Line 55: | Line 55: | ||
Before sending the patch to community please send it to daniel.baluta@nxp.com for review. Make sure you only look into drivers/staging directory. | Before sending the patch to community please send it to daniel.baluta@nxp.com for review. Make sure you only look into drivers/staging directory. | ||
+ | ==== Use Qemu to get a feel of how things are working ==== | ||
+ | |||
+ | * Qemu repo is at https://github.com/thesofproject/qemu/ we use branch sof-v4.2 | ||
+ | * Build qemu by looking at [[https://www.alsa-project.org/wiki/Firmware | Firmware ]]. Look at chapter 'Build the Qemu DSP emulator from source.' | ||
+ | * Try to boot sof-imx8.ri SOF binary with qemu | ||
+ | * Use the following command ./xtensa-softmmu/qemu-system-xtensa -cpu imx8 -M adsp_imx8 -nographic -kernel ../sof.git/build_imx8_gcc/src/arch/xtensa/sof-imx8.ri | ||
+ | * Look at [[https://www.alsa-project.org/wiki/Firmware#Using_the_Qemu_DSP_emulator | Using the Qemu DSP emulator]] and try to run a full system with Linux kernel and SOF firmware. | ||