Support for BBB kernel

164 views
Skip to first unread message

Greg Wilson-Lindberg

unread,
Jun 28, 2016, 7:11:36 PM6/28/16
to BeagleBoard
Does anyone know how to get in touch with Robert C Nelson?  The Digikey TechXchange has been down for at least a week, and TechXchange has been removed from the Digikey main page.

I've got some questions about the kernel that is used in Debian and need to get in touch with him.

Regards,
Greg Wilson-Lindberg
gl4jalopi at verizon dot net
or
gwilson at sakruaus dot com

Robert Nelson

unread,
Jun 28, 2016, 8:37:51 PM6/28/16
to Beagle Board
On Tue, Jun 28, 2016 at 6:11 PM, Greg Wilson-Lindberg
<gl4j...@gmail.com> wrote:
> Does anyone know how to get in touch with Robert C Nelson? The Digikey
> TechXchange has been down for at least a week, and TechXchange has been
> removed from the Digikey main page.
>
> I've got some questions about the kernel that is used in Debian and need to
> get in touch with him.

Oh i'm around, for the last week and a half or so, i've been pretty
busy finishing things on my house the realtor wanted me to fix before
we put it up for sale.

Tomorrow i'll be back at work, and doing beagle stuff. ;)

Regards,

--
Robert Nelson
https://rcn-ee.com/

Greg Wilson-Lindberg

unread,
Jun 29, 2016, 11:51:39 AM6/29/16
to BeagleBoard

Great to hear, it was a bit disconcerting to see that the TechXchange site was down, and the link had been removed from the Digikey front page.

I need to see about getting a specific version of the 3.14 kernel code, so let me know how to contact you tomorrow.
Regards,
Greg

Robert Nelson

unread,
Jun 29, 2016, 2:48:23 PM6/29/16
to Beagle Board
On Wed, Jun 29, 2016 at 10:51 AM, Greg Wilson-Lindberg
<gl4j...@gmail.com> wrote:
>
> Great to hear, it was a bit disconcerting to see that the TechXchange site
> was down, and the link had been removed from the Digikey front page.
>
> I need to see about getting a specific version of the 3.14 kernel code, so
> let me know how to contact you tomorrow.

oh grab the yakbuild script:

https://github.com/RobertCNelson/yakbuild

Follow the readme.md:

for v3.14.x kernels use:

toolchain="gcc_linaro_gnueabihf_4_8"

Then just set the kernel_tag to the specific tag you want to build.

William Hermans

unread,
Jun 29, 2016, 4:40:02 PM6/29/16
to beagl...@googlegroups.com
Robert,

What exactly is the purpose of yakbuild ? I only ask because in the context of your eewiki build guide
 yakbuild is different. Of course, the eewiki guides cover a lot more . . . but in the context of building a kernel ?

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYihApzr_omHuUsSZWfDyAbSsAObZY76QgLOE0n2VkHwBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Greg Wilson-Lindberg

unread,
Jun 29, 2016, 4:43:14 PM6/29/16
to BeagleBoard
Thanks for the pointer, that seems to be just what I need.
One last thing, how do I get a list of the kernel versions, I seem to have a funny number that I've been using?

Regards,
Greg

Robert Nelson

unread,
Jun 29, 2016, 4:52:25 PM6/29/16
to Beagle Board
On Wed, Jun 29, 2016 at 3:39 PM, William Hermans <yyr...@gmail.com> wrote:
> Robert,
>
> What exactly is the purpose of yakbuild ? I only ask because in the context
> of your eewiki build guide
> yakbuild is different. Of course, the eewiki guides cover a lot more . . .
> but in the context of building a kernel ?

yakbuild, it needed to build "old" git tag's from the v3.14.x-ti,
v4.1.x-ti, v4.4.x-ti branches, due to how i combine two active git
tree's..

Robert Nelson

unread,
Jun 29, 2016, 4:57:47 PM6/29/16
to Beagle Board
On Wed, Jun 29, 2016 at 3:43 PM, Greg Wilson-Lindberg
<gl4j...@gmail.com> wrote:
> Thanks for the pointer, that seems to be just what I need.
> One last thing, how do I get a list of the kernel versions, I seem to have a
> funny number that I've been using?

https://github.com/RobertCNelson/linux-stable-rcn-ee

there's a few thousand tag's..

What's your current "uname -r" i'll point to something close..

William Hermans

unread,
Jun 29, 2016, 5:09:16 PM6/29/16
to beagl...@googlegroups.com
>
> yakbuild, it needed to build "old" git tag's from the v3.14.x-ti,
> v4.1.x-ti, v4.4.x-ti branches, due to how i combine two active git
> tree's..
>
 
Ok, cool, thanks Robert. Seems then it's for TI only kernels then . ..

Robert Nelson

unread,
Jun 29, 2016, 5:15:03 PM6/29/16
to Beagle Board
Well yeah it was built for them, but it'll work for everything that's
been pushed to:

https://github.com/RobertCNelson/linux-stable-rcn-ee

in the last year.. ;)

Greg Wilson-Lindberg

unread,
Jun 29, 2016, 5:16:15 PM6/29/16
to BeagleBoard
What I'm using is 3.14.49-ti-r62, there is a 3.14.4-ti-r62 so I don't know how I got he r62 for the 3.14.49 version.

Greg Wilson-Lindberg

unread,
Jun 29, 2016, 5:17:15 PM6/29/16
to BeagleBoard
meant 3.14.40-ti-r62 not 3.14.4-ti-r62


Robert Nelson

unread,
Jun 29, 2016, 5:21:49 PM6/29/16
to Beagle Board
On Wed, Jun 29, 2016 at 4:17 PM, Greg Wilson-Lindberg
<gl4j...@gmail.com> wrote:
> meant 3.14.40-ti-r62 not 3.14.4-ti-r62

https://github.com/RobertCNelson/linux-stable-rcn-ee/tree/3.14.40-ti-r62

so in yakbuild, set:

kernel_tag="3.14.40-ti-r62"

Greg Wilson-Lindberg

unread,
Jun 29, 2016, 5:24:54 PM6/29/16
to BeagleBoard
No, i need the 3.14.49 series, so what are the releases for that?

Greg Wilson-Lindberg

unread,
Jun 29, 2016, 5:26:05 PM6/29/16
to BeagleBoard
And how are you getting the list of tags? or do you just have a text file?

Robert Nelson

unread,
Jun 29, 2016, 5:31:39 PM6/29/16
to Beagle Board
On Wed, Jun 29, 2016 at 4:26 PM, Greg Wilson-Lindberg
<gl4j...@gmail.com> wrote:
> And how are you getting the list of tags? or do you just have a text file?

3.14.49-ti-r73

git checkout, and using tab completion..

Greg Wilson-Lindberg

unread,
Jun 29, 2016, 6:08:56 PM6/29/16
to BeagleBoard
Ok, I put 3.14.49-ti-r73 in, ran build_kernel.sh. It pulled down the source and built the kernel, but at the end it didn't build the dts', deploy is empty and there is no kernel in arch/arm/boot.

Am I missing something?

Greg Wilson-Lindberg

unread,
Jun 29, 2016, 8:17:37 PM6/29/16
to BeagleBoard
Update, that was on my x86 system, I built it on a UEVM system and it seems to have worked, will try out the resulting kernel in the morning.

Regards,
Greg

Greg Wilson-Lindberg

unread,
Jun 30, 2016, 4:55:06 PM6/30/16
to BeagleBoard
Robert,
How do I force a make clean on yakbuild?

Regards,

Robert Nelson

unread,
Jun 30, 2016, 4:56:38 PM6/30/16
to Beagle Board
On Thu, Jun 30, 2016 at 3:55 PM, Greg Wilson-Lindberg
<gl4j...@gmail.com> wrote:
> Robert,
> How do I force a make clean on yakbuild?

./build_kernel.sh

Greg Wilson-Lindberg

unread,
Jun 30, 2016, 7:10:07 PM6/30/16
to BeagleBoard
I thought about that, I just wanted to make sure it wouldn't blow away and .config file that already existed.

On Thursday, June 30, 2016 at 1:56:38 PM UTC-7, RobertCNelson wrote:
On Thu, Jun 30, 2016 at 3:55 PM, Greg Wilson-Lindberg

./build_kernel.sh


William Hermans

unread,
Jun 30, 2016, 7:54:43 PM6/30/16
to beagl...@googlegroups.com
$ cp /path/to/.config /save/path/.config.old /* Or .config.<date>, or .config.<whatever description you want>*/
 
;)

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Greg Wilson-Lindberg

unread,
Jun 30, 2016, 8:06:12 PM6/30/16
to BeagleBoard
Ok, I've got a confusion. 

I found a backup is the ti-linux-kernel-dev tree that I used to create the 3.14.49-ti-r62 kernel that I've been using. It dates to 20150827. When I rebuild with tools/rebuild.sh everything gets recompiled. I have rebuilt my development system with Kubuntu 1204 64 bit, but that doesn't seem like it should force a recompile of everything.

Any idea what is happening?


On Thursday, June 30, 2016 at 1:56:38 PM UTC-7, RobertCNelson wrote:

Greg Wilson-Lindberg

unread,
Jun 30, 2016, 8:10:01 PM6/30/16
to BeagleBoard
Yeah, I thought about that, but that means that once you do the build_kernel, you have to restore the old .config and then rebuild with tools/rebuild.sh taking potentially twice as long.

I seem to be having bigger issues right now, so this isn't as big a deal as I thought.

Thanks,

Greg Wilson-Lindberg

unread,
Jul 1, 2016, 5:34:47 PM7/1/16
to BeagleBoard
Hi Robert,

As I said above, I found a backup of the ti-linux-kernel-dev directory from when I built my working kernel. I've tried to build it now on three systems, two x86 systems, one Kubuntu 12-04, one Kubuntu 14-04, and the third system, an OMAP-UEVM running a debian build of yours. On two of them the build doesn't finish (the 14-04 x86 and the UEVM), it compiles most everything, does links of some builtins.o files and then just stops without error messages and without creating the final kernel or the tar archives in the deploy directory. The third system finishes, the kernel boots, but it fails to read a max1363 ADC that is connected to the I2C bus. The I2C bus is enabled in the config, as is IIO and the ADC.

I had originally built this kernel on a Kubuntu 12-04 system last August. Now I can't get it to compile a fully working system.  On at least the UEVM system, if I run the build_kernel.sh script again, it tries to download new code and fails because the tags from back then are all bad and it can't check the newest version out.

I'm about at my wits end, I need to be able to build a fully working kernel, and have in the past, but now it doesn't work.  I've verified that the config file that I'm using to compile the various kernel builds matches the one from the working kernel. I've verified that the dtb is the correct one, either the original working one, or a new one built with the kernel.

Any suggestions that you may have would be greatly appreciated.

Regards,

Robert Nelson

unread,
Jul 1, 2016, 5:50:20 PM7/1/16
to Beagle Board
if you know the tag, use yakbuild. It was written specifically for the
issue you reference..

John Syne

unread,
Jul 1, 2016, 5:53:35 PM7/1/16
to beagl...@googlegroups.com
So did you do a git pull on your existing ti-linux-kernel-dev project? If you did, then it won’t build. To see the error, you have to scroll back, sometime you have to scroll back a lot to see the error. If the build was successful, you will see the deploy folder update successfully. The reason you don’t see the error at the end is because of the parallel build. The builder launches several threads and when one thread has an error, the other threads continue until they finish. 

Regards,
John




--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Greg Wilson-Lindberg

unread,
Jul 1, 2016, 6:34:06 PM7/1/16
to BeagleBoard
Hi Robert,
The problem that I've got with that is the tag doesn't make sense, its 3.14.49-ti-r62, which seems to be wrong, the 3.14.40 version was released with -r62, the 3.14.49 version was released with -r73.

While I can pull 3.14.49-ti-r73 with yakbuild, I'm having the same build problem, everything works except the read of the ADC. I've built several different 3 series kernels, I can't get any of them to read the ADC. The only one that works is my build from last August.

What's got me confused/frustrated now is that, at some point it was possible to build a kernel that had the ADC working, now I can't get it to work.  I don't know what has changed, I'm using the same .config, I've built it in the same environment. Nothing seems to work.

Regards,
Greg


On Friday, July 1, 2016 at 2:50:20 PM UTC-7, RobertCNelson wrote:
On Fri, Jul 1, 2016 at 4:34 PM, Greg Wilson-Lindberg

John Syne

unread,
Jul 1, 2016, 6:37:10 PM7/1/16
to beagl...@googlegroups.com
Have you installed the ADC devicetree overlay?

Regards,
John




--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

John Syne

unread,
Jul 1, 2016, 6:42:31 PM7/1/16
to beagl...@googlegroups.com
sudo sh -c "echo ‘BB-ADC' > /sys/devices/platform/bone_capemgr/slots"

Regards,
John




--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Greg Wilson-Lindberg

unread,
Jul 1, 2016, 6:56:38 PM7/1/16
to BeagleBoard
I've got a custom dtb that has the ADC in it. I've been using the ADC for almost a year now.  The problem is that I can't rebuild the kernel that does work, or get any other kernel to build and work with it either.

Regards,
Greg
Reply all
Reply to author
Forward
0 new messages