Re: 3.17-rc6 on ODROID: ERROR: Bad of_node_put() on /ehci@12580000/port@1

2014-10-01 Thread Sid Boyce

3.17-rc7 boots on ODROID-U3 Ubuntu 14.04.
I deleted references to of_node_put in drivers/usb/host/ehci-exynos.c as 
recommended.


# make exynos_defconfig
# make menuconfig
root@odroidu3:/b2/linux-3.17.0-rc7# grep DTB .config
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is not set


# make-kpkg -j 4 --initrd linux_headers linux_image

root@odroidu3:/b2/linux-3.17.0-rc7# ls -l ../linux*-3.17.0-rc7*.deb
-rw-r--r-- 1 root root 6410252 Oct 1 20:47 
../linux-headers-3.17.0-rc7-6-gaad7fb9-dirty_3.17.0-rc7-6-gaad7fb9-dirty-10.00.Custom_armhf.deb
-rw-r--r-- 1 root root 5124364 Oct 1 20:48 
../linux-image-3.17.0-rc7-6-gaad7fb9-dirty_3.17.0-rc7-6-gaad7fb9-dirty-10.00.Custom_armhf.deb


Installed the packages and generated a uInitrd

# make exynos4412-odroidu3.dtb
# root@odroidu3:/b2/linux-3.17.0-rc7# ls -l 
arch/arm/boot/dts/exynos4412-odroidu3.dtb
-rw-r--r-- 1 root root 35543 Oct 1 23:01 
arch/arm/boot/dts/exynos4412-odroidu3.dtb


# cat zImage exynos4412-odroidu3.dtb  /media/boot/zImage+dtb

Made the necessary changes to /media/boot - cp zImage+dtb zImage and 
cp uInitrd-3.17.0-rc7 uInitrrd


The kernel boots - no screens found in X. All my USB devices show and 
USB hard drives mounted.

recompiled and installed xf86-video-armsoc-r4p0
root@odroidu3:~# uname -r
3.17.0-rc7-6-gaad7fb9-dirty
root@odroidu3:~# lsusb
Bus 001 Device 006: ID 13fd:1840 Initio Corporation INIC-1608 SATA bridge
Bus 001 Device 008: ID 0b95:7720 ASIX Electronics Corp. AX88772
Bus 001 Device 015: ID 0ccd:0028 TerraTec Electronic GmbH Aureon 5.1 MkII
Bus 001 Device 021: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 009: ID 0e8f:0022 GreenAsia Inc.
Bus 001 Device 007: ID 050d:0307 Belkin Components USB 2.0 - 7 ports Hub 
[FSU307]

Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 004: ID 13fd:1840 Initio Corporation INIC-1608 SATA bridge
Bus 001 Device 003: ID 0424:3503 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:9730 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Regards
Sid.

On 01/10/14 16:38, Grant Likely wrote:

On Wed, Oct 1, 2014 at 4:12 PM, Daniel Drake dr...@endlessm.com wrote:

On Wed, Oct 1, 2014 at 12:36 AM, Vivek Gautam gautam.vi...@samsung.com wrote:

One reason i doubt why it could be coming is because we are
specifically putting the
child after doing everything with it.

When we are getting the child node using for_each_available_child_of_node(),
which calls for of_get_next_available_child(). So of_get_next_available_child()
does a of_node_put() on the prev node, in case we have siblings to the child.

Can you see if the below change helps ?


diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c
index 7189f2e..1b726bf 100644
--- a/drivers/usb/host/ehci-exynos.c
+++ b/drivers/usb/host/ehci-exynos.c
@@ -74,7 +74,6 @@ static int exynos_ehci_get_phy(struct device *dev,

 phy = devm_of_phy_get(dev, child, NULL);
 exynos_ehci-phy[phy_number] = phy;
-   of_node_put(child);
 if (IS_ERR(phy)) {
 ret = PTR_ERR(phy);
 if (ret == -EPROBE_DEFER) {



This is on top of usb-next.
If you are testing on rc6 only, then probably you will have to cherrypick two
patches each for ehci-exynos and ohci-exynos:
usb: host: ehci-exynos: Remove unnecessary usb-phy support
usb: host: ohci-exynos: Remove unnecessary usb-phy support

I made the equivalent change to 3.17-rc7 (right now 3.17 is my main
interest), i.e. removed all of_node_put calls from
exynos_ehci_get_phy(). Same change is needed in exynos_ohci_get_phy().
Now the warnings are gone.
BTW, I think the warning only appeared when CONFIG_OF_SELFTEST=y

I didn't check the implementation details like you did, but I looked
at a few other users of for_each_available_child_of_node and it looks
like indeed you do not need to call of_node_put() on the children in
the normal case, or at least, nobody else does.

CONFIG_OF_SELFTEST enables CONFIG_OF_DYNAMIC, and reference counting
is only implemented when OF_DYNAMIC is enabled. That's probably why
selftest exposes the problem.

g.
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html




--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list

Multimonitor support on ARM

2014-06-04 Thread Sid Boyce

I don't know if this is fixable or even considered for ARM.
I have a Lilliput 7 USB LCD that works fine on a Beaglebone White with 
the udlfb kernel module.


I started looking at the issue after a guy asked me if it also works on 
the ODROID.
For Software Defined Radio (SDR) which is of prime interest it would be 
nice to have a  portable/mobile SDR with a small keyboard/7 USB LCD or 
touchscreen, all as a compact unit.


Digging further. The Beaglebone does not have a GPU so that's probably 
why it works there and on x86_64 as it's dependent on x86.

The ODROID has a Mali400 GPU.

In /etc/modprobe.d/blacklist-framebuffer.conf
##blacklist udlfb
blacklist udl

The Lilliput came up on the ODROID with a green screen background but no 
display.


root@odroid:~# grep -i arbiter /var/log/Xorg.0.log.old
[   200.165] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
support


In kernels on x86_64 there is an option that is not available for ARM.
# CONFIG_VGA_ARB is not set

The files are present in the kernel but no config option, configuring it 
by hand and doing make oldconfig removes it as it depends on PCI and x86.

root@odroid:/b1/linux-3.8.13.23# ls drivers/gpu/vga
built-in.o  Kconfig  Makefile  modules.builtin  modules.order vgaarb.c  
vga_switcheroo.c


drivers/gpu/vga/Kconfig
===
config VGA_ARB
bool VGA Arbitration if EXPERT
default y
depends on (PCI  !S390)
help
  Some legacy VGA devices implemented on PCI typically have 
the same
  hard-decoded addresses as they did on ISA. When multiple PCI 
devices
  are accessed at same time they need some kind of 
coordination. Please
  see Documentation/vgaarbiter.txt for more details. Select 
this to

  enable VGA arbiter.

config VGA_ARB_MAX_GPUS
int Maximum number of GPUs
default 16
depends on VGA_ARB
help
  Reserves space in the kernel to maintain resource locking for
  multiple GPUS.  The overhead for each GPU is very small.

config VGA_SWITCHEROO
bool Laptop Hybrid Graphics - GPU switching support
depends on X86
depends on ACPI
select VGA_ARB
help
  Many laptops released in 2008/9/10 have two GPUs with a 
multiplexer
  to switch between them. This adds support for dynamic 
switching when
  X isn't running and delayed switching until the next logoff. 
This

  feature is called hybrid graphics, ATI PowerXpress, and Nvidia
  HybridPower.

Regards
Sid.

On 03/06/14 14:53, Michael Durkin wrote:

and its working on the Odrod?

On Tue, Jun 3, 2014 at 4:49 AM, Sid Boyce boyce@gmail.com wrote:

A number of years actually.


--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Problems with double, qreal and float porting an application - Help please!

2014-01-05 Thread Sid Boyce

System is an ODROID-X.
root@odroid:/1/cuSDR32# uname -a
Linux odroid 3.8.13.14 #1 SMP PREEMPT Sat Dec 21 22:14:31 UTC 2013 
armv7l armv7l armv7l GNU/Linux


root@odroid:/1/cuSDR32# cat /etc/os-release
NAME=Ubuntu
VERSION=13.10, Saucy Salamander
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=Ubuntu 13.10
VERSION_ID=13.10
HOME_URL=http://www.ubuntu.com/;
SUPPORT_URL=http://help.ubuntu.com/;
BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/;

The failures and the offending lines below.
---
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_MULTIMEDIA_LIB 
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtMultimedia 
-I/usr/include/qt4 -I/usr/include/QtMultimediaKit 
-I/usr/include/QtMobility -I. -Isrc -Isrc/AudioEngine -Isrc/CL 
-Isrc/DataEngine -Isrc/GL -Isrc/QtDSP -Isrc/Util -I/usr/X11R6/include 
-Ibld/moc -o bld/o/qtdsp_wpagc.o src/QtDSP/qtdsp_wpagc.cpp
src/QtDSP/qtdsp_wpagc.cpp: In member function ‘void 
QWPAGC::ProcessAGC(CPX, CPX, int)’:
src/QtDSP/qtdsp_wpagc.cpp:290:88: error: no matching function for call 
to ‘qMin(double, float)’
mult = (m_out_target - m_slope_constant * qMin(0.0, log10 
(m_inv_max_input * m_volts))) / m_volts;

^
src/QtDSP/qtdsp_wpagc.cpp:290:88: note: candidate is:
In file included from /usr/include/qt4/QtCore/qiterator.h:45:0,
from /usr/include/qt4/QtCore/qvector.h:45,
from /usr/include/qt4/QtCore/QVector:1,
from src/QtDSP/qtdsp_qComplex.h:34,
from src/QtDSP/qtdsp_wpagc.h:36,
from src/QtDSP/qtdsp_wpagc.cpp:34:
/usr/include/qt4/QtCore/qglobal.h:1213:34: note: templateclass T const 
T qMin(const T, const T)
Q_DECL_CONSTEXPR inline const T qMin(const T a, const T b) { return 
(a  b) ? a : b; }

^
/usr/include/qt4/QtCore/qglobal.h:1213:34: note: template argument 
deduction/substitution failed:
src/QtDSP/qtdsp_wpagc.cpp:290:88: note: deduced conflicting types for 
parameter ‘const T’ (‘double’ and ‘float’)
mult = (m_out_target - m_slope_constant * qMin(0.0, log10 
(m_inv_max_input * m_volts))) / m_volts;

^
src/QtDSP/qtdsp_wpagc.cpp: In member function ‘void 
QWPAGC::setHangLevelDb(qreal)’:
src/QtDSP/qtdsp_wpagc.cpp:588:78: error: no matching function for call 
to ‘qMax(double, qreal)’
qreal tmp = qMax(1.0e-8, (convert - m_minVolts) / (m_maxInput - 
m_minVolts));

^
src/QtDSP/qtdsp_wpagc.cpp:588:78: note: candidate is:
In file included from /usr/include/qt4/QtCore/qiterator.h:45:0,
from /usr/include/qt4/QtCore/qvector.h:45,
from /usr/include/qt4/QtCore/QVector:1,
from src/QtDSP/qtdsp_qComplex.h:34,
from src/QtDSP/qtdsp_wpagc.h:36,
from src/QtDSP/qtdsp_wpagc.cpp:34:
/usr/include/qt4/QtCore/qglobal.h:1215:34: note: templateclass T const 
T qMax(const T, const T)
Q_DECL_CONSTEXPR inline const T qMax(const T a, const T b) { return 
(a  b) ? b : a; }

^
/usr/include/qt4/QtCore/qglobal.h:1215:34: note: template argument 
deduction/substitution failed:
src/QtDSP/qtdsp_wpagc.cpp:588:78: note: deduced conflicting types for 
parameter ‘const T’ (‘double’ and ‘qreal {aka float}’)
qreal tmp = qMax(1.0e-8, (convert - m_minVolts) / (m_maxInput - 
m_minVolts));

^
make: *** [bld/o/qtdsp_wpagc.o] Error 1
root@odroid:/1/cuSDR32#
svn co http://svn.tapr.org/repos_sdr_hpsdr/trunk/DL3HVH/cuSDR32/ for the 
source.

Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Vanilla kernel 3.11.0 boot problem on Pandaboard.

2013-09-09 Thread Sid Boyce
I built the kernel-headers and kernel-image .deb packages using 
make-kpkg native on the 3.18.3.6 kernel.


The package installs created new uEnv.txt, uImage an uInitrd.

Do I need an updated uboot for 3.11?

[125588.918060] Restarting system.

Serial console log
===
U-Boot SPL 2011.12-2-g1bdc71d (Feb 13 2012 - 18:52:25)
Texas Instruments OMAP4430 ES2.3
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.12-2-g1bdc71d (Feb 13 2012 - 18:52:25)

CPU  : OMAP4430 ES2.3
Board: OMAP4 Panda
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0
Using default environment

In:serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
SD/MMC found on device 0
reading uEnv.txt

119 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading uImage

4039336 bytes read
reading uInitrd

2187985 bytes read
## Booting kernel from Legacy Image at 8000 ...
   Image Name:   kernel 3.11.0-07887-gb409624-dir
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:4039272 Bytes = 3.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 8160 ...
   Image Name:   ramdisk 3.11.0-07887-gb409624-di
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:2187921 Bytes = 2.1 MiB
   Load Address: 
   Entry Point:  
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Pandaboard Kernel 3.8.13.6 no HDMI

2013-09-02 Thread Sid Boyce

The Pandaboard list seems dormant so I am seeking help here.

The previous kernel with HDMI video output was 3.2.7x5.

I built and installed this new kernel with this xorg.conf, it does not 
work.

Section Device
Identifier  fb0
Driver omapfb
Option fb /dev/fb0
EndSection

Section Monitor
Identifier HP
ModeLine 1920x1080 148.501  1920 2008 2052 2200  1080 1084 1089
1125 -HSync -VSync
EndSection

Section Screen
Identifier  screen0
Device  fb0
Monitor HP
DefaultDepth16
SubSection Display
Depth   16
Modes   1920x1080 800x480
EndSubSection
EndSection

Mode 800x480
# D: 29.001 MHz, H: 31.251 kHz, V: 59.525 Hz
DotClock 29.002
HTimings 800 840 888 928
VTimings 480 503 506 525
Flags-HSync -VSync
EndMode

Using the udlfb driver and an xorg.conf for the Lilliput USB 7 screen 
there is no problem, LXDE is up and running and CRTL-ALT-F1 etc. all 
OK,  but I need the USB screen for the Beaglebone.


root@panda:/etc/X11# lsmod
Module  Size  Used by
omapdss   253516  0
udlfb  17703  2
bluetooth 221172  6
snd_usb_audio 115881  0
snd_usbmidi_lib18680  1 snd_usb_audio
snd_rawmidi21747  1 snd_usbmidi_lib
snd_hwdep   6190  1 snd_usb_audio
snd_pcm_oss42617  0
snd_mixer_oss  14244  1 snd_pcm_oss
snd_pcm84961  2 snd_pcm_oss,snd_usb_audio
snd_page_alloc  5296  1 snd_pcm
snd_timer  20277  1 snd_pcm
snd61483  8 
snd_pcm_oss,snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_mixer_oss

soundcore   7260  1 snd
ehci_hcd   54613  0
ohci_hcd   31836  0
root@panda:/etc/X11# ls /lib/modules/3.8.13.6x-dirty/kernel/drivers/video/
backlight  omap2  udlfb.ko
root@panda:/etc/X11# ll 
/lib/modules/3.8.13.6x-dirty/kernel/drivers/video/omap2/omapfb

total 64
drwxr-xr-x 2 root root  4096 Sep  2 10:18 ./
drwxr-xr-x 5 root root  4096 Sep  2 10:18 ../
-rw-r--r-- 1 root root 56916 Sep  2 02:52 omapfb.ko
root@panda:/etc/X11# modprobe omapfb
ERROR: could not insert 'omapfb': No such device
root@panda:/etc/X11# insmod 
/lib/modules/3.8.13.6x-dirty/kernel/drivers/video/omap2/omapfb/omapfb.ko
Error: could not insert module 
/lib/modules/3.8.13.6x-dirty/kernel/drivers/video/omap2/omapfb/omapfb.ko: No 
such device

root@panda:/1/ubuntu-raring# grep CONFIG_FB .config
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
CONFIG_FB_SYS_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_ARMCLCD=y
CONFIG_FB_UVESA=y
CONFIG_FB_TMIO=y
CONFIG_FB_TMIO_ACCELL=y
CONFIG_FB_UDL=m
CONFIG_FB_VIRTUAL=y
CONFIG_OMAP2_VRFB=y
CONFIG_OMAP2_DSS_RFBI=y
CONFIG_FB_OMAP2=m
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
CONFIG_FB_OMAP2_NUM_FBS=3

root@panda:/etc/X11# grep HDMI /1/ubuntu-raring/.config
CONFIG_OMAP4_DSS_HDMI=y

ONFIG_ARCH_OMAP4=y
CONFIG_MACH_OMAP4_PANDA=y

Displayed on the serial console
===
root@panda:~# [34587.439270] omapdss error: timeout reading edid
[34587.445220] omapfb omapfb: failed to allocate framebuffer
[34587.450958] omapfb omapfb: failed to allocate fbmem
[34587.456604] omapfb omapfb: failed to setup omapfb
[34587.461853] failed to register omapfb driver
Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Beagleboard -XM and 32GB microSD card oddities

2011-06-30 Thread Sid Boyce
I'm not really looking for a solution, just supplying some information 
in case anyone is contemplating a 16GB card.


Using Ubuntu 11.04 ARM or x86_64, I cannot create an ext4 partition that 
will mount. Doing fsck.ext4 appears to fix the filesystem, but rerunning 
fsck.ext4 a second time gives the same errors.


Only BTRFS works.

A BTRFS partition can be created without a problem. I then use rsync to 
copy across all the data from the 16GB (ext4) partition and it mounts 
without errors. After the rsync I create the excluded directories proc, 
sys, tmp, media.


I get a kernel oops (2.6.39-x1) on boot up of the 32GB card.
I'm still trying to figure why I'm getting the oops that I don't have on 
the original 16GB card.

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Beagleboard -XM and 32GB microSD card oddities

2011-06-30 Thread Sid Boyce
It's marked Sandisk microSD HC 32GB. The only view and description of 
how it's put together is at 
http://www.androidcentral.com/finger-32gb-sandisk-microsd-card where one 
reply reckons it's Class 2.
http://www.jigsaw24.com/product-details/x946axa/sandisk-32gb-micro-sd-card 
for a much clear photo.

I only have a Beagleboard -XM, no access to a Pandaboard.
Regards
Sid.

On 30/06/11 15:43, Gregoire Gentil wrote:

Is your card labeled SDHC or SDXC? Can you give the specs of your card?
Have you tried on Pandaboard?

Grégoire

On Thu, 2011-06-30 at 10:50 +0100, Sid Boyce wrote:

I'm not really looking for a solution, just supplying some information
in case anyone is contemplating a16GB card.

Using Ubuntu 11.04 ARM or x86_64, I cannot create an ext4 partition that
will mount. Doing fsck.ext4 appears to fix the filesystem, but rerunning
fsck.ext4 a second time gives the same errors.

Only BTRFS works.

A BTRFS partition can be created without a problem. I then use rsync to
copy across all the data from the 16GB (ext4) partition and it mounts
without errors. After the rsync I create the excluded directories proc,
sys, tmp, media.

I get a kernel oops (2.6.39-x1) on boot up of the 32GB card.
I'm still trying to figure why I'm getting the oops that I don't have on
the original 16GB card.
Regards
Sid.






--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Beagleboard -XM and 32GB microSD card oddities

2011-06-30 Thread Sid Boyce

I just had a closer look with a magnifier, it's Class 6.
Regards
Sid.

On 30/06/11 15:43, Gregoire Gentil wrote:

Is your card labeled SDHC or SDXC? Can you give the specs of your card?
Have you tried on Pandaboard?

Grégoire

On Thu, 2011-06-30 at 10:50 +0100, Sid Boyce wrote:

I'm not really looking for a solution, just supplying some information
in case anyone is contemplating a16GB card.

Using Ubuntu 11.04 ARM or x86_64, I cannot create an ext4 partition that
will mount. Doing fsck.ext4 appears to fix the filesystem, but rerunning
fsck.ext4 a second time gives the same errors.

Only BTRFS works.

A BTRFS partition can be created without a problem. I then use rsync to
copy across all the data from the 16GB (ext4) partition and it mounts
without errors. After the rsync I create the excluded directories proc,
sys, tmp, media.

I get a kernel oops (2.6.39-x1) on boot up of the 32GB card.
I'm still trying to figure why I'm getting the oops that I don't have on
the original 16GB card.
Regards
Sid.






--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: 2.6.38-rc1-git1 musb undefined references

2011-01-22 Thread Sid Boyce

On 21/01/11 06:03, Sid Boyce wrote:

On 21/01/11 03:22, Felipe Balbi wrote:

Hi,

(please, keep also linux-usb@vger on the Cc list on any patch regarding
drivers/usb)

On Thu, Jan 20, 2011 at 04:22:01PM +, Sid Boyce wrote:

Cross compiling for Beagleboard on Ubuntu 11.04 x86_64.
# make-kpkg --revision=0 --append-to-version=-custom --arch=armel
--cross-compile=/opt/arm-2010q1/bin/arm-none-linux-gnueabi-
kernel-image --initrd

== making target debian/stamp/build/kernel [new prereqs: vars]==
This is kernel package version 12.036+nmu1.
restore_upstream_debianization
test ! -f scripts/package/builddeb.kpkg-dist || mv -f
scripts/package/builddeb.kpkg-dist scripts/package/builddeb
test ! -f scripts/package/Makefile.kpkg-dist || mv -f
scripts/package/Makefile.kpkg-dist scripts/package/Makefile
/usr/bin/make EXTRAVERSION=-rc1-git1-custom ARCH=arm \

CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- zImage
make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[2]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
LD fs/built-in.o
LD lib/zlib_deflate/built-in.o
LD lib/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `musb_free':
clkdev.c:(.text+0xf3d08): undefined reference to
`dma_controller_destroy'
drivers/built-in.o: In function `musb_probe':
clkdev.c:(.init.text+0x64a8): undefined reference to
`dma_controller_create'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
make: *** [debian/stamp/build/kernel] Error 2
root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1#


I just compiled 2.6.38-rc1 and it doesn't fail for me.


root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep OMAP2PLUS .config
CONFIG_ARCH_OMAP2PLUS=y
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
# CONFIG_USB_MUSB_OMAP2PLUS is not set
root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep MUSB .config
CONFIG_USB_MUSB_HDRC=y
# CONFIG_USB_MUSB_TUSB6010 is not set
# CONFIG_USB_MUSB_OMAP2PLUS is not set
CONFIG_USB_MUSB_AM35X=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_PERIPHERAL is not set
CONFIG_USB_MUSB_OTG=y
CONFIG_USB_GADGET_MUSB_HDRC=y
CONFIG_USB_MUSB_HDRC_HCD=y
# CONFIG_MUSB_PIO_ONLY is not set
# CONFIG_USB_MUSB_DEBUG is not set


There's a bug on your .config, did you edit by hand ? AM35X doesn't have
DMA support as of today, that's why we have:

config MUSB_PIO_ONLY
bool 'Disable DMA (always use PIO)'
depends on USB_MUSB_HDRC
default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X

did you disable PIO only ? I know that's a bit fuzzy still, a few
patches will be needed to clean up the entire MUSB Kconfig, I apologize
for that.



I copied the .config from the Beagleboard and did ARCH=arm make
oldconfig.
Thanks, I shall do make omap2plus_defconfig.
Regards
Sid.



make omap2plus_defconfig corrected the problem, kernel builds up to 
2.6.38-rc1-git3 completed.

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


2.6.38-rc1-git1 musb undefined references

2011-01-20 Thread Sid Boyce

Cross compiling for Beagleboard on Ubuntu 11.04 x86_64.
# make-kpkg --revision=0 --append-to-version=-custom --arch=armel 
--cross-compile=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- kernel-image 
--initrd


== making target debian/stamp/build/kernel [new prereqs: vars]==
This is kernel package version 12.036+nmu1.
restore_upstream_debianization
test ! -f scripts/package/builddeb.kpkg-dist || mv -f 
scripts/package/builddeb.kpkg-dist scripts/package/builddeb
test ! -f scripts/package/Makefile.kpkg-dist || mv -f 
scripts/package/Makefile.kpkg-dist scripts/package/Makefile

/usr/bin/make  EXTRAVERSION=-rc1-git1-custom  ARCH=arm \

CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- zImage
make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
  CHK include/linux/version.h
  CHK include/generated/utsrelease.h
make[2]: `include/generated/mach-types.h' is up to date.
  CALLscripts/checksyscalls.sh
  CHK include/generated/compile.h
  LD  fs/built-in.o
  LD  lib/zlib_deflate/built-in.o
  LD  lib/built-in.o
  LD  vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN .version
  CHK include/generated/compile.h
  UPD include/generated/compile.h
  CC  init/version.o
  LD  init/built-in.o
  LD  .tmp_vmlinux1
drivers/built-in.o: In function `musb_free':
clkdev.c:(.text+0xf3d08): undefined reference to `dma_controller_destroy'
drivers/built-in.o: In function `musb_probe':
clkdev.c:(.init.text+0x64a8): undefined reference to `dma_controller_create'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
make: *** [debian/stamp/build/kernel] Error 2
root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1#

root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep OMAP2PLUS .config
CONFIG_ARCH_OMAP2PLUS=y
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
# CONFIG_USB_MUSB_OMAP2PLUS is not set
root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep MUSB .config
CONFIG_USB_MUSB_HDRC=y
# CONFIG_USB_MUSB_TUSB6010 is not set
# CONFIG_USB_MUSB_OMAP2PLUS is not set
CONFIG_USB_MUSB_AM35X=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_PERIPHERAL is not set
CONFIG_USB_MUSB_OTG=y
CONFIG_USB_GADGET_MUSB_HDRC=y
CONFIG_USB_MUSB_HDRC_HCD=y
# CONFIG_MUSB_PIO_ONLY is not set
# CONFIG_USB_MUSB_DEBUG is not set

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: 2.6.38-rc1-git1 musb undefined references

2011-01-20 Thread Sid Boyce

On 21/01/11 03:22, Felipe Balbi wrote:

Hi,

(please, keep also linux-usb@vger on the Cc list on any patch regarding
drivers/usb)

On Thu, Jan 20, 2011 at 04:22:01PM +, Sid Boyce wrote:

Cross compiling for Beagleboard on Ubuntu 11.04 x86_64.
# make-kpkg --revision=0 --append-to-version=-custom --arch=armel
--cross-compile=/opt/arm-2010q1/bin/arm-none-linux-gnueabi-
kernel-image --initrd

== making target debian/stamp/build/kernel [new prereqs: vars]==
This is kernel package version 12.036+nmu1.
restore_upstream_debianization
test ! -f scripts/package/builddeb.kpkg-dist || mv -f
scripts/package/builddeb.kpkg-dist scripts/package/builddeb
test ! -f scripts/package/Makefile.kpkg-dist || mv -f
scripts/package/Makefile.kpkg-dist scripts/package/Makefile
/usr/bin/make  EXTRAVERSION=-rc1-git1-custom  ARCH=arm \

CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi- zImage
make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
make[1]: Entering directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
   CHK include/linux/version.h
   CHK include/generated/utsrelease.h
make[2]: `include/generated/mach-types.h' is up to date.
   CALLscripts/checksyscalls.sh
   CHK include/generated/compile.h
   LD  fs/built-in.o
   LD  lib/zlib_deflate/built-in.o
   LD  lib/built-in.o
   LD  vmlinux.o
   MODPOST vmlinux.o
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
   GEN .version
   CHK include/generated/compile.h
   UPD include/generated/compile.h
   CC  init/version.o
   LD  init/built-in.o
   LD  .tmp_vmlinux1
drivers/built-in.o: In function `musb_free':
clkdev.c:(.text+0xf3d08): undefined reference to `dma_controller_destroy'
drivers/built-in.o: In function `musb_probe':
clkdev.c:(.init.text+0x64a8): undefined reference to `dma_controller_create'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/XXX/linux-2.6.38-rc1-git1'
make: *** [debian/stamp/build/kernel] Error 2
root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1#


I just compiled 2.6.38-rc1 and it doesn't fail for me.


root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep OMAP2PLUS .config
CONFIG_ARCH_OMAP2PLUS=y
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
# CONFIG_USB_MUSB_OMAP2PLUS is not set
root@sdrbox:/usr/src/XXX/linux-2.6.38-rc1-git1# grep MUSB .config
CONFIG_USB_MUSB_HDRC=y
# CONFIG_USB_MUSB_TUSB6010 is not set
# CONFIG_USB_MUSB_OMAP2PLUS is not set
CONFIG_USB_MUSB_AM35X=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_PERIPHERAL is not set
CONFIG_USB_MUSB_OTG=y
CONFIG_USB_GADGET_MUSB_HDRC=y
CONFIG_USB_MUSB_HDRC_HCD=y
# CONFIG_MUSB_PIO_ONLY is not set
# CONFIG_USB_MUSB_DEBUG is not set


There's a bug on your .config, did you edit by hand ? AM35X doesn't have
DMA support as of today, that's why we have:

config MUSB_PIO_ONLY
bool 'Disable DMA (always use PIO)'
depends on USB_MUSB_HDRC
default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X

did you disable PIO only ? I know that's a bit fuzzy still, a few
patches will be needed to clean up the entire MUSB Kconfig, I apologize
for that.



I copied the .config from the Beagleboard and did ARCH=arm make oldconfig.
Thanks, I shall do make omap2plus_defconfig.
Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Alternative for defconfig

2010-06-11 Thread Sid Boyce
On 11/06/10 16:14, Gadiyar, Anand wrote:
 Laurent Pinchart wrote:
 On Friday 11 June 2010 16:55:07 Aguirre, Sergio wrote:
 On Fri, Jun 11, 2010 at 3:19 PM, Nagarajan, Rajkumar wrote:
 1. What is the alternative way of submitting defconfig changes/files to

 LO?

 I don't think defconfig changes are prohibited now. If I understand
 correctly, Linus just hates the fact that there is a big percentage of
 patches for defconfigs. Maybe he wants us to hold these, and better
 provide higher percentage of actual code changes.

 What about holding defconfig changes in a separate branch, and just send
 them for upstream once in a while, specially if there's a big quantity of
 them in the queue?

 IMHO, defconfigs are just meant to make us life easier, but changes to them
 should _never_ be a fix/solution to any problem, and therefore I understand
 that those aren't a priority over regressions.

 My understanding is that Linus will remove all ARM defconfigs in 2.6.36, 
 unless someone can convince him not to. Board-specific defconfigs won't be 
 allowed anymore, the number of defconfigs needs to be reduced drastically 
 (ideally to one or two only).

 
 There is some good work going on on the linux-arm-kernel mailing list to
 cut down heavily the ARM defconfigs. Would be good to join that discussion.
 
 For OMAP, I suppose maintaining omap1_defconfig and omap3_defconfig would
 suffice to cover all OMAPs?
 
 - Anand

If I use omap3_beagle_defconfig instead of omap3_defconfig HID is
missing from the .config and doesn't show up for selection in make
config.
Is this an oversight or is omap3_defconfig the proper one to use.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


rt2x00 support not available for beagleboard

2010-01-07 Thread Sid Boyce
That's the same on all recent kernels.
# grep RT2X00 arch/arm/configs/omap3_beagle_defconfig
#
# grep RT2X00 arch/arm/configs/*
arch/arm/configs/eseries_pxa_defconfig:# CONFIG_RT2X00 is not set
arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00=m
arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB_USB=m
arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB=m
arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB_HT=y
arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB_FIRMWARE=y
arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB_CRYPTO=y
arch/arm/configs/igep0020_defconfig:# CONFIG_RT2X00_DEBUG is not set
arch/arm/configs/kirkwood_defconfig:# CONFIG_RT2X00 is not set
arch/arm/configs/mini2440_defconfig:# CONFIG_RT2X00 is not set
arch/arm/configs/omap3_defconfig:# CONFIG_RT2X00 is not set
arch/arm/configs/omap3_touchbook_defconfig:# CONFIG_RT2X00 is not set
arch/arm/configs/overo_defconfig:# CONFIG_RT2X00 is not set
arch/arm/configs/rx51_defconfig:# CONFIG_RT2X00 is not set
arch/arm/configs/zeus_defconfig:CONFIG_RT2X00=m
arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB_USB=m
arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB=m
arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB_FIRMWARE=y
arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB_CRYPTO=y
arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB_LEDS=y
arch/arm/configs/zeus_defconfig:# CONFIG_RT2X00_DEBUG is not set
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: rt2x00 support not available for beagleboard

2010-01-07 Thread Sid Boyce
On 07/01/10 22:40, Sid Boyce wrote:
 That's the same on all recent kernels.
 # grep RT2X00 arch/arm/configs/omap3_beagle_defconfig
 #
 # grep RT2X00 arch/arm/configs/*
 arch/arm/configs/eseries_pxa_defconfig:# CONFIG_RT2X00 is not set
 arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00=m
 arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB_USB=m
 arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB=m
 arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB_HT=y
 arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB_FIRMWARE=y
 arch/arm/configs/igep0020_defconfig:CONFIG_RT2X00_LIB_CRYPTO=y
 arch/arm/configs/igep0020_defconfig:# CONFIG_RT2X00_DEBUG is not set
 arch/arm/configs/kirkwood_defconfig:# CONFIG_RT2X00 is not set
 arch/arm/configs/mini2440_defconfig:# CONFIG_RT2X00 is not set
 arch/arm/configs/omap3_defconfig:# CONFIG_RT2X00 is not set
 arch/arm/configs/omap3_touchbook_defconfig:# CONFIG_RT2X00 is not set
 arch/arm/configs/overo_defconfig:# CONFIG_RT2X00 is not set
 arch/arm/configs/rx51_defconfig:# CONFIG_RT2X00 is not set
 arch/arm/configs/zeus_defconfig:CONFIG_RT2X00=m
 arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB_USB=m
 arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB=m
 arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB_FIRMWARE=y
 arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB_CRYPTO=y
 arch/arm/configs/zeus_defconfig:CONFIG_RT2X00_LIB_LEDS=y
 arch/arm/configs/zeus_defconfig:# CONFIG_RT2X00_DEBUG is not set
 Regards
 Sid.

OK, it seems I need to use omap3_defconfig.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [GIT PULL] omap build fixes

2009-12-17 Thread Sid Boyce
On 16/12/09 22:35, Tony Lindgren wrote:
 Hi Linus,
 
 Please pull omap build fixes from:
 
 git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git 
 omap-fixes-for-linus
 
 In addition to the three build fixes, there's also a suspend fix
 for omap serial init.
 
 Regards,
 
 Tony
 
 
 The following changes since commit 8bea8672edfca7ec5f661cafb218f1205863b343:
   Stephen Rothwell (1):
 mfd: compile fix for twl4030 renaming
 
 are available in the git repository at:
 
   git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git 
 omap-fixes-for-linus
 
 Balaji T K (1):
   mfd: twl: fix twl4030 rename for remaining driver, board files
 
 Mika Westerberg (1):
   OMAP3: serial - fix bug introduced in
 
 Olof Johansson (1):
   omap3: Allow EHCI to be built on OMAP3
 
 Thomas Weber (1):
   USB ehci: replace mach header with plat
 
  arch/arm/mach-omap2/Kconfig  |1 +
  arch/arm/mach-omap2/board-cm-t35.c   |2 +-
  arch/arm/mach-omap2/board-igep0020.c |2 +-
  arch/arm/mach-omap2/board-omap3evm.c |2 +-
  arch/arm/mach-omap2/board-omap3touchbook.c   |2 +-
  arch/arm/mach-omap2/board-rx51-peripherals.c |2 +-
  arch/arm/mach-omap2/board-zoom-peripherals.c |2 +-
  arch/arm/mach-omap2/serial.c |7 ---
  drivers/usb/host/ehci-omap.c |2 +-
  drivers/video/omap/lcd_ldp.c |4 ++--
  drivers/video/omap/lcd_omap2evm.c|   10 +-
  drivers/video/omap/lcd_omap3beagle.c |2 +-
  drivers/video/omap/lcd_omap3evm.c|   10 +-
  drivers/video/omap/lcd_overo.c   |2 +-
  sound/soc/omap/sdp3430.c |6 +++---
  15 files changed, 29 insertions(+), 27 deletions(-)
 --
 To unsubscribe from this list: send the line unsubscribe linux-omap in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
 

uImage built, so EHCI build problem definitely fixed, just one error
I've previously encountered when building modules.
slipstream:/home/lancelot/ftp/dec09/OMAP/omap-fixes-for-linus # ARCH=arm
make -j 4 CROSS_COMPILE=/opt/arm-2009q3/bin/arm-none-eabi- modules
scripts/kconfig/conf -s arch/arm/Kconfig
  CHK include/linux/version.h
  SYMLINK include/asm - include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK include/linux/utsrelease.h
  CALLscripts/checksyscalls.sh
stdin:1523: warning: #warning syscall recvmmsg not implemented
  Building modules, stage 2.
  MODPOST 99 modules
ERROR: omap_ctrl_writel [sound/soc/omap/snd-soc-omap-mcbsp.ko] undefined!
ERROR: omap_ctrl_readl [sound/soc/omap/snd-soc-omap-mcbsp.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [GIT PULL] omap build fixes

2009-12-17 Thread Sid Boyce
On 17/12/09 17:26, Tony Lindgren wrote:
 * Sid Boyce sbo...@blueyonder.co.uk [091217 03:29]:
 
 snip
  
 uImage built, so EHCI build problem definitely fixed, just one error
 I've previously encountered when building modules.
 slipstream:/home/lancelot/ftp/dec09/OMAP/omap-fixes-for-linus # ARCH=arm
 make -j 4 CROSS_COMPILE=/opt/arm-2009q3/bin/arm-none-eabi- modules
 scripts/kconfig/conf -s arch/arm/Kconfig
   CHK include/linux/version.h
   SYMLINK include/asm - include/asm-arm
 make[1]: `include/asm-arm/mach-types.h' is up to date.
   CHK include/linux/utsrelease.h
   CALLscripts/checksyscalls.sh
 stdin:1523: warning: #warning syscall recvmmsg not implemented
   Building modules, stage 2.
   MODPOST 99 modules
 ERROR: omap_ctrl_writel [sound/soc/omap/snd-soc-omap-mcbsp.ko] undefined!
 ERROR: omap_ctrl_readl [sound/soc/omap/snd-soc-omap-mcbsp.ko] undefined!
 make[1]: *** [__modpost] Error 1
 make: *** [modules] Error 2
 
 Hmm. I'm not seeing this in any of the defconfigs, so I guess this
 happens with ASoC complied as a module.
 
 But instead of exporting omap_ctrl_read/write, we need to get rid of 
 omap_ctrl_read/write stuff in the drivers.
 
 It seems that omap_mcbsp_dai_set_clks_src() should be implemented in
 the clock framework instead.
 
 Regards,
 
 Tony
 
 

Confirmed it works when compiled in.
Regards
Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [APPLIED] [PATCH 2/2] usb: ehci: Allow EHCI to be built on OMAP3

2009-12-11 Thread Sid Boyce
On 07/12/09 22:11, Tony Lindgren wrote:
 This patch has been applied to the linux-omap
 by youw fwiendly patch wobot.
 
 Branch in linux-omap: for-next-vol2
 
 Initial commit ID (Likely to change): caeaa2f4d7e3c8a2576bff1ca1b58e104e8f0266
 
 PatchWorks
 http://patchwork.kernel.org/patch/62727/
 
 Git (Likely to change, and takes a while to get mirrored)
 http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=caeaa2f4d7e3c8a2576bff1ca1b58e104e8f0266
 
 
Thanks Tony,
It seemed these patches were somehow lost upstream.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: What's in omap git tree for 2.6.33

2009-12-07 Thread Sid Boyce
On 06/12/09 03:37, Gadiyar, Anand wrote:
 Sid Boyce wrote:
 Still a few fragments missing on beagleboard - Very roughly:
 drivers/usb/Kconfig
 +   default y if ARCH_OMAP34X
 
 
 This one's in Greg's queue for sure.
 
 http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb/usb-ehci-allow-ehci-to-be-built-on-omap3.patch
 
 And I did point out the other one. Olaf sent a patch too.
 We can get that in during the merge window, or right after.
 
 So, wait up for -rc1 to be tagged.
 
 - Anand
 
 

That's one bit, but with EHCI an integral part of the beagleboard, there
shouldn't be a need to hunt around for patches as without this support
it limits what you can do. OTG with the solder bridge couldn't see any
of my USB hubs, so I had to rely on the EHCI.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: EHCI support on beagleboard missing

2009-12-03 Thread Sid Boyce
On 02/12/09 17:19, Sid Boyce wrote:
 On 02/12/09 17:04, Gadiyar, Anand wrote:
 Sid Boyce wrote:
 Greg,
 I've been told you have had the patch on your queue for quite some time.
 I don't have the patch details to hand, but drivers/usb/Kconfig and may
 be 2 other files affected. I have to search for the patch later.
 linux-omap-2.6 # ARCH=arm make
 CROSS_COMPILE=/opt/arm-2009q3/bin/arm-none-eabi- defconfig
   HOSTCC  scripts/basic/fixdep
   HOSTCC  scripts/basic/docproc
   HOSTCC  scripts/basic/hash
   HOSTCC  scripts/kconfig/conf.o
   HOSTCC  scripts/kconfig/kxgettext.o
   SHIPPED scripts/kconfig/zconf.tab.c
   SHIPPED scripts/kconfig/lex.zconf.c
   SHIPPED scripts/kconfig/zconf.hash.c
   HOSTCC  scripts/kconfig/zconf.tab.o
   HOSTLD  scripts/kconfig/conf
 *** Default configuration is based on 'versatile_defconfig'
 #
 # configuration written to .config
 #


 Looks incorrect to me. Shouldn't you be doing omap3_beagle_config?

 slipstream:/home/lancelot/OE/openembedded/linux-omap-2.6 # grep EHCI .config
 # CONFIG_USB_ARCH_HAS_EHCI is not set


 And this seems to be the linux-omap kernel. So the patch should be there,
 and if it isn't then the correct list to ping would probably be linux-omap.


 There's a patch in Greg's queue to set this with OMAP3 [1].
 And there was a newer version that was sent by Olaf recently [2], not
 sure if it was picked up. Either of these should get you going.

 - Anand

 [1] 
 http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb/usb-ehci-allow-ehci-to-be-built-on-omap3.patch
 [2] http://marc.info/?l=linux-usbm=125913935405310w=2

 
 That's the one.
 Thanks and Regards
 Sid.
 

The patch is not on Greg's queue and he knows nothing about it.
When default y if ARCH_OMAP34XX is added to drivers/usb/Kconfig, it
still missing the glue patch which via google I can't find a recent patch.
It's somehow fallen down the plug hole and needs resubmitting as it's an
ever present problem in all but the launchpad 2.6.31 kernel.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Is the OMAP patch process badly flawed?

2009-11-17 Thread Sid Boyce
I'm curious - I download, build and test kernels on x86 and x86_64
platforms, -rc, -rc-git and -git all build and run.
On the OMAP platform I have so far not been able to do that with
omap-git, omap-dss2-git trees and snapshots all missing basic hardware
support, e.g:- I get the latest from gitorious.org, make
omap3_beagle_defconfg, make xconfig, but there is no EHCI config
available. I hunt down the patch and hand apply default y if
ARCH_OMAP34XX to drivers/usb/Kconfig, next the build complains that
drivers/usb/host/ehci-hcd.c: 1143:2: error: #error missing bus glue for
ehci-hcd

The bus glue patch ... ehci-omap.c no longer exists.
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1108,6 +1108,11 @@ MODULE_LICENSE (GPL);
 #definePLATFORM_DRIVER ehci_hcd_au1xxx_driver
 #endif

+#ifdef CONFIG_ARCH_OMAP34XX
+#include ehci-omap.c
+#definePLATFORM_DRIVER ehci_hcd_omap_driver
+#endif
+
 #ifdef CONFIG_PPC_PS3
 #include ehci-ps3.c
 #definePS3_SYSTEM_BUS_DRIVER   ps3_ehci_driver

I would expect patches sent upstream would result in all the basics for
long established platforms to be fully covered. Appreciating that
development is quite fast paced with mods and supporting new platforms.
Could someone please enlighten me?
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Is the OMAP patch process badly flawed?

2009-11-17 Thread Sid Boyce
On 17/11/09 13:34, Gadiyar, Anand wrote:
 Sid Boyce wrote: 
 I'm curious - I download, build and test kernels on x86 and x86_64
 platforms, -rc, -rc-git and -git all build and run.
 On the OMAP platform I have so far not been able to do that with
 omap-git, omap-dss2-git trees and snapshots all missing basic hardware
 support, e.g:- I get the latest from gitorious.org, make
 omap3_beagle_defconfg, make xconfig, but there is no EHCI config
 available. I hunt down the patch and hand apply default y if
 ARCH_OMAP34XX to drivers/usb/Kconfig, next the build complains that
 drivers/usb/host/ehci-hcd.c: 1143:2: error: #error missing 
 bus glue for
 ehci-hcd

 The bus glue patch ... ehci-omap.c no longer exists.
 --- a/drivers/usb/host/ehci-hcd.c
 +++ b/drivers/usb/host/ehci-hcd.c
 @@ -1108,6 +1108,11 @@ MODULE_LICENSE (GPL);
  #definePLATFORM_DRIVER ehci_hcd_au1xxx_driver
  #endif

 +#ifdef CONFIG_ARCH_OMAP34XX
 +#include ehci-omap.c
 +#definePLATFORM_DRIVER ehci_hcd_omap_driver
 +#endif
 +
  #ifdef CONFIG_PPC_PS3
  #include ehci-ps3.c
  #definePS3_SYSTEM_BUS_DRIVER   ps3_ehci_driver

 I would expect patches sent upstream would result in all the basics for
 long established platforms to be fully covered. Appreciating that
 development is quite fast paced with mods and supporting new platforms.
 Could someone please enlighten me?
 
 Sid,
 
 Speaking purely for EHCI, this is now queued up in Greg's USB queue
 for upstream and will get merged in the next cycle.
 
 Until then, the linux-omap code does have working EHCI support
 on beagle, evm and the other boards. If you're cloning from
 gitorious, you're probably picking the wrong tree.
 
 - Anand
 
 

Thanks, that explains a lot as I can't remember seeing those patches on
the linux-usb list for submission upstream.
What tree is best to clone?
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Is the OMAP patch process badly flawed?

2009-11-17 Thread Sid Boyce
On 17/11/09 14:51, Gadiyar, Anand wrote:
 Sid Boyce wrote:
 
 snip
 

 I would expect patches sent upstream would result in all the basics for
 long established platforms to be fully covered. Appreciating that
 development is quite fast paced with mods and supporting new platforms.
 Could someone please enlighten me?

 Sid,

 Speaking purely for EHCI, this is now queued up in Greg's USB queue
 for upstream and will get merged in the next cycle.

 Until then, the linux-omap code does have working EHCI support
 on beagle, evm and the other boards. If you're cloning from
 gitorious, you're probably picking the wrong tree.

 - Anand



 Thanks, that explains a lot as I can't remember seeing those patches on
 the linux-usb list for submission upstream.
 What tree is best to clone?
 
 
 Not sure which is best - I suppose that depends on what all you need.
 The canonical linux-omap tree maintained by Tony is at [1].
 
 For EHCI, Felipe sent the driver to Greg who queued it up for .33 [2].
 Tony lined up the board files and mach-omap2/usb-ehci.c in the for-next
 branch.
 
 
 
 [1] git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
 [2] 
 http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-07-usb-2.6.32-rc6.patch
  
 

Thanks for the update and the patch. I downloaded the launchpad 2.6.31
kernel which I have currently running. Finally found one that outputs to
the LCD.
Regards
Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: manual merge of the omap_dss2 tree with the omap tree

2009-11-16 Thread Sid Boyce
On 16/11/09 05:04, Stephen Rothwell wrote:
 Hi Tomi,
 
 Today's linux-next merge of the omap_dss2 tree got a conflict in
 arch/arm/configs/omap_3430sdp_defconfig between the omap tree and the
 omap_dss2 tree.
 
 I just used the version from the omap tree as I can't figure out anything
 better, sorry.

In every incarnation, EHCI support is missing  default y if
ARCH_OMAP34XX in drivers/usb/Kconfig
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-omap-2.6 does not allow configuring rt2xx

2009-11-11 Thread Sid Boyce
On 11/11/09 06:51, Mike Rapoport wrote:
 
 
 Sid Boyce wrote:
 Spotted over the last few days.
 make ARCH=arm CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux/gnueabi-
 omap3_beagle_defconfig, then xconfig/menuconfig/config, the option
 never shows up.
 
 Have you tried enabling cfg80211 and mac80211 in Networking support - 
 Wireless?
 
 Regards
 Sid.
 

Thanks, that did it. I thought I had tried those earlier.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/8] Omap fixes for v2.6.32-rc6

2009-11-11 Thread Sid Boyce
On 11/11/09 19:08, Tony Lindgren wrote:
 * Sid Boyce sbo...@blueyonder.co.uk [091110 19:16]:
 I still haven't been able to find the reason why the Ralink drivers
 haven't been offered in make config/menuconfig/xconfig - cross compiling
 on Fedora 12 x86_64 as per my previous post. I downloaded the latest
 linux-omap snapshot Tuesday, 6 hours after it was up.
 
 Sounds like that should be patched via drivers/net.
 
 Regards,
 
 Tony
 
 

CONFIG_CFG80211=m and CONFIG_MAC80211=m fixed that problem, though I'm
sure I tried the same some days ago and it didn't work - your snapshot
of today built and is working.

One remaining problem is getting FB working, the LCD status light lights
up blue, but the display is blank.
For that I shall start another thread.

Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


linux-omap-2.6 does not allow configuring rt2xx

2009-11-10 Thread Sid Boyce
Spotted over the last few days.
make ARCH=arm CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux/gnueabi-
omap3_beagle_defconfig, then xconfig/menuconfig/config, the option
never shows up.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/8] Omap fixes for v2.6.32-rc6

2009-11-10 Thread Sid Boyce
I still haven't been able to find the reason why the Ralink drivers
haven't been offered in make config/menuconfig/xconfig - cross compiling
on Fedora 12 x86_64 as per my previous post. I downloaded the latest
linux-omap snapshot Tuesday, 6 hours after it was up.
Regards
Sid.

On 11/11/09 03:00, Tony Lindgren wrote:
 Hi all,
 
 Here are still few more fixes for review for the current -rc series.
 
 Regards,
 
 Tony
 
 ---
 
 Grazvydas Ignotas (2):
   omap: update Pandora defconfig
   omap3: pandora: Fix keypad keymap
 
 Janusz Krzysztofik (1):
   omap1: Amstrad Delta defconfig fixes
 
 Jarkko Nikula (1):
   omap3: beagle: Fix USB host port power control
 
 Mike Turquette (1):
   omap3: Decrease cpufreq transition latency
 
 Sergio Aguirre (1):
   omap3: 3430sdp: Enable Linux Regulator framework
 
 Tao Hu (1):
   omap: Fix race condition in omap dma driver
 
 Tobias Klauser (1):
   omap: Use resource_size
 
 
  arch/arm/configs/ams_delta_defconfig |   24 +++--
  arch/arm/configs/omap3_pandora_defconfig |   49 +--
  arch/arm/configs/omap_3430sdp_defconfig  |9 +++
  arch/arm/mach-omap2/board-omap3beagle.c  |2 -
  arch/arm/mach-omap2/board-omap3pandora.c |   78 
 +++---
  arch/arm/mach-omap2/gpmc.c   |2 -
  arch/arm/mach-omap2/mailbox.c|2 -
  arch/arm/plat-omap/cpu-omap.c|2 -
  arch/arm/plat-omap/dma.c |6 ++
  9 files changed, 118 insertions(+), 56 deletions(-)
 


-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: EHCI on 2.6.32-rc5-git4 + patches

2009-11-03 Thread Sid Boyce
On 03/11/09 01:28, Robert Nelson wrote:
 I tried that and various others to get other than the hub enumerated, no
 luck so far with kernels I have built - no lights on the hub. I am now
 rebuilding after following the config for the working narcissus build,
 EHCI looks much the same, so here's hoping.
 I have another 16G MMC card I am trying on after cross compiling on a
 Fedora 12 VirtualBox VM.
 Regards
 Sid.
 
 Hi Sid
 
 I eventually got ehci working today on my tree on launchpad.  But it's
 not that small of a patch once i added all the mach to plat changes...
 
 However, this commit made all the difference for me, it's currently
 missing from tmlind's tree, the beagleboard needs it to enable power
 to the ehci..
 
 http://patchwork.kernel.org/patch/55703/
 
 Regards,

Thanks, I shall give it a try.
Regards
Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] omap3: beagle: Fix USB host port power control

2009-11-03 Thread Sid Boyce
On 03/11/09 14:11, Koen Kooi wrote:
 Any comments on this, I need this on beagleboard to make ehci work.
 
 regards,
 
 Koen
 
 Op 24 okt 2009, om 09:59 heeft Jarkko Nikula het volgende geschreven:
 
 The host port power is enabled by driving the nEN_USB_PWR low as
 stated in
 the comment. This fix is originally from Steve Sakoman
 st...@sakoman.com.

 Signed-off-by: Jarkko Nikula jhnik...@gmail.com
 Cc: Steve Sakoman st...@sakoman.com
 ---
 arch/arm/mach-omap2/board-omap3beagle.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

 diff --git a/arch/arm/mach-omap2/board-omap3beagle.c
 b/arch/arm/mach-omap2/board-omap3beagle.c
 index 6cb99f6..7ad9846 100644
 --- a/arch/arm/mach-omap2/board-omap3beagle.c
 +++ b/arch/arm/mach-omap2/board-omap3beagle.c
 @@ -162,7 +162,7 @@ static int beagle_twl_gpio_setup(struct device *dev,

 /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active
 low) */
 gpio_request(gpio + TWL4030_GPIO_MAX, nEN_USB_PWR);
 -gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1);
 +gpio_direction_output(gpio + TWL4030_GPIO_MAX, 0);

 /* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
 gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
 -- 
 1.6.3.3

 -- 

Certainly works on 2.6.32-rc5, all EHCI devices are now enumerated.
Regards
Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: EHCI on 2.6.32-rc5-git4 + patches

2009-11-03 Thread Sid Boyce
On 03/11/09 01:28, Robert Nelson wrote:
 I tried that and various others to get other than the hub enumerated, no
 luck so far with kernels I have built - no lights on the hub. I am now
 rebuilding after following the config for the working narcissus build,
 EHCI looks much the same, so here's hoping.
 I have another 16G MMC card I am trying on after cross compiling on a
 Fedora 12 VirtualBox VM.
 Regards
 Sid.
 
 Hi Sid
 
 I eventually got ehci working today on my tree on launchpad.  But it's
 not that small of a patch once i added all the mach to plat changes...
 
 However, this commit made all the difference for me, it's currently
 missing from tmlind's tree, the beagleboard needs it to enable power
 to the ehci..
 
 http://patchwork.kernel.org/patch/55703/
 
 Regards,

Thanks, the patch worked and all the EHCI devices are enumerated. There
are other issues like no output to the LCD and I don't have a FB_OMAP2
option, so trying to rebuild with FB_OMAP=y. The configuration setup
seems to be very particular and easily upset by certain changes. I guess
the right patches have to be installed or build failures result.

Lowlevel video output switch controls (VIDEO_OUTPUT_CONTROL) [N/m/y/?] n
E-Ink Broadsheet/Epson S1D13521 controller support (FB_BROADSHEET)
[N/m/y/?] n
OMAP frame buffer support (EXPERIMENTAL) (FB_OMAP) [Y/n/m/?] y
External LCD controller support (FB_OMAP_LCDC_EXTERNAL) [N/y/?] (NEW)
MIPI DBI-C/DCS compatible LCD support (FB_OMAP_LCD_MIPID) [N/y/?] (NEW)
Check bootloader initialization (FB_OMAP_BOOTLOADER_INIT) [N/y/?] (NEW)
Consistent DMA memory size (MB) (FB_OMAP_CONSISTENT_DMA_SIZE) [2] (NEW)

# l -R 2.6.32-rc5/kernel/drivers/video/
2.6.32-rc5/kernel/drivers/video/:
total 0
drwxr-xr-x  3 root root  72 Nov  3 21:58 ./
drwxr-xr-x 16 root root 392 Nov  3 21:58 ../
drwxr-xr-x  2 root root 160 Nov  3 21:58 console/

2.6.32-rc5/kernel/drivers/video/console:
total 68
drwxr-xr-x 2 root root   160 Nov  3 21:58 ./
drwxr-xr-x 3 root root72 Nov  3 21:58 ../
-rw-r--r-- 1 root root  7647 Nov  3 21:58 bitblit.ko
-rw-r--r-- 1 root root 43880 Nov  3 21:58 fbcon.ko
-rw-r--r-- 1 root root 10743 Nov  3 21:58 font.ko
-rw-r--r-- 1 root root  3984 Nov  3 21:58 softcursor.ko

Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: EHCI on 2.6.32-rc5-git4 + patches

2009-11-02 Thread Sid Boyce
On 02/11/09 07:04, Felipe Balbi wrote:
 On Mon, Nov 02, 2009 at 12:29:56AM +0100, ext Sid Boyce wrote:
 On 01/11/09 15:42, Robert Nelson wrote:
 I am tried beagleboard_defconfig I downloaded, but when the .config
 was written at the start of the kernel build 
 # CONFIG_USB_ARCH_HAS_EHCI is not set.
  make CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux-gnueabi- on
 Fedora 12.
 Regards
 Sid.

 Hi Sid,

 You need atleast the ehci glue commit from here to enable the option:

 http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=shortlog;h=refs/heads/ehci

 Regards,


 I've used the Merge EHCI snapshot, but guess there is something not
 right in my .config.
   CC  drivers/usb/musb/musb_core.o
 In file included from drivers/usb/musb/musb_core.c:108:
 drivers/usb/musb/musb_core.h:94:2: error: #error bogus Kconfig output
 ... select CONFIG_USB_GADGET_MUSB_HDRC
 
 Go to gadget support and select Inventra MUSB on USB Peripheral
 Controller
 

I tried that and various others to get other than the hub enumerated, no
luck so far with kernels I have built - no lights on the hub. I am now
rebuilding after following the config for the working narcissus build,
EHCI looks much the same, so here's hoping.
I have another 16G MMC card I am trying on after cross compiling on a
Fedora 12 VirtualBox VM.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: EHCI on 2.6.32-rc5-git4 + patches

2009-11-01 Thread Sid Boyce
On 01/11/09 15:42, Robert Nelson wrote:
 I am tried beagleboard_defconfig I downloaded, but when the .config
 was written at the start of the kernel build 
 # CONFIG_USB_ARCH_HAS_EHCI is not set.
  make CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux-gnueabi- on
 Fedora 12.
 Regards
 Sid.
 
 Hi Sid,
 
 You need atleast the ehci glue commit from here to enable the option:
 
 http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=shortlog;h=refs/heads/ehci
 
 Regards,
 

I've used the Merge EHCI snapshot, but guess there is something not
right in my .config.
  CC  drivers/usb/musb/musb_core.o
In file included from drivers/usb/musb/musb_core.c:108:
drivers/usb/musb/musb_core.h:94:2: error: #error bogus Kconfig output
... select CONFIG_USB_GADGET_MUSB_HDRC
drivers/usb/musb/musb_core.c: In function 'musb_init_controller':
drivers/usb/musb/musb_core.c:1906: error: label 'bad_config' used but
not defined
make[2]: *** [drivers/usb/musb/musb_core.o] Error 1
make[1]: *** [drivers/usb/musb] Error 2
make: *** [drivers] Error 2
[r...@localhost linux-omap-2.6]# grep MUSB .config
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_SOC=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_PERIPHERAL is not set
CONFIG_USB_MUSB_OTG=y
# CONFIG_USB_GADGET_MUSB_HDRC is not set
CONFIG_USB_MUSB_HDRC_HCD=y
# CONFIG_MUSB_PIO_ONLY is not set
# CONFIG_USB_MUSB_DEBUG is not set

Regards
Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


EHCI on 2.6.32-rc5-git4 + patches

2009-10-31 Thread Sid Boyce
There is no way to configure EHCI on beagleboard, so my devices are
never seen. Only OHCI has ARCH_ARM as a config option.
I shall edit it into drivers/usb/Kconfig and see if it works.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: EHCI on 2.6.32-rc5-git4 + patches

2009-10-31 Thread Sid Boyce
On 31/10/09 17:08, Gadiyar, Anand wrote:
 Sid Boyce wrote:
 There is no way to configure EHCI on beagleboard, so my devices are
 never seen. Only OHCI has ARCH_ARM as a config option.
 I shall edit it into drivers/usb/Kconfig and see if it works.
 
 drivers/usb/Kconfig looks okay to me.
 
 http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=blob;f=drivers/usb/Kconfig;h=5620e924a218da2bc5e03124934f339095dd18da;hb=HEAD
 
 See line 63 - it says USB_ARCH_HAS_EHCI is y if ARCH_OMAP34XX
 
 - Anand
 
 
 
 

I am tried beagleboard_defconfig I downloaded, but when the .config
was written at the start of the kernel build 
# CONFIG_USB_ARCH_HAS_EHCI is not set.
 make CROSS_COMPILE=/opt/arm-2009q1/bin/arm-none-linux-gnueabi- on
Fedora 12.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html