Sound on the RockPro64

I have never included a patch, so I am not sure what to do exactly. Does this mean I have to recompile the kernel? So if I come from the readme here,


what steps do I need before I even get to the first point here?

make buildenv TARGET_ARCH=aarch64 BUILDENV_SHELL=/bin/sh

Also guessing from the URL above, I assume I would need to install a amd64 15-current version first on that laptop and not 15.1-RELEASE?
 
make buildenv TARGET_ARCH=aarch64 BUILDENV_SHELL=/bin/sh
You do not need that command. You are compiling on AMD64 correct?

Look at adding new module to FreeBSD Kernel. Basically copy the C file to new directory under /usr/src/sys/dev/*
Then add details that a new module is present in sys/dev and make a new kernel.

I have a laptop with an Intel Atom Z3735F CPU which also includes the es8316 sound chip.
do not know if it will work on non arm..

The name of the patch should help you place it.

sys_dev_iicbus_es8316.c = new file /usr/src/sys/dev/iicbus/es8316.c

Then you must add the module name to config or manually compile the module.
For a caveman like me I just cut and paste the text and delete all the plus signs. Figuring out diff/patch sometimes takes me longer.
 
Back
Top