Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #51684 > unrolled thread

Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15)

Started byVagrant Cascadian <vagrant@debian.org>
First post2015-12-11 01:20 +0100
Last post2015-12-16 01:10 +0100
Articles 9 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15) Vagrant Cascadian <vagrant@debian.org> - 2015-12-11 01:20 +0100
    Processed: Re: Bug#807624: armhf: Please enable support for  DRA7XX systems (Beagle-x15) owner@bugs.debian.org (Debian Bug Tracking System) - 2015-12-11 03:10 +0100
    Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15) Ben Hutchings <ben@decadent.org.uk> - 2015-12-11 03:10 +0100
      Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15) Vagrant Cascadian <vagrant@debian.org> - 2015-12-11 09:00 +0100
      Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15) Vagrant Cascadian <vagrant@debian.org> - 2015-12-15 21:00 +0100
        Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15) Vagrant Cascadian <vagrant@debian.org> - 2015-12-16 01:10 +0100
          Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15) Ian Campbell <ijc@debian.org> - 2016-01-01 15:10 +0100
            Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15) Vagrant Cascadian <vagrant@debian.org> - 2016-01-01 20:40 +0100
    Processed: Re: Bug#807624: armhf: Please enable support for  DRA7XX systems (Beagle-x15) owner@bugs.debian.org (Debian Bug Tracking System) - 2015-12-16 01:10 +0100

#51684 — Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15)

FromVagrant Cascadian <vagrant@debian.org>
Date2015-12-11 01:20 +0100
SubjectBug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15)
Message-ID<qEjBg-54D-15@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Source: linux
Version: 4.3-1~exp1
Severity: wishlist
Tags: patch

Please enable support for DRA7XX systems, such as the Beagle-x15.

I was able to boot a Beagle-x15 system by applying the following patch
to the debian packaging for linux 4.3-1~exp1:

diff --git a/debian/config/armhf/config.armmp b/debian/config/armhf/config.armmp
index 285f9c3..457ca53 100644
--- a/debian/config/armhf/config.armmp
+++ b/debian/config/armhf/config.armmp
@@ -69,6 +69,7 @@ CONFIG_ARCH_OMAP3=y
 CONFIG_ARCH_OMAP4=y
 CONFIG_SOC_OMAP5=y
 CONFIG_SOC_AM33XX=y
+CONFIG_SOC_DRA7XX=y
 CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
 CONFIG_SOC_OMAP3430=y
 CONFIG_SOC_TI81XX=y


live well,
  vagrant

[toc] | [next] | [standalone]


#51686 — Processed: Re: Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15)

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2015-12-11 03:10 +0100
SubjectProcessed: Re: Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15)
Message-ID<qEljH-6cz-5@gated-at.bofh.it>
In reply to#51684
Processing control commands:

> tag -1 moreinfo
Bug #807624 [src:linux] armhf: Please enable support for DRA7XX systems (Beagle-x15)
Added tag(s) moreinfo.

-- 
807624: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807624
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#51687

FromBen Hutchings <ben@decadent.org.uk>
Date2015-12-11 03:10 +0100
Message-ID<qEljH-6cz-3@gated-at.bofh.it>
In reply to#51684

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 moreinfo

On Thu, 2015-12-10 at 16:09 -0800, Vagrant Cascadian wrote:
> Source: linux
> Version: 4.3-1~exp1
> Severity: wishlist
> Tags: patch
> 
> Please enable support for DRA7XX systems, such as the Beagle-x15.
> 
> I was able to boot a Beagle-x15 system by applying the following
> patch
> to the debian packaging for linux 4.3-1~exp1:
> 
> diff --git a/debian/config/armhf/config.armmp
> b/debian/config/armhf/config.armmp
> index 285f9c3..457ca53 100644
> --- a/debian/config/armhf/config.armmp
> +++ b/debian/config/armhf/config.armmp
> @@ -69,6 +69,7 @@ CONFIG_ARCH_OMAP3=y
>  CONFIG_ARCH_OMAP4=y
>  CONFIG_SOC_OMAP5=y
>  CONFIG_SOC_AM33XX=y
> +CONFIG_SOC_DRA7XX=y
>  CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
>  CONFIG_SOC_OMAP3430=y
>  CONFIG_SOC_TI81XX=y

How about additional device drivers?  I found these which seem to be
useful for DRA7xx chips but aren't enabled yet:

CONFIG_SND_DAVINCI_SOC_MCASP
CONFIG_VIDEO_TI_VPE
CONFIG_SPI_TI_QSPI
CONFIG_PCI_DRA7XX

Ben.

-- 
Ben Hutchings
One of the nice things about standards is that there are so many of them.

[toc] | [prev] | [next] | [standalone]


#51696

FromVagrant Cascadian <vagrant@debian.org>
Date2015-12-11 09:00 +0100
Message-ID<qEqMq-19l-7@gated-at.bofh.it>
In reply to#51687

[Multipart message — attachments visible in raw view] — view raw

On 2015-12-10, Ben Hutchings wrote:
>> Please enable support for DRA7XX systems, such as the Beagle-x15.
...
> How about additional device drivers?  I found these which seem to be
> useful for DRA7xx chips but aren't enabled yet:
>
> CONFIG_SND_DAVINCI_SOC_MCASP
> CONFIG_VIDEO_TI_VPE
> CONFIG_SPI_TI_QSPI
> CONFIG_PCI_DRA7XX

I'm not sure which of those are relevent for Beagle-x15, but will give
them a try with another kernel build over the weekend.

Even without those device drivers, my quick test worked with serial
console, ethernet and microSD.


live well,
  vagrant

[toc] | [prev] | [next] | [standalone]


#51773

FromVagrant Cascadian <vagrant@debian.org>
Date2015-12-15 21:00 +0100
Message-ID<qG3Vo-aC-11@gated-at.bofh.it>
In reply to#51687

[Multipart message — attachments visible in raw view] — view raw

On 2015-12-10, Ben Hutchings wrote:
> On Thu, 2015-12-10 at 16:09 -0800, Vagrant Cascadian wrote:
>> Please enable support for DRA7XX systems, such as the Beagle-x15.
>> 
>> I was able to boot a Beagle-x15 system by applying the following
>> patch
>> to the debian packaging for linux 4.3-1~exp1:
>> 
>> diff --git a/debian/config/armhf/config.armmp
>> b/debian/config/armhf/config.armmp
>> index 285f9c3..457ca53 100644
>> --- a/debian/config/armhf/config.armmp
>> +++ b/debian/config/armhf/config.armmp
>> @@ -69,6 +69,7 @@ CONFIG_ARCH_OMAP3=y
>>  CONFIG_ARCH_OMAP4=y
>>  CONFIG_SOC_OMAP5=y
>>  CONFIG_SOC_AM33XX=y
>> +CONFIG_SOC_DRA7XX=y
>>  CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
>>  CONFIG_SOC_OMAP3430=y
>>  CONFIG_SOC_TI81XX=y
>
> How about additional device drivers?  I found these which seem to be
> useful for DRA7xx chips but aren't enabled yet:
>
> CONFIG_SND_DAVINCI_SOC_MCASP
> CONFIG_VIDEO_TI_VPE
> CONFIG_SPI_TI_QSPI
> CONFIG_PCI_DRA7XX

With those enabled, there were no additional modules automatically
loaded and no PCI devices listed. So it doesn't seem to change anything
for the beagle-x15.

USB didn't work for me; all I saw were the USB3 and USB2 hub devices,
nothing plugged into them.

I haven't yet tested eSATA or video/framebuffer output yet. Hope to try
that later today. I'll also test a build with the 4.4.x kernel, to see
if updates to any of the drivers improve the situation.

live well,
  vagrant

[toc] | [prev] | [next] | [standalone]


#51775

FromVagrant Cascadian <vagrant@debian.org>
Date2015-12-16 01:10 +0100
Message-ID<qG7Pk-2RZ-9@gated-at.bofh.it>
In reply to#51773

[Multipart message — attachments visible in raw view] — view raw

Control: tags 807624 -moreinfo

On 2015-12-15, Vagrant Cascadian wrote:
> On 2015-12-10, Ben Hutchings wrote:
>> On Thu, 2015-12-10 at 16:09 -0800, Vagrant Cascadian wrote:
>>> Please enable support for DRA7XX systems, such as the Beagle-x15.
...
>> How about additional device drivers?  I found these which seem to be
>> useful for DRA7xx chips but aren't enabled yet:
>>
>> CONFIG_SND_DAVINCI_SOC_MCASP
>> CONFIG_VIDEO_TI_VPE
>> CONFIG_SPI_TI_QSPI
>> CONFIG_PCI_DRA7XX
>
> With those enabled, there were no additional modules automatically
> loaded and no PCI devices listed. So it doesn't seem to change anything
> for the beagle-x15.
>
> USB didn't work for me; all I saw were the USB3 and USB2 hub devices,
> nothing plugged into them.
>
> I haven't yet tested eSATA or video/framebuffer output yet. Hope to try
> that later today. I'll also test a build with the 4.4.x kernel, to see
> if updates to any of the drivers improve the situation.

With 4.4.x and with CONFIG_SOC_DRA7XX=y added, I get:

Works:
frambuffer video
serial console
both CPUs detected
all RAM detected
eMMC works
microSD works

Doesn't work:
eSATA
USB

Haven't tested:
audio

dmesg and lsmod output attached if that would be helpful.


Would you consider enabling it even though there are some notable
features not yet working?


live well,
  vagrant

[toc] | [prev] | [next] | [standalone]


#51983

FromIan Campbell <ijc@debian.org>
Date2016-01-01 15:10 +0100
Message-ID<qM8yZ-3sD-3@gated-at.bofh.it>
In reply to#51775
On Tue, 2015-12-15 at 16:04 -0800, Vagrant Cascadian wrote:

> Would you consider enabling it even though there are some notable
> features not yet working?

Seems like there is a sufficiently useful set of stuff which is
working, so I think we should.

The final change to the generated .config with your one liner is below,
I think we should probably enable CONFIG_DRA752_THERMAL
and CONFIG_VIDEO_TI_VPE? The former seems obvious so I'll include it,
not so sure about the other option, will leave it for now.

Ian.

@@ -465,7 +465,7 @@
 CONFIG_SOC_OMAP5=y
 CONFIG_SOC_AM33XX=y
 # CONFIG_SOC_AM43XX is not set
-# CONFIG_SOC_DRA7XX is not set
+CONFIG_SOC_DRA7XX=y
 CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_OMAP_INTERCONNECT_BARRIER=y
 
@@ -3695,6 +3695,7 @@
 # CONFIG_OMAP3_THERMAL is not set
 CONFIG_OMAP4_THERMAL=y
 CONFIG_OMAP5_THERMAL=y
+# CONFIG_DRA752_THERMAL is not set
 
 #
 # Samsung thermal drivers
@@ -4233,6 +4234,7 @@
 # CONFIG_VIDEO_SAMSUNG_S5P_MFC is not set
 # CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC is not set
 # CONFIG_VIDEO_SH_VEU is not set
+# CONFIG_VIDEO_TI_VPE is not set
 CONFIG_V4L_TEST_DRIVERS=y
 CONFIG_VIDEO_VIVID=m
 CONFIG_VIDEO_VIVID_MAX_DEVS=64
@@ -6405,6 +6407,7 @@
 CONFIG_ARM_GIC=y
 CONFIG_ARM_GIC_V3=y
 CONFIG_OMAP_IRQCHIP=y
+CONFIG_IRQ_CROSSBAR=y
 # CONFIG_IPACK_BUS is not set
 CONFIG_ARCH_HAS_RESET_CONTROLLER=y
 CONFIG_RESET_CONTROLLER=y

[toc] | [prev] | [next] | [standalone]


#52000

FromVagrant Cascadian <vagrant@debian.org>
Date2016-01-01 20:40 +0100
Message-ID<qMdIl-6BX-3@gated-at.bofh.it>
In reply to#51983

[Multipart message — attachments visible in raw view] — view raw

On 2016-01-01, Ian Campbell wrote:
> On Tue, 2015-12-15 at 16:04 -0800, Vagrant Cascadian wrote:
>> Would you consider enabling it even though there are some notable
>> features not yet working?
>
> Seems like there is a sufficiently useful set of stuff which is
> working, so I think we should.
>
> The final change to the generated .config with your one liner is below,
> I think we should probably enable CONFIG_DRA752_THERMAL
> and CONFIG_VIDEO_TI_VPE? The former seems obvious so I'll include it,
> not so sure about the other option, will leave it for now.

Ben also suggested CONFIG_VIDEO_TI_VPE, and at first I didn't see it
load, but on my last build attempt I did. I don't know how I would
actually test it, however.  Same for CONFIG_SND_DAVINCI_SOC_MCASP and
CONFIG_SPI_TI_QSPI, so I would suggest adding:

CONFIG_SND_DAVINCI_SOC_MCASP=m
CONFIG_VIDEO_TI_VPE=m
CONFIG_SPI_TI_QSPI=m
CONFIG_PCI_DRA7XX=y
CONFIG_DRA752_THERMAL=y
CONFIG_SOC_DRA7XX=y


live well,
  vagrant

[toc] | [prev] | [next] | [standalone]


#51776 — Processed: Re: Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15)

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2015-12-16 01:10 +0100
SubjectProcessed: Re: Bug#807624: armhf: Please enable support for DRA7XX systems (Beagle-x15)
Message-ID<qG7Pk-2RZ-15@gated-at.bofh.it>
In reply to#51684
Processing control commands:

> tags 807624 -moreinfo
Bug #807624 [src:linux] armhf: Please enable support for DRA7XX systems (Beagle-x15)
Removed tag(s) moreinfo.

-- 
807624: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807624
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web