This patch adds BOOT_DEVICE define for USB booting and fixes
spl_board_init function to call arch_misc_init (this is the place there
musb is initialized).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu/armv7/omap-common/boot-common.c | 3 +++
arch/arm/include/asm/arch
In case of usbeth booting just call net_load_image(usb_ether).
This patch also adds CONFIG_SPL_USBETH_SUPPORT and
CONFIG_SPL_MUSB_NEW_SUPPORT config options to enable linking of SPL
against USB gagdet support and new MUSB driver resp.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
Sometimes (for debugging purposes mostly but also to overcome some
hardware limitations) it's desirable to be able to force boot device to
some fixed value. This patch adds this possibility via
CONFIG_SPL_FORCE_BOOT_DEVICE option.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
This adds necessary config options to enable usb booting and
fixes board_eth_init() function to take into account that we may have
USB ether support in SPL now.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
board/ti/am335x/board.c | 3 ++-
include/configs/am335x_evm.h | 8
These series add support for booting via USB on TI AM335X based boards.
Tested on BeagleBone.
Ilya Yanok (5):
spl: support for booting via usbeth
am33xx: support for booting via usbeth
am335x_evm: enable support for booting via USB
spl: add possibility to force boot device
am335x_evm
Currently AM335X hardware has bug in it's ROM code that prevents USB
booting from working normally. So we have to load SPL via serial console
instead. But it's feasible to use USB for loading the main U-Boot image.
This patch adds additional am335x_evm configuration for this.
Signed-off-by: Ilya
Hi Peter,
On Thu, Nov 8, 2012 at 10:33 AM, Peter Korsgaard jac...@sunsite.dk wrote:
Ilya +void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs
*cs, u32 base,
Ilya +u32 size)
Ilya +{
Ilya +writel(0, cs-config7);
Ilya +sdelay(1000);
On Tue, Nov 6, 2012 at 9:24 AM, Felix Radensky fe...@embedded-sol.comwrote:
Hi Marek,
On 11/06/2012 12:57 AM, Marek Vasut wrote:
Can you please avoid top-posting? Does U-Boot even support your USB
device?
Sorry about top-posting. My USB device is supported by smsc95xx.c driver
in
config style fix (wrt nand)
- fix wrong braces in Makefile
Ilya Yanok (6):
OMAP: include sys_proto.h from boot-common
am335x_evm: add nand pinmux definition
am33xx: NAND support
am335x_evm: enable NAND support
am33xx_spl_bch: simple SPL nand loader for AM33XX
am335x_evm: enable SPL NAND
Include asm/arch/sys_proto.h for gpmc_init prototype.
Without this we get a warning while building for AM335x.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu/armv7/omap-common/boot-common.c |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/armv7/omap
Add NAND pins mux settings for AM335X devices. Enable NAND pins
for AM335X EVM board.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
-fix nand mux settings (profiles 23 don't have NAND)
board/ti/am335x/mux.c | 22 ++
1 file changed, 22
TI AM33XX has the same GPMC controller as OMAP3 so we could just use the
existing omap_gpmc driver. This patch adds adds required
definitions/intialization.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- rebased on current master
- clean up mem.c (remove unused
Enable NAND support for AM335X boards.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- rebased onto master
- minor config style fix (wrt nand)
board/ti/am335x/board.c |2 ++
include/configs/am335x_evm.h | 12
2 files changed, 14 insertions
From: Mansoor Ahamed mansoor.aha...@ti.com
AM33XX has Error Location Module (ELM) that can be used in conjuction
with GPMC controller to implement BCH codes fully in hardware.
This code is mostly taken from arago tree.
Signed-off-by: Mansoor Ahamed mansoor.aha...@ti.com
Signed-off-by: Ilya Yanok
it with omap_gpmc driver, some fixes and cleanup]
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
drivers/mtd/nand/omap_gpmc.c | 403 +-
1 file changed, 402 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand
Enable booting from NAND support from AM335x boards as well as
environment in NAND.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
include/configs/am335x_evm.h | 38 --
1 file changed, 36 insertions(+), 2 deletions(-)
diff --git a/include
AM33XX with BCH8 can't work with nand_spl_simple correctly
because custom read_page implementation is required for proper
syndrome generation.
This simple driver mostly duplicates nand_spl_simple but has
nand_read_page changed to suit our needs.
Signed-off-by: Ilya Yanok ilya.ya
host or gadget enabled
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we are providing host support now so add yourself to usb.h
Ilya Yanok (13):
linux/usb/ch9.h: update with the version from Linux tree
usb: use linux/usb/ch9.h instead of usbdescriptors.h
musb-new: port of Linux
that tries to include both are the old MUSB code and
it needs usb.h only for USB_DMA_MINALIGN used in aligned attribute
on musb_regs structure but this attribute seems to be unneeded
(old MUSB code doesn't support any DMA at all).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
drivers/usb/gadget/config.c |1 -
drivers/usb/gadget/epautoconf.c |1 -
drivers/usb/gadget/ether.c |1 -
drivers/usb/gadget/s3c_udc_otg.c |1 -
drivers/usb/gadget/usbstring.c |1 -
include/linux/usb/ch9
Backend driver for MUSB OTG controllers found on TI AM33xx and
TI81xx SoCs (tested with AM33xx only).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we are providing host support now so add yourself to usb.h
AM33xx has support for dual port MUSB OTG controller. This patch
adds initialization for the controller using new MUSB gadget
driver and ether gadget.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v5:
- rebase onto master (board_eth_init moved to board/)
Changes in v3
-updated core registers.
This confuses the code and result in hanged transfers.
Add a small delay in am35x_interrupt as a workaround.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/omap_musb.h|3 +
drivers/usb/musb-new/Makefile |1 +
drivers/usb
Enable musb gadget in Ethernet mode on port 0 and
musb host on port1.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v5:
- rebase onto master (board_eth_init moved to board/)
- don't init usb ether in SPL
board/ti/am335x/board.c | 23
Add defines for MUSB IP block on AM35X SoCs.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/arch-omap3/am35x_def.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/arch/arm/include/asm/arch-omap3/am35x_def.h
b/arch/arm/include
Use new musb framework instead of the old one on AM3517_EVM.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
board/logicpd/am3517evm/am3517evm.c | 74 +++
include/configs/am3517_evm.h| 37 --
2 files changed, 90 insertions
Backend driver for MUSB OTG controllers found on TI OMAP2/3/4
(tested only on OMAP3 Beagle).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/omap_musb.h|4 +
drivers/usb/musb-new/Makefile |1 +
drivers/usb/musb-new/linux-compat.h |9
Add initialization for new MUSB framework.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
board/ti/beagle/beagle.c | 43
include/configs/omap3_beagle.h |2 ++
2 files changed, 45 insertions(+)
diff --git a/board/ti/beagle
AM35XX specific functions for integrated USB PHY/MUSB IP.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu/armv7/omap3/Makefile |1 +
arch/arm/cpu/armv7/omap3/am35x_musb.c | 75
arch/arm/include/asm/arch-omap3/musb.h | 28
Enable using of new MUSB framework on Beagle.
NOTE! This is not just a change of backend code: top-level behavior
is also changed, we now use USB device port for USB Ethernet instead
of serial.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
include/configs/omap3_beagle.h | 11
Hi Tom,
On Tue, Oct 23, 2012 at 1:45 AM, Tom Rini tr...@ti.com wrote:
In general, things look OK but please run it through checkpatch.pl, use
just one Signed-off-by line and fixup if (...) { ... one line ... } in
the glue code you add that's not synced up from the kernel (I saw one in
the
to core
code to support compilation with only host or gadget enabled
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we are providing host support now so add yourself to usb.h
Ilya Yanok (13):
linux/usb/ch9.h: update with the version from Linux tree
usb: use linux/usb/ch9.h instead
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
drivers/usb/gadget/config.c |1 -
drivers/usb/gadget/epautoconf.c |1 -
drivers/usb/gadget/ether.c |1 -
drivers/usb/gadget/s3c_udc_otg.c |1 -
drivers/usb
that tries to include both are the old MUSB code and
it needs usb.h only for USB_DMA_MINALIGN used in aligned attribute
on musb_regs structure but this attribute seems to be unneeded
(old MUSB code doesn't support any DMA at all).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes
Backend driver for MUSB OTG controllers found on TI AM33xx and
TI81xx SoCs (tested with AM33xx only).
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we
that tries to include both are the old MUSB code and
it needs usb.h only for USB_DMA_MINALIGN used in aligned attribute
on musb_regs structure but this attribute seems to be unneeded
(old MUSB code doesn't support any DMA at all).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes
compilation with only host or gadget enabled
- added some more is_{host,peripheral}_capable guards to core
code to support compilation with only host or gadget enabled
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we are providing host support now so add yourself to usb.h
Ilya Yanok (13
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
drivers/usb/gadget/config.c |1 -
drivers/usb/gadget/epautoconf.c |1 -
drivers/usb/gadget/ether.c |1 -
drivers/usb/gadget/s3c_udc_otg.c |1 -
drivers/usb/gadget/usbstring.c |1 -
include/linux/usb/ch9
Backend driver for MUSB OTG controllers found on TI AM33xx and
TI81xx SoCs (tested with AM33xx only).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we are providing host support now so add yourself to usb.h
Enable musb gadget in Ethernet mode on port 0 and
musb host on port1.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
include/configs/am335x_evm.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs
AM33xx has support for dual port MUSB OTG controller. This patch
adds initialization for the controller using new MUSB gadget
driver and ether gadget.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v3:
- use clrsetbits_le32 for USB PHY ops
arch/arm/cpu/armv7/am33xx
-updated core registers.
This confuses the code and result in hanged transfers.
Add a small delay in am35x_interrupt as a workaround.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/omap_musb.h|3 +
drivers/usb/musb-new/Makefile |1 +
drivers/usb
Add defines for MUSB IP block on AM35X SoCs.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/arch-omap3/am35x_def.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/arch/arm/include/asm/arch-omap3/am35x_def.h
b/arch/arm/include
Use new musb framework instead of the old one on AM3517_EVM.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
board/logicpd/am3517evm/am3517evm.c | 74 +++
include/configs/am3517_evm.h| 37 --
2 files changed, 90 insertions
AM35XX specific functions for integrated USB PHY/MUSB IP.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu/armv7/omap3/Makefile |1 +
arch/arm/cpu/armv7/omap3/am35x_musb.c | 75
arch/arm/include/asm/arch-omap3/musb.h | 28
Add initialization for new MUSB framework.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
board/ti/beagle/beagle.c | 43
include/configs/omap3_beagle.h |2 ++
2 files changed, 45 insertions(+)
diff --git a/board/ti/beagle
Backend driver for MUSB OTG controllers found on TI OMAP2/3/4
(tested only on OMAP3 Beagle).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/omap_musb.h|4 +
drivers/usb/musb-new/Makefile |1 +
drivers/usb/musb-new/linux-compat.h |9
Enable using of new MUSB framework on Beagle.
NOTE! This is not just a change of backend code: top-level behavior
is also changed, we now use USB device port for USB Ethernet instead
of serial.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
include/configs/omap3_beagle.h | 11
Hi Tom,
On Wed, Oct 31, 2012 at 1:03 AM, Tom Rini tr...@ti.com wrote:
+ for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
+ this-ecc.hwctl(mtd, NAND_ECC_READ); +
nand_command(block,
page, data_pos, NAND_CMD_RNDOUT); + + this-read_buf(mtd, p,
GPMC to generate codes/syndromes and ELM to find the
errors.
Ilya Yanok (6):
OMAP: include sys_proto.h from boot-common
am335x_evm: add nand pinmux definition
am33xx: NAND support
am335x_evm: enable NAND support
am33xx_spl_bch: simple SPL nand loader for AM33XX
am335x_evm: enable SPL
Include asm/arch/sys_proto.h for gpmc_init prototype.
Without this we get a warning while building for AM335x.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu/armv7/omap-common/boot-common.c |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/armv7/omap
Add NAND pins mux settings for AM335X devices. Enable NAND pins
for AM335X EVM board.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
board/ti/am335x/mux.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
TI AM33XX has the same GPMC controller as OMAP3 so we could just use the
existing omap_gpmc driver. This patch adds adds required
definitions/intialization.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu/armv7/am33xx/Makefile |1 +
arch/arm/cpu/armv7
Enable NAND support for AM335X boards.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
include/configs/am335x_evm.h | 15 +++
1 file changed, 15 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 339d4bd..a89cdcd 100644
From: Mansoor Ahamed mansoor.aha...@ti.com
AM33XX has Error Location Module (ELM) that can be used in conjuction
with GPMC controller to implement BCH codes fully in hardware.
This code is mostly taken from arago tree.
Signed-off-by: Mansoor Ahamed mansoor.aha...@ti.com
Signed-off-by: Ilya Yanok
AM33XX with BCH8 can't work with nand_spl_simple correctly
because custom read_page implementation is required for proper
syndrome generation.
This simple driver mostly duplicates nand_spl_simple but has
nand_read_page changed to suit our needs.
Signed-off-by: Ilya Yanok ilya.ya
Enable booting from NAND support from AM335x boards as well as
environment in NAND.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
include/configs/am335x_evm.h | 38 --
1 file changed, 36 insertions(+), 2 deletions(-)
diff --git a/include
it with omap_gpmc driver, some fixes and cleanup]
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu/armv7/am33xx/board.c |4 +-
drivers/mtd/nand/omap_gpmc.c | 403 -
2 files changed, 405 insertions(+), 2 deletions(-)
diff --git a/arch/arm
Dear Marek,
On Tue, Oct 23, 2012 at 11:20 AM, Marek Vasut ma...@denx.de wrote:
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
Double SoB line
Yeah, it's a mess with SoBs, I'm sorry. I think it's not only this patch
but others
Hi Tom,
On Tue, Oct 23, 2012 at 1:45 AM, Tom Rini tr...@ti.com wrote:
This is not a replacement for existing MUSB driver (at least for
now), cause there are still consumers of USB serial gadget which
uses old API and there is no support for serial with new API
for now.
I'm a little
Hi Tom,
On Wed, Oct 24, 2012 at 4:24 PM, Tom Rini tr...@ti.com wrote:
I'm a little lost. In the kernel, you can't use
CONFIG_USB_G_SERIAL with CONFIG_USB_MUSB_${hw glue} ?
You can. But we don't have g_serial in U-Boot yet.
So we would need to port that, in order to remove the serial
or gadget enabled
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we are providing host support now so add yourself to usb.h
Ilya Yanok (13):
linux/usb/ch9.h: update with the version from Linux tree
usb: use linux/usb/ch9.h instead of usbdescriptors.h
musb-new: port of Linux musb
that tries to include both are the old MUSB code and
it needs usb.h only for USB_DMA_MINALIGN used in aligned attribute
on musb_regs structure but this attribute seems to be unneeded
(old MUSB code doesn't support any DMA at all).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
drivers/usb/gadget/config.c |1 -
drivers/usb/gadget/epautoconf.c |1 -
drivers/usb/gadget/ether.c |1 -
drivers/usb/gadget/s3c_udc_otg.c |1 -
drivers/usb
Backend driver for MUSB OTG controllers found on TI AM33xx and
TI81xx SoCs (tested with AM33xx only).
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we
AM33xx has support for dual port MUSB OTG controller. This patch
adds initialization for the controller using new MUSB gadget
driver and ether gadget.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v3:
- use clrsetbits_le32 for USB PHY ops
arch/arm/cpu/armv7/am33xx
Enable musb gadget in Ethernet mode on port 0 and
musb host on port1.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
include/configs/am335x_evm.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs
Add defines for MUSB IP block on AM35X SoCs.
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/arch-omap3/am35x_def.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/arch/arm
AM35XX specific functions for integrated USB PHY/MUSB IP.
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu/armv7/omap3/Makefile |1 +
arch/arm/cpu/armv7/omap3/am35x_musb.c | 75
-updated core registers.
This confuses the code and result in hanged transfers.
Add a small delay in am35x_interrupt as a workaround.
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/omap_musb.h|3 +
drivers
Backend driver for MUSB OTG controllers found on TI OMAP2/3/4
(tested only on OMAP3 Beagle).
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/include/asm/omap_musb.h|4 +
drivers/usb/musb-new/Makefile |1
Add initialization for new MUSB framework.
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
board/ti/beagle/beagle.c | 43
include/configs/omap3_beagle.h |2 ++
2 files changed, 45
Use new musb framework instead of the old one on AM3517_EVM.
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
board/logicpd/am3517evm/am3517evm.c | 74 +++
include/configs/am3517_evm.h| 37
Enable using of new MUSB framework on Beagle.
NOTE! This is not just a change of backend code: top-level behavior
is also changed, we now use USB device port for USB Ethernet instead
of serial.
Signed-off-by: Ilya Yanok ya...@cogentembedded.com
Signed-off-by: Ilya Yanok ilya.ya
Dear Marek,
On Sat, Sep 22, 2012 at 4:55 AM, Marek Vasut ma...@denx.de wrote:
[...]
I'm glad about this. But how can we make this work if we already have a
driver
for this in u-boot, now we will have another. Tom ?
What's so wrong in letting the two coexist for some time so people could
Dear Marek,
On Sat, Sep 22, 2012 at 4:49 AM, Marek Vasut ma...@denx.de wrote:
+{
+ u32 usb_ctrl_reg;
+
+ usb_ctrl_reg = readl(reg_addr);
+ if (on) {
+ usb_ctrl_reg = ~(CM_PHY_PWRDN | CM_PHY_OTG_PWRDN);
+ usb_ctrl_reg |= (OTGVDET_EN |
Dear Marek,
On Sat, Sep 22, 2012 at 4:48 AM, Marek Vasut ma...@denx.de wrote:
+COBJS-$(CONFIG_USB_MUSB_DSPS) += musb_dsps.o
CONFIG_MUSB_... ?
I'm following Linux here. We can change this, but should we? BTW, it looks
to be in line with the current code where all USB lowlevel drivers have
on other code so SPL size
is increased significantly. No effort was done to decouple network
code and environment so far.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v3:
- use BOOTP in SPL regardless of CONFIG_CMD_DHCP
- add support for setting different VCI in SPL
Hi Tom,
On Tue, Sep 18, 2012 at 4:17 AM, Tom Rini tr...@ti.com wrote:
Please add a GPLv2+ header to the file, thanks.
Done.
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index e38a4b7..6bb819c
100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -784,7 +784,7
@@ void panic(const char
Hi Joe,
On Thu, Aug 30, 2012 at 1:25 AM, Joe Hershberger
joe.hershber...@gmail.comwrote:
diff --git a/arch/arm/cpu/armv7/omap-common/Makefile
b/arch/arm/cpu/armv7/omap-common/Makefile
index d37b22d..f042078 100644
--- a/arch/arm/cpu/armv7/omap-common/Makefile
+++
Hi Tom,
On Mon, Sep 17, 2012 at 9:04 PM, Tom Rini tr...@ti.com wrote:
I agree it's not the best place... config_cmd_spl.h sounds a little
bit crazy as we don't have any commands at all in SPL...
How about config_uncmd_spl.h then and a nice big comment up top
Well, it will be at least
On Mon, Sep 17, 2012 at 10:07 PM, Tom Rini tr...@ti.com wrote:
That's not really about garbage collection in this case (net-spl).
I want to disable some functionality of generic net code not some
stuff used only by commands implementation. The confusion comes
from the fact that this code
BTW, I'm going to repost this serie soon. Shouldn't I rebase it on top of
your SPL rework patches? Where can I find the tree?
Regards, Ilya.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Mon, Sep 17, 2012 at 1:55 PM, Ilya Yanok
ilya.ya...@cogentembedded.comwrote:
+#include common.h
+#include net.h
+#include asm/omap_common.h
What in here needs this header?
Looks like it's unneeded. Thanks, I'll remove it.
Nope, it's needed for spl_parse_image_header.
Regards
We need to initialize timer properly, otherwise all delays
inside SPL will be wrong.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v6:
- fix typo in patch name
arch/arm/cpu/armv7/omap-common/spl.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/cpu
from net/net.c and net/bootp.c
Ilya Yanok (4):
net/bootp: add VCI support for BOOTP also
OMAP: spl: call timer_init() from SPL
OMAP: networking support for SPL
am335x_evm: enable networking in SPL
arch/arm/cpu/armv7/omap-common/Makefile |3 ++
arch/arm/cpu/armv7/omap-common/spl.c
This patch adds support for networking in SPL on TI AM335x based
boards. Vendor Class Identifier used by SPL during BOOTP is
AM335x U-Boot SPL.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v3:
- set Vendor Class Identifier for SPL
Changes in v4:
- SPL_BOARD_INIT
on other code so SPL size
is increased significantly. No effort was done to decouple network
code and environment so far.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v3:
- use BOOTP in SPL regardless of CONFIG_CMD_DHCP
- add support for setting different VCI in SPL
Vendor Class Identifier option is common to BOOTP and DHCP and
can be useful without PXE. So send VCI in both BOOTP and DHCP
requests if CONFIG_BOOTP_VCI_STRING is defined.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v4:
- used strlen instead of sizeof
- moved
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
drivers/usb/gadget/config.c |1 -
drivers/usb/gadget/epautoconf.c |1 -
drivers/usb/gadget/ether.c |1 -
drivers/usb/gadget/s3c_udc_otg.c |1 -
drivers/usb/gadget/usbstring.c |1 -
include/linux/usb
() is called
from arch_init()
- use new config options
Ilya Yanok (6):
linux/usb/ch9.h: update with the version from Linux tree
usb: use linux/usb/ch9.h instead of usbdescriptors.h
musb-new: port of Linux musb driver
musb-new: dsps backend driver
am33xx: init OTG hardware and new musb gadget
Backend driver for MUSB OTG controllers found on TI AM33xx and
TI81xx SoCs (tested with AM33xx only).
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- rename backend config option to CONFIG_USB_MUSB_DSPS
- we are providing host support now so add yourself to usb.h
there is no point to put speed into
pipe anymore so it's removed and a bunch of host drivers fixed to
look at usb_device-speed instead.
Old usbdescriptors.h included is not removed as it seems to be
used by old USB device code.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
arch/arm/cpu
AM33xx has support for dual port MUSB OTG controller. This patch
adds initialization for the controller using new MUSB gadget
driver and ether gadget.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- init both musb IPs (conditionally) from arch_init not
from
Enable musb gadget in Ethernet mode on port 0 and
musb host on port1.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com
---
Changes in v2:
- host support enabled
- define CONFIG_ARCH_INIT as now musb_register() is called
from arch_init()
- use new config options
include/configs
Hi Stefan,
Stefan Roese sr at denx.de writes:
Or does patman not even try to send, once checkpatch warning/errors are
detected?
That's it. Normally you don't want to send patches that are not
chackpatch-clean. If you are sure that problems are irrelevant use -i switch to
ignore them.
Dear Marek, Wolfgang,
On Thu, Aug 9, 2012 at 11:23 PM, Wolfgang Denk w...@denx.de wrote:
I hate to say it ... but given that this will cause duplication of code,
I'm
somehow inclined to push you to do a complete replacement of the old
musb code,
remove it and add this.
Agreed, we
Hi Joe,
On Mon, Aug 6, 2012 at 1:21 AM, Ilya Yanok ilya.ya...@cogentembedded.comwrote:
Vendor Class Identifier option is common to BOOTP and DHCP and
can be useful without PXE. So send VCI in both BOOTP and DHCP
requests if CONFIG_BOOTP_VCI_STRING is defined.
Signed-off-by: Ilya Yanok
Hi Benoit,
On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau
benoit.thebaud...@advansee.com wrote:
Adjust time-out value for the new EHCI mechanism.
Could you please be a bit more specific? ;)
How this timeout is related to the new mechanism? Is it really EHCI
specific? If it is, that's
Hi Benoit,
On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau
benoit.thebaud...@advansee.com wrote:
diff --git u-boot-usb-4f8254e.orig/common/usb_storage.c
u-boot-usb-4f8254e/common/usb_storage.c
index 0cd6399..822bd64 100644
--- u-boot-usb-4f8254e.orig/common/usb_storage.c
+++
1 - 100 of 476 matches
Mail list logo