I am trying to modify some settings in kernel/sound/soc/davinci “davinci-evm.c and davinci-mcasp.c”.
So I ran the script at https://github.com/beagleboard/kernel
Where does the resulting kernel output to? do I need to modify menuconfig to get the kernel output?
debian:/kernel$ ls
configs kernel patch_script.sh README.md
export patches patch.sh src-uri.txt
Thanks!
In the "kernel" directory. (yes i blindly used the same name as the git repo)...
Regards,
Hmmm, I must be blind, not seeing it…
debian:/kernel/kernel$ ls -l
total 508
drwxr-xr-x 28 root root 4096 Jun 11 10:09 arch
drwxr-xr-x 2 root root 4096 Jun 11 10:18 block
-rw-r–r-- 1 root root 18693 Jun 10 21:03 COPYING
-rw-r–r-- 1 root root 94853 Jun 11 10:09 CREDITS
drwxr-xr-x 3 root root 4096 Jun 11 10:17 crypto
drwxr-xr-x 94 root root 12288 Jun 11 10:17 Documentation
drwxr-xr-x 101 root root 4096 Jun 11 10:09 drivers
drwxr-xr-x 38 root root 4096 Jun 11 10:09 firmware
drwxr-xr-x 71 root root 4096 Jun 11 10:20 fs
drwxr-xr-x 22 root root 4096 Jun 11 10:09 include
drwxr-xr-x 2 root root 4096 Jun 11 10:13 init
drwxr-xr-x 2 root root 4096 Jun 11 10:10 ipc
-rw-r–r-- 1 root root 2536 Jun 10 21:03 Kbuild
-rw-r–r-- 1 root root 252 Jun 10 21:03 Kconfig
drwxr-xr-x 9 root root 4096 Jun 11 10:19 kernel
drwxr-xr-x 8 root root 12288 Jun 11 10:17 lib
-rw-r–r-- 1 root root 206638 Jun 11 10:16 MAINTAINERS
-rw-r–r-- 1 root root 53472 Jun 11 10:18 Makefile
drwxr-xr-x 2 root root 4096 Jun 11 10:20 mm
drwxr-xr-x 54 root root 4096 Jun 11 10:16 net
-rw-r–r-- 1 root root 17459 Jun 11 10:09 README
-rw-r–r-- 1 root root 3371 Jun 11 10:09 REPORTING-BUGS
drwxr-xr-x 10 root root 4096 Jun 11 10:09 samples
drwxr-xr-x 13 root root 4096 Jun 11 10:17 scripts
drwxr-xr-x 8 root root 4096 Jun 11 10:18 security
drwxr-xr-x 22 root root 4096 Jun 11 10:09 sound
drwxr-xr-x 10 root root 4096 Jun 11 10:09 tools
drwxr-xr-x 2 root root 4096 Jun 11 10:17 usr
drwxr-xr-x 3 root root 4096 Jun 10 21:03 virt
Hmmm, I must be blind, not seeing it...
Get your coffee!
drwxr-xr-x 22 root root 4096 Jun 11 10:09 sound
kernel/sound/soc/davinci "davinci-evm.c and davinci-mcasp.c".
----------^^^^^^^/
your there^
Regards,
The davinci drivers, I see them, but I am wondering when I build a new kernel where does the kernel image output?
Ah.. Okay.. kernel newbie..
Let's start from scratch then..
git clone https://github.com/RobertCNelson/bb-kernel.git
cd bb-kernel/
git checkout origin/am33x-v3.8 -b tmp
./build_kernel.sh
Wait for menuconfig, then exit and "ctrl -c" the build process..
Edit your kernel files under ./KERNEL/
then run:
./tools/rebuild.sh
When build is done, stick in your microSD card and run:
./tools/install_kernel.sh
boot with microSD card
Regards,
Robert,
Thanks for the quick, concise and informative reply!
Working fantastically!
First build:
uname -a
Linux beaglebone 3.8.13-bone56 #1 SMP Wed Jun 11 12:20:48 PDT 2014 armv7l GNU/Linux
After Rebuild!
uname -a
Linux beaglebone 3.8.13-bone56 #3 SMP Wed Jun 11 14:06:04 PDT 2014 armv7l GNU/Linux