[PATCH] net: ti: am65-cpsw-nuss: Use dedicated port mode control registers

2023-06-14 Thread Andreas Dannenberg
t eth switch subsystem driver") Signed-off-by: Andreas Dannenberg Reviewed-by: Siddharth Vadapalli --- Driver changes bench-tested on an SK-AM62 EVM by iterating through different variations of RGMII and RMII modes for CPSW ports 1 and 2 and checking operation as well as CTRL_ENET1_CTRL and CTRL_

Re: [EXTERNAL] Re: [PATCH] firmware: ti_sci: Add missing LF in error message

2023-05-10 Thread Andreas Dannenberg
On Wed, May 10, 2023 at 12:09:47PM -0400, Tom Rini wrote: > On Wed, May 10, 2023 at 08:46:37AM -0700, Andrew Davis wrote: > > On 5/9/23 4:38 PM, Andreas Dannenberg wrote: > > > The "Message not acknowledged" error message is missing a line feed, > > > leading t

[PATCH] firmware: ti_sci: Add missing LF in error message

2023-05-09 Thread Andreas Dannenberg
; Fix ths by adding the missing linefeed character. Signed-off-by: Andreas Dannenberg --- drivers/firmware/ti_sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index bd7379ae55..72f572d824 100644 --- a/drivers/fir

Re: [PATCH v2 00/12] TI: AM654/J721e: Add support to boot from OSPI

2020-02-04 Thread Andreas Dannenberg
defconfigs to fix build issues thanks for the README updates! I re-looked through all the patches once more, hence for the entire series: Reviewed-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc > > Lokesh Vutla (1): > ARM: mach-k3: sysfw-loader: Use SPI m

Re: [PATCH 0/9] TI: AM654/J721e: Add support to boot from OSPI

2020-01-29 Thread Andreas Dannenberg
n the board-specific readme files such as how to program the OSPI with the different U-Boot artifacts, etc which is super helpful for a user. Would you mind including this info into this series for both AM654x and J721E? Thanks, Andreas -- Andreas Dannenberg Texas Instruments Inc > >

Re: [PATCH 0/7] J721e: Add support for DFU boot mode

2020-01-27 Thread Andreas Dannenberg
e_evm_r5/a72_defconfig: Enable DFU related configs For all patches in the series: Reviewed-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc > > .../arm/dts/k3-j721e-r5-common-proc-board.dts | 18 +++ > arch/arm/mach-k3/include/mach/j721e_spl.h |

Re: [U-Boot] [PATCH 3/3] ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr

2019-09-13 Thread Andreas Dannenberg
updating the copy&paste of the help text and the example so the new flag is shown, and giving a quick summary of what this option does). -- Andreas Dannenberg Texas Instruments Inc > > Signed-off-by: Stefan Roese > Cc: Quentin Schulz > Cc: Boris Brezillon > Cc: He

Re: [U-Boot] [PATCH v2 2/3] spl: mmc: Add option to set eMMC HW boot partition

2019-08-19 Thread Andreas Dannenberg
om other memory (like SPI-NOR). > > Signed-off-by: Mans Rullgard > [lukma: Edit the commit message] > Signed-off-by: Lukasz Majewski Acked-by: Andreas Dannenberg Regards, Andreas > --- > > Changes in v2: None > > common/spl/Kconfig | 6 ++ > common/

Re: [U-Boot] [PATCH 2/3] configs: Rename environment variable fit_loadaddr to addr_fit

2019-08-16 Thread Andreas Dannenberg
g., "config: ti: *") to help make things clearer when browsing the commit log, 2) A cover letter would be good to more organically entertain general discussions around the approach. For the series... Acked-by: Andreas Dannenberg > > Signed-off-by: Andrew F. Davis > ---

[U-Boot] [PATCH 3/7] arm: K3: common: Allow for early console functionality

2019-08-15 Thread Andreas Dannenberg
early console functionality will allow for an alternate serial port to be used to support things like UART-based boot and early diagnostic messages until the main console is ready to get activated. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3/Kconfig | 21 + arch

[U-Boot] [PATCH 0/7] Implement UART-based boot of TI K3 AM65x SoCs

2019-08-15 Thread Andreas Dannenberg
ded in the updates to the board-specific README. [1] https://patchwork.ozlabs.org/patch/1142068/ Andreas Dannenberg (7): spl: ymodem: Fix FIT loading termination handling spl: ymodem: Make SPL Y-Modem loader framework accessible arm: K3: common: Allow for early console functionality arm

[U-Boot] [PATCH 1/7] spl: ymodem: Fix FIT loading termination handling

2019-08-15 Thread Andreas Dannenberg
number of bytes to be read ('size') as expected by the callers of ymodem_read_fit(). Fixes: fa715193c083 ("spl: Add an option to load a FIT containing U-Boot from UART") Signed-off-by: Andreas Dannenberg --- common/spl/spl_ymodem.c | 5 +++-- 1 file changed, 3 insert

[U-Boot] [PATCH 4/7] arm: K3: sysfw-loader: Allow loading SYSFW via Y-Modem

2019-08-15 Thread Andreas Dannenberg
alternate full console before the main console is activated. Such an alternate console is typically setup in a way that the associated UART can be fully initialized prior to SYSFW services being available. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3/sysfw-loader.c | 21

[U-Boot] [PATCH 5/7] armv7R: dts: k3: am654: Add MCU_UART0 related definitions

2019-08-15 Thread Andreas Dannenberg
Although we currently use the MAIN_UART0 for R5 SPL console output there are cases where we require access to the MCU_UART0 as well for example in case of UART-based Y-Modem boot. To support these scenarios add related DTS definitions to be able to use that UART early on. Signed-off-by: Andreas

[U-Boot] [PATCH 7/7] board: ti: am65x: Add UART boot procedure in README

2019-08-15 Thread Andreas Dannenberg
am65x ROM support booting over UART. And U-Boot built for am65x EVM supports UART boot as well. Add the UART boot procedure into the README also providing a corresponding example command sequence for execution on a host PC. Signed-off-by: Andreas Dannenberg --- board/ti/am65x/README | 32

[U-Boot] [PATCH 6/7] configs: am65x_evm_r5: Activate early console functionality

2019-08-15 Thread Andreas Dannenberg
Activate early console functionality on AM654x devices to allow for an alternate serial port to be used to support UART-based boot. This is so that System Firmware (SYSFW) can get loaded over the serial port prior to the main console being brought up and made available. Signed-off-by: Andreas

[U-Boot] [PATCH 2/7] spl: ymodem: Make SPL Y-Modem loader framework accessible

2019-08-15 Thread Andreas Dannenberg
Expose SPL's Y-Modem core loader function via the common SPL header file so it can be re-used for purposes other than loading U-Boot itself. Signed-off-by: Andreas Dannenberg --- common/spl/spl_ymodem.c | 4 ++-- include/spl.h | 3 +++ 2 files changed, 5 insertions(+), 2 dele

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-13 Thread Andreas Dannenberg
Hi Simon, On Tue, Aug 13, 2019 at 10:38:22PM +0200, Simon Goldschmidt wrote: > Am 07.08.2019 um 23:23 schrieb Andreas Dannenberg: > > Hi Simon, > > thanks for your patience waiting for a response. Please see comments > > inlined... > > > > On Thu, Jul 25

Re: [U-Boot] [PATCH PATCH v4 01/15] spl: fit: don't load the firmware twice

2019-08-13 Thread Andreas Dannenberg
ce. This is not a big problem but has an impact on the > boot time. > Fixing it by not loading a loadable image if it is also the firmware image. > > Signed-off-by: Jean-Jacques Hiblot > --- Tested-by: Andreas Dannenberg I was working on getting UART boot to work on TI's AM654

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-08 Thread Andreas Dannenberg
Hi Simon, On Thu, Aug 08, 2019 at 09:01:03PM +0200, Simon Goldschmidt wrote: > Am 08.08.2019 um 20:29 schrieb Andreas Dannenberg: > > Ok back to my specific scenario, hopefully I'm adding at least some new > > aspects now rather than repeating what was discussed

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-08 Thread Andreas Dannenberg
Simon, On Thu, Aug 08, 2019 at 09:29:03AM +0200, Simon Goldschmidt wrote: > Hi Andreas, > > On Wed, Aug 7, 2019 at 11:24 PM Andreas Dannenberg wrote: > > > > Hi Simon, > > thanks for your patience waiting for a response. Please see comments > > inlined... >

[U-Boot] [PATCH] README: Clarify use of BSS during SPL board_init_f()

2019-08-08 Thread Andreas Dannenberg
e. Note that as highlighted with the changes the use of the associated CONFIG option is generally not recommended. Signed-off-by: Andreas Dannenberg --- Simon, as per separate discussion thread here is a proposal for an update to the README. I tried to limit the changes to the what I thoug

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-07 Thread Andreas Dannenberg
ini wrote: > > >>> On Fri, Jul 19, 2019 at 07:29:37AM +0200, Simon Goldschmidt wrote: > > >>>> On Fri, Jul 19, 2019 at 2:29 AM Tom Rini wrote: > > >>>>> > > >>>>> On Tue, Jun 04, 2019 at 05:55:48PM -0500, Andreas

Re: [U-Boot] [PATCH 06/14] net: ti: icssg-prueth: Add ICSSG ethernet driver

2019-08-06 Thread Andreas Dannenberg
set, 0); > + offset = FT1_N_REG(slice, 0, FT1_DA1); > + regmap_write(miig_rt, offset, 0); > + > + /* FT1[0] mask FE-FF-FF-FF-FF-FF */ > + offset = FT1_N_REG(slice, 0, FT1_DA0_MASK); > + regmap_write(miig_rt, offset, 0); > + offset = FT1_N_REG(s

Re: [U-Boot] [PATCH 12/14] arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support

2019-08-06 Thread Andreas Dannenberg
out mii0 > + pruss2_emac1: ethernet-mii1 { > + phy-handle = <&pruss2_eth1_phy>; > + phy-mode = "rgmii-id"; > + syscon-rgmii-delay = <&scm_conf 0x4124>; > + local-

Re: [U-Boot] [PATCH 04/14] soc: ti: pruss: add a misc driver for PRUSS in TI SoCs

2019-08-06 Thread Andreas Dannenberg
PRUSS_IEPCLK_IEP_OCP_CLK_EN, > + PRUSS_IEPCLK_IEP_OCP_CLK_EN); > + if (ret) > + return ret; > + > + dev_dbg(dev, "pruss successfully probed %s\n", dev->name); > + > + return 0; > +} > + >

Re: [U-Boot] [PATCH 08/14] arm: dts: k3-am65-main: Add msmc_ram node

2019-08-06 Thread Andreas Dannenberg
<0x00 0x4510 0x00 0x4510 0x00 0x00c24000>, ><0x00 0x4600 0x00 0x4600 0x00 0x0020>, > - <0x00 0x4700 0x00 0x4700 0x00 0x00068400>; > + <0x00 0x4700 0x00 0x4700 0x00 0x000

Re: [U-Boot] [PATCH 03/14] misc: uclass: Introduce misc_init_by_ofnode

2019-08-06 Thread Andreas Dannenberg
,15 @@ int misc_call(struct udevice *dev, int msgid, void > *tx_msg, int tx_size, > */ > int misc_set_enabled(struct udevice *dev, bool val); > > +/** > + * misc_init_by_ofnode() - Probe a misc device by using ofnode. > + * @node: ofnode of the misc device. > + * &

Re: [U-Boot] [PATCH 00/14] net: ti: icssg: Add prueth support

2019-08-06 Thread Andreas Dannenberg
rueth driver soon after > config paramters are setup. for everybody's benefit, where does this firmware come from so one can experiment with this patch series? -- Andreas Dannenberg Texas Instruments Inc > > Currently only slice0/1 of icssg2 instance on am6-evm > is support

[U-Boot] [PATCH] arm: K3: sysfw-loader: Do not require full printf() for version info

2019-08-05 Thread Andreas Dannenberg
o only use basic printf() syntax rather than for example disabling CONFIG_USE_TINY_PRINTF on affected devices, this way maintaining most of the memory size benefit the initial patch brings when it comes to SPL. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3/sysfw-loader.c | 21 ++

[U-Boot] [PATCH] firmware: ti_sci: Parse all resource ranges even if some is not available

2019-08-05 Thread Andreas Dannenberg
From: Vignesh Raghavendra Do not fail if any of the requested subtypes are not available, but set the number of resources to 0 and continue parsing the resource ranges. Based on Linux kernel patch by Peter Ujfalusi Signed-off-by: Vignesh Raghavendra --- drivers/firmware/ti_sci.c | 13 +++

Re: [U-Boot] [RFC] bug.h: Drop filename from BUG/WARNING logs if building for TPL/SPL

2019-07-11 Thread Andreas Dannenberg
Hi Tom, On Thu, Jul 11, 2019 at 02:43:17PM -0400, Tom Rini wrote: > On Thu, Jul 11, 2019 at 01:12:16PM -0500, Andreas Dannenberg wrote: > > Also some additional background why I am even looking into this. One of > > our platforms (AM335x) has a regression building on Travis CI w

Re: [U-Boot] [RFC] bug.h: Drop filename from BUG/WARNING logs if building for TPL/SPL

2019-07-11 Thread Andreas Dannenberg
Yamada-san, On Fri, Jul 12, 2019 at 02:29:02AM +0900, Masahiro Yamada wrote: > On Fri, Jul 12, 2019 at 12:34 AM Andreas Dannenberg wrote: > > > > On Wed, Jul 10, 2019 at 04:30:44PM -0500, Andreas Dannenberg wrote: > > > On several platforms space is very tight when

Re: [U-Boot] [RFC] bug.h: Drop filename from BUG/WARNING logs if building for TPL/SPL

2019-07-11 Thread Andreas Dannenberg
On Wed, Jul 10, 2019 at 04:30:44PM -0500, Andreas Dannenberg wrote: > On several platforms space is very tight when building for SPL or TPL. > To claw back a few bytes to be used for code remove the __FILE__ name > from the BUG() and WARN() type macros. Since those macros still pr

[U-Boot] [RFC] bug.h: Drop filename from BUG/WARNING logs if building for TPL/SPL

2019-07-10 Thread Andreas Dannenberg
backtrace an actual BUG/WARN message to a specific piece of code. Signed-off-by: Andreas Dannenberg --- I was looking for a way to shave off a few bytes from the SPL code size (TI AM335x) and looking at the hexdump of the SPL I found well why not further reduce some strings down in size... I was

Re: [U-Boot] [PATCH v2 02/16] armv7R: K3: j721e: Add support for boot device detection

2019-06-12 Thread Andreas Dannenberg
backup boot media. In order to pass this boot media > information to boot loader, ROM stores a value at a particular > address. Add support for reading this information and determining > the boot media correctly. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Andreas Dannenber

Re: [U-Boot] [PATCH v7 11/15] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-06-10 Thread Andreas Dannenberg
Hi Faiz, On Fri, Jun 07, 2019 at 09:07:32AM +0530, Lokesh Vutla wrote: > > > On 06/06/19 7:24 PM, Faiz Abbas wrote: > > The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific > > to arasan/zynq controllers. Add the same to sdhci.h. > > > > Also create a common API to set UHS t

Re: [U-Boot] [PATCH v2 00/12] System Firmware Loader for TI K3 family SoCs

2019-06-05 Thread Andreas Dannenberg
On Wed, Jun 05, 2019 at 11:52:52AM +0530, Lokesh Vutla wrote: > > > On 05/06/19 4:25 AM, Andreas Dannenberg wrote: > > Updated version of the SYSFW loader series for K3 family AM654x devices. > > The fundamantal approach of tapping into the SPL loader framework has >

[U-Boot] [PATCH v3 15/18] ti: common: am6: Add support for setting MAC addresses

2019-06-04 Thread Andreas Dannenberg
addresses into the U-Boot environment based on the MAC address record contained in the common TI EEPROM structure. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- board/ti/common/board_detect.c | 32 board/ti/common/board_detect.h | 12

[U-Boot] [PATCH v3 18/18] configs: am65x_hs_evm: Add support for applying overlays

2019-06-04 Thread Andreas Dannenberg
This will allow for downloading and applying overlays from an MMC/SD boot media based on the overlay_files ENV variable containing a list of overlay files. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- configs/am65x_hs_evm_a53_defconfig | 3 ++- 1 file changed, 2 insertions

[U-Boot] [PATCH v3 13/18] arm: K3: am654: Map common EEPROM data into SRAM scratch space

2019-06-04 Thread Andreas Dannenberg
ff-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- arch/arm/mach-k3/include/mach/am6_hardware.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-k3/include/mach/am6_hardware.h b/arch/arm/mach-k3/include/mach/am6_hardware.h index 3343233aa3..6df7631545 100644 --- a/arch/arm

[U-Boot] [PATCH v3 09/18] configs: am65x_evm_a53: Enable PCA953X-type GPIO driver

2019-06-04 Thread Andreas Dannenberg
Enable GPIO driver for PCA953X-compatible I2C-based I/O expander which includes support for the TCA9554/PCA9554-type expander found on the AM654 EVM base board. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions

[U-Boot] [PATCH v3 06/18] configs: am65x_evm_defconfig: Enable I2C support

2019-06-04 Thread Andreas Dannenberg
Enable I2C via driver model as well as the associated set of U-Boot commands to allow us interacting with various I2C slave devices. Signed-off-by: Andreas Dannenberg Signed-off-by: Vignesh R Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 4 configs

[U-Boot] [PATCH v3 16/18] board: ti: am654: Use EEPROM-based board detection

2019-06-04 Thread Andreas Dannenberg
;) as well as for the IDK ("AM6-IDKAPPEVM"), OLDI LCD ("OLDI-LCD1EVM") PCIe/USB3.0 ("SER-PCIEUSBEVM"), 2 Lane PCIe/USB2.0 ("SER-PCIE2LEVM"), and general purpuse ("AM6-GPAPPEVM") daughtercards. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh

[U-Boot] [PATCH v3 02/18] arm: omap_i2c: Remove unwanted header file inclusion

2019-06-04 Thread Andreas Dannenberg
From: Vignesh R There is no need for to include this header here, so drop it. Signed-off-by: Vignesh R Reviewed-by: Heiko Schocher Reviewed-by: Lokesh Vutla --- arch/arm/include/asm/omap_i2c.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/omap_i2c.h b/arch/arm/inc

[U-Boot] [PATCH v3 12/18] configs: am65x_hs_evm_a53: Increase malloc pool before relocation

2019-06-04 Thread Andreas Dannenberg
igned-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla Acked-by: Andrew F. Davis --- configs/am65x_hs_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_hs_evm_a53_defconfig b/configs/am65x_hs_evm_a53_defconfig index e619b794ea..7d7a673714 1

[U-Boot] [PATCH v3 17/18] configs: am65x_evm: Add support for applying overlays

2019-06-04 Thread Andreas Dannenberg
This will allow for downloading and applying overlays from an MMC/SD boot media based on the overlay_files ENV variable containing a list of overlay files. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 3 ++- include/configs/am65x_evm.h

[U-Boot] [PATCH v3 08/18] arm64: dts: k3-am654-base-board: Add I2C GPIO expander @ 0x38

2019-06-04 Thread Andreas Dannenberg
The AM654 base board has a TCA9554/PCA9554-type GPIO expander on the wkup_i2c0 bus at address 0x38 that is used to detect the presence of daughter cards. Add a respective DTS description of this expander to enable its use. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- arch

[U-Boot] [PATCH v3 07/18] configs: am65x_hs_evm_defconfig: Enable I2C support

2019-06-04 Thread Andreas Dannenberg
Enable I2C via driver model as well as the associated set of U-Boot commands to allow us interacting with various I2C slave devices. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla Acked-by: Andrew F. Davis --- configs/am65x_hs_evm_a53_defconfig | 4 configs

[U-Boot] [PATCH v3 10/18] configs: am65x_hs_evm_a53: Enable PCA953X-type GPIO driver

2019-06-04 Thread Andreas Dannenberg
Enable GPIO driver for PCA953X-compatible I2C-based I/O expander which includes support for the TCA9554/PCA9554-type expander found on the AM654 EVM base board. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla Acked-by: Andrew F. Davis --- configs/am65x_hs_evm_a53_defconfig | 2

[U-Boot] [PATCH v3 14/18] ti: common: am6: Add support for board description EEPROM

2019-06-04 Thread Andreas Dannenberg
contained on the base board into the common TI EEPROM structure while also providing infrastructure that can be used later on to parse data from additional EEPROMs such as the ones that are used on daughtercards for this platform. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- board

[U-Boot] [PATCH v3 11/18] configs: am65x_evm_a53: Increase malloc pool before relocation

2019-06-04 Thread Andreas Dannenberg
igned-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 5fa7a7e657..8d90014778 100644 --- a/configs/am65x_evm_a53_defc

[U-Boot] [PATCH v3 05/18] arm: dts: k3-am654-base-board: Enable wkup_i2c0 across all boot stages

2019-06-04 Thread Andreas Dannenberg
pinmux node accordingly. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- arch/arm/dts/k3-am65.dtsi| 1 + arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 12 arch/arm/dts/k3-am654-base-board.dts | 15 +++ arch/arm/dts/k3-am654-r5

[U-Boot] [PATCH v3 04/18] arm: dts: k3-am65: Add I2C nodes

2019-06-04 Thread Andreas Dannenberg
Add I2C DT nodes Signed-off-by: Vignesh R Reviewed-by: Lokesh Vutla --- arch/arm/dts/k3-am65-main.dtsi | 44 arch/arm/dts/k3-am65-mcu.dtsi| 11 arch/arm/dts/k3-am65-wakeup.dtsi | 11 arch/arm/dts/k3-am65.dtsi| 6 + 4 files ch

[U-Boot] [PATCH v3 03/18] arm: dts: k3-am65: Move pinctrl nodes out of U-Boot specific dtsi

2019-06-04 Thread Andreas Dannenberg
Only U-Boot specifc DT properties or overrides, must be in -u-boot.dtsi. Pinctrl nodes does not belong here. Now that pinctrl nodes are in kernel DT, there is no reason to be keep these in -u-boot.dtsi. Move them to proper places so that it would ease copying DT entries from kernel DT. Signed-off-

[U-Boot] [PATCH v3 00/18] Add EEPROM-based board detect support for TI K3 SoCs

2019-06-04 Thread Andreas Dannenberg
patchwork.ozlabs.org/project/uboot/list/?series=111844 [4] https://patchwork.ozlabs.org/project/uboot/list/?series=109163 [5] https://patchwork.ozlabs.org/project/uboot/list/?series=109296 -- Andreas Dannenberg Texas Instruments Inc Andreas Dannenberg (16): arm: dts: k3-am65: Move pinctrl nodes out of U-

[U-Boot] [PATCH v3 01/18] i2c: omap24xx_i2c: Adapt driver to support K3 devices

2019-06-04 Thread Andreas Dannenberg
From: Vignesh R K3 devices have I2C IP that is same as OMAP2+ family. Allow driver to be compiled for ARCH_K3. Signed-off-by: Vignesh R Signed-off-by: Andreas Dannenberg Reviewed-by: Heiko Schocher Reviewed-by: Lokesh Vutla --- drivers/i2c/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v2 02/12] spl: Allow performing BSS init early before board_init_f()

2019-06-04 Thread Andreas Dannenberg
prior to board_init_f(). Signed-off-by: Andreas Dannenberg --- arch/arm/lib/crt0.S | 53 ++--- common/spl/Kconfig | 10 + 2 files changed, 46 insertions(+), 17 deletions(-) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index 30fba

[U-Boot] [PATCH v2 08/12] configs: am65x_evm_r5: All sysfw to be loaded via MMC

2019-06-04 Thread Andreas Dannenberg
Enable all the relevant configs that enables support for loading sysfw via MMC. Signed-off-by: Andreas Dannenberg --- configs/am65x_evm_r5_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/am65x_evm_r5_defconfig b/configs/am65x_evm_r5_defconfig index

[U-Boot] [PATCH v2 00/12] System Firmware Loader for TI K3 family SoCs

2019-06-04 Thread Andreas Dannenberg
ted by Simon Goldschmidt [2] - Collected various review tags [1] https://patchwork.ozlabs.org/project/uboot/list/?series=111723 [2] https://patchwork.ozlabs.org/patch/1067363/ [3] https://patchwork.ozlabs.org/project/uboot/list/?series=109266 [4] https://patchwork.ozlabs.org/project/uboot/list

[U-Boot] [PATCH v2 11/12] configs: am65x_hs_evm: Add Support for eMMC boot

2019-06-04 Thread Andreas Dannenberg
Add configs to support RAW boot mode in eMMC. Signed-off-by: Andreas Dannenberg --- configs/am65x_hs_evm_a53_defconfig | 2 ++ configs/am65x_hs_evm_r5_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/am65x_hs_evm_a53_defconfig b/configs/am65x_hs_evm_a53_defconfig index

[U-Boot] [PATCH v2 09/12] configs: am65x_hs_evm_r5: All sysfw to be loaded via MMC

2019-06-04 Thread Andreas Dannenberg
Enable all the relevant configs that enables support for loading sysfw via MMC. Signed-off-by: Andreas Dannenberg Reviewed-by: Simon Glass --- configs/am65x_hs_evm_r5_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/am65x_hs_evm_r5_defconfig b/configs

[U-Boot] [PATCH v2 03/12] spl: Make image loader infrastructure more universal

2019-06-04 Thread Andreas Dannenberg
pulate the SPL_LOAD_IMAGE_METHOD() list with a trampoline function, invoking the newly refactored superset functions in a way to maintain compatibility with the existing behavior This refactoring initially covers MMC/SD card loading (RAW and FS-based). Signed-off-by: Andreas Dannenberg Review

[U-Boot] [PATCH v2 07/12] armV7R: K3: am654: Load SYSFW binary and config from boot media

2019-06-04 Thread Andreas Dannenberg
Use the System Firmware (SYSFW) loader framework to load and start the SYSFW as part of the AM654 early initialization sequence. While at it also initialize the WKUP_UART0 pinmux as it is used by SYSFW to print diagnostic messages. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3

[U-Boot] [PATCH v2 10/12] configs: am65x_evm: Add Support for eMMC boot

2019-06-04 Thread Andreas Dannenberg
From: Faiz Abbas Add configs to support RAW boot mode in eMMC. Signed-off-by: Faiz Abbas Signed-off-by: Andreas Dannenberg --- configs/am65x_evm_a53_defconfig | 2 ++ configs/am65x_evm_r5_defconfig | 2 ++ include/configs/am65x_evm.h | 2 ++ 3 files changed, 6 insertions(+) diff --git

[U-Boot] [PATCH v2 06/12] armv7R: K3: am654: Use full malloc implementation in SPL

2019-06-04 Thread Andreas Dannenberg
Switch to using the full malloc scheme in post-relocation SPL to allow better utilization of available memory for example by allowing memory to get freed. Initially allocate a 16MB-sized region in DDR starting at address 0x8400 for this purpose. Signed-off-by: Andreas Dannenberg --- configs

[U-Boot] [PATCH v2 01/12] mmc: am654_sdhci: Allow driver to probe without PDs specified

2019-06-04 Thread Andreas Dannenberg
We would like to use the driver even without power domains being specified for cases such as during early boot when the required power domains have already gotten enabled by the SoC's boot ROM and such explicit initialization is not needed and possible. Signed-off-by: Andreas Dannenberg Rev

[U-Boot] [PATCH v2 12/12] am65x: README: Add eMMC layout and flash instructions

2019-06-04 Thread Andreas Dannenberg
From: Faiz Abbas Add instructions for flashing boot images to the eMMC with a layout of the address where each image needs to be flashed. Also add instructions to flash filesystem partition in user partition and boot kernel from the rootfs. Signed-off-by: Faiz Abbas --- board/ti/am65x/README

[U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-06-04 Thread Andreas Dannenberg
refactoring, taking into account the pre-decrement post- increment nature in which the SP is used on ARM. Signed-off-by: Andreas Dannenberg --- include/configs/am65x_evm.h | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/include/configs/am65x_evm.h b/include

[U-Boot] [PATCH v2 04/12] arm: K3: Introduce System Firmware loader framework

2019-06-04 Thread Andreas Dannenberg
g from the different boot media we tap into the existing U-Boot SPL framework usually used for loading U-Boot by building on an earlier commit that exposes some of that functionality. Note that this initial implementation only supports FS and RAW-based eMMC/SD card boot. Signed-off-by: Andreas Dannenbe

Re: [U-Boot] [PATCH v6 00/15] Add Support for eMMC in Am65x-evm

2019-06-04 Thread Andreas Dannenberg
ompt on AM654x EVM from eMMC. Also SYSFW loader series no longer applies on top of this; will re-post a rebased/refactored version to be used on top of this series. -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v4 06/15] arm: dts: k3: Add phy specific properties to SD card node

2019-05-23 Thread Andreas Dannenberg
e @ti.com email address here... (applies to other patches in this series, too). -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-23 Thread Andreas Dannenberg
Simon & Simon, On Wed, May 22, 2019 at 05:08:40PM -0500, Andreas Dannenberg wrote: > Hi Simon (Glass) > > On Tue, May 21, 2019 at 06:53:31PM -0600, Simon Glass wrote: > > > > > > Not having BSS available to carry over certain state to the > > > > >

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Andreas Dannenberg
traightforward. One challenge for example is that gd/stack are "relocated" to DDR prior to board_init_r(), but since I don't have DDR until I can use BSS to bring up DDR, adding a hook into board_init_r() to bringup DDR I couldn't see a good way to both avoid doing and then to re-

Re: [U-Boot] [PATCH 00/14] arm: k3: arm64: Initial support Texas Instrument's J721E Platform

2019-05-22 Thread Andreas Dannenberg
going to include J721E support in any future system firmware loader series from here on (in addition to AM654x support). [1] https://lists.denx.de/pipermail/u-boot/2019-May/thread.html#368461 -- Andreas Dannenberg Texas Instruments Inc > > Andreas Dannenberg (3): > armV7R: K3: j721e: Al

[U-Boot] [PATCH v2 02/18] arm: omap_i2c: Remove unwanted header file inclusion

2019-05-22 Thread Andreas Dannenberg
From: Vignesh R There is no need for to include this header here, so drop it. Signed-off-by: Vignesh R Reviewed-by: Heiko Schocher Reviewed-by: Lokesh Vutla --- arch/arm/include/asm/omap_i2c.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/omap_i2c.h b/arch/arm/inc

[U-Boot] [PATCH v2 16/18] board: ti: am654: Use EEPROM-based board detection

2019-05-22 Thread Andreas Dannenberg
;) as well as for the IDK ("AM6-IDKAPPEVM"), OLDI LCD ("OLDI-LCD1EVM") PCIe/USB3.0 ("SER-PCIEUSBEVM"), 2 Lane PCIe/USB2.0 ("SER-PCIE2LEVM"), and general purpuse ("AM6-GPAPPEVM") daughtercards. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh

[U-Boot] [PATCH v2 15/18] ti: common: am6: Add support for setting MAC addresses

2019-05-22 Thread Andreas Dannenberg
addresses into the U-Boot environment based on the MAC address record contained in the common TI EEPROM structure. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- board/ti/common/board_detect.c | 32 board/ti/common/board_detect.h | 12

[U-Boot] [PATCH v2 13/18] arm: K3: am654: Map common EEPROM data into SRAM scratch space

2019-05-22 Thread Andreas Dannenberg
ff-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- arch/arm/mach-k3/include/mach/am6_hardware.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-k3/include/mach/am6_hardware.h b/arch/arm/mach-k3/include/mach/am6_hardware.h index 3343233aa3..6df7631545 100644 --- a/arch/arm

[U-Boot] [PATCH v2 08/18] arm64: dts: k3-am654-base-board: Add I2C GPIO expander @ 0x38

2019-05-22 Thread Andreas Dannenberg
The AM654 base board has a TCA9554/PCA9554-type GPIO expander on the wkup_i2c0 bus at address 0x38 that is used to detect the presence of daughter cards. Add a respective DTS description of this expander to enable its use. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- arch

[U-Boot] [PATCH v2 10/18] configs: am65x_hs_evm_a53: Enable PCA953X-type GPIO driver

2019-05-22 Thread Andreas Dannenberg
Enable GPIO driver for PCA953X-compatible I2C-based I/O expander which includes support for the TCA9554/PCA9554-type expander found on the AM654 EVM base board. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla Acked-by: Andrew F. Davis --- configs/am65x_hs_evm_a53_defconfig | 2

[U-Boot] [PATCH v2 05/18] arm: dts: k3-am654-base-board: Enable wkup_i2c0 across all boot stages

2019-05-22 Thread Andreas Dannenberg
pinmux node accordingly. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- arch/arm/dts/k3-am65.dtsi| 1 + arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 12 arch/arm/dts/k3-am654-base-board.dts | 15 +++ arch/arm/dts/k3-am654-r5

[U-Boot] [PATCH v2 17/18] configs: am65x_evm: Add support for applying overlays

2019-05-22 Thread Andreas Dannenberg
This will allow for downloading and applying overlays from an MMC/SD boot media based on the overlay_files ENV variable containing a list of overlay files. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 3 ++- include/configs/am65x_evm.h

[U-Boot] [PATCH v2 03/18] arm: dts: k3-am65: Move pinctrl nodes out of U-Boot specific dtsi

2019-05-22 Thread Andreas Dannenberg
Only U-Boot specifc DT properties or overrides, must be in -u-boot.dtsi. Pinctrl nodes does not belong here. Now that pinctrl nodes are in kernel DT, there is no reason to be keep these in -u-boot.dtsi. Move them to proper places so that it would ease copying DT entries from kernel DT. Signed-off-

[U-Boot] [PATCH v2 07/18] configs: am65x_hs_evm_defconfig: Enable I2C support

2019-05-22 Thread Andreas Dannenberg
Enable I2C via driver model as well as the associated set of U-Boot commands to allow us interacting with various I2C slave devices. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla Acked-by: Andrew F. Davis --- configs/am65x_hs_evm_a53_defconfig | 4 configs

[U-Boot] [PATCH v2 09/18] configs: am65x_evm_a53: Enable PCA953X-type GPIO driver

2019-05-22 Thread Andreas Dannenberg
Enable GPIO driver for PCA953X-compatible I2C-based I/O expander which includes support for the TCA9554/PCA9554-type expander found on the AM654 EVM base board. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions

[U-Boot] [PATCH v2 11/18] configs: am65x_evm_a53: Increase malloc pool before relocation

2019-05-22 Thread Andreas Dannenberg
igned-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 3a8166d32d..2aa54706a0 100644 --- a/configs/am65x_evm_a53_defc

[U-Boot] [PATCH v2 12/18] configs: am65x_hs_evm_a53: Increase malloc pool before relocation

2019-05-22 Thread Andreas Dannenberg
igned-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla Acked-by: Andrew F. Davis --- configs/am65x_hs_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_hs_evm_a53_defconfig b/configs/am65x_hs_evm_a53_defconfig index 239d5efa29..e74bd5de08 1

[U-Boot] [PATCH v2 04/18] arm: dts: k3-am65: Add I2C nodes

2019-05-22 Thread Andreas Dannenberg
Add I2C DT nodes Signed-off-by: Vignesh R Reviewed-by: Lokesh Vutla --- arch/arm/dts/k3-am65-main.dtsi | 44 arch/arm/dts/k3-am65-mcu.dtsi| 11 arch/arm/dts/k3-am65-wakeup.dtsi | 11 arch/arm/dts/k3-am65.dtsi| 6 + 4 files ch

[U-Boot] [PATCH v2 14/18] ti: common: am6: Add support for board description EEPROM

2019-05-22 Thread Andreas Dannenberg
contained on the base board into the common TI EEPROM structure while also providing infrastructure that can be used later on to parse data from additional EEPROMs such as the ones that are used on daughtercards for this platform. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- board

[U-Boot] [PATCH v2 01/18] i2c: omap24xx_i2c: Adapt driver to support K3 devices

2019-05-22 Thread Andreas Dannenberg
From: Vignesh R K3 devices have I2C IP that is same as OMAP2+ family. Allow driver to be compiled for ARCH_K3. Signed-off-by: Vignesh R Signed-off-by: Andreas Dannenberg Reviewed-by: Heiko Schocher Reviewed-by: Lokesh Vutla --- drivers/i2c/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v2 18/18] configs: am65x_hs_evm: Add support for applying overlays

2019-05-22 Thread Andreas Dannenberg
This will allow for downloading and applying overlays from an MMC/SD boot media based on the overlay_files ENV variable containing a list of overlay files. Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla --- configs/am65x_hs_evm_a53_defconfig | 3 ++- 1 file changed, 2 insertions

[U-Boot] [PATCH v2 06/18] configs: am65x_evm_defconfig: Enable I2C support

2019-05-22 Thread Andreas Dannenberg
Enable I2C via driver model as well as the associated set of U-Boot commands to allow us interacting with various I2C slave devices. Signed-off-by: Andreas Dannenberg Signed-off-by: Vignesh R Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 4 configs

[U-Boot] [PATCH v2 00/18] Add EEPROM-based board detect support for TI K3 SoCs

2019-05-22 Thread Andreas Dannenberg
This series adds the pieces needed to fully configure the TI AM654x EVM and its associated (optional) daughtercards using a GPIO-based card presence detection scheme. Changes since initial submission: - Re-based onto latest 'master' branch - Collected all review tags - Re-teste

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-21 Thread Andreas Dannenberg
Hi Simon (Glass), On Sat, May 18, 2019 at 10:08:19AM -0600, Simon Glass wrote: > Hi Andreas, > > On Mon, 6 May 2019 at 22:49, Andreas Dannenberg wrote: > > > > Hi Simon, > > > > On Mon, May 06, 2019 at 09:51:56PM -0600, Simon Glass wrote: > > > Hi And

Re: [U-Boot] [RFC 00/11] SYSFW Loader for TI K3 family SoCs using FS Loader

2019-05-21 Thread Andreas Dannenberg
Hi Tom, On Fri, May 17, 2019 at 07:24:48AM -0400, Tom Rini wrote: > On Thu, May 16, 2019 at 03:54:43PM -0500, Andreas Dannenberg wrote: > > > This series provides an alternative solution to the previously posted > > series titled "System Firmware Loader for TI K3 family

[U-Boot] [RFC 05/11] arm: K3: Introduce System Firmware loader framework

2019-05-16 Thread Andreas Dannenberg
Introduce a framework that allows loading the System Firmware (SYSFW) binary as well as the associated configuration data from an image tree blob named "sysfw.itb" from an FS-based boot media using the FS loader framework. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-

[U-Boot] [RFC 09/11] armv7R: dts: k3: am654: Update for loading SYSFW from MMC

2019-05-16 Thread Andreas Dannenberg
node for the FS loader framework which we want to use to load the actual firmware file from the boot media. Signed-off-by: Andreas Dannenberg --- arch/arm/dts/k3-am654-r5-base-board.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/dts/k3-am654-r5-base

[U-Boot] [RFC 04/11] misc: fs_loader: Allow initializing blkdev using platform data

2019-05-16 Thread Andreas Dannenberg
To give us more flexibility using the FS loader eliminate the need of always having to use the ENV to configure the block device but rather allow the respective block device and partition to be setup through platform data. Signed-off-by: Andreas Dannenberg --- drivers/misc/fs_loader.c | 17

[U-Boot] [RFC 02/11] spl: Allow skipping clearing BSS during relocation

2019-05-16 Thread Andreas Dannenberg
environment / relocation. Signed-off-by: Andreas Dannenberg Reviewed-by: Tom Rini --- arch/arm/lib/crt0.S | 3 +++ common/spl/Kconfig | 13 + 2 files changed, 16 insertions(+) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index 30fba20e1b..e24833a6f8 100644 --- a/arch

  1   2   3   >