Hi Hugo. No, no luck. I've spent about a day on it and can't figure it out.
To put the driver in poll mode, add
mmc->caps |= MMC_CAPS_NEEDS_POLL;
Into omap_mmc_probe in drivers/mmc/host/omap_hsmmc.c. This causes the MMC core to poll for devices every second which is quite useful when you have a scope on it.
The people doing the Pandora console project have been putting a lot of work into this recently. 2.9.30rc4 builds fine for the Overo and it includes many MMC3 related updates. I've been basing my work of the differences between board-overo.c and board-omap3pandora.c.
I wonder if it is something to do with the direction of the data lines? The clock and cmd are fine but the bidirectional D0 to D3 never move.
-- Michael
-----
Message: 1
Date: Tue, 26 May 2009 09:52:33 +1200
From: Hugo Vincent <hugo.vincent@...>
Subject: Re: [Gumstix-users] Using a SD Card in MMC3
To: "General mailing list for gumstix users."
<gumstix-users@...>
Message-ID:
<5a7b8b7b0905251452v3d98405fk1f7ceefa31857548@...>
Content-Type: text/plain; charset=ISO-8859-1
Hi Michael,
Have you made any progress on this yet? I too am working on getting MMC3 to go.
I've made (presumably) similar additions to board-overo.c and checked the mux settings too, except I'm using linux-omap 2.6.29 + stable series (.4) + real-time patch (-rt16).
How do you put the driver into poll mode?
Cheers,
Hugo
On Mon, May 25, 2009 at 1:23 PM, Michael Hope <Michael.Hope@...> wrote:
> Hi there. ?Has anyone used MMC3 on the Overo to connect to a second SD card before? ?I added the third slot to the mmc list in board-overo.c and have checked the mux settings but aren't having any luck. ?The OMAP side of things seems to have been added by the Pandora folks in the 2.6.30-rc4 kernel so kernel support is there.
>
> I put the omap_hsmmc driver into poll mode and can see the clock and cmd lines changing but the data lines never move. ?I'd expect them to change while the card discovery is running.
>
> -- Michael
>
> ----------------------------------------------------------------------
> -------- Register Now for Creativity and Technology (CaT), June 3rd,
> NYC. CaT is a gathering of tech-side developers & brand creativity
> professionals. Meet the minds behind Google Creative Lab, Visual
> Complexity, Processing, & iPhoneDevCamp asthey present alongside
> digital heavyweights like Barbarian Group, R/GA, & Big Spaceship.
> http://www.creativitycat.com
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
------------------------------
Message: 2
Date: Mon, 25 May 2009 20:22:23 -0700 (PDT)
From: Charles Stanley <cestanley@...>
Subject: [Gumstix-users] Build for microSD card on Verdex xm4 with
touchscreen
To: Gumstix <gumstix-users@...>
Message-ID: <280718.75027.qm@...>
Content-Type: text/plain; charset="iso-8859-1"
Hi All,
? I have built an image for gumstix which should work on my verdex xm4 booting from a microSD card. The image starts but ends at "Warning: unable to open initial console" which is printed on the console UART connector.
Anyone know how to get around this or what I did not do which is now causing me this delay? I've been at this for three weeks. Any help?
Thanks in advance,
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Tue, 26 May 2009 12:58:17 +0800
From: mike allen <allenster@...>
Subject: [Gumstix-users] gpsd and ntp using gpsstix on OE, Verdex XL6P
To: gumstix-users@...
Message-ID:
<17bd53c90905252158u1404b88at2b8cfa8fbb5f0a65@...>
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I am trying to get the gps on the gpsstix to provide a time source for ntpd. I would like to use PPS, but initially I would be happy just to get the NMEA approach working.
I would like to know if anyone has had success with a similar set-up to me? I have a verdex XL6P and gpsstix with the Neo 4s module, and a suitable active antenna (running open embedded). I can get a gps lock (verified using cgps), but ntp does not seem to be able to update - here is a sample output of running ntpq -pn (after waiting for some
time):
remote refid st t when poll reach delay offset jitter
==============================================================================
127.127.28.0 .GPS. 0 l - 16 0 0.000 0.000 0.004
127.127.28.1 .GPS1. 0 l - 16 0 0.000 0.000 0.004
*127.127.1.0 .LOCL. 14 l 10 64 377 0.000 0.000 0.004
To configure gpsd, I modified the basic gpsd.inc file build to include the --enable-pps and --enable-ntpshm flags.
To configure ntp, I added the following lines to /etc/ntp.conf :
server 127.127.28.0 minpoll 4 maxpoll 4
fudge 127.127.28.0 time1 0.420 refid GPS
server 127.127.28.1 minpoll 4 maxpoll 4 prefer fudge 127.127.28.1 refid GPS1
The ntp and gpsd processes are started up as:
743 nobody 1900 S < gpsd -n -p /dev/ttyS2
865 root 892 S /usr/bin/ntpd -p /var/run/ntp.pid -g
It would be great to hear if anyone has had success with a similar set-up.
Cheers,
Mike
------------------------------
Message: 4
Date: Tue, 26 May 2009 11:01:09 +0100
From: "Rod Boyce" <rboyce@...>
Subject: [Gumstix-users] Crerating a desktop root file system image
from bitbake
To: <gumstix-users@...>
Message-ID:
<DA3640ADA17CEF4393EAD3748B39383335CF57@...>
Content-Type: text/plain; charset="us-ascii"
All,
I am a new Gunstix user so sorry if I am asking common questions. I am trying to create a root file system image using the command 'bitbake omap3-console-image' I get bitbake errors while trying to compile
e2fsprogs-libs:
OSError: [Errno 2] No such file or directory:
'/home/rboyce/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/util-linux
-ng-2.15-r2/install/e2fsprogs-libs-dbg'
>From what I can tell this is a missing subdirectory.
So I make the missing subdir's but I get a root file system image that does not contain the inittab script see log snipet below:
Freeing init memory: 940K
INIT: version 2.86 booting
INIT: No inittab file found
Enter runlevel:
I have downloaded the v0.92 images and tested them all they look great so this leads me to a few questions:
1. What am I missing from my bitbake'd image to get it to boot all the way to a login prompt?
2. Bitbake talks about being able to make SDK's is there a way I can create an SDK from this image/recipe, so other colleagues who are also going to be working on this don't have to compile another tool chain each? We will have about 7 people working on this when we get to full swing.
3. Is it possible to recreate the v0.92 image from a checkout?
I am not familiar with bitbake but have good experience with buildroot and other embedded Linux environments are there any more instructions other than what I have found at http://www.gumstix.net/Software/cat/Software-Overo/111.html?
Regards,
Rod Boyce
------------------------------
Message: 5
Date: Tue, 26 May 2009 06:53:33 -0700 (PDT)
From: alzaeem <ahmedsalam.2008@...>
Subject: [Gumstix-users] Help with QA errors when bitbaking a custom
recipe
To: gumstix-users@...
Message-ID: <23723251.post@...>
Content-Type: text/plain; charset=us-ascii
Hello,
I have created a custom recipe for a package to run on the OVERO, but bitbaking fails when doing Package QA, which comes after it has done the do_compile and do_install tasks.
Here is the error message:
NOTE: package mtiXsens-1.0.0-r2: task do_package: started
NOTE: DO PACKAGE QA
NOTE: Checking Package: mtiXsens-dbg
NOTE: Checking Package: mtiXsens
ERROR: QA Issue: No GNU_HASH in the elf binary:
'/home/vale/gumstix/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/mtiXsens-1.0.0-r2/install/mtiXsens/usr/bin/mtidetect'
NOTE: Checking Package: mtiXsens-doc
NOTE: Checking Package: mtiXsens-dev
NOTE: Checking Package: mtiXsens-locale
ERROR: QA run found fatal errors. Please consider fixing them.
I hope that you guys can give me some clues on what may cause this. The only thing I can think of is that some parts of the source code I am using for this package are platform dependent; they were primarily written for x86 architecture and I am not sure about their compatibility with ARM . I am wondering if this error may be caused by the build system detecting that the package will not be compatible with the target machine (Overo Earth), or is that something that is only detectable when the package is run on the target machine?
Thanks in advance for any help
Ahmed
--
View this message in context: http://www.nabble.com/Help-with-QA-errors-when-bitbaking-a-custom-recipe-tp23723251p23723251.html
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------
Message: 6
Date: Tue, 26 May 2009 08:26:02 -0600
From: Chris Dollar <chris.dollar@...>
Subject: Re: [Gumstix-users] Help with QA errors when bitbaking a
custom recipe
To: "General mailing list for gumstix users."
<gumstix-users@...>
Message-ID:
<5e306a240905260726n2d6005caj3f53d3b27d40e65a@...>
Content-Type: text/plain; charset=ISO-8859-1
IIRC that error shows up when the bitbaked package gets built using the host LDFLAGS rather than those for the target. You might check your recipe and/or makefile to make sure its using the right values.
Also, there has been a fair amount of chatter about this particular QA error on the OE list recently. I know some solutions were proposed, but I'm not sure if any of them got put in place. You might see if you can get a bitbake update that might 'fix' the issue??
Chris
On Tue, May 26, 2009 at 7:53 AM, alzaeem <ahmedsalam.2008@...> wrote:
>
> Hello,
>
> I have created a custom recipe for a package to run on the OVERO, ?but
> bitbaking fails when doing Package QA, which comes after it has done
> the do_compile and do_install tasks.
>
> Here is the error message:
>
> NOTE: package mtiXsens-1.0.0-r2: task do_package: started
> NOTE: DO PACKAGE QA
> NOTE: Checking Package: mtiXsens-dbg
> NOTE: Checking Package: mtiXsens
> ERROR: QA Issue: No GNU_HASH in the elf binary:
> '/home/vale/gumstix/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/mtiXsens-1.0.0-r2/install/mtiXsens/usr/bin/mtidetect'
> NOTE: Checking Package: mtiXsens-doc
> NOTE: Checking Package: mtiXsens-dev
> NOTE: Checking Package: mtiXsens-locale
> ERROR: QA run found fatal errors. Please consider fixing them.
>
> I hope that you guys can give me some clues on what may cause this.
> The only thing I can think of is that some parts of the source code I
> am using for this package are platform dependent; they were primarily
> written for x86 architecture and I am not sure about their
> compatibility with ARM . I am wondering if this error may be caused by
> the build system detecting that the package will not be compatible
> with the target machine (Overo Earth), or is that something that is
> only detectable when the package is run on the target machine?
>
> Thanks in advance for any help
> Ahmed
> --
> View this message in context:
> http://www.nabble.com/Help-with-QA-errors-when-bitbaking-a-custom-reci
> pe-tp23723251p23723251.html Sent from the Gumstix mailing list archive
> at Nabble.com.
>
>
> ----------------------------------------------------------------------
> -------- Register Now for Creativity and Technology (CaT), June 3rd,
> NYC. CaT is a gathering of tech-side developers & brand creativity
> professionals. Meet the minds behind Google Creative Lab, Visual
> Complexity, Processing, & iPhoneDevCamp asthey present alongside
> digital heavyweights like Barbarian Group, R/GA, & Big Spaceship.
> http://www.creativitycat.com
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
------------------------------
Message: 7
Date: Tue, 26 May 2009 12:35:14 -0400
From: Daniel Riegel <riegel@...>
Subject: Re: [Gumstix-users] Using the Palo43 Serial Connectors
To: gumstix-users@...
Message-ID:
<dc00e4dc0905260935l26d1cd66tef13c56b7904d7cc@...>
Content-Type: text/plain; charset="iso-8859-1"
Hi Eric,
Yes, we are using the Rx/Tx connectors on the Palo43. We hooked up both, not sure which I am currently using, but the other one seemed to interfere with console output, so we disconnected it. The one my signals come out from is /dev/ttyS0. The voltage levels coming out of the Palo43 are 1.8 V.
We had to make a level shifter circuit to boost the signal to 3.3 V on the way to our radio, and reduce the signal to 1.8 V on the way to the Palo43.
If you'd like some pointers on how to put together that circuit, I can ask our electrical engineer. BTW, since I sent the last message, I discovered that the -8 flag fixed most of the serial problems I was having, so the new agetty command is
agetty -8 19200 ttyS0
There are still some odd characters at the beginning of some lines I'd love to share findings on the serial interfacing front. Do you understand how to change a serial output from being a console to being usable for device I/O?
Best,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 8
Date: Tue, 26 May 2009 09:57:03 -0700 (PDT)
From: steo <mikezayuki@...>
Subject: Re: [Gumstix-users] i2c modules
To: gumstix-users@...
Message-ID: <23727216.post@...>
Content-Type: text/plain; charset=us-ascii
sakoman wrote:
>
> On Fri, May 22, 2009 at 1:49 PM, steo <mikezayuki@...> wrote:
>> How can I find the modules i2c_pxa and i2c_dev for Overo?
>
> Neither are needed. I2C support is built into the Overo kernel.
>
> Steve
>
So when I install the i2c_1.0-r2.1_armv7a.ipk package and get:
root@...:~# opkg install i2c_1.0-r2.1_armv7a.ipk Installing i2c (1.0-r2.1) to root...
Configuring i2c
Adding system startup for /etc/init.d/i2c.
Starting i2c...
FATAL: Module i2c_pxa not found.
FATAL: Module i2c_dev not found.
Can I ignore that?
--
View this message in context: http://www.nabble.com/i2c-modules-tp23676687p23727216.html
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users
End of gumstix-users Digest, Vol 37, Issue 72
*********************************************
|