[PATCH] arch: mach-k3: Fix incorrect mapping of higher DDR addresses as device memory

2024-01-09 Thread Sekhar Nori
: => time crc32 0x88100 0x2000 crc32 for 88100 ... 8a0ff ==> 7f34d7ca time: 1 minutes, 14.716 seconds After patch: => time crc32 0x88100 0x2000 crc32 for 88100 ... 8a0ff ==> 7f34d7ca time: 2.710 seconds Acked-by: Andrew Davis Signed-off-by: Sekhar Nori

Re: [PATCH v2 02/10] mmc: Add init() API

2020-02-02 Thread Sekhar Nori
Michal, On 30/01/20 9:08 PM, Tom Rini wrote: > On Thu, Jan 30, 2020 at 04:35:40PM +0100, Simon Goldschmidt wrote: >> Tom Rini schrieb am Do., 30. Jan. 2020, 16:32: >> >>> On Thu, Jan 30, 2020 at 04:30:54PM +0100, Michal Simek wrote: On 30. 01. 20 16:14, Faiz Abbas wrote: > Hi Michal,

Re: OMAP L138 LCDK - giving up maintainership

2019-12-19 Thread Sekhar Nori
Hi Peter, On 19/12/19 2:29 AM, Peter Howard wrote: > On Wed, 2019-12-18 at 18:26 +0530, Sekhar Nori wrote: >> On 18/12/19 6:15 PM, Adam Ford wrote: >>> On Tue, Dec 17, 2019 at 5:15 PM Peter Howard < >>> p...@northern-ridge.com.au> wrote: >>>> Tom and

Re: OMAP L138 LCDK - giving up maintainership

2019-12-18 Thread Sekhar Nori
On 18/12/19 6:15 PM, Adam Ford wrote: > On Tue, Dec 17, 2019 at 5:15 PM Peter Howard > wrote: >> >> Tom and others, >> >> I finish at my current job on Friday, as such I will have no immediate >> involvement with the L138 chip (not that I've had that much in recent >> times). So it makes sense

Re: [U-Boot] [PATCH v3 2/7] dm: core: add support for getting register address and size

2019-08-02 Thread Sekhar Nori
Hi Daniel, On 01/08/19 9:51 PM, Daniel Schwierzeck wrote: >> diff --git a/drivers/core/read.c b/drivers/core/read.c >> index 1a044b05e884..8b5502de1159 100644 >> --- a/drivers/core/read.c >> +++ b/drivers/core/read.c >> @@ -82,6 +82,15 @@ fdt_addr_t dev_read_addr_index(struct udevice *dev, int

Re: [U-Boot] [PATCH v3 1/7] clk: add support for clk_is_match()

2019-08-01 Thread Sekhar Nori
Hi Fabio, On 01/08/19 7:17 PM, Fabio Estevam wrote: > Hi Sekhar, > > On Thu, Aug 1, 2019 at 10:44 AM Sekhar Nori wrote: >> >> Add support for clk_is_match() which is required to >> know if two clock pointers point to the same exact >> physical clock. &

Re: [U-Boot] [PATCH v2 1/7] clk: add support for clk_is_match()

2019-08-01 Thread Sekhar Nori
On 29/07/19 5:21 PM, Tom Rini wrote: > On Mon, Jul 29, 2019 at 02:43:13PM +0530, Sekhar Nori wrote: >> Hi Tom, >> >> On 27/07/19 7:18 AM, Tom Rini wrote: >>> On Mon, Jun 03, 2019 at 06:52:46PM +0530, Sekhar Nori wrote: >>> >>>> Add support for c

[U-Boot] [PATCH v3 6/7] arm: dts: k3-am65: add support for PCIe and SERDES

2019-08-01 Thread Sekhar Nori
Add needed device-tree nodes to support PCIe 0 and SERDES on AM65x SoC. The nodes are kept disabled by default. Signed-off-by: Sekhar Nori --- arch/arm/dts/k3-am65-main.dtsi | 108 + arch/arm/dts/k3-am65.dtsi | 1 + include/dt-bindings

[U-Boot] [PATCH v3 5/7] configs: am65x_evm_a53: enable PCIe support

2019-08-01 Thread Sekhar Nori
Enable support for PCIe and related configurations on AM654 EVM platform. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 2cf3a693fc70..efb030549218

[U-Boot] [PATCH v3 2/7] dm: core: add support for getting register address and size

2019-08-01 Thread Sekhar Nori
st address as well as size. Reviewed-by: Lokesh Vutla Signed-off-by: Sekhar Nori --- drivers/core/fdtaddr.c | 17 + drivers/core/read.c| 20 include/dm/fdtaddr.h | 18 ++ include/dm/read.h | 41

[U-Boot] [PATCH v3 7/7] configs: am65x_evm_a53: enable support for PCIe ethernet cards

2019-08-01 Thread Sekhar Nori
Enable support for Intel E1000 based PCIe ethernet cards that can be used to test PCIe RC functionality on AM65x EVM. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs

[U-Boot] [PATCH v3 4/7] phy: add support for AM654x SERDES

2019-08-01 Thread Sekhar Nori
. The driver has support to select PLL mux and left/right output mux as specified in device tree. Signed-off-by: Sekhar Nori --- drivers/phy/Kconfig| 9 + drivers/phy/Makefile | 1 + drivers/phy/phy-ti-am654.c | 411 + 3 files changed

[U-Boot] [PATCH v3 3/7] pcie: ti: add driver for AM65x PCIe RC

2019-08-01 Thread Sekhar Nori
Add driver supporting PCIe root-complex available on TI's AM65x SoC. Signed-off-by: Sekhar Nori --- drivers/pci/Kconfig | 6 + drivers/pci/Makefile | 1 + drivers/pci/pcie_dw_ti.c | 725 +++ 3 files changed, 732 insertions(+) create mode

[U-Boot] [PATCH v3 1/7] clk: add support for clk_is_match()

2019-08-01 Thread Sekhar Nori
Add support for clk_is_match() which is required to know if two clock pointers point to the same exact physical clock. Also add a unit test for the new API. Reviewed-by: Lokesh Vutla Signed-off-by: Sekhar Nori --- drivers/clk/clk-uclass.c | 13 + include/clk.h| 12

[U-Boot] [PATCH v3 0/7] Add PCIe root complex support for AM654x SoC

2019-08-01 Thread Sekhar Nori
in the baseboard device-tree file itself. v3: - fix unit test for clk_is_match() v2: - add unit tests for new clock and dm APIs introduced - add Lokesh's Reviewed-by: for patches #1 and #2 Sekhar Nori (7): clk: add support for clk_is_match() dm: core: add support for getting register address

Re: [U-Boot] [PATCH v2 1/7] clk: add support for clk_is_match()

2019-07-29 Thread Sekhar Nori
Hi Tom, On 27/07/19 7:18 AM, Tom Rini wrote: > On Mon, Jun 03, 2019 at 06:52:46PM +0530, Sekhar Nori wrote: > >> Add support for clk_is_match() which is required to >> know if two clock pointers point to the same exact >> physical clock. >> >> Also add a unit

[U-Boot] [PATCH] clk: initialize clk->data when using default xlate

2019-07-11 Thread Sekhar Nori
Fix it by initializing clk->data to 0. Suggested-by: Lokesh Vutla Signed-off-by: Sekhar Nori --- drivers/clk/clk-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index 823be2bcb624..4a6fcd098a94 100644 --- a/drivers/clk/clk-uc

Re: [U-Boot] [PATCH 2/7] dm: core: add support for getting register address and size

2019-06-04 Thread Sekhar Nori
On 03/06/19 11:23 AM, Lokesh Vutla wrote: > > > On 15/05/19 7:45 PM, Sekhar Nori wrote: >> Current dev_read_*() API lacks support to get address and size >> of a "reg" property by name or index. Add support for the same. >> >> Livetree support has

[U-Boot] [PATCH v2 7/7] configs: am65x_evm_a53: enable support for PCIe ethernet cards

2019-06-03 Thread Sekhar Nori
Enable support for Intel E1000 based PCIe ethernet cards that can be used to test PCIe RC functionality on AM65x EVM. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs

[U-Boot] [PATCH v2 6/7] arm: dts: k3-am65: add support for PCIe and SERDES

2019-06-03 Thread Sekhar Nori
Add needed device-tree nodes to support PCIe 0 and SERDES on AM65x SoC. The nodes are kept disabled by default. Signed-off-by: Sekhar Nori --- arch/arm/dts/k3-am65-main.dtsi | 108 + arch/arm/dts/k3-am65.dtsi | 1 + include/dt-bindings

[U-Boot] [PATCH v2 1/7] clk: add support for clk_is_match()

2019-06-03 Thread Sekhar Nori
Add support for clk_is_match() which is required to know if two clock pointers point to the same exact physical clock. Also add a unit test for the new API. Reviewed-by: Lokesh Vutla Signed-off-by: Sekhar Nori --- drivers/clk/clk-uclass.c | 13 + include/clk.h| 13

[U-Boot] [PATCH v2 5/7] configs: am65x_evm_a53: enable PCIe support

2019-06-03 Thread Sekhar Nori
Enable support for PCIe and related configurations on AM654 EVM platform. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 41cf0100fa3a..7745e2038790

[U-Boot] [PATCH v2 4/7] phy: add support for AM654x SERDES

2019-06-03 Thread Sekhar Nori
. The driver has support to select PLL mux and left/right output mux as specified in device tree. Signed-off-by: Sekhar Nori --- drivers/phy/Kconfig| 9 + drivers/phy/Makefile | 1 + drivers/phy/phy-ti-am654.c | 411 + 3 files changed

[U-Boot] [PATCH v2 3/7] pcie: ti: add driver for AM65x PCIe RC

2019-06-03 Thread Sekhar Nori
Add driver supporting PCIe root-complex available on TI's AM65x SoC. Signed-off-by: Sekhar Nori --- drivers/pci/Kconfig | 6 + drivers/pci/Makefile | 1 + drivers/pci/pcie_dw_ti.c | 725 +++ 3 files changed, 732 insertions(+) create mode

[U-Boot] [PATCH v2 0/7] Add PCIe root complex support for AM654x SoC

2019-06-03 Thread Sekhar Nori
in the baseboard device-tree file itself. v2: - add unit tests for new clock and dm APIs introduced - add Lokesh's Reviewed-by: for patches #1 and #2 Sekhar Nori (7): clk: add support for clk_is_match() dm: core: add support for getting register address and size pcie: ti: add driver for AM65x PCIe

[U-Boot] [PATCH v2 2/7] dm: core: add support for getting register address and size

2019-06-03 Thread Sekhar Nori
st address as well as size. Reviewed-by: Lokesh Vutla Signed-off-by: Sekhar Nori --- drivers/core/fdtaddr.c | 17 + drivers/core/read.c| 20 include/dm/fdtaddr.h | 18 ++ include/dm/read.h | 41

Re: [U-Boot] [PATCH v3 0/2] ARM: davinci: omapl138_lcdk: fix MMC/SD boot breakage

2019-06-02 Thread Sekhar Nori
On 01/06/19 10:46 AM, Peter Howard wrote: > On Thu, 2019-05-30 at 19:04 +0530, Sekhar Nori wrote: >> Hi, >> >> Here is a set of patches that fixes MMC/SD boot breakage introduced >> after 2018.09 release. >> >> This was tested with MMC/SD boot on OMAP-L138

[U-Boot] [PATCH v3 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-30 Thread Sekhar Nori
nit() from board_init_f(). Also move preloader_console_init() there to help debug issues with board_init_r(). With this spl_board_init() is no longer needed, we remove it. Tested using MMC/SD boot on OMAP-L138 LCDK board. Tested-by: Adam Ford #da850evm Signed-off-by: Sekhar Nori --- arch/arm/ma

[U-Boot] [PATCH v3 0/2] ARM: davinci: omapl138_lcdk: fix MMC/SD boot breakage

2019-05-30 Thread Sekhar Nori
() in 2/2 to take of DA850 EVM which uses device-tree in SPL. v2: Move console init to board_init_f() and drop spl_board_init() as its not needed anymore. Thanks, Sekhar Sekhar Nori (2): ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion ARM: davinci: SPL: fix BSS

[U-Boot] [PATCH v3 1/2] ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion

2019-05-30 Thread Sekhar Nori
IS_ENABLED(DM_MMC) which will remain false until CONFIG_SPL_DM_MMC is defined. Tested-by: Adam Ford #da850evm Signed-off-by: Sekhar Nori --- board/davinci/da8xxevm/omapl138_lcdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/boa

Re: [U-Boot] [PATCH v2 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-29 Thread Sekhar Nori
On 28/05/19 8:44 PM, Adam Ford wrote: >> -void spl_board_init(void) >> +void board_init_f(ulong dummy) >> { > The da850 uses the device tree to get the serial port information, and > someone else just submitted a patch to enable the device tree for the > LCDK. At least for the da850-evm, we

[U-Boot] [PATCH v2 1/2] ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion

2019-05-27 Thread Sekhar Nori
IS_ENABLED(DM_MMC) which will remain false until CONFIG_SPL_DM_MMC is defined. Signed-off-by: Sekhar Nori --- board/davinci/da8xxevm/omapl138_lcdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lc

[U-Boot] [PATCH v2 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-27 Thread Sekhar Nori
nit() from board_init_f(). Also move preloader_console_init() there to help debug issues with board_init_r(). With this spl_board_init() is no longer needed, we remove it. Tested using MMC/SD boot on OMAP-L138 LCDK board. Signed-off-by: Sekhar Nori --- arch/arm/mach-davinci/spl.c | 2 +

[U-Boot] [PATCH v2 0/2] ARM: davinci: omapl138_lcdk: fix MMC/SD boot breakage

2019-05-27 Thread Sekhar Nori
to board_init_f() and drop spl_board_init() as its not needed anymore. Thanks, Sekhar Sekhar Nori (2): ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion ARM: davinci: SPL: fix BSS initialization arch/arm/mach-davinci/spl.c| 2 +- board/davinci/da8xxevm

Re: [U-Boot] [PATCH 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-24 Thread Sekhar Nori
On 24/05/19 6:51 PM, Adam Ford wrote: diff --git a/arch/arm/mach-davinci/spl.c b/arch/arm/mach-davinci/spl.c index 103639e34757..117b5ee836f8 100644 --- a/arch/arm/mach-davinci/spl.c +++ b/arch/arm/mach-davinci/spl.c @@ -33,10 +33,14 @@ void putc(char c) void

Re: [U-Boot] [PATCH 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-24 Thread Sekhar Nori
On 21/05/19 9:01 PM, Adam Ford wrote: > On Tue, May 21, 2019 at 10:09 AM Sekhar Nori wrote: >> >> U-Boot README recommends initializing SDRAM in board_init_f(). DA850 >> was doing it as part of board_init_r() (through call to spl_board_init() >> which calls

Re: [U-Boot] [PATCH 0/2] ARM: davinci: omapl138_lcdk: fix MMC/SD boot breakage.

2019-05-24 Thread Sekhar Nori
On 22/05/19 5:07 AM, Peter Howard wrote: > Hi Sekhar > > On Tue, 2019-05-21 at 20:39 +0530, Sekhar Nori wrote: >> Hi, >> >> Here is a set of patches that fixes MMC/SD boot breakage introduced >> after 2018.09 release. >> >> This was tested with MMC/SD

[U-Boot] [PATCH 1/2] ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion

2019-05-21 Thread Sekhar Nori
IS_ENABLED(DM_MMC) which will remain false until CONFIG_SPL_DM_MMC is defined. Signed-off-by: Sekhar Nori --- board/davinci/da8xxevm/omapl138_lcdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lc

[U-Boot] [PATCH 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-21 Thread Sekhar Nori
nit() from board_init_f(). Since the README recommends calling preloader_console_init() from spl_board_init(), we keep it as-it-is. Tested using MMC/SD boot on OMAP-L138 LCDK board. Signed-off-by: Sekhar Nori --- arch/arm/mach-davinci/spl.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

[U-Boot] [PATCH 0/2] ARM: davinci: omapl138_lcdk: fix MMC/SD boot breakage.

2019-05-21 Thread Sekhar Nori
Hi, Here is a set of patches that fixes MMC/SD boot breakage introduced after 2018.09 release. This was tested with MMC/SD boot on OMAP-L138 LCDK. I still need to do SPI and NAND boot on this board. Thanks, Sekhar Sekhar Nori (2): ARM: davinci: omal138_lcdk: fix MMC boot breakage due

Re: [U-Boot] [PATCH] davinci: spl: Create board_init_f for explicit initialization

2019-05-21 Thread Sekhar Nori
rs BSS > per the suggested workflow in the README. This also means that > CONFIG_SPL_BOARD_INIT can be removed from the defconfig > > Suggested-by: Sekhar Nori > Signed-off-by: Adam Ford > > diff --git a/arch/arm/mach-davinci/spl.c b/arch/arm/mach-davinci/spl.c >

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Sekhar Nori
On 20/05/19 5:55 PM, Adam Ford wrote: > What about adding a memset function to the end of spl_board_init() so > after arch_cpu_init() is called,and after preloader_consol_init() is > called, we clear BSS? I ran some preliminary tests on da850evm and it > didn't see to break anything. There are a

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Sekhar Nori
On 17/05/19 6:34 PM, Adam Ford wrote: > On Fri, May 17, 2019 at 7:36 AM Sekhar Nori wrote: >> >> Hi Adam, >> >> MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11. >> v2018.09 is fine. >> >> The first breakage occurred with commit 21af33ed

[U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-17 Thread Sekhar Nori
Hi Adam, MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11. v2018.09 is fine. The first breakage occurred with commit 21af33ed0319 ("ARM: davinci: omapl138_lcdk: Enable DM_MMC"). This commit moved to DM_MMC for U-Boot while keeping legacy mode for SPL. The "#ifndef

[U-Boot] [PATCH 3/7] pcie: ti: add driver for AM65x PCIe RC

2019-05-15 Thread Sekhar Nori
Add driver supporting PCIe root-complex available on TI's AM65x SoC. Signed-off-by: Sekhar Nori --- drivers/pci/Kconfig | 6 + drivers/pci/Makefile | 1 + drivers/pci/pcie_dw_ti.c | 725 +++ 3 files changed, 732 insertions(+) create mode

[U-Boot] [PATCH 5/7] configs: am65x_evm_a53: enable PCIe support

2019-05-15 Thread Sekhar Nori
Enable support for PCIe and related configurations on AM654 EVM platform. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 41cf0100fa3a..7745e2038790

[U-Boot] [PATCH 7/7] configs: am65x_evm_a53: enable support for PCIe ethernet cards

2019-05-15 Thread Sekhar Nori
Enable support for Intel E1000 based PCIe ethernet cards that can be used to test PCIe RC functionality on AM65x EVM. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs

[U-Boot] [PATCH 2/7] dm: core: add support for getting register address and size

2019-05-15 Thread Sekhar Nori
Current dev_read_*() API lacks support to get address and size of a "reg" property by name or index. Add support for the same. Livetree support has been added but not tested. Signed-off-by: Sekhar Nori --- drivers/core/fdtaddr.c | 17 + drivers/core/read

[U-Boot] [PATCH 6/7] arm: dts: k3-am65: add support for PCIe and SERDES

2019-05-15 Thread Sekhar Nori
Add needed device-tree nodes to support PCIe 0 and SERDES on AM65x SoC. The nodes are kept disabled by default. Signed-off-by: Sekhar Nori --- arch/arm/dts/k3-am65-main.dtsi | 108 + arch/arm/dts/k3-am65.dtsi | 1 + include/dt-bindings

[U-Boot] [PATCH 4/7] phy: add support for AM654x SERDES

2019-05-15 Thread Sekhar Nori
. The driver has support to select PLL mux and left/right output mux as specified in device tree. Signed-off-by: Sekhar Nori --- drivers/phy/Kconfig| 9 + drivers/phy/Makefile | 1 + drivers/phy/phy-ti-am654.c | 411 + 3 files changed

[U-Boot] [PATCH 1/7] clk: add support for clk_is_match()

2019-05-15 Thread Sekhar Nori
Add support for clk_is_match() which is required to know if two clock pointers point to the same exact physical clock. Signed-off-by: Sekhar Nori --- drivers/clk/clk-uclass.c | 13 + include/clk.h| 13 + 2 files changed, 26 insertions(+) diff --git a/drivers

[U-Boot] [PATCH 0/7] Add PCIe root complex support for AM654x SoC

2019-05-15 Thread Sekhar Nori
in the baseboard device-tree file itself. Sekhar Nori (7): clk: add support for clk_is_match() dm: core: add support for getting register address and size pcie: ti: add driver for AM65x PCIe RC phy: add support for AM654x SERDES configs: am65x_evm_a53: enable PCIe support arm: dts: k3-am65

Re: [U-Boot] [PATCH] README: davinci: update the documentation for DaVinci

2019-04-30 Thread Sekhar Nori
e changes > > Don't forget about the da850 EVM Apart from this: Reviewed-by: Sekhar Nori Thanks, Sekhar ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] spl: fix build failure with !CONFIG_SPL_PCI_SUPPORT

2018-12-06 Thread Sekhar Nori
this by applying appropriate #define guards in lib/fdtdec.c. It looks like ns16550.c has the same problem, so fixed that too. To simplify this, CONFIG_SPL_PCI_SUPPORT is renamed to CONFIG_SPL_PCI (enables use of CONFIG_IS_ENABLED() macro). Suggested-by: Vignesh R Signed-off-by: Sekhar Nori --- Makefile

Re: [U-Boot] [PATCH] common: fdt_support: print hexadecimal numbers in debug

2018-12-06 Thread Sekhar Nori
On 06/12/18 7:01 AM, Simon Glass wrote: > On Wed, 5 Dec 2018 at 02:46, Sekhar Nori wrote: >> >> We usually deal with hexadecimal addresses and sizes in >> device-tree. Its much easier if debug logs print hexadecimal >> values too. >> >> Signed-off-by: Sekha

[U-Boot] [PATCH v2] common: fdt_support: print hexadecimal numbers in debug

2018-12-06 Thread Sekhar Nori
We usually deal with hexadecimal addresses and sizes in device-tree. Its much easier if debug logs print hexadecimal values too. Reviewed-by: Simon Glass Signed-off-by: Sekhar Nori --- common/fdt_support.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common

[U-Boot] [PATCH] common: fdt_support: print hexadecimal numbers in debug

2018-12-05 Thread Sekhar Nori
We usually deal with hexadecimal addresses and sizes in device-tree. Its much easier if debug logs print hexadecimal values too. Signed-off-by: Sekhar Nori --- common/fdt_support.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/fdt_support.c b/common

[U-Boot] [PATCH 3/3] configs: am335x_evm: enable OF_BOARD_SETUP

2018-08-23 Thread Sekhar Nori
Enable CONFIG_OF_BOARD_SETUP as it is needed for Beaglebone black to overwrite the Ethernet phy address present in DT in case the phy latches on to a different address. Signed-off-by: Sekhar Nori --- configs/am335x_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[U-Boot] [PATCH 1/3] drivers: net: cpsw: add support to update phy address

2018-08-23 Thread Sekhar Nori
/1FuI_i5KW10J Add support to check for this condition and use the detected phy address when its safe to do so. Also, add a public API that exposes the phy address of a given slave. This can be used to update device-tree that is passed to Linux kernel. Signed-off-by: Sekhar Nori --- drivers/net

[U-Boot] [PATCH 2/3] board: ti: am335x: add support to fixup phy address

2018-08-23 Thread Sekhar Nori
more generically useful. Signed-off-by: Sekhar Nori --- board/ti/am335x/board.c | 78 + 1 file changed, 78 insertions(+) diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index a359d20021fd..13845251afb5 100644 --- a/board/ti/am335x

[U-Boot] [PATCH 0/3] Fix for rare beaglebone ethernet failures

2018-08-23 Thread Sekhar Nori
to workaround this suitaiton by patching device-tree passed to kernel with the correct address. As well as updating the PHY address U-Boot drivers themselves use. Tested on beaglebone black rev A4 by simulating the error condition I was also able to hit the actual hardware error once in a while. Sekhar

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: fix PLL0 frequency

2018-03-16 Thread Sekhar Nori
troubling figuring > out how to install the SPL image. Err, I thought u-boot.ais is SPL and U-Boot images concatenated together. Anyway, I was able to test your change. Tested-by: Sekhar Nori <nsek...@ti.com> Thanks, Sekhar ___ U-Boot mailing list

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: fix PLL0 frequency

2018-03-16 Thread Sekhar Nori
On Thursday 15 March 2018 08:32 PM, David Lechner wrote: > On 03/15/2018 09:56 AM, Tom Rini wrote: >> On Thu, Mar 15, 2018 at 08:01:58PM +0530, Sekhar Nori wrote: >>> On Thursday 15 March 2018 07:12 PM, Sekhar Nori wrote: >>>> On Thursday 15 March 2018 06:04 PM, S

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: fix PLL0 frequency

2018-03-16 Thread Sekhar Nori
On Thursday 15 March 2018 08:31 PM, Lokesh Vutla wrote: > > > On Thursday 15 March 2018 08:01 PM, Sekhar Nori wrote: >> On Thursday 15 March 2018 07:12 PM, Sekhar Nori wrote: >>> On Thursday 15 March 2018 06:04 PM, Sekhar Nori wrote: >>>> Thanks for the p

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: fix PLL0 frequency

2018-03-15 Thread Sekhar Nori
On Thursday 15 March 2018 07:12 PM, Sekhar Nori wrote: > On Thursday 15 March 2018 06:04 PM, Sekhar Nori wrote: >> Thanks for the patch and great description. It looks correct to me. >> Hopefully I can provide some testing feedback too soon. > > Something seems to have

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: fix PLL0 frequency

2018-03-15 Thread Sekhar Nori
On Thursday 15 March 2018 06:04 PM, Sekhar Nori wrote: > Thanks for the patch and great description. It looks correct to me. > Hopefully I can provide some testing feedback too soon. Something seems to have broken MMC/SD support on OMAP-L138 LCDK on 2018.03[1]. 2018.01 works fine[2]. Will

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: fix PLL0 frequency

2018-03-15 Thread Sekhar Nori
Hi David, On Thursday 15 March 2018 07:06 AM, David Lechner wrote: > commit 1601dd97edc6 ("davinci: omapl138_lcdk: increase PLL0 frequency") > changed the PLL0 frequency to 456MHz, which is needed for the LCDC IP > block. However, in doing so, it caused the PLLOUT clock to be outside > of the

[U-Boot] [PATCH] configs: am57xx_evm: fix ethernet phy configuration

2017-12-20 Thread Sekhar Nori
. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- configs/am57xx_evm_defconfig| 3 +++ configs/am57xx_hs_evm_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index fc96401d3e55..04484e0ae213 100644 --- a/c

Re: [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent

2017-09-01 Thread Sekhar Nori
Hi Adam, On Wednesday 30 August 2017 04:07 PM, Adam Ford wrote: > On Wed, Aug 30, 2017 at 12:30 AM, Sekhar Nori <nsek...@ti.com> wrote: >> On Wednesday 30 August 2017 08:07 AM, Adam Ford wrote: >>> On Tue, Aug 29, 2017 at 8:05 AM, Adam Ford <aford...@gmail.com> wr

Re: [U-Boot] [PATCH 1/3] arm: dts: da850: Migrate da850-evm DTS files from Linux 4.13-RC5

2017-09-01 Thread Sekhar Nori
On Sunday 27 August 2017 01:46 AM, Adam Ford wrote: > A few small additional items are needed to support DM_SPI and > DM_SERIAL, so those were added to da850-evm-u-boot.dtsi > > Signed-off-by: Adam Ford > --- > arch/arm/dts/da850-evm-u-boot.dtsi | 22 ++ >

Re: [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent

2017-08-29 Thread Sekhar Nori
On Wednesday 30 August 2017 08:07 AM, Adam Ford wrote: > On Tue, Aug 29, 2017 at 8:05 AM, Adam Ford <aford...@gmail.com> wrote: >> On Tue, Aug 29, 2017 at 6:41 AM, Sekhar Nori <nsek...@ti.com> wrote: >>> On Tuesday 29 August 2017 03:29 PM, Adam Ford wrote: >&g

Re: [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent

2017-08-29 Thread Sekhar Nori
On Tuesday 29 August 2017 03:29 PM, Adam Ford wrote: > On Tue, Aug 29, 2017 at 4:13 AM, Sekhar Nori <nsek...@ti.com> wrote: >> Hi Adam, >> >> On Sunday 27 August 2017 08:31 PM, Adam Ford wrote: >>> I was trying to enable MTD Partitions to make loading the Ke

Re: [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent

2017-08-29 Thread Sekhar Nori
Hi Adam, On Sunday 27 August 2017 08:31 PM, Adam Ford wrote: > I was trying to enable MTD Partitions to make loading the Kernel and > FS easier from within U-Boot > > The da850evm spi-flash partitions in Linux show > > "U-Boot-SPL" @ offset 0, size 64K > "U-Boot"; @ offset 0x0001, size 512K

[U-Boot] [PATCH] configs: omapl138_lcdk: dont disable fat write

2017-06-06 Thread Sekhar Nori
CONFIG_FAT_WRITE is imply'ed when CONFIG_CMD_FAT is selected (see CONFIG_TI_COMMON_CMD_OPTIONS). Dont disable it in defconfig so the imply takes effect and 'fatwrite' is available for users. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- configs/omapl138_lcdk_defconfig | 1 - 1 file chan

[U-Boot] [PATCH] davinci: omapl138_lcdk: fix tXSNR DDR2 timing value

2017-06-02 Thread Sekhar Nori
Signed-off-by: Sekhar Nori <nsek...@ti.com> --- include/configs/omapl138_lcdk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index 9db4eeb54edf..88cdf08b1979 100644 --- a/include/configs/omapl138_lcdk.h

[U-Boot] [PATCH 6/7] board: ti: enable support for writing to fat partition

2017-06-02 Thread Sekhar Nori
Enable support for writing to FAT partitions on TI's boards. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- board/ti/common/Kconfig | 1 + include/configs/am43xx_evm.h | 1 - include/configs/ti_armv7_common.h | 8 3 files changed, 1 insertion(+), 9 deletions(-)

[U-Boot] [PATCH 5/7] configs: am335x: siemens: migrate to enabling FAT FS using kconfig

2017-06-02 Thread Sekhar Nori
Now that there is Kconfig symbol available for enabling FAT filesystem support, migrate to using it for Siemens AM335x based boards. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- configs/draco_defconfig| 1 + configs/etamin_defconfig | 1 + c

[U-Boot] [PATCH RESEND 1/7] fs: fat: add kbuild configuration support

2017-06-02 Thread Sekhar Nori
Add Kconfig symbols for various configurations supported by FAT filesystem support code. CONFIG_SUPPORT_VFAT has been left out since its force enabled in include/fat.h and probably should get removed at some point. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- Resend of

[U-Boot] [PATCH 2/7] configs: k2*_evm: let each board decide env location

2017-06-02 Thread Sekhar Nori
issues around where exactly the include of ti_armv7_keystone2.h can come in within the k2*_evm.h files. Move environment location to config file of each board. This should make it easy to change it for any one board without affecting all other boards. Signed-off-by: Sekhar Nori <nsek...@ti.

[U-Boot] [PATCH 7/7] configs: omapl138_lcdk: enable fat filesystem support

2017-06-02 Thread Sekhar Nori
Now that we have ability to enable FAT filesystem support through Kconfig symbols, do it for OMAP-L138 LCDK board. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omapl138_lcdk_defconfig b/c

[U-Boot] [PATCH 3/7] configs: k2g_evm: make sure config fallbacks take effect

2017-06-02 Thread Sekhar Nori
. Similar issues can come with other config fallbacks implemented. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- include/configs/k2g_evm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index 9a07eacb8e7a..1cc357

[U-Boot] [PATCH 0/7] fs: fat: convert to kconfig + switch some TI platforms

2017-06-02 Thread Sekhar Nori
Hi, Here is an attempt to convert FAT filesystem configuraition to kconfig. And switch of some TI platforms to use the newly introduced support. Tested on OMAP-L138 LCDK board. Build tested using: $ tools/buildman/buildman am33 am43 omap davinci keystone Sekhar Nori (7): fs: fat: add kbuild

[U-Boot] [PATCH 4/7] config_fallbacks: add additional fallbacks for fat filesystem

2017-06-02 Thread Sekhar Nori
-off-by: Sekhar Nori <nsek...@ti.com> --- include/config_fallbacks.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 5a698a8349ab..a4a4d5514070 100644 --- a/include/config_fallbacks.h +++ b/i

[U-Boot] [PATCH] fs: fat: add kbuild configuration support

2017-06-01 Thread Sekhar Nori
Add Kconfig symbols for various configurations supported by FAT filesystem support code. CONFIG_SUPPORT_VFAT has been left out since its force enabled in include/fat.h and probably should get removed at some point. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- fs/fat/Kconfi

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: enable fatwrite support

2017-06-01 Thread Sekhar Nori
On Thursday 01 June 2017 04:54 PM, Tom Rini wrote: > On Thu, Jun 01, 2017 at 04:17:37PM +0530, Sekhar Nori wrote: > >> When fat command is enabled, enable fatwrite too >> so U-Boot can create new files too. >> >> Signed-off-by: Sekhar Nori <nsek...@t

[U-Boot] [PATCH] davinci: omapl138_lcdk: enable fatwrite support

2017-06-01 Thread Sekhar Nori
When fat command is enabled, enable fatwrite too so U-Boot can create new files too. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- include/configs/omapl138_lcdk.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h

[U-Boot] [PATCH] davinci: omapl138_lcdk: drop custom prompt string

2017-05-12 Thread Sekhar Nori
Drop custom command prompt string in favor of default used by U-Boot. This helps in easier automation setup across boards. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- configs/omapl138_lcdk_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/omapl138_lcdk_defconfig b/c

[U-Boot] [PATCH v2 1/2] davinci: omapl138_lcdk: add support for TI_COMMON_CMD_OPTIONS

2017-05-11 Thread Sekhar Nori
OMAP-L138 LCDK board can benefit from using the commonly used commands enabled by TI_COMMON_CMD_OPTIONS. Source the relevant Kconfig file so TI_COMMON_CMD_OPTIONS can be enabled for OMAP-L138 LCDK board in a future patch. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- board/davinci/da

[U-Boot] [PATCH v2 2/2] davinci: omapl138_lcdk: switch to using TI_COMMON_CMD_OPTIONS

2017-05-11 Thread Sekhar Nori
ed because there is no GPIO support (yet) on OMAP-L138 LCDK. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- configs/omapl138_lcdk_defconfig | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 7a5a78f494

[U-Boot] [PATCH v2 0/2] davinci: omapl138_lcdk: enable commonly used commands

2017-05-11 Thread Sekhar Nori
Hi, This patch series enables some commonly used commands for OMAP-L138 LCDK. v1->v2: Change to using CONFIG_TI_COMMON_CMD_OPTIONS Sekhar Nori (2): davinci: da8xxevm: add support for TI_COMMON_CMD_OPTIONS davinci: omapl138_lcdk: switch to using TI_COMMON_CMD_OPTIONS board/davinci/da8xx

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: enable time command

2017-05-10 Thread Sekhar Nori
On Wednesday 10 May 2017 04:56 PM, Tom Rini wrote: > On Wed, May 10, 2017 at 04:44:45PM +0530, Lokesh Vutla wrote: >> >> >> On Wednesday 10 May 2017 04:27 PM, Sekhar Nori wrote: >>> Enable time command for OMAP-L138 LCDK board. >>> >>> The pa

[U-Boot] [PATCH] davinci: omapl138_lcdk: enable time command

2017-05-10 Thread Sekhar Nori
Enable time command for OMAP-L138 LCDK board. The patch was generated using savedefconfig method. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_def

[U-Boot] [PATCH] drivers: net: cpsw: abort init() on aneg timeout

2017-05-08 Thread Sekhar Nori
() can easily be retried again. This also helps quick fallback to next network interface (like USB RNDIS) without inordinate delay. Tested on AM571x IDK and AM335x BeagleBone black. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/net/cpsw.c | 34 ++

Re: [U-Boot] [PATCH 2/5] davinci: omapl138_lcdk: enable some filesystem related commands

2017-04-06 Thread Sekhar Nori
Hi Lukasz, On Thursday 06 April 2017 03:28 PM, Lukasz Majewski wrote: > On Thu, 6 Apr 2017 14:52:54 +0530 > Sekhar Nori <nsek...@ti.com> wrote: > >> Enable some generic filesystem commands as >> well as disk partition related commands for >> OMAP-L138 LCDK b

[U-Boot] [PATCH 1/5] davinci: omapl138_lcdk: remove spiboot

2017-04-06 Thread Sekhar Nori
OMAP-L138 LCDK board does not have a SPI flash. Remove spiboot related environment variable definitions. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- include/configs/omapl138_lcdk.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/configs/omapl138_

[U-Boot] [PATCH 4/5] ARM: ti: consolidate mmc environment variables

2017-04-06 Thread Sekhar Nori
to only non-SPL builds for AM335x and AM437x since they are not really used for SPL today. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- include/configs/am335x_evm.h | 4 ++- include/configs/am43xx_evm.h | 4 ++- include/configs/k2g_evm.h | 2 ++ include/c

[U-Boot] [PATCH 2/5] davinci: omapl138_lcdk: enable some filesystem related commands

2017-04-06 Thread Sekhar Nori
Enable some generic filesystem commands as well as disk partition related commands for OMAP-L138 LCDK board. These help in booting Linux from MMC/SD, for example. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- configs/omapl138_lcdk_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff

[U-Boot] [PATCH 5/5] davinci: omapl138_lcdk: switch to using common mmc args

2017-04-06 Thread Sekhar Nori
Now that we have common MMC/SD boot environment variables that can be used across TI platforms, switch OMAP-L138 LCDK to use them. As a nice side-effect, we get support for using uEnv.txt on this platform. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- include/configs/omapl138_lcdk.

[U-Boot] [PATCH 3/5] davinci: omapl138_lcdk: use environment variables for memory addresses

2017-04-06 Thread Sekhar Nori
Use environment variables for various memory addresses used on OMAP-L138 LCDK board. This makes it easy to customize the boot process. Signed-off-by: Sekhar Nori <nsek...@ti.com> --- include/configs/omapl138_lcdk.h | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-)

[U-Boot] [PATCH 0/5] davinci: omapl138_lcdk: align mmcboot with rest of TI boards

2017-04-06 Thread Sekhar Nori
on all OMAP, AMx, DaVinci and Keystone boards. Sekhar Nori (5): davinci: omapl138_lcdk: remove spiboot davinci: omapl138_lcdk: enable some filesystem related commands davinci: omapl138_lcdk: use environment variables for memory addresses ARM: ti: consolidate mmc environment variables

  1   2   >