mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Teemu Peltola <teemu.peltola@nextfour.com>
To: barebox@lists.infradead.org
Subject: i.MX25 3-stack - over-current change on port 1 - USB host port not working
Date: Wed, 16 Mar 2011 16:26:51 +0200	[thread overview]
Message-ID: <4D80C8AB.4040905@nextfour.com> (raw)

Hi,

I have Freescale i.MX25 3-stack development board + debug board attached 
to it. I have built barebox-2011.03.0 using 
freescale_mx25_3stack_defconfig with some modifications to support NAND 
booting (see below). I have used buildroot-2011.02 to create 2.6.38 
kernel (CONFIG_MACH_MX25_3DS=y etc.) and rootfs images.

When I boot these images from barebox, dmesg displays the following 
error message constantly and USB host port does not work:

mxc-ehci mxc-ehci.1: GetStatus port:1 status cc001020 102  ACK POWER 
sig=se0 OCC
hub 1-0:1.0: over-current change on port 1
hub 1-0:1.0: enabling power on all ports
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002

If I try to use Freescale RedBoot (mx25_3stack_redboot_TO1_1.bin from 
L2.6.31_09.12.00_SDK_images_MX25 package) with the same kernel and 
rootfs, USB works. Is there some initialization that is missing from 
barebox?

Here is my barebox diff to freescale_mx25_3stack_defconfig:

--- a/barebox-2011.03.0/arch/arm/configs/freescale_mx25_3stack_defconfig 
  2011-03-03 16:59:35.000000000 +0200
+++ b/barebox-2011.03.0/arch/arm/configs/freescale_mx25_3stack_defconfig 
   2011-03-14 15:30:01.911346340 +0200
@@ -1,4 +1,5 @@
  CONFIG_ARCH_IMX=y
+CONFIG_ARCH_IMX_INTERNAL_BOOT=y
  CONFIG_ARCH_IMX25=y
  CONFIG_MACH_FREESCALE_MX25_3STACK=y
  CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
@@ -16,9 +17,14 @@
  CONFIG_CMD_EXPORT=y
  CONFIG_CMD_PRINTENV=y
  CONFIG_CMD_READLINE=y
+CONFIG_CMD_ECHO_E=y
+CONFIG_CMD_LOADB=y
  CONFIG_CMD_MEMINFO=y
  CONFIG_CMD_CRC=y
  CONFIG_CMD_FLASH=y
+CONFIG_CMD_BOOTM_ZLIB=y
+CONFIG_CMD_BOOTM_BZLIB=y
+CONFIG_CMD_BOOTM_SHOW_TYPE=y
  CONFIG_CMD_RESET=y
  CONFIG_CMD_GO=y
  CONFIG_CMD_TIMEOUT=y
@@ -30,5 +36,10 @@
  CONFIG_NET_TFTP=y
  CONFIG_DRIVER_NET_FEC_IMX=y
  # CONFIG_SPI is not set
+CONFIG_I2C=y
+CONFIG_I2C_IMX=y
+CONFIG_MTD=y
+CONFIG_NAND=y
+CONFIG_NAND_IMX=y
  CONFIG_USB=y
  CONFIG_USB_EHCI=y

BR,

Teemu

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2011-03-16 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 14:26 Teemu Peltola [this message]
2011-03-17  9:19 ` Eric Bénard
2011-03-21  8:52   ` Teemu Peltola
2011-03-21 19:21     ` Atmel status Dvorkin Dmitry
2011-03-27 19:51       ` Robert Schwebel
2011-03-30  7:42     ` i.MX25 3-stack - over-current change on port 1 - USB host port not working Teemu Peltola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D80C8AB.4040905@nextfour.com \
    --to=teemu.peltola@nextfour.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox