[U-Boot] u-boot-xlnx 'master-next' branch: usb not working for microzed

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-wor... Sent from the U-Boot mailing list archive at Nabble.com.

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 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-wor... Sent from the U-Boot mailing list archive at Nabble.com.

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
participants (4)
-
Jagan Teki
-
Michal Simek
-
Oleg Dzhimiev
-
oller