Skip to contentSkip to conversation

Updates to support building dsp tools

PATCH NAK Peter A. Bigot 2 participants 16 messages Dec 28, 2011 – Dec 29, 2011

lore
Share & tools
lore
#0 lore raw

cover Updates to support building dsp tools

From: "Peter A. Bigot" <[email protected]>

I finally got the dsp tools to build. I don't know how y'all want this fixed, but here's what's going on:

ti-eula-unpack spawns the installer, then writes canned input to it to do things like set the output directory. The function that does this explicitly tacks a second newline on, in addition to the one normally added by Python's print statement.

For ti-cgt6x, the result is that a bare newline is fed to the installer at the point where the installation directory is requested, instead of the workdir. Hence, the default directory gets used; for this package, that's in /opt/TI.

For ti-xdctools, ti-edma3lld, and ti-dspbios, the bare newline also caused the default installation directory to be requested, but for this package that's ${HOME}/ti. Since ti-eula-unpack overrides the HOME environment variable to be the work directory, everything somehow happened to work out, at least for other folks. I don't think that's a great solution though, so I updated the recipes to do it "right", by changing the commands to conform to what the current installers expect. There may be other installation recipes for other tools that need the same fixes.

At this point, ti-codec-engine failed to build with the unanswered issue raised in
http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/110920.aspx.
I've added a patch for that; the corresponding PR change is a best guess.

The striplevel of the patches in ti-dmai is off by one. There's a patch for that; there's no patch for the fact that make 3.85 produces a "Entering an unknown directory" failure in do_install, since I could use make 3.81 and get the package built.

Finally, the kernel configuration for CONFIG_FB_OMAP2_NUM_FBS dropped back from 3 in the 2.6.x days (early November) to 2 with 3.0.14, preventing xstart from working with a ULCD7 display because /dev/fb2 didn't exist.

With all this, I still haven't managed to get an environment where matrix-gui runs on the xM with ULCD7, but at least it builds now, and I'm done for the night. BTW, matrix-tui doesn't build because it doesn't have license checksums.

Peter A. Bigot (5):
ti-eula-unpack: remove extraneous newline in cmd output
various: fix installation directories for corrected ti-eula-unpack
ti-codec-engine: work around XDC runtime error
ti-dmai: fix patch striplevel
linux 3.0: put back support for graphics on ULCD7

 .../linux/linux-3.0/beagleboard/defconfig          |    2 +-
 recipes-kernel/linux/linux_3.0.bb                  |    2 +-
 recipes-ti/bios/ti-dspbios.inc                     |    3 +-
 .../bypass-GCArmv5T-used-is-sealed.patch           |   22 ++++++++++++++++++++
 .../codec-engine/ti-codec-engine_2.26.02.11.bb     |    3 ++
 recipes-ti/devtools/ti-xdctools.inc                |    3 +-
 recipes-ti/dmai/ti-dmai_svn.bb                     |    6 ++--
 recipes-ti/edma3lld/ti-edma3lld.inc                |    3 +-
 recipes-ti/includes/ti-eula-unpack.inc             |    2 +-
 9 files changed, 37 insertions(+), 9 deletions(-)
 create mode 100644 recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch
Signature · 1 line
1.7.6.4
#1 lore raw

PATCH 1/5 ti-eula-unpack: remove extraneous newline in cmd output

From: "Peter A. Bigot" <[email protected]>

print adds one already; to add another causes the input to be off and the default installation directory to be used, at least on Fedora 15.

---
 recipes-ti/includes/ti-eula-unpack.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-ti/includes/ti-eula-unpack.inc +1 -1
index 3b79c24..7c6e7b7 100644
@@ -53,7 +53,7 @@ python ti_bin_do_unpack() {
             wdext = bb.data.getVar('TI_BIN_UNPK_WDEXT', localdata)
             wdext = bb.data.expand(wdext, localdata)
             cmd = workdir+wdext
-        print >>f, "%s\n" % cmd
+        print >>f, cmd
     f.close()
 
     # Expand the tarball that was created if required
Signature · 1 line
1.7.6.4
#2 lore raw

PATCH 2/5 various: fix installation directories for corrected ti-eula-unpack

In reply to Peter A. Bigot

From: "Peter A. Bigot" <[email protected]>

---
 recipes-ti/bios/ti-dspbios.inc      |    3 ++-
 recipes-ti/devtools/ti-xdctools.inc |    3 ++-
 recipes-ti/edma3lld/ti-edma3lld.inc |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
recipes-ti/bios/ti-dspbios.inc +2 -1
index 8519039..0e3fa62 100644
@@ -10,7 +10,8 @@ require ../includes/ti-paths.inc
 require ../includes/ti-staging.inc
 require ../includes/ti-eula-unpack.inc
 
-S = "${WORKDIR}/bios_${PV}"
+TI_BIN_UNPK_WDEXT="/bios_${PV}"
+S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=biosbin"
 
recipes-ti/devtools/ti-xdctools.inc +2 -1
index c76ad80..547a555 100644
@@ -12,7 +12,8 @@ S = "${WORKDIR}/xdctools_${PV}"
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/${PV}/exports/xdctools_setuplinux_${PV}.bin;name=xdcbin"
 
 BINFILE="xdctools_setuplinux_${PV}.bin"
-TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+TI_BIN_UNPK_CMDS="Y:workdir:Y"
+TI_BIN_UNPK_WDEXT="/ti"
 
 do_install() {
     install -d ${D}${XDC_INSTALL_DIR_RECIPE}
recipes-ti/edma3lld/ti-edma3lld.inc +2 -1
index d4e8557..fb131b6 100644
@@ -8,7 +8,8 @@ require ../includes/ti-paths.inc
 require ../includes/ti-staging.inc
 require ../includes/ti-eula-unpack.inc
 
-S = "${WORKDIR}/edma3_lld_${PV}"
+TI_BIN_UNPK_WDEXT="/edma3_lld_${PV}"
+S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/${SRC_URI_edma3lldsite}/edma3_lld/edma3-lld-bios5/${PV}/exports/EDMA3_LLD_setuplinux_${PV}.bin;name=edma3lldbin"
 
Signature · 1 line
1.7.6.4
#3 lore raw

PATCH 3/5 ti-codec-engine: work around XDC runtime error

In reply to Peter A. Bigot

From: "Peter A. Bigot" <[email protected]>

do_compile produces:

js: "/prj/oe/bb/build/tmp-eglibc/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_26_02_11-r114a/codec_engine_2_26_02_11/packages/ti/sdo/ce/osal/linux/package.xs", line 50: XDC runtime error: gnu.targets.arm.GCArmv5T: '$used' is sealed

Fix comments out the conditional check per suggestion in
http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/110920.aspx

---
 .../bypass-GCArmv5T-used-is-sealed.patch           |   22 ++++++++++++++++++++
 .../codec-engine/ti-codec-engine_2.26.02.11.bb     |    3 ++
 2 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch
recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch new file +22 -0
new file mode 100644
index 0000000..b93161f
@@ -0,0 +1,22 @@
+do_compile produces:
+
+js: "/prj/oe/bb/build/tmp-eglibc/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_26_02_11-r114a/codec_engine_2_26_02_11/packages/ti/sdo/ce/osal/linux/package.xs", line 50: XDC runtime error: gnu.targets.arm.GCArmv5T: '$used' is sealed
+
+Fix per suggestion in http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/110920.aspx
+
+--- ./packages/ti/sdo/ce/osal/linux/package.xs.orig	2010-12-01 23:24:48.000000000 -0600
++++ ./packages/ti/sdo/ce/osal/linux/package.xs	2011-12-27 14:59:39.382423341 -0600
+@@ -47,10 +47,10 @@
+     }
+ 
+     /* Conditionally load CMEM here */
+-    var targetMod = xdc.useModule(prog.build.target.$name);
+-    if ((":"+targetMod.getISAChain().join(":")+":").match(/:v5T:/i)) {
++    //var targetMod = xdc.useModule(prog.build.target.$name);
++    //if ((":"+targetMod.getISAChain().join(":")+":").match(/:v5T:/i)) {
+         xdc.useModule('ti.sdo.linuxutils.cmem.CMEM');
+-    }
++    //}
+ 
+     var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global');
+ 
recipes-ti/codec-engine/ti-codec-engine_2.26.02.11.bb +3 -0
index ad06429..de4fc0e 100644
@@ -1,6 +1,9 @@
 require ti-codec-engine.inc
 
 PV = "2_26_02_11"
+PR_append = "1"
+
+SRC_URI += "file://bypass-GCArmv5T-used-is-sealed.patch"
 
 SRC_URI[cetarball.md5sum] = "4f755f77119e4da19ab5cc7ae7ccfdb4"
 SRC_URI[cetarball.sha256sum] = "17fa053719265e0901fe3c3f90c9204957c6d0f5351d6b3ba4900df58cb7300f"
Signature · 1 line
1.7.6.4
#4 lore raw

PATCH 4/5 ti-dmai: fix patch striplevel

In reply to Peter A. Bigot

From: "Peter A. Bigot" <[email protected]>

---
 recipes-ti/dmai/ti-dmai_svn.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
recipes-ti/dmai/ti-dmai_svn.bb +3 -3
index 43b2833..48930b2 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://dmai_${PV}_License.html;md5=3302f728a5a42f97cabc26a54
 
 # This package has high dependence on kernel, use kernel PR as base and append a local version
 PR = "${MACHINE_KERNEL_PR}"
-PR_append = "o"
+PR_append = "p"
 
 DMAIBRANCH_dm6446     = "trunk"
 DMAIBRANCH_dm6467     = "branches/GITPSP_INT_101009"
@@ -29,7 +29,7 @@ SRCREV_omapl137       = "482"
 SRCREV_omapl138       = "570"
 SRCREV               ?= "UNDEFINED_SRCREV"
 
-SRC_URI_append = " file://omap3530-r642-remove-include-videodev.diff;striplevel=2 \
-                   file://r642-fix-config-bld.diff;striplevel=2 \
+SRC_URI_append = " file://omap3530-r642-remove-include-videodev.diff;striplevel=3 \
+                   file://r642-fix-config-bld.diff;striplevel=3 \
                  "
 
Signature · 1 line
1.7.6.4
#5 lore raw

PATCH 5/5 linux 3.0: put back support for graphics on ULCD7

In reply to Peter A. Bigot

From: "Peter A. Bigot" <[email protected]>

---
 .../linux/linux-3.0/beagleboard/defconfig          |    2 +-
 recipes-kernel/linux/linux_3.0.bb                  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y
 CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
 CONFIG_FB_OMAP2=y
 CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3
 
 #
 # OMAP2/3 Display Device Drivers
recipes-kernel/linux/linux_3.0.bb +1 -1
index d72826b..277e5d4 100644
@@ -10,7 +10,7 @@ PV = "3.0.14"
 SRCREV_pn-${PN} = "6636552f1dd0d2e2be2f87605ea2cd3aa4d2e5b6"
 
 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc
-MACHINE_KERNEL_PR_append = "a"
+MACHINE_KERNEL_PR_append = "b"
 
 FILESPATH =. "${FILE_DIRNAME}/linux-3.0:${FILE_DIRNAME}/linux-3.0/${MACHINE}:"
 
Signature · 1 line
1.7.6.4
#6 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 16 lines

From: "Peter A. Bigot" <[email protected]>

---

.../linux/linux-3.0/beagleboard/defconfig          |    2 +-
recipes-kernel/linux/linux_3.0.bb                  |    2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y · line 2459

Quoted 2 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

#7 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

Quoted 11 lines · Koen Kooi

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 8 lines

From: "Peter A. Bigot" <[email protected]>

---
.../linux/linux-3.0/beagleboard/defconfig          |    2 +- recipes-kernel/linux/linux_3.0.bb                  |    2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 12 lines

recipes-kernel/linux/linux-3.0/beagleboard/defconfig CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y · line 2459

Quoted 10 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

Is there some other solution that lets the ULCD7 work like it used to, or is it no longer a supported BeagleBoard accessory?

Peter

Quoted 7 lines

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk7643gACgkQMkyGM64RGpFadgCfbguU9xKL1yXJOCYeGo0eAG/l 8jsAnRs/faIBfmXiGfgGvfFGfZ6KI+nq
=2+yZ
-----END PGP SIGNATURE-----

#8 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

Op 28 dec. 2011, om 13:13 heeft Peter Bigot het volgende geschreven:

Quoted 25 lines · Koen Kooi
Quoted 11 lines

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 8 lines

From: "Peter A. Bigot" <[email protected]>

---

.../linux/linux-3.0/beagleboard/defconfig          |    2 +-
recipes-kernel/linux/linux_3.0.bb                  |    2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 12 lines

recipes-kernel/linux/linux-3.0/beagleboard/defconfig CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y · line 2459

Quoted 10 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

Quoted 2 lines

Is there some other solution that lets the ULCD7 work like it used to, or is it no longer a supported BeagleBoard accessory?

http://www.flickr.com/photos/koenkooi/6527657487

That's with 3.0.12, but 3.0.14 works the same.

#9 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

Quoted 28 lines · Koen Kooi

Op 28 dec. 2011, om 13:13 heeft Peter Bigot het volgende geschreven:

Quoted 25 lines · Koen Kooi
Quoted 23 lines

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 16 lines

From: "Peter A. Bigot" <[email protected]>

---
.../linux/linux-3.0/beagleboard/defconfig          |    2 +- recipes-kernel/linux/linux_3.0.bb                  |    2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y · line 2459

Quoted 2 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

Quoted 6 lines
Quoted 2 lines

Is there some other solution that lets the ULCD7 work like it used to, or is it no longer a supported BeagleBoard accessory?

http://www.flickr.com/photos/koenkooi/6527657487

That's with 3.0.12, but 3.0.14 works the same.

I need a customizable touchpad UI. I got "/dev/fb2 not found" and an abort when trying to run Xserver (which, as I said, used to work).

What image recipe and related software did you install to get the result you show on flickr?

Peter

Quoted 7 lines

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk77CgoACgkQMkyGM64RGpHJVwCeIAd6WpSGi+5ACrc969ImJL59 uT0AnRaccTls0n5bg1dvUx8U1+P66SfJ
=eYJ0
-----END PGP SIGNATURE-----

#10 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

Op 28 dec. 2011, om 13:33 heeft Peter Bigot het volgende geschreven:

Quoted 34 lines · Koen Kooi
Quoted 33 lines

Op 28 dec. 2011, om 13:13 heeft Peter Bigot het volgende geschreven:

Quoted 25 lines · Koen Kooi
Quoted 11 lines

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 8 lines

From: "Peter A. Bigot" <[email protected]>

---

.../linux/linux-3.0/beagleboard/defconfig          |    2 +-
recipes-kernel/linux/linux_3.0.bb                  |    2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 12 lines

recipes-kernel/linux/linux-3.0/beagleboard/defconfig CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y · line 2459

Quoted 10 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

Quoted 2 lines

Is there some other solution that lets the ULCD7 work like it used to, or is it no longer a supported BeagleBoard accessory?

http://www.flickr.com/photos/koenkooi/6527657487

Quoted 7 lines
Quoted 1 line

That's with 3.0.12, but 3.0.14 works the same.

I need a customizable touchpad UI. I got "/dev/fb2 not found" and an abort when trying to run Xserver (which, as I said, used to work).

What image recipe and related software did you install to get the result you show on flickr?

systemd-image with the gnome and xfce tasks installed. The image was built months ago and updated with opkg. I don't remember changing anything, but it is a while ago since I set it up.

#11 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

Quoted 39 lines · Koen Kooi

Op 28 dec. 2011, om 13:33 heeft Peter Bigot het volgende geschreven:

Quoted 36 lines · Koen Kooi
Quoted 34 lines

Op 28 dec. 2011, om 13:13 heeft Peter Bigot het volgende geschreven:

Quoted 25 lines · Koen Kooi
Quoted 11 lines

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 8 lines

From: "Peter A. Bigot" <[email protected]>

---
.../linux/linux-3.0/beagleboard/defconfig          |    2 +- recipes-kernel/linux/linux_3.0.bb                  |    2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 12 lines

recipes-kernel/linux/linux-3.0/beagleboard/defconfig CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y · line 2459

Quoted 10 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

Quoted 2 lines

Is there some other solution that lets the ULCD7 work like it used to, or is it no longer a supported BeagleBoard accessory?

http://www.flickr.com/photos/koenkooi/6527657487

That's with 3.0.12, but 3.0.14 works the same.

Quoted 7 lines
Quoted 5 lines

I need a customizable touchpad UI.  I got "/dev/fb2 not found" and an abort when trying to run Xserver (which, as I said, used to work).

What image recipe and related software did you install to get the result you show on flickr?

systemd-image with the gnome and xfce tasks installed. The image was built months ago and updated with opkg. I don't remember changing anything, but it is a while ago since I set it up.

Thanks. I reverted this kernel patch and confirm that the ULCD7 display works with systemd-gnome-image + task-xfce-base. (It won't auto login for some reason that I'm still investigating.)

What do you do to get the touchscreen working? It doesn't even show up in /dev/input, although the TSC2007 module's built into the kernel.
The ESC image boot process showed:

[    3.318267] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.326477] TSC2007_init started
[    3.330566] input: TSC2007 Touchscreen as /devices/virtual/input/input1

but what I have now shows only the gpio-keys device. Is there something in uEnv.txt for this? I"ve installed xinput and related packages, but if the device doesn't show up there must be something more fundamental wrong.

Peter

Quoted 7 lines

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk77FY0ACgkQMkyGM64RGpF84ACfQfWRK4DAosXYnFe8dqUfDqlb aroAnR+hoyEVfryZLUoTPrRR0Dsf1WP0
=YcCY
-----END PGP SIGNATURE-----

#12 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

Quoted 43 lines · Peter Bigot
Quoted 42 lines · Koen Kooi

Op 28 dec. 2011, om 13:33 heeft Peter Bigot het volgende geschreven:

Quoted 39 lines · Koen Kooi
Quoted 28 lines

Op 28 dec. 2011, om 13:13 heeft Peter Bigot het volgende geschreven:

Quoted 25 lines · Koen Kooi
Quoted 23 lines

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 16 lines

From: "Peter A. Bigot" <[email protected]>

---
.../linux/linux-3.0/beagleboard/defconfig          |    2 +- recipes-kernel/linux/linux_3.0.bb                  |    2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig

Quoted 2 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

Quoted 6 lines
Quoted 2 lines

Is there some other solution that lets the ULCD7 work like it used to, or is it no longer a supported BeagleBoard accessory?

http://www.flickr.com/photos/koenkooi/6527657487

That's with 3.0.12, but 3.0.14 works the same.

I need a customizable touchpad UI.  I got "/dev/fb2 not found" and an abort when trying to run Xserver (which, as I said, used to work).

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

What image recipe and related software did you install to get the result you show on flickr?

systemd-image with the gnome and xfce tasks installed. The image was built months ago and updated with opkg. I don't remember changing anything, but it is a while ago since I set it up.

Thanks.  I reverted this kernel patch and confirm that the ULCD7 display works with systemd-gnome-image + task-xfce-base.  (It won't auto login for some reason that I'm still investigating.)

/etc/pam.d/gdm-autologin refers to system-auth which doesn't exist in OE. Somebody needs to patch this to refer to common-* as is done with the other pam files. Not a meta-ti problem.

Quoted 2 lines

What do you do to get the touchscreen working?  It doesn't even show up in /dev/input, although the TSC2007 module's built into the kernel.

uboot 0003-beagleboard-add-support-for-scanning-loop-through-ex.patch only recognizes ulcd7 when it appears in buddy2, but only adds buddy2 to nandargs in include/config/omap3_beagleboard.h. It needs to be in mmcargs too, and possibly ramargs, if consistency is important. camera's missing from ramargs too. This is a meta-ti problem, and I'll leave it for the professionals to fix officially (a #define for the common settings would probably be a good idea).

Peter

Quoted 20 lines

 The ESC image boot process showed:

[    3.318267] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [    3.326477] TSC2007_init started
[    3.330566] input: TSC2007 Touchscreen as /devices/virtual/input/input1

but what I have now shows only the gpio-keys device.  Is there something in uEnv.txt for this?  I"ve installed xinput and related packages, but if the device doesn't show up there must be something more fundamental wrong.

Peter

Quoted 7 lines

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk77FY0ACgkQMkyGM64RGpF84ACfQfWRK4DAosXYnFe8dqUfDqlb aroAnR+hoyEVfryZLUoTPrRR0Dsf1WP0
=YcCY
-----END PGP SIGNATURE-----

#13 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

Op 29 dec. 2011, om 01:20 heeft Peter Bigot het volgende geschreven:

Quoted 49 lines · Peter Bigot
Quoted 48 lines · Koen Kooi
Quoted 46 lines

Op 28 dec. 2011, om 13:33 heeft Peter Bigot het volgende geschreven:

Quoted 34 lines · Koen Kooi
Quoted 33 lines

Op 28 dec. 2011, om 13:13 heeft Peter Bigot het volgende geschreven:

Quoted 25 lines · Koen Kooi
Quoted 11 lines

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 8 lines

From: "Peter A. Bigot" <[email protected]>

---

.../linux/linux-3.0/beagleboard/defconfig          |    2 +-
recipes-kernel/linux/linux_3.0.bb                  |    2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 12 lines

recipes-kernel/linux/linux-3.0/beagleboard/defconfig

Quoted 10 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

Quoted 2 lines

Is there some other solution that lets the ULCD7 work like it used to, or is it no longer a supported BeagleBoard accessory?

http://www.flickr.com/photos/koenkooi/6527657487

Quoted 7 lines
Quoted 1 line

That's with 3.0.12, but 3.0.14 works the same.

I need a customizable touchpad UI. I got "/dev/fb2 not found" and an abort when trying to run Xserver (which, as I said, used to work).

What image recipe and related software did you install to get the result you show on flickr?

systemd-image with the gnome and xfce tasks installed. The image was built months ago and updated with opkg. I don't remember changing anything, but it is a while ago since I set it up.

Quoted 7 lines
Quoted 3 lines

Thanks. I reverted this kernel patch and confirm that the ULCD7 display works with systemd-gnome-image + task-xfce-base. (It won't auto login for some reason that I'm still investigating.)

/etc/pam.d/gdm-autologin refers to system-auth which doesn't exist in OE. Somebody needs to patch this to refer to common-* as is done with the other pam files. Not a meta-ti problem.

Can you do a 'opkg search /etc/pam.d/gdm-autologin' to see where that file is coming from, I only have /etc/pam.d/gdm

Quoted 10 lines
Quoted 2 lines

What do you do to get the touchscreen working? It doesn't even show up in /dev/input, although the TSC2007 module's built into the kernel.

uboot 0003-beagleboard-add-support-for-scanning-loop-through-ex.patch only recognizes ulcd7 when it appears in buddy2, but only adds buddy2 to nandargs in include/config/omap3_beagleboard.h. It needs to be in mmcargs too, and possibly ramargs, if consistency is important. camera's missing from ramargs too. This is a meta-ti problem, and I'll leave it for the professionals to fix officially (a #define for the common settings would probably be a good idea).

Done, thanks for the report!

regards,

Koen

#15 lore raw
In reply to Peter A. Bigot

Op 28 dec. 2011, om 01:51 heeft Peter A. Bigot het volgende geschreven:

Quoted 15 lines

From: "Peter A. Bigot" <[email protected]>

I finally got the dsp tools to build. I don't know how y'all want this fixed, but here's what's going on:

ti-eula-unpack spawns the installer, then writes canned input to it to do things like set the output directory. The function that does this explicitly tacks a second newline on, in addition to the one normally added by Python's print statement.

For ti-cgt6x, the result is that a bare newline is fed to the installer at the point where the installation directory is requested, instead of the workdir. Hence, the default directory gets used; for this package, that's in /opt/TI.

Quoted 8 lines

For ti-xdctools, ti-edma3lld, and ti-dspbios, the bare newline also caused the default installation directory to be requested, but for this package that's ${HOME}/ti. Since ti-eula-unpack overrides the HOME environment variable to be the work directory, everything somehow happened to work out, at least for other folks. I don't think that's a great solution though, so I updated the recipes to do it "right", by changing the commands to conform to what the current installers expect. There may be other installation recipes for other tools that need the same fixes.

I'm going to wait for Roger to get back from holidays to comment on the installer issues, I'll push the CE and dmai patches later today.

regards,

Koen

#14 lore raw

Re: [PATCH 5/5] linux 3.0: put back support for graphics on ULCD7

In reply to Koen Kooi
Quoted 46 lines · Koen Kooi

Op 29 dec. 2011, om 01:20 heeft Peter Bigot het volgende geschreven:

Quoted 43 lines · Peter Bigot
Quoted 42 lines · Koen Kooi
Quoted 41 lines

Op 28 dec. 2011, om 13:33 heeft Peter Bigot het volgende geschreven:

Quoted 38 lines · Koen Kooi
Quoted 28 lines

Op 28 dec. 2011, om 13:13 heeft Peter Bigot het volgende geschreven:

Quoted 25 lines · Koen Kooi
Quoted 23 lines

Op 28 dec. 2011, om 01:52 heeft Peter A. Bigot het volgende geschreven:

Quoted 16 lines

From: "Peter A. Bigot" <[email protected]>

---
.../linux/linux-3.0/beagleboard/defconfig          |    2 +- recipes-kernel/linux/linux_3.0.bb                  |    2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +0 -0
index 5f2a7eb..7938236 100644
@@ -2456,7 +2456,7 @@ CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET=y

CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y

recipes-kernel/linux/linux-3.0/beagleboard/defconfig

Quoted 2 lines
recipes-kernel/linux/linux-3.0/beagleboard/defconfig +1 -1
-CONFIG_FB_OMAP2_NUM_FBS=2
+CONFIG_FB_OMAP2_NUM_FBS=3

NAK, we need one to be available for v4l

Quoted 6 lines
Quoted 2 lines

Is there some other solution that lets the ULCD7 work like it used to, or is it no longer a supported BeagleBoard accessory?

http://www.flickr.com/photos/koenkooi/6527657487

That's with 3.0.12, but 3.0.14 works the same.

I need a customizable touchpad UI.  I got "/dev/fb2 not found" and an abort when trying to run Xserver (which, as I said, used to work).

For the record, the other thing I changed that might explain why it now works was to switch the preferred provider of task-xserver from meta-oe to meta-angstrom. Though the recipes look an awful lot alike.

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

What image recipe and related software did you install to get the result you show on flickr?

systemd-image with the gnome and xfce tasks installed. The image was built months ago and updated with opkg. I don't remember changing anything, but it is a while ago since I set it up.

Thanks.  I reverted this kernel patch and confirm that the ULCD7 display works with systemd-gnome-image + task-xfce-base.  (It won't auto login for some reason that I'm still investigating.)

Quoted 5 lines
Quoted 3 lines

/etc/pam.d/gdm-autologin refers to system-auth which doesn't exist in OE.  Somebody needs to patch this to refer to common-* as is done with the other pam files.  Not a meta-ti problem.

Can you do a 'opkg search /etc/pam.d/gdm-autologin' to see where that file is coming from, I only have /etc/pam.d/gdm

root@beagleboard:~# opkg search /etc/pam.d/gdm-autologin
gdm - 2.32.2-r5
Quoted 11 lines
Quoted 10 lines
Quoted 2 lines

What do you do to get the touchscreen working?  It doesn't even show up in /dev/input, although the TSC2007 module's built into the kernel.

uboot 0003-beagleboard-add-support-for-scanning-loop-through-ex.patch only recognizes ulcd7 when it appears in buddy2, but only adds buddy2 to nandargs in include/config/omap3_beagleboard.h.  It needs to be in mmcargs too, and possibly ramargs, if consistency is important. camera's missing from ramargs too.  This is a meta-ti problem, and I'll leave it for the professionals to fix officially (a #define for the common settings would probably be a good idea).

Quoted 1 line

Done, thanks for the report!

Thanks; confirmed that touchpad now works, but I still need the timeout delay patch. Without it I get the following for as long as I care to wait. May be a feature of my SD card (a SanDisk 4GB). I'll send an update.

Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
Setting bus to 1
Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
mmc_send_cmd: timedout waiting for stat!
mmc_send_cmd: timedout waiting for stat!
mmc_send_cmd: timedout waiting for stat!

Quoted 10 lines

regards,

Koen
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk78IbkACgkQMkyGM64RGpH0VACfeI8nbpO4jeFO8vVtBiEQpzjA rUgAoLudPuCEbWKoSQwcAtJaKv9WfRwe
=v8sd
-----END PGP SIGNATURE-----