very wired problem!!!

My keyboard and mouse does not work on the uImage-2.6.29-r?? (built by
bitbake OE) on my old beagleboard. But it boots up Angstrom
successfully. I tried the same MMC card on a new beagleboard(revC)
then the keyboard & mouse works fine, but in this case Angstrom does
not boot up successfully (it gives some error of "kernel panic......")
I just have uImage file on the FAT partition of MMC card. Does anyone
have any idea whats going on here!?

Yes, your u-boot is too old. I seem to be saying that at least twice a week on this list and it never seems to fail to solve the usb problems. Except for Roger, but that's a different story :slight_smile:

regards,

Koen

I tried different u-boots than also the same problem. In fact, my old
beagleboard has newer version of u-boot
U-Boot 2009.08 (Oct 20 2009 - 13:09:07)
and new beagleboard has version
U-Boot 2009.01-dirty (Feb 17 2009 - 18:06:05)

Thanks for the reply though.

I tried different u-boots than also the same problem. In fact, my old
beagleboard has newer version of u-boot
U-Boot 2009.08 (Oct 20 2009 - 13:09:07)

is this r32 from angstrom dev?

and new beagleboard has version
U-Boot 2009.01-dirty (Feb 17 2009 - 18:06:05)

Regards,

Bhargav wrote:

I tried different u-boots than also the same problem. In fact, my old
beagleboard has newer version of u-boot
U-Boot 2009.08 (Oct 20 2009 - 13:09:07)
and new beagleboard has version
U-Boot 2009.01-dirty (Feb 17 2009 - 18:06:05)

Thanks for the reply though.

My keyboard and mouse does not work on the uImage-2.6.29-r?? (built by
bitbake OE) on my old beagleboard. But it boots up Angstrom
successfully. I tried the same MMC card on a new beagleboard(revC)
then the keyboard & mouse works fine, but in this case Angstrom does
not boot up successfully (it gives some error of "kernel panic......")
I just have uImage file on the FAT partition of MMC card. Does anyone
have any idea whats going on here!
      

Yes, your u-boot is too old. I seem to be saying that at least twice a
week on this list and it never seems to fail to solve the usb
problems. Except for Roger, but that's a different story :slight_smile:

regards,

Koen
    

>
  

Which Bitbake recipe to build the U-Boot 2009.08 (Oct 20 2009 - 13:09:07)?
Thanks,
Eric

Hello Eric Fung,
How do i check that!?

Hello Robert,
No this is uImage-2.6.29-r46 got from the bitbake process.

Hi,

Actually i was wondering if the u-boot you flashed on the older board
was from the angstrom-dev tree, which is currently:

"u-boot-2009.08+r32+gitr1590f84007e2b50ad346a482fff89195cb04ff4e-r32" aka "r32"

or where did you get it?

Regards,

Hi Bhargav,

I am sorry to confuse you. Actually, I am asking someone who know the
bitbake recipe to build the latest and greatest u-boot for the
Beagleboard. I downloaded the binary of the Oct-20 version from Angstrom
Distribution site last week. and it works great with the adapter card I
designed which has I2C-2 and MMC2 on it.

--Eric

Bhargav wrote:

Hi Robert,
I got u-boot from, http://www.angstrom-distribution.org/beagleboard-demo-image-available

Thanks for the repy,
Bhargav

Sorry Bhargav,

I can't replicate this on my old rev b.. (u-boot has caused issues
like this previously...)

tested with: 2.6.32-rc5, 2.6.31.5, and 2.6.29-r44.1

Regards,

Hi Robert,
Do you advice anything to try out to solve my problem.

Thanks for your reply,
Bhargav

Hi Bhargav,

Normally i'd say it's your u-boot, but that doesn't seem to be the case...

Would you please pastebin your complete boot log? Something weird
might be happening around the kernel panic...

Regards,

Here is the output of kernel message:
http://pastebin.com/m1bca8e78
Also keyboard/mouse works fine if i take uImage-2.6.28!?

Thanks,
Bhargav

Something like this as root should enable the otg port...

insmod /lib/modules/2.6.29-omap1/kernel/drivers/usb/gadget/g_ether.ko

Hi Robert,
I could not find "g_ether.ko" at the location given by you, but it is
somewhere else. So i tried the above command, but it gives:
insmod: error inserting '/lib/modules/2.6.29-omap1/2.6.28-omap1/kernel/
drivers/usb/gadget/g_ether.ko': -1 No such device

Thanks,
Bhargav

Koen Kooi wrote:

My keyboard and mouse does not work on the uImage-2.6.29-r?? (built by
bitbake OE) on my old beagleboard. But it boots up Angstrom
successfully. I tried the same MMC card on a new beagleboard(revC)
then the keyboard& mouse works fine, but in this case Angstrom does
not boot up successfully (it gives some error of "kernel panic......")
I just have uImage file on the FAT partition of MMC card. Does anyone
have any idea whats going on here!

Yes, your u-boot is too old. I seem to be saying that at least twice a
week on this list and it never seems to fail to solve the usb
problems. Except for Roger, but that's a different story :slight_smile:

maybe then it is time to not depend on uboot for a working USB.....
(and hello Roger....)

I found that I needed to apply this patch:

http://www.beagleboard.org/gitweb/?p=linux-
2.6.git;a=commitdiff_plain;h=4c79dd4e88c57a860692eb23864b3f2030d6d459

Before I could get USB Host (on ehci) working. Not sure if you are
having trouble on the OTG or EHCI port.

I found that with this patch it worked on old and new version of u-
boot.

Cheers,

Benno