On Friday 04 September 2015 09:01 PM, Joe Hershberger wrote:
> On Thu, Sep 3, 2015 at 5:20 AM, Mugunthan V N wrote:
>> Currently when phy device is created the link variable is
>> initialized to 1 which denoted phy link is already up. On a power
>> reset there is no issue a
On Friday 11 September 2015 04:24 PM, Mugunthan V N wrote:
> On Wednesday 09 September 2015 11:38 PM, Simon Glass wrote:
>> Hi,
>>
>> On Monday, 7 September 2015, Mugunthan V N wrote:
>>>
>>> On Friday 07 August 2015 03:01 AM, Stephen
On Wednesday 09 September 2015 11:38 PM, Simon Glass wrote:
> Hi,
>
> On Monday, 7 September 2015, Mugunthan V N wrote:
>>
>> On Friday 07 August 2015 03:01 AM, Stephen Warren wrote:
>>> From: Stephen Warren
>>>
>>> fdtdec_get_addr_size() hard-co
prepare driver for device model migration
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/net/cpsw.c | 133 +++--
1 file changed, 89 insertions(+), 44 deletions(-)
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index
adopt cpsw driver to device driver model
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/net/cpsw.c | 245 -
include/cpsw.h | 2 +
2 files changed, 246 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpsw.c b
enable ethernet driver model for am335x gp evm as cpsw supports
driver model
Signed-off-by: Mugunthan V N
---
configs/am335x_gp_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_gp_evm_defconfig b/configs/am335x_gp_evm_defconfig
index 62d3b6b..c87d7a9 100644
--- a
enable ethernet driver model for am335x beagle bone black as cpsw
supports driver model
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
configs/am335x_boneblack_vboot_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_boneblack_vboot_defconfig
b/configs
Prepare board file so that ethernet registration are
commented for DM conversion
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
board/ti/am335x/board.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 1dc2ed0..f0cb1e2
me
* Added AM335x GP EVM also with the series.
Mugunthan V N (6):
am335x_evm: prepare for eth driver model support
am335x_evm: do not define usb ether gadget when Eth DM is defined
drivers: net: cpsw: prepare driver for device model migration
drivers: net: cpsw: convert driver to adopt dev
Since usb ether gadget doesn't have support for driver model, so
not defining usb ether gadget when ethernet driver model is
defined.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
include/configs/am335x_evm.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/co
s patch for cpsw ethernet dt migration to getting cpsw address
space. Also dropped *#define DEBUG* in lib/fdtdev.c file.
Tested-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Friday 04 September 2015 06:28 AM, Simon Glass wrote:
> Hi,
>
> On 2 September 2015 at 05:15, Mugunthan V N wrote:
>> adopt cpsw driver to device driver model
>>
>> Signed-off-by: Mugunthan V N
>>
On Friday 04 September 2015 06:28 AM, Simon Glass wrote:
> Hi,
>
> On 2 September 2015 at 05:15, Mugunthan V N wrote:
>> When a device has multiple memory regions, api "dev_get_addr"
>> doesn't return the address and returns error. So implementing a
>&
ooper Jr
Signed-off-by: Mugunthan V N
---
Verified on DRA72x EVM Logs [1]
[1]: http://pastebin.ubuntu.com/12261964/
---
drivers/net/phy/phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 65c731a..a6023f1 100644
--- a/dr
enable ethernet driver model for am335x gp evm as cpsw supports
driver model
Signed-off-by: Mugunthan V N
---
Tested the patch on am335x gp evm, logs [1] and pushed a branch [2]
for others to test, This patch is based in [3].
[1]: http://pastebin.ubuntu.com/12260992/
[2]: git://git.ti.com
adopt cpsw driver to device driver model
Signed-off-by: Mugunthan V N
---
drivers/net/cpsw.c | 246 -
include/cpsw.h | 2 +
2 files changed, 247 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index
prepare driver for device model migration
Signed-off-by: Mugunthan V N
---
drivers/net/cpsw.c | 133 +++--
1 file changed, 89 insertions(+), 44 deletions(-)
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index fb4d621..a114d4d 100644
--- a
Since usb ether gadget doesn't have support for driver model, so
not defining usb ether gadget when ethernet driver model is
defined.
Signed-off-by: Mugunthan V N
---
include/configs/am335x_evm.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/am335x_evm.h b/in
When a device has multiple memory regions, api "dev_get_addr"
doesn't return the address and returns error. So implementing a
new api to get device address based on index.
Signed-off-by: Mugunthan V N
---
drivers/core/device.c | 18 ++
include/dm/
enable ethernet driver model for am335x beagle bone black as cpsw
supports driver model
Signed-off-by: Mugunthan V N
---
configs/am335x_boneblack_vboot_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_boneblack_vboot_defconfig
b/configs
/ti-u-boot/mugunth-ti-u-boot.git
cpsw-dt-conversion
Mugunthan V N (6):
drivers: of: add support for get device address based on index
am335x_evm: prepare for eth driver model support
am335x_evm: do not define usb ether gadget when Eth DM is defined
drivers: net: cpsw: prepare driver for
Prepare board file so that ethernet registration are
commented for DM conversion
Signed-off-by: Mugunthan V N
---
board/ti/am335x/board.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 1dc2ed0..f0cb1e2 100644
--- a/board/ti
On Thursday 23 July 2015 07:08 PM, Ivan Khoronzhuk wrote:
>
>
> On 23.07.15 15:43, Mugunthan V N wrote:
>> On Thursday 23 July 2015 04:46 PM, Ivan Khoronzhuk wrote:
>>> Hi, Mugunthan
>>>
>>> You are right, phy mode is a board property.
>>&g
upcoming SoC (K2E) using the same IP with RGMII phy
connected. So the IP is capable of supporting multiple phy modes.
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hershberger
Signed-off-by: Mugunthan V N
---
arch/arm/include/asm/ti-common/keystone_net.h | 2 ++
board/ti/ks2_evm/board_k2e.c | 8
board/ti/ks2_evm/board_k2hk.c | 4
board/ti/ks2_evm/board_k2l.c | 4
drivers/net/keystone_net.c
On Monday 22 June 2015 02:43 PM, Mugunthan V N wrote:
> we currently use in-development IODelay values for DRA72x which are
> proposed in the data sheet, however, DRA72x EVM uses DP83865 ethernet
> Phy over RGMII. The PHY characteristics and routing choices made on
> the EVM, make
choose custom values for DRA72x-evm specifically
designed for the PHY and routing on the platform for ethernet to
function.
Cc: Nishanth Menon
Cc: Lokesh Vutla
Tested-by: Lokesh Vutla
Reviewed-by: Nishanth Menon
Signed-off-by: Mugunthan V N
---
board/ti/dra7xx/mux_data.h | 49
Ethernet on DRA72x EVM is not working as the io delay calibration
value is not correct. Fixing this with the correct values and
verified this on DRA72x EVM with tftp file transfer
Cc: Nishanth Menon
Cc: Lokesh Vutla
Signed-off-by: Mugunthan V N
---
board/ti/dra7xx/mux_data.h | 48
add cpsw ethernet boot mode support to download spl and
u-boot.img via tftp protocol. Also adding a seperate config
for ethernet boot mode as the default build falcon mode and
environment on MMC is defined for ethernet boot mode
environment should be set to nowhere.
Signed-off-by: Mugunthan V N
This patch set adds support for usb host boot and
ethernet boot support
Changes from initial version:
* Used standard defines like CONFIG_SPL_USB_HOST_SUPPORT instead
of introducing new defines as commented by Tom Rini.
Mugunthan V N (2):
am43xx_evm: add usb host boot support
am43xx_evm
While booting via usb host mode, ROM uses DMA to copy MLO over USB so
ARM internal RAM cannot be used. Adding USB host boot support by
introducing new config target which sets SPL_TEXT_BASE to OCMC ram.
Signed-off-by: Mugunthan V N
---
configs/am43xx_evm_usbhost_boot_defconfig | 5
From: Tom Rini
With 1.2 silicon this is now the documented starting usable point for
downloading images to (and corrects a problem with peripheral booting
with prior silicon). Prior silicon is OK using this address as well.
Signed-off-by: Tom Rini
Signed-off-by: Mugunthan V N
---
include
On Thursday 11 June 2015 12:26 AM, Tom Rini wrote:
> On Wed, Jun 10, 2015 at 03:04:16PM +0530, Mugunthan V N wrote:
>
>> While booting via usb host mode, ROM uses DMA to copy MLO over USB so
>> ARM internal RAM cannot be used. Adding USB host boot support by
>> introducing
add cpsw ethernet boot mode support to download spl and
u-boot.img via tftp protocol. Also adding a seperate config
for ethernet boot mode as the default build falcon mode and
environment on MMC is defined for ethernet boot mode
environment should be set to nowhere.
Signed-off-by: Mugunthan V N
While booting via usb host mode, ROM uses DMA to copy MLO over USB so
ARM internal RAM cannot be used. Adding USB host boot support by
introducing new config target which sets SPL_TEXT_BASE to OCMC ram.
Signed-off-by: Mugunthan V N
---
configs/am43xx_evm_usbhost_boot_defconfig | 5
This patch set adds support for usb host boot and
ethernet boot support
Mugunthan V N (2):
am43xx_evm: add usb host boot support
am43xx_evm: add eth boot support
Tom Rini (1):
am43xx: Update CONFIG_SPL_TEXT_BASE
configs/am43xx_evm_ethboot_defconfig | 5 +
configs
From: Tom Rini
With 1.2 silicon this is now the documented starting usable point for
downloading images to (and corrects a problem with peripheral booting
with prior silicon). Prior silicon is OK using this address as well.
Signed-off-by: Tom Rini
Signed-off-by: Mugunthan V N
---
include
n the following commit
4c8014b9429b593c28fbf0384a6c7ded8587806a in mainline u-boot.
The driver uses the slave numbers to add mac address to ALE, which will
fail when you remove slaves from the salve structures.
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Signed-off-by: James Doublesin
> Signed-off-by: Felipe Balbi
> ---
Tested the full series.
Tested-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
1 +
> drivers/power/pmic/pmic_tps62362.c | 47
> ++
> 2 files changed, 48 insertions(+)
> create mode 100644 drivers/power/pmic/pmic_tps62362.c
There is a build error with this patch because tps62362.h is missing
/* MDIO_CLK */
> {-1},
> };
>
> Any help would be much appreciated?
There is no relation between pinmux and phy attached to the slave.
Is your cpsw slave structures are populated with proper phy ids?
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
omap5/sdram.c | 19 +++-
> arch/arm/include/asm/arch-omap5/omap.h |1 +
> arch/arm/include/asm/omap_common.h |1 +
> 7 files changed, 71 insertions(+), 7 deletions(-)
>
Tested-by: Mugunthan V N
Regards
Mugunthan V N
On Thursday 22 May 2014 02:37 PM, Mugunthan V N wrote:
> CPSW Ethernet second port is pinned out as default Ethernet, so adding
> support for CPSW ethernet for downloading images via Ethernet.
>
> Mugunthan V N (3):
> drivers: net: cpsw: add support for using second port as e
Set the active_slave to 1 as slave 1 is pinned out in dra72x base board
Signed-off-by: Mugunthan V N
---
board/ti/dra7xx/evm.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 073d151..955c16f 100644
--- a/board/ti
Add cpsw second slave port pinmux to use it as primary ethernet port
Signed-off-by: Mugunthan V N
---
board/ti/dra7xx/mux_data.h | 12
1 file changed, 12 insertions(+)
diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h
index 38de9d5..56cda07 100644
--- a/board/ti
CPSW Ethernet second port is pinned out as default Ethernet, so adding
support for CPSW ethernet for downloading images via Ethernet.
Mugunthan V N (3):
drivers: net: cpsw: add support for using second port as ethernet
ARM: DRA7xx: Add cpsw second port pinmux
ARM: dra7_evm: Add Ethernet
Add support for using the second slave port of cpsw
to be used as primary ethernet.
Signed-off-by: Mugunthan V N
---
drivers/net/cpsw.c | 8 +---
include/cpsw.h | 1 +
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index bd5fba2
tone_net.c
Please separate the patch into smaller patches like adding driver,
adding Ethernet support in SoC/board files. Which will make it easier
for reviewing and bisecting.
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Byte offset of Ethernet mac address read from e-fuse are wrong so DHCP is
not working on some boards, modifying the offset to read properly.
Signed-off-by: Mugunthan V N
---
board/ti/dra7xx/evm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/ti/dra7xx/evm.c b
gt; timeouts.
>
> Signed-off-by: Vladimir Koutny
> Cc: Mugunthan V N
> Cc: Joe Hershberger
> Cc: Tom Rini
Acked-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
013.10 release.
>
> Thanks
>
> Lars Poeschel (1):
> pcm051: Supply a bd_ram_ofs for the cpsw driver
>
> board/phytec/pcm051/board.c | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Mugunthan V N
Regards
Mugunthan V N
___
On Thursday 05 September 2013 03:20 PM, Heiko Schocher wrote:
> if phy_connect() did not find a phy, phydev is NULL and
> following code in cpsw_phy_init() crashes. Fix this.
>
> Signed-off-by: Heiko Schocher
> Cc: Joe Hershberger
> Cc: Mugunthan V N
> Cc: Tom Rini
Ac
On Thursday 05 September 2013 11:35 AM, Heiko Schocher wrote:
> if phy_connect() did not find a phy, phydev is NULL and
> following code in cpsw_phy_init() crashes. Fix this.
>
> Signed-off-by: Heiko Schocher
> Cc: Joe Hershberger
> Cc: Mugunthan V N
> Cc: Tom Rini
>
On Monday 12 August 2013 11:06 PM, Mugunthan V N wrote:
> On Monday 12 August 2013 07:52 PM, Tom Rini wrote:
>>>>> +#define GMII2_SEL_MII0x0
>>>>>>>> +#define GMII2_SEL_RMII0x4
>>>>>>>> +#define GMI
;, so the changes are
> correct.
But having this define is not useful as far as I can think of as there
is not abstraction API for this to check what user is passing. But I
leave it to Tom's decision to have this change or not.
Other than this the patch looks good to me.
Acked-by: Mug
On 7/30/2013 1:23 PM, Heiko Schocher wrote:
> Signed-off-by: Heiko Schocher
>
> ---
> - changes for v2:
> defined all bits used in the gmii_sel register as
> Tom Rini suggested
> - changes for v3:
> rebased against u-boot-ti commit bb2a5d8f87fffb4fadfb205837decbd1b3e75f88
> ---
> arch/arm/i
code did not check,
> if a phy_read() fails ... fix this.
>
> Signed-off-by: Heiko Schocher
> Cc: Joe Hershberger
Looks correct
Acked-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Enabling CPSW Ethernet support in DRA7xx EVM.
Signed-off-by: Mugunthan V N
---
include/configs/dra7xx_evm.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index c11f005..ed3aa43 100644
--- a/include/configs
Adding CPSW Slave 0 and MDIO pinmux support for DRA7xx EVM
Signed-off-by: Mugunthan V N
---
board/ti/dra7xx/mux_data.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h
index 338a241..b63fc36 100644
--- a/board/ti
From: Lokesh Vutla
Locking DPLL_GMAC
[mugunthan...@ti.com:Configure only if CPSW is selected]
Signed-off-by: Lokesh Vutla
Signed-off-by: Mugunthan V N
---
arch/arm/cpu/armv7/omap-common/clocks-common.c | 18 ++
arch/arm/cpu/armv7/omap5/hw_data.c | 11
Enabling CPSW module by enabling GMAC clock control
Signed-off-by: Mugunthan V N
---
arch/arm/cpu/armv7/omap5/hw_data.c |7 ++-
arch/arm/cpu/armv7/omap5/prcm-regs.c |2 ++
arch/arm/include/asm/omap_common.h |4
3 files changed, 12 insertions(+), 1 deletion(-)
diff
This patch series brings up the CPSW ethernet in DRA7xx EVM and
it is based on the master branch on git://git.denx.de/u-boot.git
This patch is also tested with basic boot of Omap 5 and tftp
download test with AM335x EVM.
Lokesh Vutla (1):
ARM: DRA7xx: Lock DPLL_GMAC
Mugunthan V N (6
Enable hardware statistics for all ports, enabling only to host port is useless
Signed-off-by: Mugunthan V N
---
drivers/net/cpsw.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index dc0a2be..f1e9f72 100644
--- a/drivers/net/cpsw.c
+++ b/drivers
Adding support for CPSW Ethernet support found in DRA7xx EVM
Signed-off-by: Mugunthan V N
---
arch/arm/cpu/armv7/omap5/prcm-regs.c |4 +
arch/arm/include/asm/arch-omap5/cpu.h |6 ++
arch/arm/include/asm/arch-omap5/omap.h | 26 ++
arch/arm/include/asm/omap_common.h |4
BD ram address may vary in various SOC, so removing the hardcoding and
passing the same information through platform data
Signed-off-by: Mugunthan V N
---
board/ti/am335x/board.c |1 +
board/ti/ti814x/evm.c |1 +
drivers/net/cpsw.c |4 +---
include/cpsw.h |1 +
4
mac ctrl reg.
Indeed. Anyway, I have to check, if this patch is necessary, as Tom
noted ...
bye,
Heiko
As Tom mentioned this patch is applicable only for initial samples
as there was a issue with Gig mode packet transfer.
Now there is no issue with having Gig enabled by de
performance
is increased from 208KiB/s to 375KiB/s on EVMsk
Signed-off-by: Mugunthan V N
---
This patch is applicable for u-boot-ti git repo
drivers/net/cpsw.c | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index
601 - 667 of 667 matches
Mail list logo