public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot-xlnx 'master-next' branch: usb not working for microzed
@ 2013-10-14 18:30 oller
  2013-10-15 20:52 ` Jagan Teki
  0 siblings, 1 reply; 4+ messages in thread
From: oller @ 2013-10-14 18:30 UTC (permalink / raw)
  To: u-boot

Hi,

I've been working with xilinx's microzed board (zynq) recently. The actual
goal is a fsbl-less u-boot.

But even with fsbl - USB is not working in u-boot-xlnx 'master-next' branch.
At the same time it works in the 'master'. Mostly interested in
'master-next'.

Has anyone tried USB in the 'master-next' for microzed/zedboard?

OS: Ubuntu 13.04 x64
board: MicroZed
u-boot-xlnx 'master-next' rev: bbd91fc9ae290c31dc52fd8322f43f67ddd39247
u-boot-xlnx 'master' rev: 0f6dbff16b792a106f52ca37f4503335af30601b
cross-tools: cross compiler built with yocto poky:
> export CROSS_COMPILE=arm-poky-linux-gnueabi-
> export
> PATH=/opt/poky/1.4.2/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/:$PATH

incorrect output:
> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> ehci-pci: EHCI PCI platform driver

correct output:
> Found SMSC USB3320 ULPI transceiver.
> ULPI integrity check: passed.
> xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
> xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
> xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000
> xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00

Thanks



--
View this message in context: http://u-boot.10912.n7.nabble.com/u-boot-xlnx-master-next-branch-usb-not-working-for-microzed-tp165384.html
Sent from the U-Boot mailing list archive at Nabble.com.

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

* [U-Boot] u-boot-xlnx 'master-next' branch: usb not working for microzed
  2013-10-14 18:30 [U-Boot] u-boot-xlnx 'master-next' branch: usb not working for microzed oller
@ 2013-10-15 20:52 ` Jagan Teki
  2013-10-16  6:18   ` Oleg Dzhimiev
  0 siblings, 1 reply; 4+ messages in thread
From: Jagan Teki @ 2013-10-15 20:52 UTC (permalink / raw)
  To: u-boot

Hi,

On Tue, Oct 15, 2013 at 12:00 AM, oller <oleg@elphel.com> wrote:
> Hi,
>
> I've been working with xilinx's microzed board (zynq) recently. The actual
> goal is a fsbl-less u-boot.
>
> But even with fsbl - USB is not working in u-boot-xlnx 'master-next' branch.
> At the same time it works in the 'master'. Mostly interested in
> 'master-next'.
>
> Has anyone tried USB in the 'master-next' for microzed/zedboard?
Please give me some time, will try and let you know.

-- 
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki

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

* [U-Boot] u-boot-xlnx 'master-next' branch: usb not working for microzed
  2013-10-15 20:52 ` Jagan Teki
@ 2013-10-16  6:18   ` Oleg Dzhimiev
  2013-10-16  6:35     ` Michal Simek
  0 siblings, 1 reply; 4+ messages in thread
From: Oleg Dzhimiev @ 2013-10-16  6:18 UTC (permalink / raw)
  To: u-boot

Thanks to Michal - in the u-boot-xlnx/master-next (vs /master) the following
lines were removed:
board/xilinx/zynq/board.c:
-	/* temporary hack to take USB out of reset til the is fixed
-	 * in Linux
-	 */
-	writel(0x80, 0xe000a204);
-	writel(0x80, 0xe000a208);
-	writel(0x80, 0xe000a040);
-	writel(0x00, 0xe000a040);
-	writel(0x80, 0xe000a040);

This is board-specific (but the same for zedboard & microzed) USB reset
wired to MIO7. Without these lines USB reset stays active.

Thanks




--
View this message in context: http://u-boot.10912.n7.nabble.com/u-boot-xlnx-master-next-branch-usb-not-working-for-microzed-tp165384p165555.html
Sent from the U-Boot mailing list archive at Nabble.com.

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

* [U-Boot] u-boot-xlnx 'master-next' branch: usb not working for microzed
  2013-10-16  6:18   ` Oleg Dzhimiev
@ 2013-10-16  6:35     ` Michal Simek
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2013-10-16  6:35 UTC (permalink / raw)
  To: u-boot

On 10/16/2013 08:18 AM, Oleg Dzhimiev wrote:
> Thanks to Michal - in the u-boot-xlnx/master-next (vs /master) the following
> lines were removed:
> board/xilinx/zynq/board.c:
> -	/* temporary hack to take USB out of reset til the is fixed
> -	 * in Linux
> -	 */
> -	writel(0x80, 0xe000a204);
> -	writel(0x80, 0xe000a208);
> -	writel(0x80, 0xe000a040);
> -	writel(0x00, 0xe000a040);
> -	writel(0x80, 0xe000a040);
> 
> This is board-specific (but the same for zedboard & microzed) USB reset
> wired to MIO7. Without these lines USB reset stays active.

Please keep this discussion out of mainline u-boot because it has
nothing to do with the code in the mainline.

I will send you separate email about this.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131016/8e12c127/attachment.pgp>

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

end of thread, other threads:[~2013-10-16  6:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-14 18:30 [U-Boot] u-boot-xlnx 'master-next' branch: usb not working for microzed oller
2013-10-15 20:52 ` Jagan Teki
2013-10-16  6:18   ` Oleg Dzhimiev
2013-10-16  6:35     ` Michal Simek

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