mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* i.MX25 3-stack - over-current change on port 1 - USB host port not working
@ 2011-03-16 14:26 Teemu Peltola
  2011-03-17  9:19 ` Eric Bénard
  0 siblings, 1 reply; 6+ messages in thread
From: Teemu Peltola @ 2011-03-16 14:26 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-30  7:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-16 14:26 i.MX25 3-stack - over-current change on port 1 - USB host port not working Teemu Peltola
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox