Skip to contentSkip to conversation

u-boot-xlnx 'master-next' branch: usb not working for microzed

U-Boot oller 3 participants 4 messages Oct 14, 2013 – Oct 16, 2013

lore
Share & tools
lore

oller

author
#0 lore raw

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:

Quoted 3 lines

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:

Quoted 2 lines

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

correct output:

Quoted 6 lines

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.

#1 lore raw

Hi,

Quoted 10 lines · oller

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.

Signature · 8 lines
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
#2 lore raw

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.

#3 lore raw
Quoted 12 lines · Oleg Dzhimiev

Thanks to Michal - in the u-boot-xlnx/master-next (vs /master) the following lines were removed:
board/xilinx/zynq/board.c:

(quoted diff) +0 -8
-	/* 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);
Quoted 2 lines

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

Signature · 14 lines
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>