Hello,
I have a custom cape that worked with Cape Manager and the 3.8 kernel and would like to move to Robert Nelson’s latest kernel, 3.15.10.
Since there is no Cape Manager for the later kernels, what is the proper method for adding my cape .dts file to the build?
Can I simply include my .dts file at the end of am335x-bone.dts ?
Do I need to modify my cape .dts file at all ?
Thanks for any hints,
-Randy
So I've been spending some time cleaning up things for cape users:
http://elinux.org/Beagleboard:Capes_3.8_to_3.14
Once you install that kernel, you can then clone the "dtb-rebuilder"
http://elinux.org/Beagleboard:Capes_3.8_to_3.14#Custom_dtb
make your changes to either (depending on what board you have):
src/arm/am335x-bone.dts
src/arm/am335x-boneblack.dts
Then just:
make
sudo make install
(reboot)
Note it's tied to newer file system:
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots
for, these two features:
(kernel): sudo apt-get install linux-image-xyz
(dtb-rebuilder): sudo make install
Regards,
Thanks Robert.
FWIW, I am using the 3.8 MRF24J40 radio cape (somewhat modified).
Can I just include the 3.8 cape file(s) as is and run it through the process described above?
-Randy
Hi Randy,
Give this patch a test on dtb-rebuilder:
http://pastebin.com/jSF1jd5i
1: Install 3.14.17 base:
sudo apt-get update
sudo apt-get install linux-image-3.14.17-ti-r15
(reboot)
2: clone dtb-rebuilder:
3: apply patch
make
sudo make install
(reboot)
should have the mrf24j40 on spi1
Regards,
Thanks again Robert !!!
Ok, I’ll give that a shot.
-Randy
This is probably a very naive question, but I’m leery of mucking about with installing a new kernel until I know for sure. Can the 3.15.10 kernel (or any other, for that matter) be installed without wiping out the rest of the OS?
Cheers, Tim
Correct.. As long as it atleast boots with the new kernel you can
change it back..
I'm setting up things, so all you have to do is:
sudo apt-get install linux-image-$version
sudo reboot
later edit /boot/uEnv.txt (uname_r variable) and then boot any
$version installed..
Regards,
Hi Robert,
Where can i get the source for the linux image ‘linux-image-3.14.17-ti-r15’ you referred me to above, or compatible source that I can use with your patch ?
I would like to rebuild the kernel on my development host machine.
I have added the mrf24j40 radio to my dtb but do not see its driver being initialized or probed.
-Randy
Hi Robert,
Where can i get the source for the linux image ‘linux-image-3.14.17-ti-r15’ you referred me to above, or compatible source that I can use with your patch ?
https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-3.14.y
Regards,
John
Hi Robert,
Where can i get the source for the linux image ‘linux-image-3.14.17-ti-r15’ you referred me to above, or compatible source that I can use with your patch ?
Here is the commit log:
https://github.com/RobertCNelson/ti-linux-kernel-dev/commits/ti-linux-3.14.y
Regards,
John
Hi Robert,
Where can i get the source for the linux image ‘linux-image-3.14.17-ti-r15’ you referred me to above, or compatible source that I can use with your patch ?
I would like to rebuild the kernel on my development host machine.
I have added the mrf24j40 radio to my dtb but do not see its driver being initialized or probed.
Since I’m basing my tree on a ti tree that get’s rebased, i’ve been pushing “each” tag to this repo, so you can easily clone the actual source
https://github.com/beagleboard/linux/tree/3.14.17-ti-r15
Fantastic !
Thank you Robert and John for your quick replies.
-Randy
Robert,
Thanks again for your help, everything seems to be working now.
-Randy