Switching kernel (RN) from 3.8.x to 3.?.x...

Hi,

since I have "lost" another embedded system (noy BBB) in the past due
to too old system software I want to switch from Robert Nelsons 3.8.x
kernel to a newer one (of course: a kernel maintained by Robert
Nelson! :slight_smile:

My hardware consists of

Audio Cape A1
LCD7 Cape A2
RS232 Cape A1
Beaglebone Black A5 and C

with the 3.8.x kernel it was possible to use them all together by
disableing the LEDs of the Audio Cape and disabling HDMI and internal
flash (not used anyway).

I am using Gentoo and except for the kernel itsself all software is
compiled "by hand" (read: by gcc) natively on the BBBs.

On the eewiki pages of the Beaglebone Black I saw that either 3.8.x or
3.15.x ist recommended. On the other hand, I think I could remember
that 3.14.x is a long term maintance version...?

I am a little confused now.

Is there is a tutorial/howto which describes the transistion from a
kernel with capemgr to one without and a """decision guide""" what
kernel to choose in the above described case?

Thank you very much in advance for any hint and help!
Best regards,
mcc

Hi,

since I have "lost" another embedded system (noy BBB) in the past due
to too old system software I want to switch from Robert Nelsons 3.8.x
kernel to a newer one (of course: a kernel maintained by Robert
Nelson! :slight_smile:

My hardware consists of

Audio Cape A1
LCD7 Cape A2
RS232 Cape A1
Beaglebone Black A5 and C

with the 3.8.x kernel it was possible to use them all together by
disableing the LEDs of the Audio Cape and disabling HDMI and internal
flash (not used anyway).

I am using Gentoo and except for the kernel itsself all software is
compiled "by hand" (read: by gcc) natively on the BBBs.

On the eewiki pages of the Beaglebone Black I saw that either 3.8.x or
3.15.x ist recommended. On the other hand, I think I could remember
that 3.14.x is a long term maintance version...?

I am a little confused now.

Is there is a tutorial/howto which describes the transistion from a
kernel with capemgr to one without and a """decision guide""" what
kernel to choose in the above described case?

http://elinux.org/Beagleboard:Capes_3.8_to_3.14

https://github.com/beagleboard/linux/tree/3.14

Every "cape" i add to that v3.14 tree i'm forward porting to
v3.16/v3.17 bone branches.. There might be some lag, but that's only
because i'm human.. :wink:

For:

Audio Cape A1
LCD7 Cape A2
RS232 Cape A1
Beaglebone Black A5 and C

Start with:
https://github.com/beagleboard/linux/blob/3.14/arch/arm/boot/dts/am335x-boneblack.dts

Disable: (comment out)
emmc:
#include "am335x-boneblack-emmc.dtsi"

hdmi with audio: (comment out)
#include "am335x-boneblack-nxp-hdmi-audio.dtsi"

Enable: (remove the comments)
Audio
#include "am335x-bone-audio-reva.dtsi"

lcd7 rev 2:
#include "am335x-bone-lcd7-01-00a2.dtsi" (untested as i don't have
hardware btw....)

Then enable what ever uart you want:

/* uart1: P9.24, P9.26 */
#include "am335x-ttyO1.dtsi"
/* #include "am335x-bone-ttyO1.dtsi" */
/* uart2: P9.21, P9.22 */
#include "am335x-ttyO2.dtsi"
/* #include "am335x-bone-ttyO2.dtsi" */
/* uart4: P9.11, P9.13 */
#include "am335x-ttyO4.dtsi"
/* #include "am335x-bone-ttyO4.dtsi" */
/* uart5: P8.37, P8.38 boneblack: hdmi has to be disabled for ttyO5 */
#include "am335x-ttyO5.dtsi"
/* #include "am335x-bone-ttyO5.dtsi" */

You can disable the "led" in this file:

https://github.com/beagleboard/linux/blob/3.14/arch/arm/boot/dts/am335x-bone-lcd7-01-00a2.dtsi

Regards,

Robert Nelson <robertcnelson@gmail.com> [14-10-04 01:28]:

> Hi,
>
> since I have "lost" another embedded system (noy BBB) in the past due
> to too old system software I want to switch from Robert Nelsons 3.8.x
> kernel to a newer one (of course: a kernel maintained by Robert
> Nelson! :slight_smile:
>
> My hardware consists of
>
> Audio Cape A1
> LCD7 Cape A2
> RS232 Cape A1
> Beaglebone Black A5 and C
>
> with the 3.8.x kernel it was possible to use them all together by
> disableing the LEDs of the Audio Cape and disabling HDMI and internal
> flash (not used anyway).
>
> I am using Gentoo and except for the kernel itsself all software is
> compiled "by hand" (read: by gcc) natively on the BBBs.
>
> On the eewiki pages of the Beaglebone Black I saw that either 3.8.x or
> 3.15.x ist recommended. On the other hand, I think I could remember
> that 3.14.x is a long term maintance version...?
>
> I am a little confused now.
>
> Is there is a tutorial/howto which describes the transistion from a
> kernel with capemgr to one without and a """decision guide""" what
> kernel to choose in the above described case?

http://elinux.org/Beagleboard:Capes_3.8_to_3.14

https://github.com/beagleboard/linux/tree/3.14

Every "cape" i add to that v3.14 tree i'm forward porting to
v3.16/v3.17 bone branches.. There might be some lag, but that's only
because i'm human.. :wink:

For:

> Audio Cape A1
> LCD7 Cape A2
> RS232 Cape A1
> Beaglebone Black A5 and C

Start with:
https://github.com/beagleboard/linux/blob/3.14/arch/arm/boot/dts/am335x-boneblack.dts

Disable: (comment out)
emmc:
#include "am335x-boneblack-emmc.dtsi"

hdmi with audio: (comment out)
#include "am335x-boneblack-nxp-hdmi-audio.dtsi"

Enable: (remove the comments)
Audio
#include "am335x-bone-audio-reva.dtsi"

lcd7 rev 2:
#include "am335x-bone-lcd7-01-00a2.dtsi" (untested as i don't have
hardware btw....)

Then enable what ever uart you want:

/* uart1: P9.24, P9.26 */
#include "am335x-ttyO1.dtsi"
/* #include "am335x-bone-ttyO1.dtsi" */
/* uart2: P9.21, P9.22 */
#include "am335x-ttyO2.dtsi"
/* #include "am335x-bone-ttyO2.dtsi" */
/* uart4: P9.11, P9.13 */
#include "am335x-ttyO4.dtsi"
/* #include "am335x-bone-ttyO4.dtsi" */
/* uart5: P8.37, P8.38 boneblack: hdmi has to be disabled for ttyO5 */
#include "am335x-ttyO5.dtsi"
/* #include "am335x-bone-ttyO5.dtsi" */

You can disable the "led" in this file:

https://github.com/beagleboard/linux/blob/3.14/arch/arm/boot/dts/am335x-bone-lcd7-01-00a2.dtsi

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

*WHOW*

A big ==Thank You=== for the informations in your mail! :::)))
Great - thats helps a LOT here!
Tommorrow morning I will start my journey to the new kernel --
its 1:30 in the night currently and I should sleep instead
of mailing, but... :wink:

Best regards,
mcc