Skip to contentSkip to conversation

New: ti-sgk-km build on kernel >4.1

Buildroot bugzilla at busybox.net 2 participants 5 messages Mar 27, 2017 – Feb 5, 2018 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=9781

Bug ID: 9781
Summary: ti-sgk-km build on kernel >4.1
Product: buildroot
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: sbenoit at brioconcept.com
CC: buildroot at uclibc.org
Target Milestone: ---

The ti-gfx-km will not find the dmac function when building. Since the prototype has changed file/folder since version higher than 4.1. We need to patch the ocfunc.c file and add

54a55,57

Quoted 3 lines

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
#include <../mm/dma.h>
#endif

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

Lothar,

Since you initially submitted the ti-sgx-km package, could you have a look at the below bug report, and see if you could provide a patch?

Thanks a lot!

Thomas

Quoted 27 lines · bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9781

Bug ID: 9781
Summary: ti-sgk-km build on kernel >4.1
Product: buildroot
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: sbenoit at brioconcept.com
CC: buildroot at uclibc.org
Target Milestone: ---

The ti-gfx-km will not find the dmac function when building. Since the prototype has changed file/folder since version higher than 4.1. We need to patch the ocfunc.c file and add

54a55,57

Quoted 3 lines

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
#include <../mm/dma.h>
#endif

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#4 lore raw

[Buildroot] [Bug 9781] ti-sgx-km build on kernel >4.1

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9781

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|ti-sgk-km build on kernel   |ti-sgx-km build on kernel
                   |>4.1                        |>4.1
Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#3 lore raw
In reply to a message not in the archive

Hello Lothar,

Quoted 7 lines · Lothar Felten
Quoted 2 lines

Since you initially submitted the ti-sgx-km package, could you have a look at the below bug report, and see if you could provide a patch?

Hi Thomas,

I'll take a look at the issue. I think there's also a new ti-sgx package available, mayba I can bump the version.

Do you have some news about solving this bug ?

See https://bugs.busybox.net/show_bug.cgi?id=9781.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#5 lore raw

[Buildroot] [Bug 9781] ti-sgx-km build on kernel >4.1

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9781

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #1 from Thomas Petazzoni <[email protected]> --- This really is an upstream problem. The Git repository at
http://git.ti.com/graphics/omap5-sgx-ddk-linux has newer versions, but the Git history is a bit of a mess, making it difficult to know if the latest master branch still applies to the SoCs ti-sgx-km currently supports.

Someone having access to HW and interested in TI platforms should look into this. Could you submit a patch updating the ti-sgx-km to a newer version?

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.